Chanan Technologies

×
×

Steps to making a form on your website where people can email you information....

Back

  1. Copy the below code.
  2. Replace the words in bold black with your domain name and your email.
  3. Replace the words in bold red with whatever you want that part of the form to say.
  4. Save it as a .html .
  5. Upload and you are done.

Note: Make sure you use an email address on the server as you can't use an outside email address for security reasons. You can always use a forwarder to send it to an outside email address as well. 

<html>

<head>
<title>FormMail Demo</title>
</head>
<body>
<form action="http://www.mydomain.com/cgi-sys/formmail.pl" method="post">
<input type="hidden" name="recipient" value="youremail@here.com">
<input type="hidden" name="subject" value="FormMail E-Mail">
Whatever you want to say here<br /><br />
<input type="text" name="email" size="20" value="Visitor E-Mail"><br />
<input type="text" name="tellme" size="20" value="E-Mail Content"><br /><br />
<input type="submit" name="submit" value="E-Mail Me!">
<input type="hidden" name="redirect" value="http://yourdomain.com/redirecto.html">
</form>
</body>
</html>

Was this article helpful?
Dislike0 Like0
Views: 1035