Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <?php
  2. $para = "jo_on@live.com";
  3. $asunto = "Prueba mail";
  4. $mensaje ="FUNCIONA EL SMTP";
  5. $cabeceras= "MIME-Version: 1.0\r\n";
  6. $cabeceras.= "Content-type: text/plain; charset=iso-8859-1\r\n";
  7. $cabeceras.= "bcc: tonysaes72@yahoo.com.mx; azzu_mecha@hotmail.com;\r\n";
  8. $cabeceras.= "cc: joserenep@yahoo.com.mx; id_slayer_of_god@hotmail.com;\r\n";
  9. $enviarMail=mail($para, $asunto, $mensaje, $cabeceras);
  10. echo ($enviarMail)?"ENVIADO :)":"NO ENVIADO :(";
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement