Advertisement
Niko454

Untitled

Jan 31st, 2015
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. <?php
  2. $to = "somebody@example.com";
  3. $subject = "My subject";
  4. $txt = "Hello world!";
  5. $headers = "From: webmaster@example.com" . "\r\n" .
  6. "CC: somebodyelse@example.com";
  7.  
  8. mail($to,$subject,$txt,$headers);
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement