Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 2a81ee7

Browse files
committed
Fix -f parameter to comply with standard sendmail. Fix #1174
1 parent 698f9c8 commit 2a81ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/plugins/mailer.phpmailer-lite/lib/class.phpmailer-lite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ protected function MailSend($header, $body)
582582
}
583583
$to = implode(', ', $toArr);
584584

585-
$params = sprintf("-oi -f %s", $this->Sender);
585+
$params = sprintf("-oi -f%s", $this->Sender);
586586
if ($this->Sender != '' && strlen(ini_get('safe_mode'))< 1) {
587587
$old_from = ini_get('sendmail_from');
588588
ini_set('sendmail_from', $this->Sender);

0 commit comments

Comments
 (0)