Posted By

ibob on 02/07/13


Tagged


Versions (?)

Fix Mailing Problem


 / Published in: PHP
 

  1. Edit: manager\includes\controls\class.phpmailer.php
  2.  
  3. Comment line 438:
  4.  
  5. // $rt = @mail($to, $this->EncodeHeader($this->Subject), $body, $header);
  6.  
  7. And add this:
  8.  
  9. {
  10. $headers = 'From: [email protected]' . "
  11. " .
  12. 'Reply-To: [email protected]' . "
  13. " .
  14. 'X-Mailer: PHP/' . phpversion() . "
  15. " .
  16. 'MIME-Version: 1.0' . "
  17. " .
  18. 'Content-Transfer-Encoding: 8bit' . "
  19. " .
  20. 'Content-Type: text/html; charset="UTF-8"';
  21. $rt = @mail($to, $this->EncodeHeader($this->Subject), $body, $headers);
  22. }

Report this snippet  

You need to login to post a comment.