Storing form information using cfm and sending attachments in email
Hi. I am trying to have an email automatically sent to me when an html form is completed and also include an attachment that the user has attached when they hit submit. But whhen I go to run it, I get no errors however I don't even get the email. So I can't debug because there is no way to set breakpoints in dreamweaver. Here are parts of my .cfm code. Thanks for your help in advanced.
<CFMAIL TO=....my code>
----------------------------------
Data entered through form
----------------------------------
Date: #form.Date#
Name: #form.Name#
<cffile
action="UPLOAD"
fileField="form.datafile"
destination="#GetTempDirectory()#"
nameconflict="MAKEUNIQUE"
/>
<cfmailparam file="#form.datafile#" disposition="attachment" type="text">
</CFMAIL>
