Re: ISO encoding of subject in mail?
| From: | Manuel Lemos | Date: | Tue, 29 Mar 2005 20:07:56 +0000 |
| Subject: | Re: ISO encoding of subject in mail? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211807@lists.php.net to get a copy of this message | ||
Hello,
on 03/29/2005 10:55 AM Kim Madsen said the following:
I´d like to encode the subject in mails generated and sent by PHP, so Danish letters like æ,ø and å can be used too... like this:
Subject: Problemer med =?ISO-8859-1?Q?f=E6llesdrev_m=2Em=2E?=That is q-encoding. PHP has a function for encoding as quoted-printable but it is not exactly the same thing. You may want to try this class that comes with support to encode headers with q-encoding and it comes with an example to demonstrate that: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html