From manual page: https://php.net/function.mail
When i send emails from my apps via mail() and they contain styled elements, i always get some strange numbers before the injected body.
Mostly it is "-8"
like:
-8
Nuovo Commento
È stato aggiunto un nuovo commento al ticket #6.
this happens for emails sent using:
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=UTF-8\r\n";
If i change to any other charset i het -1 or 0 instead of -8 but the body email is the corrupted (typically, a styled email body shows all the HTML code instead of the styled result)
From manual page: https://php.net/function.mail
When i send emails from my apps via mail() and they contain styled elements, i always get some strange numbers before the injected body.
Mostly it is "-8"
like:
this happens for emails sent using:
If i change to any other charset i het -1 or 0 instead of -8 but the body email is the corrupted (typically, a styled email body shows all the HTML code instead of the styled result)