Try this - works w/CF3.1 (the mimeattach is what attaches the
file):
<cfmail query="GetSelectedEmail" to="#emailaddr#"
from="[EMAIL PROTECTED]"
subject="#getEmrg.emrg_title#
date: #DateFormat(Now(),'ddd, dd mmm yyyy')#
#TimeFormat(Now())#"
mimeattach="#ExpandPath('updates\job_#emrg_id#')#\#getdocs.n
ame[1]#">Current Update as of #DateFormat(Now(),"m-d-yyyy")#
#TimeFormat(Now())#:
Attached you will find the current update. Updates will continue
while the situation is being tracked.
Thanks...Admin. Support
</cfmail>
> Hi All,
>
> Does anyone have an example of how to attach files to cfmail? For
> now I just need to attach one file.
>
> Duane Boudreau
> CFExperts.Com
>
>
> --------------------------------------------------------------------
> ---------- Archives:
> http://www.mail-archive.com/[email protected]/ To
> Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_t
> alk or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.