3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $to = 'emailaddress@yahoo.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: myemail@yahoo.com' . "\r\n" . 'Reply-To: myemail@yahoo.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?>
Output for 4.3.0 - 7.1.0
Warning: mail() has been disabled for security reasons in /in/ZYhDe on line 9