Posted by Manuel Lemos on 11/18/05 02:26
Hello,
on 11/17/2005 12:46 AM khng said the following:
> Current, I have a function to send UTF-8 encoded HTML Format email to
> user.
>
> But my found that the produced email sometime accidently being injected
> with the ! sign.......
I think sendmail does that when the message body is not encoded
properly. You need to encode the message body with quoted-printable
encoding. You may want to try this MIME message class that can send your
message body with UTF-8 characters encoding them as quoted printable:
http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
[Back to original message]
|