3v4l.org

run code in 300+ PHP versions simultaneously
<?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); ?>

preferences:
48.02 ms | 402 KiB | 5 Q