|
From: Benjamin C. <bc...@us...> - 2004-12-05 16:36:29
|
Update of /cvsroot/phpbt/phpbt/inc/htmlMimeMail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13416/inc/htmlMimeMail Modified Files: htmlMimeMail.php Log Message: Fixes bug #542884 - Misconfigured mail settings cause errors to fly Index: htmlMimeMail.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/inc/htmlMimeMail/htmlMimeMail.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- htmlMimeMail.php 25 Oct 2004 12:07:05 -0000 1.2 +++ htmlMimeMail.php 5 Dec 2004 16:36:14 -0000 1.3 @@ -666,9 +666,9 @@ $to = $this->_encodeHeader(implode(', ', $recipients), $this->build_params['head_charset']); if (!empty($this->return_path)) { - $result = mail($to, $subject, $this->output, implode(CRLF, $headers), '-f' . $this->return_path); + $result = @mail($to, $subject, $this->output, implode(CRLF, $headers), '-f' . $this->return_path); } else { - $result = mail($to, $subject, $this->output, implode(CRLF, $headers)); + $result = @mail($to, $subject, $this->output, implode(CRLF, $headers)); } // Reset the subject in case mail is resent |