<?php
$recipient = 'your@email.com';
$subject = 'test email';
$message = 'hello, world!'
$headers = 'From: local@domain.com' . "\r\n" .
'Reply-To: webmaster@domain.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($recipient, $subject, $message, $headers);
echo 'email has been accepted for delivery, check your inbox.';
?>