HOME | SITEMAP | SUPPORT | FAQs
DOMAIN MANAGE/BACKROOM | BILLING
4Domains Web Hosting and Domain Registration
Account Login   WebMail

Web Hosting

Domain Names

Domain Auction

Solutions

Home > Ntsupport > Ntformmail

FormMail ASP
FormMail is a generic WWW form to e-mail gateway, which will parse the results of any form and send them to the specified user. This ASP version has been adopted to the NT operating system.

Installation
To install the FormMail ASP on your NT Account, download this file and save in onto your NT account as formmail.asp.

Configuration
To set formmail.asp simply edit the "domain= " and "reciepent_address= "sections at the top of the script to both your domain and email address respectively. The rest of the configuration can be done through your form. You simply need your html page which calls formmail.asp to have the following:

    <form Method=POST name="mailform" action=formmail.asp>

All form results will be sent to the address you specify at the top of the script in the reciepent_address section.

Optional Form Fields
Field: subject

Description:

The subject field will allow you to specify the subject that you wish to appear in the e-mail that is sent to you after this form has been filled out. If you do not have this option turned on, then the script will default to a message subject: "WWW Form Submission"
Syntax: To choose what the subject is rather than having the default of "WWW Form Submission" add the following to your form:
<input type=hidden name="subject" value="Your Subject">
To allow the user to choose a subject:
<input type=text name="subject">
 
Field: realname
Description: The realname form field will allow the user to input their real name. This field is useful for identification purposes and will also be put into the From: line of your message header.
Syntax: <input type=text name="realname">
 
Field: redirect
Description: If you wish to redirect the user to a different URL, rather than having them see the default response to the fill-out form, you can use this hidden variable to send them to a pre-made HTML page.
Syntax: To choose the URL they will end up at:<input type=hidden name="redirect" value="http://www.4domains.com"> This example will send them to our homepage after the submit button is pressed.


Why Us? | About | Contact Us
Knowledge Base | Support Request
Expired Domains | Domain Name Auctions | VPS Directory | DNS Tools
Hosting Terms | Domain Terms | Privacy Policy
Copyright © 2008 - 4Domains.com, Inc.


web hostinghostingdomaindomain namedomain namescheap web hostingecommerce website designdomain registration

Web Monitoring | SEO Technology | Hacker Scanner | DNS Tools | Online Backup