Whatever message this page gives is out now! Go check it out!
Attribute | Description |
subject | The subject of the message. |
from | The e-mail address of the sender. |
to | The e-mail address of the recipient. Use a comma-delimited list to specify multiple recipients. |
cc | (Optional) The e-mail address of a carbon copy recipient. The recipient address is visible to other recipients. Use a comma-delimited list to specify multiple cc recipients. |
bcc | (Optional) The e-mail address of a blind carbon copy recipient. The recipient address is not visible to other recipients. Use a comma-delimited list to specify multiple bcc recipients. |
<head> <title>Sending a simple e-mail</title> </head> <body> <h1>Sample e-mail</h1> <cfmail from="Sender@Company.com" to="#URL.email#" subject="Sample e-mail from ColdFusion"> This is a sample e-mail message to show basic e-mail capability. </cfmail> The e-mail was sent. </body> </html> |
Subject = "Which version do you see?"> <cfmailpart type="text" wraptext="74"> You are reading this message as plain text, because your mail reader does not handle HTML text. </cfmailpart>> <cfmailpart type="html"> <h3>HTML Mail Message</h3> <p>You are reading this message as <strong>HTML</strong>.</p> <p>Your mail reader handles HTML text.</p> </cfmailpart> </cfmail> |