3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $to = "emerlor@gmail.com"; $subject = "Holanda..."; $message = " <html> <head> <title>Prima cómo estás???</title> </head> <body> <p>Oye cachai en qué malos pasos anda tu hermano?... bueno eso portate mal nos vemos.</p> </body> </html> "; ini_set("sendmail_from", "Alejandro Gajardo <alesgare@gmail.com>"); // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; // More headers $headers .= 'From: Alejandro Gajardo <alesgare@gmail.com>' . "\r\n"; mail($to,$subject,$message,$headers); ?>
based on 1Z6lP
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0beta1
Warning: mail() has been disabled for security reasons in /in/flZf3 on line 25
Output for hhvm-3.18.5 - 3.22.0