Charset is not added to Header "Content-Type"
The Next Generation Mail Transport Class.
Brought to you by:
codeworxtech
Correction to my previous report in ticket #9: the function name GetContentTypeBody() was correct, but unfortunately I pasted the wrong code line (from GetContentTypeHdr()).
The actual problematic line in GetContentTypeBody() is:
$data . "\t" . $charset . self::CRLF;
Since the result of this expression is neither assigned nor returned, the charset parameter is discarded. As a result, the charset never gets added to header "Content-Type".
It should be:
$data .= "\t" . $charset . self::CRLF;
Sorry for the confusion caused by quoting the wrong line in my original report.