Merge pull request #4539 from bafbes/patch-22

Set mail reply-to field to sender in smtps class
This commit is contained in:
Laurent Destailleur 2016-02-09 10:17:33 +01:00
commit 805940f61c

View File

@ -1159,7 +1159,7 @@ class SMTPs
$_header .= 'Disposition-Notification-To: '.$this->getFrom('addr') . "\r\n";
if ( $this->getErrorsTo() )
$_header .= 'Errors-To: '.$this->getErrorsTo('addr') . "\r\n";
$_header .= "Reply-To: ".$this->getFrom('addr') ."\r\n";
$_header .= 'X-Mailer: Dolibarr version ' . DOL_VERSION .' (using SMTPs Mailer)' . "\r\n"
. 'Mime-Version: 1.0' . "\r\n";