
Phmail enables you to receive email responses from forms on your website. You will need a hosting service that allows to to run PHP scripts. You'll also need to be able to make minor edits in the code view of an authoring package such as Dreamweaver, or open your pages in a text editor. I recommend the excellent (and free) Notepad 2.
<form method="POST" action="thankyou.php">
<?php
/**************************************************/
###Put your own email address between the quotes ###
define("MAILTO", "your_email_here");
### Everything else is optional ###
/**************************************************/
#add your own required fields separated by commas, e.g. name, email
#case sensitive
#example:- define("REQUIRED","name, email");
define("REQUIRED", " ");
#define any fields you want to exclude e.g. submit
#case sensitive
#example:- define("EXCLUDE","submit");
define("EXCLUDE", " ");
#edit mail subject
define("MAIL_SUBJECT", "My Web Page response");
#edit missing fields message.
define("MISSING_FIELDS",
"<p><strong>Oops, you missed out some fields.</strong>
<br />Please use your browser's back button to return to the form</p>");
include("phmailer.php");
?>That's it. Your form should now send email to the address you inserted in the thank you page
PHMail is still a work in progress and I'd be grateful for any comments you may have.
Please use the following form to send your responses