Re: Decode Problem with Mail_mimeDecode
| From: | c9s | Date: | Tue, 03 Jan 2012 06:43:59 +0000 |
| Subject: | Re: Decode Problem with Mail_mimeDecode | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-54664@lists.php.net to get a copy of this message | ||
Hi,
I've added the original headers for testing, but still failed.
[Sent from iPhone]
mailinglist <mailinglist@akbkhome.com> 於 2012/1/3 14:21 寫道:
> You need a full message, with headers, when using Mail_mimeDecode.
>
> You could dig into the API to do it manually, or just use a fake set of headers.
>
> Regards
> Alan
>
> On Tuesday, January 03, 2012 12:39 PM, Lin Yo-An wrote:
>> Hi,
>>
>> I retrieved mail contents and use Mail_mimeDecode to decode
>>
>> but seems this kind of content can't work out.
>>
>> Here is the sample code:
>> https://gist.github.com/1553498
>>
>> the first part text can be decoded.
>>
>> but the second part will be messy..
>>
>>
>>
>