Ask a Question related to Dreamweaver AppDev, Design and Development.
-
CColeman6300 #1
Emailing Form Data
I have a form set up to called data and when the submit button is pressed the
data is emailed to me. That works fine. I am now trying to use the File
Upload form object to allow a person to select a file from their computer and
email it along with the other data to me. Currently it sends me the path to
the file, but does not send the file as an attachment.
Does anyone know if this is possible and how to do it.
CColeman6300 Guest
-
Autopopulated form not displaying data in pdfunless the form field is clicked
Within my online application, I have a pdf form that is auto generated and displayed to the user in the browser. My problem is that the populated... -
Emailing a form using PHP5
I'm trying to send and email from a form page to me using PHP5. When I click send I get the folowing message. Warning: mail() : SMTP server... -
file upload form enctype="multipart/form-data
I'm upload a file using cffile upload and that seems to work fine except I need to use enctype="multipart/form-data on the form side. This isn't a... -
emailing a form in .net
I have a current form on my companies website that is a request for information form. it is down in vbscript .net I needed to add a dropdown list... -
mx 7 flash form The form data has expired, Please reloadthis page in your browser.
When i first go to any flash form on my CFMX 7 server i get the following message. The form data has expired, Please reload this page in your... -
rpmoore #2
Re: Emailing Form Data
Yes, it is quite possible but not as simple as you are attempting. You must
either use an upload script such as PureASPUpload to upload the file to a
directory on your server, then attach it to the email you are sent (from your
server) or have the emailform script generate a link to the location of the
uploaded file. Or you must specify to the user that they must place the
desired file in a specific location on their harddrive such as C:/temp/ and
then you can make your upload script search there to make the attachment. This
is more work for the user so they may hate you...(just kidding) For our
company intranet I can easily place documents in a specific directory that
allows employees to attach and mail to customers from a web form. Using CDONTS
it looks something like this: objCDO.AddAttachment
('c:\inetpub\wwwroot\intranet\emailDocs\') & Request.Form('checkboxname')
I give the user a selection of checkboxes and the value of each is a different
filename: <input type='checkbox' name='doc5' value='ProgramSummary.pdf' />
Every doc that can be sent is then placed in the 'emailDocs' folder in the web
root. Now maybe if you modify the objCDO.AddAttachment to reference a
variable instead of a hardcoded path it might work. You could just have the
form filefield write the value into the variable when the form is submitted.
Hmmm, maybe I'll test that and see...
rpmoore Guest



Reply With Quote

