Why our extensions?
- High Quality, Tested and Approved
- Unlimited Domain License
- Dedicated Support Team
- Free Updates
- Easy to Install and Use

ASP Form to Mail

Questions

I'm getting a 404 error when submitting the form. What is the problem?

I'm not receiving any mail, why?

My server has some particular specifications for sending emails from ASP. Can I configure these specifications into ASPForm2Mail?

I'm receiving the emails, but not the attachments. Why?

I'm getting this error after filled out the form: "Method not Allowed". Why?

Do I need to know ASP in order to use this product?

When I go to test a form, I press submit and this is the error I get: "Microsoft JET Database Engine error...". What can I do?

How can I control the maximum size of the file attachment?

How can I edit the "Form2Mail.asp" document so that when the email comes through, it has the email address and subject filled out from the user on the form, instead of the default values?

My server requires a different SMTP address and authentication. How can I configure it?

What security measures can be added or configured with FormToMail in order to avoid exploitation of forms by spammers and robots?

Can I use Form2Mail and FormCaptcha in the same form?

When I try to Insert form2mail I get the message "Please select FORM tag to validate". What I'm doing wrong?

How can I exclude some fields from the email?

Can I use Form2Mail in 2 or more different forms in the same website?

Is possible to send copies of the form submission to multiple email addresses at the same time?

Can the form send a CC to the user as well? I want the user to receive a copy of the email for their records with a "thank you" comment at the top.

I'm having problems with the encoding of special characters, there is a work around?

I'm getting this error: Response object error 'ASP 0158 : 80004005' - Missing URL. What can I do?

I'm being redirected always to the error page, why?

When I double click the MXP file I'm getting this error: "Extension requires more recent version of Macromedia Extension Manager". How can I solve this?

I have problems while downloading the file. How can I download it?

I don't have a credit card. Are there alternative payment options?

Do you offer a multi-domain license?

I'm getting this error message "Is not possible to create data structure.". What's happening?

Can I pay using my credit card ?

Can I use these extensions with MACs ?

I have downloaded the new program, but cannot seem to access it from the command panel.

I'm getting this message "Please define your site first.". What I should do?

This extension works with Dreamweaver CC?

When I preview my web page after I get this message in my Internet Explorer,"To help protect your security, Internet Explorer has restricted...". What is the problem?

Note about sales taxes.

I'm getting this error: "TypeError: THE_DOM has no properties" . There is a workaround?

I'm getting the error "Can't update menus. Extension will not be installed". What is the solution?

Answers

I'm getting a 404 error when submitting the form. What is the problem?

Please, be sure to upload the "HDWForm2Mail" folder and files inside. After it, if you are still getting the error, please check the path to the "form2mail.php" file in the form action attribute.

Please note that the "HDWForm2Mail" folder is generated in your local web site when you insert the Form2Mail in your page, then you need to upload that folder to your online web server.



I'm not receiving any mail, why?

Most probably it's due to a spam filter in your email server. Check your spam filter settings to avoid being classified as spam (adding the "from" email into the address book or into the "trusted" list).

If the spam filter is not the problem then your server requires some custom configuration parameters. Probably you'll need to ask these parameters to your hosting service and configure the Form2Mail according to this other FAQ entry.



My server has some particular specifications for sending emails from ASP. Can I configure these specifications into ASPForm2Mail?

ASPForm2Mail tries to send the email primary by using CDOSYS and CDONTS with the most common configurations. However ASPForm2Mail is ready to accept third party email components: ASPMail, JMail and ASPEmail.

If you want to setup ASPForm2Mail manually to use some component, you can go to line #9 (Form2Mail.asp file) 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#18:

  Const SMTP_SERVER = "localhost"

If your web server requires authentication it can be configured some lines below.

Special Note for GoDaddy Users: In GoDaddy the SMTP server is "relay-hosting.secureserver.net", that means:

  Const SMTP_SERVER = "relay-hosting.secureserver.net"

Special Note for 1and1 Users: In 1and1 (shared servers) the SMTP server is "mrelay.perfora.net", that means:

  Const SMTP_SERVER = "mrelay.perfora.net"



I'm receiving the emails, but not the attachments. Why?

Please add the enctype="multipart/form-data" and method="post" attribute for uploads

<form action="/HDWForm2Mail/Form2Mail.asp" method="post" enctype="multipart/form-data">

These attributes are required for forms containing "file" fields.


I'm getting this error after filled out the form: "Method not Allowed". Why?

In most cases, this error means that your server does not support ASP scripts. Please check if your server supports ASP scripts or contact your web hosting support.

Note: Windows servers usually supports ASP scripts. On the other hand Unix, Linux and other servers running Apache web server usually support PHP scripts. We have two different Form2Mail products, one for servers with support for ASP scripts and other for server with support for PHP scripts.



Do I need to know ASP in order to use this product?

No, you don't need to know ASP. Just upload the .ASP files anf be sure that your server supports ASP.


When I go to test a form, I press submit and this is the error I get: "Microsoft JET Database Engine error...". What can I do?

Seems like if your web server does not support MSAccess databases.

You can install and use the version that does not require MSAccess databases (included with the purchase).

Please, remember to restart Dreamweaver after installed the new extension.

After installed, for your current site, delete the old "HDWForm2Mail"  folder and apply Form2Mail again. The new files without the MSAccess database will be generated.

Note that the MSAccess database is required to identify automatically the user's country, if you are using the version without MSAccess database the country allways appear as "unknown".


How can I control the maximum size of the file attachment?

Try adding this line at the beginning of the Form2Mail.asp file:

If Request.TotalBytes > 2000000 Then Response.Redirect "error-page.html"

Note: 2000000 means about 2Mb. You need to create a page named "error-page.html" and put there a message indicating that the maximum size allowed was exceeded.



How can I edit the "Form2Mail.asp" document so that when the email comes through, it has the email address and subject filled out from the user on the form, instead of the default values?

To use a subject posted from your form, go to file "Form2Mail.asp", line #59:

Const HDW_SUBJECT_FIELD_NAME = ""

...change it to:

Const HDW_SUBJECT_FIELD_NAME = "your-subject-field-name"

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 #58:
 
Const HDW_FROM_EMAIL_FIELD_NAME = "
your-email-field-name"

Note: "your-email-field-name" is the name of the "email" field on your form.

On the other hand, if you want to put an static subject, go to the line #51 and put the subject there:

emailsubject= "This is the subject for all my forms"


My server requires a different SMTP address and authentication. How can I configure it?

You can go to the file "Form2Mail.asp", line #9 and set the address of a different (SMTP) host:
 
  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 #24:
 
  Const HDW_USE_AUTHENTICATION = True
  Const HDW_AUTH_USERNAME = "username-here"
  Const HDW_AUTH_PASSWORD = "password-here"



What security measures can be added or configured with FormToMail in order to avoid exploitation of forms by spammers and robots?

To increase the security you can put the delivery email address directly into the ASP file and remove it from the hidden field. You can do it by editing this configuration value on line #77:

Const HDW_FIX_DESTINATION_EMAIL = "my_email@sample.com"

Note: Put your own email address.

Additionally, if you want to prevent automatic submissions you can add a security verification image (captcha) into your forms. We have a captcha extension here.



Can I use Form2Mail and FormCaptcha in the same form?

To put Form2Mail and FormCaptcha together, please follow these steps:

  1. Insert Form2Mail into your form as always.
  2. Once inserted Form2Mail, insert FormCaptcha.
  3. Select the file "HDWForm2Mail/Form2Mail.asp" as the page to protect.
  4. Click the "Browse" button to select this file.
  5. Configure others parameters of FormCaptcha in the "Insert Captcha"
  6. window, as always.
  7. Update all the files in your web server.

These automatically will generate all the code needed to achieve the functionality.



When I try to Insert form2mail I get the message "Please select FORM tag to validate". What I'm doing wrong?

Be sure that your page contains a <form>...</form> tags. The input files must be enclosed into a <form>...</form> tags. To select a FORM tag to insert Form2Mail just click in anywhere into the form.



How can I exclude some fields from the email?

Optionally you can exclude any number of fields, example: captcha fields, hidden fields, etc... To do that go to the "HDWASPForm2Mail/Form2Mail.asp" file, at line #70 and add the excluded fields there, example:

AddExcludedField "field1"
AddExcludedField "field2
..."



Can I use Form2Mail in 2 or more different forms in the same website?

Yes, you can use it in an unlimited number of forms in the same web site. There are not additional steps required to make it work with different forms, the same Form2Mail.asp (processing file) identify automatically the form that is being submitted and process it separately from the other forms.

As alternative (optional), if you want to customize a different "subject" or other custom details for different forms then you can duplicate the Form2Mail.asp file to Form2Mail_1.asp, Form2Mail_2.asp,... and point the form's action to the related file.



Is possible to send copies of the form submission to multiple email addresses at the same time?

Yes, it is possible. Open for edition the Form2Mail.asp file generated by the extension. At line #33 you can add the CC (carbon copy) emails:

Const HDW_SEND_CC_TO = "copy1@example.com;copy2@example.com"

...and copies of the original email will be sent to copy1@example.com and copy2@example.com respectively.

Note: If you want to CC to more than one email address then separate the emails with semicolons like in the above example.



Can the form send a CC to the user as well? I want the user to receive a copy of the email for their records with a "thank you" comment at the top.

Yes, it's possible. Edit the configuration values into the lines #40..#44 (into the Form2Mail.asp file):

  Const HDW_SEND_THANKYOU = True
  Const HDW_USER_EMAIL_FIELD_NAME = "email"
  Const HDW_INCLUDE_SUBMITTED_DATA = False
  Const HDW_THANKYOU_SUBJECT = "Thank you for your message."
  Const HDW_THANKYOU_MSG = "Thank you for your message. We will reply you as soon as possible."


In your form "email" must be the name of the field where the client enter his email address (second configuration parameter). Optionally you can include the submitted data into that email (the third configuration parameter).


I'm having problems with the encoding of special characters, there is a work around?

Some servers (hosting configuration) have problems with the encoding of special characters, the solution is simple, just add this line at the beginning of the Form2Mail.asp file:

Response.Codepage = 65001



I'm getting this error: Response object error 'ASP 0158 : 80004005' - Missing URL. What can I do?

Please remove the enctype="text/plain" attribute from your form tag.


I'm being redirected always to the error page, why?

Please open the file "Form2Mail.asp", go to the line #83 and put the following configuration value to True:

Const HDW_ENABLE_DEBUG_MESSAGES = True

...then test your form again and this time you will get a detailed error about the problem.



When I double click the MXP file I'm getting this error: "Extension requires more recent version of Macromedia Extension Manager". How can I solve this?

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.



I have problems while downloading the file. How can I download it?

If you purchased the product using Google Checkout, the instructions for accessing your purchase will appear in a yellow box at the top of your Order Receipt page (into your Google Checkout account):



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;


I don't have a credit card. Are there alternative payment options?

We accept Paypal and MoneyBookers, both services allow (indirect) payments through bank transfers.

Moneybookers is accepted in almost all countries.


Do you offer a multi-domain license?

All extensions have an unlimited domain license. You can use them in all your web sites.


I'm getting this error message "Is not possible to create data structure.". What's happening?

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:

  1. Restart Dreamweaver
  2. Be sure that you have a local web site defined in Dreamweaver
  3. Open the page where you want to insert the extension(this page must be saved previously into your web site)
  4. Try to insert the extension again


Can I pay using my credit card ?

Yes, Paypal allows you to pay directly using your credit card.

We also accept MoneyBookers (accepts credit cards when uploading funds).


Can I use these extensions with MACs ?

Yes, you can. These extensions are tested in all actual browsers and used from Dreamweaver on both platforms, PC and MAC.


I have downloaded the new program, but cannot seem to access it from the command panel.

Did you restart Dreamweaver after double clicking the MXP file? Please remember to restart Dreamweaver after double clicking the MXP file.


I'm getting this message "Please define your site first.". What I should do?

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.



This extension works with Dreamweaver CC?

Yes, all our extensions are compatible with the most recent Dreamweaver versions, including Dreamweaver MX, Dreamweaver MX 2004, Dreamweaver 8, Dreamweaver CS3, Dreamweaver CS4 and Dreamweaver CS5, CS5.5, CS6, CC 2014 .. CC 2019.


When I preview my web page after I get this message in my Internet Explorer,"To help protect your security, Internet Explorer has restricted...". What is the problem?

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.



Note about sales taxes.

No sales tax is charged when you purchase via PayPal. You can order via PayPal with a credit card even if you do not have a PayPal account. PayPal's status as a financial institution exempts PayPal orders from sales tax. CodePeople will be the retailer of record. CodePeople is based in Switzerland and does not have any US sales tax obligations.


I'm getting this error: "TypeError: THE_DOM has no properties" . There is a workaround?

Please follow these steps:
  1. Check if  you have defined a local web site at dreamweaver.
  2. Check if you have saved the page into your local web site.
  3. If you are using Dreamweaver templates, check if your templates allow an "Editable Region" in the <HEAD> section of the HTML code.
  4. Mark the "Use case-sensitive link checking" option in the site settings and recreate your site cache.
  5. After these checks, please restart your Dreamweaver and try again.
If the above actions don’t solve the problem, then probably the reason is a wrong HTML structure in the page that you are trying to use the product, in this case, please check the page’s HTML structure and if you cannot find the problem then contact our support service.


I'm getting the error "Can't update menus. Extension will not be installed". What is the solution?

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:

  1. Un-install all your extensions and then re-install them one at a time. This will work in most cases.
  2. 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.
  3. 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.


CATEGORYPRODUCTS
  • Dreamweaver Extensions
  • Dreamweaver Templates
  • Services
  • More Extensions & Products
  • Support