Using the simple-mailprocess script.

Your hosting package must support PHP to use this script.

Download the script

1. EDIT YOUR FORMS.
The action for your form action MUST be 'simple-mailprocess.php'.
Example; <form method="post" action="simple-mailprocess.php">
Or in Dreamweaver design view, click anywhere in the form and from the quick tag selector (the gray bar just at the bottom of the document window), select the <form tag and put simple-mailprocess.php in the action field in the property inspector and make sure that method is set to 'POST'.

2. EDIT THE SCRIPT FILE.
See below. The first two lines of code (in red) in the script should be edited with the relevant details for your site and email address.
But only the first one; "$to" (the email address) is necasarry.

Once all has been edited and saved. Upload the php script onto your web server IN THE SAME FOLDER AS YOUR FORMS.


Do not edit anything else, just these three items in the script.

Required:
$to= 'your-email@address-here.co.uk';
Put the email address that you want the form data to be sent to.

Edit between the set of inverted commas only.

Optional:
$subjectline= 'Web Site form - Feedback';
This will be the emails subject.
Edit between the set of inverted commas only.

Edit between the set of inverted commas only.

Once you have edited these two lines within the script and saved it, you will need to upload the script to your web server.

Home | HTML Help | Resources | Useful Links | Contact us