Hi! I have a template using cfform with enctype="multipart/form-data". I have an input field in the form with type="file". This allows the users to browse their file directories for the file to attach. My cfx_mail in the action file looks like:
<cfx_mail TO = "me@myserver.com"
FROM = "#email#"
SUBJECT = "CALL FOR PRESENTATIONS APPLICATION"
SERVER = "servername"
MIMEATTACH = "#filename#"
Headers="X-Mailer: CFX_MAIL"
TYPE = "HTML"
BODY = "this is the body, etc., etc.">
This works o.k. the file is attached, but the filename of the attached file is something like ****.tmp. It has the .tmp file extensiona and I would like the real filename there.
Is there any way to do this? We are running Version 3 of ColdFusion server, by the way. Thanks in advance.
<cfx_mail TO = "me@myserver.com"
FROM = "#email#"
SUBJECT = "CALL FOR PRESENTATIONS APPLICATION"
SERVER = "servername"
MIMEATTACH = "#filename#"
Headers="X-Mailer: CFX_MAIL"
TYPE = "HTML"
BODY = "this is the body, etc., etc.">
This works o.k. the file is attached, but the filename of the attached file is something like ****.tmp. It has the .tmp file extensiona and I would like the real filename there.
Is there any way to do this? We are running Version 3 of ColdFusion server, by the way. Thanks in advance.