Whatever message this page gives is out now! Go check it out!
<cfmail
to = "recipient"
subject = "message subject"
from = "sender"
more attributes... >
<cfmailparam
contentID = "content ID"
disposition = "disposition type">
file = "file path"
filename = "name of the file to be sent as attachment"
type ="media type"
OR
<cfmailparam
name = "header name"
value = "header value">
...
</cfmail><cfmail from = "peter@domain.com" To = "paul@domain.com"
Subject = "See Important Attachments and Reply">
<cfmailparam name = "Importance" value = "High">
Please review the new logo. Tell us what you think.
<cfmailparam file = "c:\work\readme123.txt" type="text/plain">
<cfmailparam file = "c:\work\logo15Jan.gif" type="image/gif">
<cfmailparam filename = "readme.txt">
<cfmailparam filename = "logo.gif">
<cfmailparam name="Disposition-Notification-To" value="peter@domain.com">
</cfmail><cfmail type="HTML"
to = "#form.mailto#"
from = "#form.mailFrom#"
subject = "Sample inline image">
<cfmailparam file="C:\Inetpub\wwwroot\web.gif"
disposition="inline"
contentID="image1">
<p>There should be an image here</p>
<img src="cid:image1">
<p>After the picture</p>
</cfmail><cfmail to="john@office.com" from="james@office.com" subject="Filename with valid html entities">
<cfmailparam file="#expandPath(".")#/test%7c.txt" decode="false">
</cfmail>