A info int smtp header
This commit is contained in:
parent
2a50a78497
commit
97fe41d603
@ -1196,6 +1196,8 @@ class SMTPs
|
|||||||
*/
|
*/
|
||||||
function getHeader()
|
function getHeader()
|
||||||
{
|
{
|
||||||
|
global $conf;
|
||||||
|
|
||||||
$_header = 'From: ' . $this->getFrom('org') . "\r\n"
|
$_header = 'From: ' . $this->getFrom('org') . "\r\n"
|
||||||
. 'To: ' . $this->getTO() . "\r\n";
|
. 'To: ' . $this->getTO() . "\r\n";
|
||||||
|
|
||||||
@ -1258,6 +1260,7 @@ class SMTPs
|
|||||||
$_header .= "Reply-To: ".$this->getReplyTo('addr') ."\r\n";
|
$_header .= "Reply-To: ".$this->getReplyTo('addr') ."\r\n";
|
||||||
|
|
||||||
$_header .= 'X-Mailer: Dolibarr version ' . DOL_VERSION .' (using SMTPs Mailer)' . "\r\n";
|
$_header .= 'X-Mailer: Dolibarr version ' . DOL_VERSION .' (using SMTPs Mailer)' . "\r\n";
|
||||||
|
$_header .= 'X-Dolibarr-Option: '.($conf->global->MAIN_MAIL_USE_MULTI_PART?'MAIN_MAIL_USE_MULTI_PART':'No MAIN_MAIL_USE_MULTI_PART') . "\r\n";
|
||||||
$_header .= 'Mime-Version: 1.0' . "\r\n";
|
$_header .= 'Mime-Version: 1.0' . "\r\n";
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user