Are you uploading the file?

        <cfif form.file IS NOT "">
        
        <cffile action="UPLOAD" 
                 destination="D:\Webserver\InetPub\wwwRoot\TEMPDOCS\" 

                 filefield="form.file"
         nameconflict="OVERWRITE">

        <cfmail to="[EMAIL PROTECTED]" from="[EMAIL PROTECTED]" 

        mimeattach="D:\Webserver\InetPub\wwwRoot\TEMPDOCS\#file.serverfile#"

                 Subject="Cheers!"      
        Type="HTML">

        Blah blah
               Message goes here 

                </cfmail>

                <cfif  #form.file# IS NOT "">

        <cffile action="DELETE" 
file="D:\Webserver\InetPub\wwwRoot\TEMPDOCS\#file.serverfile#" >
        </cfif>


Candace K. Cottrell, Web Developer 
The Children's Medical Center 
One Children's Plaza 
Dayton, OH 45404 
937-641-4293 
http://www.childrensdayton.org

 
[EMAIL PROTECTED]
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to