Using the ASP Form-Mailer
To use the ASP form-mailer, create a Web form in HTML that links to our ASP script and upload it to your hosting account.
Remember to specify the email address you want to use with the form-mailer in your account manager. For more information, see Specifying an Email Address for the ASP Form-Mailer.
To Use the ASP Form-Mailer
- Create your Web form as normal and assign unique names to your form items.
- For the form action line, enter
gdform.asp. For example:<form action="gdform.asp" method="post"> - Set the form method to "post."
- In addtion to the fields you create in your form, there are three special fields that you can use: subject, redirect, and email.
Subject. Controls the subject line in the form email.
Redirect. Controls the page that your visitors will see after they submit the form.
Email. Controls the return address for the form email.
For example:
<form action="gdform.asp" method="post">
<input type="hidden" name="subject" value="Form Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
<p>First Name:<input type="text" name="FirstName" /></p>
<p>Last Name:<input type="text" name="LastName" /></p>
<p>E-Mail:<input type="text" name="email" /></p>
<p>Comments:<textarea name="comments" cols="40" rows="10">
Type comments here.</textarea></p>
<input type="submit" name="submit" value="submit"/>
</form> - Save and upload your file to your hosting account.
NOTE: Keep in mind that our form-mailer script will sort the names of your form items alphabetically when it composes the email message. This is the order of precedence: uppercase letters, lowercase letters, numbers.
NOTE: Your file and GDFORM.ASP need to be placed in the same directory of your hosting account in order for the form to properly function.
For information on reinstalling your default scripts, see How Do I Reinstall the Default Scripts Directory?
