hello all,

i am trying to use cfmail, which attaches a file selected by the user in the
form using <input type="file"...>. but when i try to attch it, some ".tmp"
file gets attached not the original file i selected. can anyone help me??

i am providing the form and the action page here

FORM:

<FORM ACTION="filemailer.cfm" ENCTYPE="multipart/form-data" METHOD="post">
<P>Enter the complete path and filename of the file to upload:
<INPUT TYPE="file" NAME="FiletoUpload" SIZE="45">
</P>
<INPUT TYPE="submit" VALUE="Upload">
</FORM>

ACTION PAGE:

<CFMAIL TO="[EMAIL PROTECTED]"
    FROM="[EMAIL PROTECTED]"
    CC="[EMAIL PROTECTED]"
    BCC="[EMAIL PROTECTED]"
    SUBJECT="testing going on buddy"
    MIMEATTACH="#form.filetoupload#"
    SERVER="comail1.netnet.com.sg"
    PORT="25">
        
        MAIL TEXT
        
</cfmail>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to