Update smtps.class.php

Set mail reply-to field to sender
This commit is contained in:
Bahfir Abbes 2016-01-30 17:13:58 +01:00
parent 71edb3f061
commit 32b6f20754

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";