CFMail Tag - Coldfusion provides a tag that enables you
to send email messages through your website. The name of the tag
is CFMail. This tag is
available on all of our accounts that support Coldfusion.
The syntax of the tag is very simple. Within the tag you add the
pertinent information including the to address, the from address,
a subject line and the server name. The server name will be the same
as the webmail address for your account. For example, mail.domainname.com.
The message of the email is placed between the cfmail tags.
Below is an example of the CFMail tag for Coldfusion
MX 6.x
< cfmail
to =" name@yourdomain.com"
from = "name@yourdomain.com "
subject = "Example of CFMail Tag using Coldfusion MX 6.x"
server = "mail.yourdomain.com"
username = "name@yourdomain.com "
password = "password">
Email Message
< /cfmail>
Coldfusion MX 6.x allows for SMTP Authentication by use of a username
and password. The username and password must be a valid email address
from your mail account.
For more detailed information about CFMail on Coldfusion MX 6.x
you can view Macromedia's livedocs website