mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
Fix use same encoding for all strings in email ack of payment.
This commit is contained in:
@@ -1709,7 +1709,9 @@ class CMailFile
|
||||
//$out.= "From: ".$this->getValidAddress($this->addr_from,3,1).$this->eol;
|
||||
|
||||
$out .= "Content-Type: multipart/mixed;".$this->eol2." boundary=\"".$this->mixed_boundary."\"".$this->eol2;
|
||||
$out .= "Content-Transfer-Encoding: 8bit".$this->eol2; // TODO Seems to be ignored. Header is 7bit once received.
|
||||
if (!getDolGlobalString("MAIN_EMAIL_DISABLE_ADD_CONTENT_ENCODING_8BIT")) {
|
||||
$out .= "Content-Transfer-Encoding: 8bit".$this->eol2; // TODO Seems to be ignored. Header is 7bit once received.
|
||||
}
|
||||
|
||||
dol_syslog("CMailFile::write_smtpheaders smtp_header=\n".$out, LOG_DEBUG);
|
||||
return $out;
|
||||
|
||||
Reference in New Issue
Block a user