Knowledge Base Article

How to submit web forms with FormMail?

FormMail is a quick and easy to use script that can e-mail you a form submitted on your website. 

 

SiteGround customers don't have to install it as they have it pre-installed on each Siteground account. It can be found at:

http://yourdomain.com/cgi-sys/formmail.cgi

  

All scripts using FormMail should be set standardly. Here is a simple example for a contact form script:

 

<FORM ACTION="/cgi-sys/formmail.cgi" METHOD="POST">
<input type=hidden name="recipient" value="yourmail@yourdomain.com">
<input type=hidden name="subject" value="Siteground Test">
<BR>
<BR>
<TABLE>
 <TR>
  <TD>Name:</TD>
  <TD>
   <input type=text name="name">
  </TD>
 </TR>
  <TR>
  <TD>Feedback:</TD>
  <TD>
   <input type=text name="feedback">
  </TD>
 </TR>
 <TR>
  <TD>
   <input type="reset" value="Reset" name="Reset">
  </TD>
  <TD>
   <input type="submit" value="Submit" name="Submit">
  </TD>
 </TR>
</TABLE>
</FORM>



Rating

Please indicate if this article was helpful for you.

rating :  4.3 from 5
views :  4824
votes :  43

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!