note 14155 added to function.mail.php
| From: | Alain at shockmedia dot nl | Date: | Thu, 19 Jul 2001 01:25:06 +0000 |
| Subject: | note 14155 added to function.mail.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15560@lists.php.net to get a copy of this message | ||
I wanted to print the Euro-sign () (Europian money sign) in a e-mail, so i used this code:
// set the long unrememberable code in a var
$euro = "=E2=82=AC";
// you can add this into example 4 of this page.
$headers .= "Content-Type: text/plain; charset=\"utf-8\"\n";
$headers .= "Content-Transfer-Encoding: quoted-printable\n\n";
now use the sign like this:
Costs: $euro 5.00
http://www.php.net/manual/en/function.mail.php