Send Email

 
<?php

$to = 'recipient@example.com';
$subject = 'This is the subject';
$message = "This is the content of this test email.";
$headers = "From: sender@example.com\r\nReply-To: sender@example.com";

mail($to, $subject, $message, $headers);

?>

 

Related Snippets

•  Send Email with CC and BCC
•  Send Email in Html format
•  Send Email in Html and Plain Text formats