headerlogo1.gif

Home
General Info.
NFPO's
Pricing
Terms
FAQ's
Contact
Downloads
Web Design Dept
Bronson-Tate Consulting

Check Domain Name:

.com  .net  .org
Using Form-Mail
Back to FAQ's  | Starting out  | General Questions  | Non-Domain  | Domains




		
   Bronson-tate.net offers all of our web hosting clients a method of receiving feed back from visitors of their site.
Form-Mail is a simple CGI script written in Perl, that allows your visitors to submit information to you by completing a form that you create on your web site.
   You don't need to know anything about CGI scripting or Perl to use Form-Mail. Just the basic knowledge on how to use the HTML tag, <FORM>, is all that's required.

   Which coding method you use depends on what type of Domain you have.

Non-Domain  |  Domain
Please select one of the above.


		
Back to FAQ's  | Starting out  | General Questions  | Non-Domain  | Domain

Add the following 4 lines to your form document and your form will send the information to the specified e-mail address.

<FORM ACTION="/cgi-bin/fmail.pl" METHOD="POST">

<INPUT TYPE="hidden" NAME="recipient" VALUE="email address to receive form info">

<INPUT TYPE="hidden" NAME="subject" VALUE="Name of form ie:Order Form">

<INPUT TYPE="hidden" NAME="thankurl" VALUE="http://www.bronson-tate.net/your_dir/thankyou.htm">

The above 4 lines need to be placed at the beginning of your HTML coding that starts the forms.

  • Line number 1 declares that the forms in your HTML page will be processed by the fmail.pl script in our CGI-BIN.
  • Line number 2, tells the form script to send the completed forms to the specified recipient (your e-mail address of whomever's you set it for).
  • Line number 3, tells the form script to place the declared subject line into the form sent to the recipient via e-mail.
  • Finally, line number 4 tells the form script to send the visitor filling out the form to a page thanking them for filling out the form.

These are the only codes you need to interface with to get the form working.

Don't forget to create a 'thankyou' page for your form.
Please note that if you DO NOT want to use the "thankyou.htm" you can specify:

<INPUT TYPE="hidden" NAME="thankurl" VALUE="no">
(This will display a default thank you page for you, saves some HTML coding)

Also, the place in your HTML code where you ask the visitor for their e-mail address change the coding to reflect something like this:

<INPUT TYPE="text" NAME="username">What is your e-mail address?

The key parameter is the name="username". This will take the e-mail address from the form and place it into the e-mail form that is sent to the recipient (declared in Line 2 of the form coding). Otherwise, the recipient will receive mail from "No-Email-Given@whatever.com" (a null used in the form script if no e-mail address is found via the username parameter).


		
Back to FAQ's  | Starting out  | General Questions  | Non-Domain  | Domain

There are basically two type of Domain accounts that we host.
  • Package 1 accounts don't have their own CGI-BIN, and must use our Form-Mail script if you want to have feedback from your visitors.
  • All Package 2 and above accounts have their own CGI-BIN, and may use our Form-Mail script or your own.

Package 1 Accounts:
Add the following 4 lines to your form document and your form will send the information to the specified e-mail address.

<FORM ACTION="http://www.bronson-tate.net/cgi-bin/fmail.pl" METHOD="POST">

<INPUT TYPE="hidden" NAME="recipient" VALUE="email address to receive form info">

<INPUT TYPE="hidden" NAME="subject" VALUE="Name of form ie:Order Form">

<INPUT TYPE="hidden" NAME="thankurl" VALUE="http://www.your_domain_name/thankyou.htm">

The above 4 lines need to be placed at the beginning of your HTML coding that starts the forms.

  • Line number 1 declares that the forms in your HTML page will be processed by the fmail.pl script in our CGI-BIN.
  • Line number 2, tells the form script to send the completed forms to the specified recipient (your e-mail address of whomever's you set it for).
  • Line number 3, tells the form script to place the declared subject line into the form sent to the recipient via e-mail.
  • Finally, line number 4 tells the form script to send the visitor filling out the form to a page thanking them for filling out the form.

These are the only codes you need to interface with to get the form working.

Don't forget to create a 'thankyou' page for your form.
Please note that if you DO NOT want to use the "thankyou.htm" you can specify:

<INPUT TYPE="hidden" NAME="thankurl" VALUE="no">
(This will display a default thank you page for you, saves some HTML coding)

Also, the place in your HTML code where you ask the visitor for their e-mail address change the coding to reflect something like this:

<INPUT TYPE="text" NAME="username">What is your e-mail address?

The key parameter is the name="username". This will take the e-mail address from the form and place it into the e-mail form that is sent to the recipient (declared in Line 2 of the form coding). Otherwise, the recipient will receive mail from "No-Email-Given@whatever.com" (a null used in the form script if no e-mail address is found via the username parameter).

Package 2 and above Accounts:
To use our Form-Mail, follow the instructions below.
Add the following 4 lines to your form document and your form will send the information to the specified e-mail address.

<FORM ACTION="/cgi-bin/fmail.pl" METHOD="POST">

<INPUT TYPE="hidden" NAME="recipient" VALUE="email address to receive form info">

<INPUT TYPE="hidden" NAME="subject" VALUE="Name of form ie:Order Form">

<INPUT TYPE="hidden" NAME="thankurl" VALUE="http://www.your_domain_name/thankyou.htm">

The above 4 lines need to be placed at the beginning of your HTML coding that starts the forms.

  • Line number 1 declares that the forms in your HTML page will be processed by the fmail.pl script in our CGI-BIN.
  • Line number 2, tells the form script to send the completed forms to the specified recipient (your e-mail address of whomever's you set it for).
  • Line number 3, tells the form script to place the declared subject line into the form sent to the recipient via e-mail.
  • Finally, line number 4 tells the form script to send the visitor filling out the form to a page thanking them for filling out the form.

These are the only codes you need to interface with to get the form working.

Don't forget to create a 'thankyou' page for your form.
Please note that if you DO NOT want to use the "thankyou.htm" you can specify:

<INPUT TYPE="hidden" NAME="thankurl" VALUE="no">
(This will display a default thank you page for you, saves some HTML coding)

Also, the place in your HTML code where you ask the visitor for their e-mail address change the coding to reflect something like this:

<INPUT TYPE="text" NAME="username">What is your e-mail address?

The key parameter is the name="username". This will take the e-mail address from the form and place it into the e-mail form that is sent to the recipient (declared in Line 2 of the form coding). Otherwise, the recipient will receive mail from "No-Email-Given@whatever.com" (a null used in the form script if no e-mail address is found via the username parameter).


		
Back to FAQ's  | Starting out  | General Questions  | Non-Domain  | Domain

			

reddot.jpg - 288 Bytes
Contact web master at:
Bronson-Tate Consulting
This site was created by
BTC
Copyright © 2003
Bronson-Tate Consulting
All Rights Reserved
reddot.jpg - 288 Bytes