Backport a fix for qmail from PHPMailer upstream.
props bpetty. fixes #25014. git-svn-id: https://develop.svn.wordpress.org/trunk@25682 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2068a3e6da
commit
df0aceb365
|
@ -923,9 +923,9 @@ class PHPMailer {
|
|||
$to = implode(', ', $toArr);
|
||||
|
||||
if (empty($this->Sender)) {
|
||||
$params = "-oi ";
|
||||
$params = " ";
|
||||
} else {
|
||||
$params = sprintf("-oi -f%s", $this->Sender);
|
||||
$params = sprintf("-f%s", $this->Sender);
|
||||
}
|
||||
if ($this->Sender != '' and !ini_get('safe_mode')) {
|
||||
$old_from = ini_get('sendmail_from');
|
||||
|
|
Loading…
Reference in New Issue