note 107998 deleted from function.mail by sobak
| From: | sobak@php.net | Date: | Sat, 10 Dec 2016 00:12:36 +0000 |
| Subject: | note 107998 deleted from function.mail by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208410@lists.php.net to get a copy of this message | ||
Note Submitter: geeralo at gmx dot de
----
Hello programmers!
There is something important I want to notice about charsets here:
"Content-Type: text/plain; charset = \"UTF-8\";\n"
is right and not only
"Content-Type: text/plain; charset=UTF-8\n"
Hope I could help other people who frustrate while searching the same mistake like me.
Remember also to write only \r for windows and not for Linux-Servers.
And at the end of the header should be an extra blank line:
$headers .= "Content-Type: text/plain; charset = \"UTF-8\";\n";
$headers .= "Content-Transfer-Encoding: 8bit\n";
$headers .= "\n";
Greetings