Wednesday, May 19, 2010

Sample Server php mail script


$to = "testsimp@gmail.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("

Message successfully sent!

");
} else {
echo("

Message delivery failed...

");
}
?>

No comments:

Post a Comment