Using Windows Hosting Form Mailers
We include form mailer scripts with new Windows shared hosting accounts: webformmailer.asp
and gdform.php
. To use a form mailer, create a Web form in HTML that links to one of our scripts and upload it to your hosting account.
Note: Do not use test@test.com
to test your form mailer.
gdform.asp
and gdform.php
files cannot be recovered if they are deleted.The form mailers are not installed until you 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.
webformmailer.asp
form_format determines in what format the information is delivered. Its values are 'text', 'csv', 'html', 'xml', and 'default' (same as 'text').
form_order dictates in what order the fields are reported. Its values are 'default' (the same order as they appear on in the form), 'alpha' (alphabetized by field name) or a comma-separated, case-sensitive list of all or some field names.
form_interval determines the frequency and packaging of delivery. To receive one email per form submission, the form_interval values are 'default' (every 10 minutes), 'hourly', and 'daily'. To specify when the attached submissions are received, the form_interval values are 'digest', 'hourly_digest', and 'daily_digest'.
For example:
<form action="_gdForm/webformmailer.asp" method="POST">
<input type="hidden" name="subject" value="Submission" />
<input type="hidden" name="redirect" value="thankyou.html" />
First Name: <input type="text" name="FirstName" />
Last Name :<input type="text" name="LastName" />
Email: <input type="text" name="email" />
Comments: <textarea name="comments" cols="40" rows="10">
Type comments here.</textarea>
<input type="submit" name="submit" value="submit"/>
<input type="hidden" name="form_order" value="alpha"/>
<input type="hidden" name="form_interval" value="hourly"/>
<input type="hidden" name="form_format" value="html"/>
</form></pre>
Note: The webformmailer.asp
file is accessed through a virtual directory. You cannot modify the file, and it does not display in the file manager.
For information on reinstalling your default scripts, see Reinstalling the Default Scripts Directory on Windows Shared Hosting.