ASP Form to Email scriptIf you would like to set up a form on
your web site that visitors can send mail to you from, just
follow the steps below:
1. Download the formmail script here.
2. Modify the script to work on your web site by
making the following changes:
referers =
Array("www.yoursite.com", "yoursite.com")
replace "yoursite.com" with
your domain name!
mailComp = "CDONTS"
leave this setting as-is
smtpServer = "imail.acmeinfo.com"
use this if your account is hosted with
Acme Internet
fromAddr = "guest@yoursite.com"
again, replace "yoursite.com" with
your domain name
3. Save your changes, then rename the file
to "formmail.asp".
4. Create a folder called
"scripts" in the root (main) directory of your site.
5. Upload the "formmail.asp"
file to the "scripts" directory you just created on
your server.
The form-to-mail script is ready
to go -- now you just need to make a page with a form that uses the
script.
6. Download the Web page source here.
7. Rename the file to "formmail.htm".
7. Upload the "formmail.htm" file
to your server in whatever directory you would like.
Your form-to-mail page should now be
working!
You may make changes to the "formmail.htm" file to
make it fit your site design better if you'd like. You may
also change the form itself, but this could cause problems if
you don't know exactly what to change. Before editing the
form, please visit brainjar.com
for advanced form options.
|