A highly customizable mailing script written in ASP.


aspFormMail
current version:  2.31
aspFormMail.asp is a reusable little script that is highly customizable. Essentially, it takes data submitted via an html form and translates it into an e-mail. Unix administrators should be immediately familiar with it, as it is modeled very closely after Matt Wright's famous formmail.pl script.

Please report your experiences is in the forum.



Download

aspFormMail 2.31 Full
   (updates by Blair Bonnett)
Download
aspFormMail 2.3 Full
   (updates by Blair Bonnett)
Download
aspFormMail 2.2a Full Download


Note: Items in bold are recommended for most users.


Version: 2.31 (May 23rd, 2003):

   + Added CDOSYS support.
   + Added ability to bypass referer check (useful for misbehaving firewalls and privacy enthusiasts).

Version: 2.3 (April 5th, 2003):

Blair Bonnett has graciously shared his updates to aspFormMail and we are releasing this as version 2.3!

   + Added 'Anonymous' ToEmail.
   + Added support for required fields.
   + Added 'Friendly' Error messages.
   + Improved e-mail checking.
   + Tidied the code up.

Customizing ASP Form Mailer:

1. Open the aspFormMail.asp file with Notepad.

2. Scroll down till you see the *** USER CONFIGURATION *** section.

3. Change the information in that section as neccessary to suit your website.

- Your mail server is where your outgoing mail is sent from; contact your host if you don't know it. If you intend to use the CDONTS mail component, you don't need to specify this.

- Allowed referers are the sites which can use the aspFormMail.asp file.

- Change the email component to whichever one is installed on your server; contact your host if you don't know. At this point in time, supported options are:

* "JMail" and "JMail4", both available from http://www.dimac.net/
* "ASPEmail", available from http://www.aspemail.com/
* "CDONTS" and "CDOSYS"

It can easily be rewritten to support a new component; if you do this, please contact us so we can include that component in the next release.

- The default from address will be used if the email address supplied by the user is invalid.

- The mail will be sent to the default to address if you don't specify one in the form.

- If the 'No referrer' option is set to true, then, if there is no referrer information supplied by the browser, then the message will be sent to the default to address. This was implemented because some firewalls were stripping this information out, and causing errors. If the referrer is available, then the script will still process it as normal.

4. See the Anonymous To-Email section further on for more information on what it is and how to customise and use it.

Customizing The Error Message Pages:

1. Open the MailHeader.inc file with Notepad. This file contains the text above the error message.

2. Edit it to reflect the style of your website. The two neccessary things for it to have are the closing </head> tag and the opening <body> tag.

3. Save the changes and close the file.

4. Repeat with MailFooter.inc, which is the text below the error message. Make sure you change the email link to point to your email address. This file must contain the closing </body> and </html> tags.

Support:

If you are having problems with any aspect of this script, then head on over to the forums at http://www.pd9soft.com/; in the 'aspFormMail' forum we will answer your questions.



QUICK LINKS 


Products & Services

- MegaBBS
    Support
    FAQ
    Plugins
    License
    Sponsors
- aspLadder
- aspFormMail

Community Forums





PD9 Software, Inc.
4520 Moorfield Ln.
Fort Wayne, IN 46816
(815) 642-9367 - FAX
info@pd9soft.com