3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // The message $message = "Line 1\r\nLine 2\r\nLine 3"; // In case any of our lines are larger than 70 characters, we should use wordwrap() $message = wordwrap($message, 70, "\r\n"); // Send mail('stilcasa2015@gmail.com', 'My Subject', $message); ?>
Output for 5.4.0 - 7.2.0
Warning: mail() has been disabled for security reasons in /in/1dYCG on line 9