Advertisement
dragondevile

Untitled

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