dwhitzzz

SendMailCustomFrom

Mar 18th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2. $subject = "My subject";
  3. $txt = "Hello world!";
  4. $headers = "From: [email protected]\r\n";
  5.  
  6. mail($to,$subject,$txt,$headers);
  7. ?>
Advertisement
Add Comment
Please, Sign In to add comment