How to write a basic PHP mail script
<?php
$name = “Web Guy”;
$email = “sender@emailaddress.com”;
$recipient = “recipient@emailaddress.com”;
$mail_body = “This is the email text”;
$subject = “This is the email subject”;
$header = “From: ” . $name . “<” . $email . “>\r\n”;
mail($recipient, $subject, $mail_body, $header);
?>




