[Top] [All Lists]

Re: CFMAIL w/attachment

Subject: Re: CFMAIL w/attachment
From: "Avatar"
Date: Fri, 17 Aug 2007 17:58:23 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
Yes you should use the cfmailparam tag to send the file

 <CFMAILPARAM FILE="#form.file#">

 It looks as though you may need to upload the file first before sending.
 <cffile action="upload" destination="c:\attachmentsfolder\" 
nameconflict="MAKEUNIQUE" fileField="form.file">

 then you'd use the mailparam like so:

 the cffile. scope will be available after the <cffile action="upload" takes 

<Prev in Thread] Current Thread [Next in Thread>