Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <?php
  2. ini_set("SMTP", "127.0.0.1");
  3. ini_set("sendmail_from", "YOURMAIL@esl.marioyanming.ca");
  4.  
  5. $message = "The mail message was sent with the following mail setting:\r\nSMTP = 127.0.0.1\r\nsmtp_port = 25\r\nsendmail_from = YourMail@esl.marioyanming.ca";
  6.  
  7. $headers = "From: YOURMAIL@esl.marioyanming.ca";
  8.  
  9.  
  10. mail("novik1207dn@gmail.com", "Testing", $message, $headers);
  11. echo "Check your email now....<BR/>";
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement