This site is hosted and sponsored by hyve.com specialists in Cloud Hosting UK and VMware Hosting. If you are interested in our services please call us for chat on 0800 612 2524
Create Send E Mail Form PHP#
- Create a file called sendmail.html, copy the data below into it and upload it
<form method="post" action="sendmail.php"> From Email: <input type="text" name="fromemail" /><br /> To Email: <input type="text" name="toemail" /><br /> Message:<br /> <textarea name="message" rows="15" cols="40"> </textarea><br /> <input type="submit" /> </form>
- Create a file called sendmail.php, copy the data below into it and upload it
<?
$fromemail = $_REQUEST['fromemail'] ;
$toemail = $_REQUEST['toemail'] ;
$message = $_REQUEST['message'] ;
mail( $toemail, "Feedback Form Results", $message, "From: $fromemail" );
print "mail sent";
?>
<br>
<a href="sendmail.html">back</a>
- Surf to the HTML page
Back to PHP
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This page (revision-2) was last changed on 25-Jan-2010 11:34 by Hyve Support