You must use the server-wide formmail, unless another version has been approved by us. This helps to insure that no spam is being sent using insecure formmail scripts on the server.If you already have scripts that utilize formmail, you will need to change them so that the ACTION parameter in the FORM tag to read as /cgi-sys/formmail.pl.
The only real requires in order to get FormMail to work properly is the ACTION=/cgi-sys/formmail.pl and <INPUT TYPE=hidden NAME=recipient VALUE=email@domain.com>. Where email@domain.com is an email address you have set up on your domain.<FORM NAME=test ACTION=/cgi-sys/formmail.pl METHOD=POST> <INPUT TYPE=hidden NAME=recipient VALUE=email@domain.com> Enter your Name: <INPUT TYPE=text NAME=name><br> <INPUT TYPE=SUBMIT> </FORM>
In this example, you will notice the same ACTION=/cgi-sys/formmail.pl and <INPUT TYPE=hidden NAME=recipient VALUE=email@domain.com>. There are other INPUT TYPE=hidden types are are listed below:<FORM NAME=test ACTION=/cgi-sys/formmail.pl METHOD=POST> <INPUT TYPE=hidden NAME=recipient VALUE=email@domain.com> <INPUT TYPE=hidden NAME=subject VALUE="This is a test form"> <INPUT TYPE=hidden NAME=redirect VALUE=http://amsnac2.com/redirect.html> <INPUT TYPE=hidden NAME=required VALUE="email,realname"> E-Mail Address: <INPUT TYPE=text NAME=email><br> Name: <INPUT TYPE=text NAME=realname><br> Favorite Color: <INPUT TYPE=text NAME=color><br> <INPUT TYPE=SUBMIT> </FORM>