Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I use cfmailparam but there is error

Status
Not open for further replies.

romario

Programmer
Mar 15, 2004
11
US
I use cfmailparam in cfmail tag
i can do attach when i send mail from the mailserver
but when i try to send mail with attach from another PC the error appear
" the file doesnot exist"
where is the error
thanks for all
 
CFHub is saying that CF can't attach a file that resides on your hard drive. The file must be accessible on the web server. Its like trying to use CF as a conduit to send a file to somewhere else... it can't send an email with pieces of the file, so it requires the user to create an upload process first. This can still be transparent to the user, but you need a <CFFILE>

<!--- page 1 --->
<input type=&quot;upload&quot; name=&quot;udFile&quot; size=&quot;40&quot;>
<input type=&quot;submit&quot; value=&quot; go &quot;>

<!--- action page --->
<CFFILE
action=&quot;upload&quot;
nameconflict=&quot;overwrite&quot;
filefield=&quot;udFile&quot;
destination=&quot;d:\transfer&quot;
>
<CFOUTPUT>
server received: #file.serverfile#<Br>
client sent: #file.clientfilename#<br>
</CFOUTPUT>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top