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]' . "\r\n" .
  11. 'Reply-To: [email protected]' . "\r\n" .
  12. 'X-Mailer: PHP/' . phpversion() . "\r\n" .
  13. 'MIME-Version: 1.0' . "\r\n" .
  14. 'Content-Transfer-Encoding: 8bit' . "\r\n" .
  15. 'Content-Type: text/html; charset="UTF-8"';
  16. $rt = @mail($to, $this->EncodeHeader($this->Subject), $body, $headers);
  17. }

Report this snippet  

You need to login to post a comment.