LINUX ADMIN - JIBIN
Tuesday, February 9, 2010
Sample php mail script
$to = "amazondrygoods-@webtv.net";
$subject = "Testmail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment