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 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?

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

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?

When I doubleclick 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 this 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 CS3?

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

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).


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

ASPForm2Mail try 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 #5 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#9:

  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"



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.php" method="post" enctype="multipart/form-data">

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

Special Note for GoDaddy Users: In GoDaddy the SMTP server is "relay-hosting.secureserver.net", go to the file Form2Mail.asp, line #5, and change the following configuration value:

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



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 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?

Use subject posted from your form, go to file "Form2Mail.asp", line #335:

emailsubject= "Form sent from " & Request.ServerVariables("SERVER_NAME")

...change to:

emailsubject= "Form sent from " & Request.Form("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 you form modify the line #333:
 
fromaddress =
Request.Form("your-email-field-name")

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


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.



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 authenticacion it can be configured at line #436:
 
          'objMail.Configuration.Fields.Item _
          '    ("http://schemas.microsoft.com/cdo/configuration/sendusername") = "YOUR-USERNAME"
          'objMail.Configuration.Fields.Item _
          '    ("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.


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 inserting these two lines on line #394:

emailaddress = "youremail@sample.com"
fromaddress = "youremail@sample.com"

Note: Put your own email address in both places.

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 #17 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 #394 you can add the following lines to send copies of the form submission.

SendMail "copy1@example.com", emailaddress, emailsubject, body
SendMail "copy2@example.com", emailaddress, emailsubject, body

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



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. Add this code on line #394 (into the Form2Mail.asp file):

If Attachments Then
  SendMail UploadRequest.Item("clientemail"),fromaddress,emailsubject,"Thank you!!<br />"&body
Else
  SendMail Request.Form("clientemail"),fromaddress,emailsubject,"Thank you!!<br />"&body
End If 

In your form "clientemail" must be the name of the field where the client enter his email address.



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.


When I doubleclick 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 Macromedia Extension Manager: http://www.adobe.com/exchange/em_download/


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

The download link is sent by mail and you will be redirected to a download page. If you have not received the email, please checkyour 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 this extensions with MACs ?

Yes, you can. this 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 restarted 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 CS3?

Yes, all our extensions are compatible with the most recent Dreamweaver versions, including Dreamweaver CS3.


When I preview my web page atfer 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 start 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.



CATEGORYPRODUCTS
  • Dreamweaver Extensions
  • Services
  • More Extensions & Products
  • Support
  • Email:

    Password: