Hi All.  1st post.  I gather email info (subject, message, etc.) on a form and use

<input type="file" name="AttachFile" size="40">

to get the path of a file attachment (if there is one).  Example of the value in 
AttachFile is C:\compl.txt   When I pass this info on to the next module and use

<cfmail from="#FromEmail#" to="#E_Mail#" subject="#Subject#" query="StaffList" 
mimeattach="#AttachFile#">

 CF  looks for the file compl.txt on the server C drive and thus I keep getting 

Cannot attach 'C:\compl.txt' to the mail message. The file does not exist. 
        Can anyone tell me how I can attach files from my (users) PCs and not have the 
code go to the server to try and find the file.  Many thanks in advance for any help.

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to