Permalink
Browse files

Fix -f parameter to comply with standard sendmail. Fix #1174

  • Loading branch information...
1 parent 698f9c8 commit 2a81ee772c78ef82e3f66c3f6560c7572118556e @cdujeu cdujeu committed Sep 29, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/mailer.phpmailer-lite/lib/class.phpmailer-lite.php
@@ -582,7 +582,7 @@ protected function MailSend($header, $body)
}
$to = implode(', ', $toArr);
- $params = sprintf("-oi -f %s", $this->Sender);
+ $params = sprintf("-oi -f%s", $this->Sender);
if ($this->Sender != '' && strlen(ini_get('safe_mode'))< 1) {
$old_from = ini_get('sendmail_from');
ini_set('sendmail_from', $this->Sender);

0 comments on commit 2a81ee7

Please sign in to comment.