Commit 25278dd6 authored by Manfred Kutas's avatar Manfred Kutas

ZP-1143 Strict Standards message when sending an email using IMAP

backend.

Released under the Affero GNU General Public License (AGPL) version 3.
parent cf35c690
...@@ -2455,7 +2455,7 @@ class BackendIMAP extends BackendDiff implements ISearchProvider { ...@@ -2455,7 +2455,7 @@ class BackendIMAP extends BackendDiff implements ISearchProvider {
} }
ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendIMAP->sendMessage(): SendingMail with %s", $sendingMethod)); ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendIMAP->sendMessage(): SendingMail with %s", $sendingMethod));
$mail =& Mail::factory($sendingMethod, $sendingMethod == "mail" ? "-f " . $fromaddr : $imap_smtp_params); $mail = Mail::factory($sendingMethod, $sendingMethod == "mail" ? "-f " . $fromaddr : $imap_smtp_params);
$send = $mail->send($recipients, $headers, $body); $send = $mail->send($recipients, $headers, $body);
ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendIMAP->sendMessage(): send return value %s", $send)); ZLog::Write(LOGLEVEL_DEBUG, sprintf("BackendIMAP->sendMessage(): send return value %s", $send));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment