Use #CFFILE.ServerFile# to get the name of the file.

> -----Original Message-----
> From: Adams, Stephen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 24, 2002 9:06 AM
> To: CF-Talk
> Subject: CFMAIL message resent, completed this time.
> 
> **********************************************************************
> WESTMINSTER CITY COUNCIL
> Please refer to the disclaimer beneath this message
> **********************************************************************
> 
> Hi (again),
> 
> As I was saying, I have a form in which a user adds a Subject, Message
and
> selects a Attachment on their local machine, this form is then
submitted
> to
> another page that runs a CFMAIL tag that sends the email.  The problem
is
> the attachment, I browse to the file attach it to the email then when
the
> form is submitted the CFMAIL tag throws a error:
> 
> Error Diagnostic Information
> Unable to attach file.
> Cannot attach 'C:\WINNT\TEMP\ACF474.tmp' to the mail message. The file
> does
> not exist.
> This is not the name of my attachment though (it was actually a jpg).
I
> do
> have the form set to, enctype="multipart/form-data", I can't see why
the
> attachment is passed as it's orignal address.
> 
> How can I get the attachment to be passed and sent correctly by the
CFMAIL
> tag?
> 
> Thanks
> 
> (sorry about the unfinshed email sent earlier)
> 
> 
> **********************************************************************
> Westminster City Council switchboard:
> +44 20 7641 6000
> **********************************************************************
> This E-Mail may contain information which is
> privileged, confidential and protected from
> disclosure.  If you are not the intended recipient
> of this E-mail or any part of it, please telephone
> Westminster City Council immediately on receipt.
> You should not disclose the contents to any other
> person or take copies.
> **********************************************************************
> 
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
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