Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $para = "jo_on@live.com";
- $asunto = "Prueba mail";
- $mensaje ="FUNCIONA EL SMTP";
- $cabeceras= "MIME-Version: 1.0\r\n";
- $cabeceras.= "Content-type: text/plain; charset=iso-8859-1\r\n";
- $cabeceras.= "bcc: tonysaes72@yahoo.com.mx; azzu_mecha@hotmail.com;\r\n";
- $cabeceras.= "cc: joserenep@yahoo.com.mx; id_slayer_of_god@hotmail.com;\r\n";
- $enviarMail=mail($para, $asunto, $mensaje, $cabeceras);
- echo ($enviarMail)?"ENVIADO :)":"NO ENVIADO :(";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement