HomeMade HTML *just like Grandma used to Code!

Want to use FormMail on your website? There are several options here, but keep in mind that you need to be able to access the CGI bin to use most FormMail scripts.

One of the easiest to use is
FormMail from Matt's Script Archive. It's free and despite looking intimidating, takes a second to edit and upload.
So you have read the Read Me and still confused? No worries. :)

This should make it painless to set up your FormMail ~ You really only have to make 3 edits in most cases, and thats just placing your domain name in the right spots.

  • download FormMail from Matt.
  • open the FormMail.cgi. I use NoteTab Light. www.notetab.com
  • look for @referers = line. Change the .com to your domain. ie homemadehtml.com
  • look for @recipients. change that to your domain. ie homemadehtml.com

Create an html page using the form. Need help creating the form? Check http://www.htmlbasix.com/forms.shtml for their form generator.

  • upload to your site and while FTP is still open, rightclick formail.cgi.
  • scroll down to ftp commands ( in WS FTP it is operations, ftp commands, then chmod)
  • then select chmod.
  • select execute all 3........ done :-)


Now test. If it errors, you may need to edit the $mailprog command to $mailprog = '/usr/sbin/sendmail -oi -t'; .


Sub domains will need to add their own FormMail.cgi to their /web. This further prevents spammer abuse.

It is suggested you keep track of your 404 errors and watch your stats for use of the FormMail.cgi ~ Spammers will try! Make sure to check
Matt's Script Archive for script updates as well to keep abreast of security updates that stop spamming abuse.

More probs? Checks Matt's Script Archive forum, or ask your host :)

link to us!

Content and images copyright © 2003 - 2004 HomeMadeHTML.com

* Disclaimer : HomeMadeHTML.com does not intend to be the complete or total HTML resource, but rather a place where we can answer questions we frequently get when building sites, and questions we see asked in help rooms and emails. The site is a point to interact and make available help to all levels of users. You can't find your problem or solution listed? Mail it in or search the web, and good luck! All questions submitted and their solutions become the property of HomeMadeHTML.com and may be published in part or in its entirety on this site.