• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 41. Email Integration > Sending Mail with ColdFusion

Sending Mail with ColdFusion

ColdFusion provides out-of-the-box support for sending email through Simple Mail Transfer Protocol (SMTP) mail servers with the <cfmail> tag. The ColdFusion Application Server does not ship with its own built-in SMTP mail server. To provide messaging services for your application, you must have access to a separate SMTP server (the same is true for POP mail, described later in this chapter).

Sending Simple Text Email

<cfmail>'s behavior is similar to that of <cfoutput>. Whereas <cfoutput> sends information back to the Web browser, <cfmail> outputs the same information to an email message. The additional attributes of <cfmail> correspond to those fields required to correctly format an email message.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint