Re: Decode Problem with Mail_mimeDecode
| From: | Alan Knowles | Date: | Tue, 03 Jan 2012 08:10:37 +0000 |
| Subject: | Re: Decode Problem with Mail_mimeDecode | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-54665@lists.php.net to get a copy of this message | ||
Can you create a bug to track this, with a complete reproducable example.
Thanks
Alan
On Tuesday, January 03, 2012 02:43 PM, c9s wrote:
> 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..
>>>
>>>
>>>