ASP Form to Excel and Mail
There should be an option in your web hosting control panel to set write permissions. If it's not present, you may can contact your web hosting service and request the write permissions for the ASP code.
Note: In Windows servers the permissions can't be set directly through FTP programs.
<form action="/HDWForm2Excel/Form2Excel.asp" method="post" enctype="multipart/form-data">
These attributes are requiredin order to upload files using the form.
ASPForm2Excel try to send the email primary by using CDOSYS and CDONTS with the most common configurations. However ASPForm2Excel is ready to accept third party email components: ASPMail, JMail and ASPEmail.
If you want to setup ASPForm2Excel manually to use some component, you can go to line #8 and change the C_MAIL_USE value:
' Possible values are "CDOSYS", "CDONTS", "ASPEmail", "ASPMail", "Jmail"
Const C_MAIL_USE = "CDOSYS"
If your web server requires a custom external SMTP address you can put it in the line#11:
Const SMTP_SERVER = "localhost"
Special Note for GoDaddy Users: In GoDaddy the SMTP server is "relay-hosting.secureserver.net", that means:
Const SMTP_SERVER = "relay-hosting.secureserver.net"
Const SMTP_SERVER = "localhost"
Change localhost with the address of the external mail server.
If your SMTP server requires authentication it can be configured at line #203:
' ("http://schemas.microsoft.com/cdo/configuration/sendusername") = "YOUR-USERNAME"
' ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "YOUR-PASSWORD"
Uncomment (remove the leading single quotes) the lines and put your own username and password used for authentication.
Yes, it is possible. Open for edition the Form2Excel.asp file generated by the extension. At line #166 you can add the following lines to send copies of the form submission.
SendMail "firstname.lastname@example.org", emailaddress, emailsubject, body
SendMail "email@example.com", emailaddress, emailsubject, body
...and copies of the original email will be sent to firstname.lastname@example.org and email@example.com respectively.
Yes, it's possible. Add this code on line #166 (into the Form2Excel.asp file):
SendMail Request.Form("clientemail"),fromaddress,emailsubject,"Thank you!!<br />"&body
In your form "clientemail" must be the name of the field where the client enter his email address.
emailsubject= "Form sent from " & Request.ServerVariables("SERVER_NAME")
...change it to:
Note: "your-subject-field-name" is the name of the "subject" field on your form.
To use an email posted from your form modify the line #73:
fromaddress = Request.Form("your-email-field-name")
Note: "your-email-field-name" is the name of the "email" field on your form.
Additional note: If you are using upload fields in your form then contact our support service for additional information.
Download the most recent version of the Adobe/Macromedia Extension Manager or the version related to your Dreamweaver version:http://www.adobe.com/exchange/em_download/
After installed open the MXP file from the Extension Manager menu to be sure that you are installing the extension using the correct Extension Manager.
After accessing that link you will get a copy of the product and a copy of the download link will be sent to your email address. If you have not received the email, please check your spam/bulk mail folder.
If you lost both download links, please contact our support service and we will send you a new download link. Please include the email used for payment in your message;
Moneybookers is accepted in almost all countries.
Please, change the "Links relative to" setting in the site configuration options (Dreamweaver 8 or later).
If this setting does not solve the problem, then follow these steps:
- Restart Dreamweaver
- Be sure that you have a local web site defined in Dreamweaver
- Open the page where you want to insert the extension(this page must be saved previously into your web site)
- Try to insert the extension again
We also accept MoneyBookers (accepts credit cards when uploading funds).
It's required to define a working site in Dreamweaver because Dreamweaver needs to know where to place the files.
Download here a PDF document with help about defining a site in Dreamweaver.
If you are testing your page directly from your local hard disk in IE 7, this message appears:
"To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer. Click here for options."
In IE 7 this message appears when you test a web page that contains a script or Flash item directly form your local hard disk. When you upload your page to an online web server that message does not appear.
The address from a web server must start with http:// or https:// . On the other hand if the address starts with C:\ or file:// then you are testing it from your local hard disk.
Just upload your web page to your web site and you will see that the error disappears.
- Check if you have defined a local web site at dreamweaver.
- Check if you have saved the page into your local web site.
- If you are using Dreamweaver templates, check if your templates allow an "Editable Region" in the <HEAD> section of the HTML code.
- Mark the "Use case-sensitive link checking" option in the site settings and recreate your site cache.
- After these checks, please restart your Dreamweaver and try again.
That's due to a bug in the Adobe Extension Manager that sometimes corrupts the "Menus.xml" file. That file can be found in the following location:
Windows users: C:\Documents and Settings\[UserName]\Application Data\Macromedia\Dreamweaver [version]\Configuration\Menus\menus.xml
Mac users: HD:Users:username:Library: Application Support:Macromedia:Dreamweaver [version]:Configuration:Menus:Menus.xml
To fix this problem close your Dreamweaver and try the following:
- Un-install all your extensions and then re-install them one at a time. This will work in most cases.
- If the above doesn't work then delete the "Menus.xml" file. After this you will need to disable and enable your extensions in order to get the menu entries again.
- If none of the above works then there is more than one file corrupted, the solution in this case will be to completely uninstall Dreamweaver and reinstall it again.