Doteasy Tutorials - Coding/Scripts

Setting up PHP FormMail (EM)

Jacks FormMail.php:

* This tutorial is only for subscribers of the php/MySQL Optional Feature or Ultra Hosting or Ultra Windows Hosting services.

This tutorial is based on Jacks FormMail.php script. The script is a generic WWW form to e-mail gateway which typically sends the results of a form to a predefined email address or file location. This script is written in PHP and 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.

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

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

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 (",").


(If the recipient email address is an email address under the website domain name, click here for more information about the special email format.)


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".

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

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

Congratulations. You have successfully set up your FormMail script.

Note: For more options or information about this script, you can visit the documentation page for the script at this location. http://dtheatre.com/scripts/formmail_doc.php

If you would like to use a CGI FormMail script, please click here.

Top

 

 

If you require additional assistance, please feel free to contact our customer service team: https://www.doteasy.com/ContactUs/SMS/

Back to Tutorials Page