############### Code
<?
// ---------------- SEND MAIL FORM ----------------
$to="me@localhost";
$subject="Test";
$header="from: your name <your email>";
$message="Hello \r\n"; $message.="This is test\r\n"; $message.="Test again ";
$sentmail = mail($to,$subject,$message,$header);
if($sentmail){ echo "Email Has Been Sent ."; } else { echo "Cannot Send Email "; }
?>
|
No comments:
Post a Comment