User Guide

cfmail 241
Attributes
Attribute Req/Opt Default Description
to Required Message recipient e-mail addresses.
Static address. For example, "
support@macromedia.com"
Variable that contains an address. For example,
"
#Form.Email#".
Name of a query column that contains an address. For
example, "
#EMail#". An e-mail message is sent for each
returned row.
from Required E-mail message sender:
A static string; for example, "
support@mex.com"
A variable; for example, "
#GetUser.EMailAddress#"
This attribute does not have to be a valid internet address; it
can be any text string.
cc Optional Address(es) to which to copy the message.
bcc Optional Address(es) to which to copy the message, without listing
them in the message header.
subject Required Message subject. Can be dynamically generated. For
example, to send messages that give customers status
updates, "
Status of Order Number #Order_ID#".
replyto Optional Address(es) to which the recipient is directed to send
replies.
failto Optional Address to which mailing systems should send delivery
failure notifications. Sets the mail envelope reverse-path
value.
username Optional A user name to send to SMTP servers that require
authentication. Requires a
password attribute.
password Optional A password to send to SMTP servers that require
authentication. Requires a
username attribute.
wraptext Optional Do not wrap
text
Specifies the maximum line length, in characters of the mail
text. If a line has more than the specified number of
characters, replaces the last white space character, such as
a tab or space, preceding the specified position with a line
break. If there are no white space characters, inserts a line
break at the specified position. A common value for this
attribute is 72.