User Guide
Customizing E-mail for Multiple Recipients 307
Attaching a MIME file
You use the cfmailparam tag to attach a file or add a header to a mail message. In the
following example, a MIME-encoded file is sent along with an e-mail message:
<cfmail from="abeecho@MyCompany.com"
to="bobm@supercomputer.com"
subject="File you requested"
>
Dear Bob,
Here is a copy of the file you requested.
Regards,
A. Beech
<cfmailparam file="c:\photos\asdl_photo.jpg">
</cfmail>