how to use HTML Symbol Entities with mail() ?
| From: | cr dot vegelin at gmail dot com | Date: | Thu, 01 Jul 2010 13:34:20 +0000 |
| Subject: | how to use HTML Symbol Entities with mail() ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-306601@lists.php.net to get a copy of this message | ||
Hi List,
I am working on generated emails, using the mail() function.
Works fine, but when including characters like ∧ (= ∧) or ∨ (= ∨)
in the message, these characters are displayed as ? in the emails.
Snippet:
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
...
$bool = mail ($mailto, $subject, $body, $headers);
also tested with:
$headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n";
but without result.
Any ideas ?
TIA, Cor