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

Name

cfmail

Synopsis

                  <cfmail>
  [<cfmailparam>]

  [<cfmailpart>
  message body
  </cfmailpart>]
  ...
</cfmail>

Generates an email message and sends it through a designated SMTP server. New in ColdFusion MX, email addresses that contain spaces cause the cfmail tag to throw an exception. In prior versions, ColdFusion would still generate the mail spool file, even though it contained an invalid email address. Email address may be specified using any of the following formats:

pmoney@example.com
<pmoney@example.com>
pmoney@example.com (Pere Money)
“Pere Money” <pmoney@example.com>
Pere Money <pmoney@example.com>

Attributes

from=" sender "

The sender of the message. May be an email address or other arbitrary string. Required.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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