<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
cfmail tag to throw an exception.
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:
|firstname.lastname@example.org (Pere Money)|
|“Pere Money” <email@example.com>|
|Pere Money <firstname.lastname@example.org>|
The sender of the message. May be an email address or other arbitrary string. Required.
Recipient’s email address. Separate multiple recipients with commas. Required.
The subject of the email. Required.
A list of recipients to send blind copies of the email.
bcc recipients aren’t shown in
the email header. Separate multiple recipients with commas. Optional.
Specifies the character set to use in
encoding the message. The most common character sets are
may use any character set supported by your JRE. Optional. The
default is the character encoding specified in the Mail section of
the Server Settings area in the ColdFusion Administrator. By default,
this is set to
UTF-8. This attribute is new in
ColdFusion MX 6.1.