Improve e-mail plain text encoding (was not setting any charset which lead to some accentuated characters to disappear on UTF-8-default e-mail clients)
This commit is contained in:
parent
0be14f4ae9
commit
fbef6e434f
@ -351,6 +351,10 @@ class CMailFile
|
|||||||
{
|
{
|
||||||
$out.= "Content-Type: text/html; charset=".$conf->charset_output.$this->eol;
|
$out.= "Content-Type: text/html; charset=".$conf->charset_output.$this->eol;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$out.= "Content-Type: text/plain; charset=".$conf->charset_output.$this->eol;
|
||||||
|
}
|
||||||
$out.= $this->eol;
|
$out.= $this->eol;
|
||||||
}
|
}
|
||||||
if ($this->msgishtml)
|
if ($this->msgishtml)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user