Re: correct encoding for emails
| From: | Harry Wiens | Date: | Tue, 24 Jun 2003 13:50:08 +0000 |
| Subject: | Re: correct encoding for emails | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152605@lists.php.net to get a copy of this message | ||
The problem is not sending or composing the email (what your class is for),
but displaying all the recieved messages.
Btw how do i use "quoted-printable encoding" ?
mfg.
Harry Wiens
"Manuel Lemos" <mlemos@acm.org> schrieb im Newsbeitrag
news:20030624124936.6424.qmail@pb1.pair.com...
Hello,
On 06/24/2003 07:47 AM, Harry Wiens wrote:
> i'm coding a mail handler in php. i live in germany, and in germany we
have
> "umlaute" (ä,ö,ü). I don't know how to display them right, or how i have
to
> convert the text. sometimes, not always when i display my mails in php i
> have "L=F6sungen" but it must be "Lösungen". What do I have to do, to
> display everything correct?
You need to use q-encoding to use non 7 bit ASCII characters in the
headers and quoted-printable encoding in the text body parts.
You may want to try this class that already does that for you making it
easy to compose and send messages in any idioms:
http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
Free ready to use OOP components written in PHP
http://www.phpclasses.org/