<?php
// Your email address
$email = "you@example.com";
// The subject
$subject = "Enter your subject here";
// The message
$message = "Enter your message here";
mail($email, $subject, $message, "From: $email");
echo "The email has been sent.";
?>
reference
http://totallyphp.co.uk/code/send_email_using_the_php_mail_function.htm
This entry was posted
on Thursday, October 8th, 2009 at 5:40 pm and is filed under Uncategorized.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.