My Account
Crazy Domains
Easy step-by-step setup tutorials

Help & Setup

PHP FormMail

FormMail.php is a generic WWW form to e-mail gateway, which will parse the results of any web form and send them to the specified user. 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. More information on this script can be found in the Readme file.

Jacks FormMail.php: Download | Further Reading: Click Here

Please be advised, the included code is provided on a sample basis only.

By downloading this code sample you agree to indemnify all parties involved with the development, hosting and provision against any and all disputes between yourself and any third party.

You agree to indemnify, defend and hold harmless aforementioned parties against any loss or damage coming as a result of the sample code's provision.


1. Create your form page in HTML. There is no limitation to your form design.
 



2. Download the script Jacks FormMail.php Version 5.0, save it to a temporary directory on your computer, then unzip the files.
 





3. Open the formmail.php file in a plain text editor such as Notepad and change the value of the $recipient variable. Change the recipient address to the email address that the FormMail results will be sent to.

For Multiple Recipients seperate the email addresses with commas (",").

 



4. Edit the HTML code of your form page (eg, contact.html) and define the FORM ACTION to execute the formmail.php script and make sure the FORM METHOD is "POST".
 



5. Upload the formmail.php script and form mail HTML file into the directory in which you are planning to use it. (eg, /public_html) of your account.
 



6. To test the php form mail, please go to http://www.yourdomain.com/contact.html

© 2012 Crazy Domain Names, all rights reserved. Crazy Domains® | Policies & Privacy