[Net-IMAP-Server] Attachment problem

Alex Vandiver alexmv at bestpractical.com
Mon Dec 7 17:54:28 EST 2009


On Mon, 2009-12-07 at 18:39 +0100, Jan Dvořák wrote:
> Hi, I found little problem with getting attachment from IMAP Server.
> This problem occurs with PDF attachment in Thunderbird. I havent't tried
> another clients or data formats yet. Problem is when client wants FETCH
> (BODY[part_number] ...). Server through method mime_select calls
> $mime->body whereas this method decodes and returns the body of the
> object as a byte string. Then thunderbird tries decode already decodeded
> part and as a result pdf is corupted. I think using body_raw can solve
> this. Am I right?

That sounds correct -- I've fixed this in 107435f.
 - Alex



More information about the Net-IMAP-Server mailing list