Return Home  


Sending mail with HTML forms &


Any text or HTML editor.

What is it? FormMail is a generic www form to e-mail gateway (cgi), which will parse the results of an HTML form and send them to a specified user(s). This script has many formatting and operational options, most of which can be specified through the form, meaning you don't need any programming knowledge or multiple scripts for multiple forms.

Related Topics
Unofficial Guide to FormMail
Secure email with PGP and FormMail

Step 1: Determine your platform.

UNIX: If your site is hosted on the UNIX platform, you will need to request the formmail script for your cgi-bin. Please send an email to with your request.

Win NT: If your site is hosted on the NT platform, you will need to use the form provided by FrontPage which uses "web bots" or alternately ASPemail.

Step 2: Copy the HTML below and paste it into a new document in your editor.
*Note this is only a sample form! Your form may be much more complex. Simply use
this as a starting point and customize your form to your needs. The parts in RED are really
the only parts that are necessary/reccomended for your form to work with this script.

<title>Your Title Here</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body bgcolor="#FFFFFF" text="#000000">
<form method="post" action="">
<input type="text" name="name">
<input type="text" name="email">
<input type="hidden" name="realname" value="My FormMail Test">
<input type="hidden" name="redirect" value="">
<input type="hidden" name="subject" value="Your Subject here">
<input type="hidden" name="recipient" value="">
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="clear" value="Clear it">

Step 3: Edit the parts in RED to match your settings and prefrences and save your new HTML page.

Step 4: Upload the page and test your form. Thats it!

If you have further questions, please give us a call at 1-888-638-4373
or use our
contact form.

© 2001 NetHere, inc. All rights reserved.