Re: mail body not decoded by base64_decode
| From: | Manuel Lemos | Date: | Tue, 02 Jun 2009 22:12:28 +0000 |
| Subject: | Re: mail body not decoded by base64_decode | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-293512@lists.php.net to get a copy of this message | ||
Hello,
on 05/29/2009 12:15 AM vuthecuong said the following:
> Hi all
> I'm using below function to send Japanese mail, mail clients such as outlook
> etc displayed Japanese text withou problems but if I viewed JP mail via
> web-based mail such as Gmail, the JP subject is normally displayed, however
> the JP body still base64 encoded strings, it still was not decoded yet.
> Could anyone tell me solution to solve this?
That is because you said it is quoted-printable.
Anyway, the encoding of the headers and the body is independent.
You may want to try this MIME message composing and sending class that
can handle all those details. Take a look at the
test_multibyte_message.php script.
http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
Find and post PHP jobs
http://www.phpclasses.org/jobs/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/