Skip Menu |

This queue is for tickets about the Mail-IMAPClient CPAN distribution.

Report information
The Basics
Id: 30865
Status: resolved
Priority: 0/
Queue: Mail-IMAPClient

People
Owner: Nobody in particular
Requestors: jh [...] plonk.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: get_bodystructure fails
Date: Tue, 20 Nov 2007 16:26:54 +0100
To: bug-Mail-IMAPClient [...] rt.cpan.org
From: Jakob Hirsch <jh [...] plonk.de>
Hi, I'm using Mail::IMAPClient 2.2.9 to store and fetch messages witch MIME parts. Unfortunately, get_bodystructure simply returns undef when I connect to our IMAP server. I tried it with another server (dovecot), where it runs fine. With debug mode enabled, I tracked it down to the server's response to the FETCH BODYSTRUCTURE: dovecot (works): Show quoted text
> get_bodystructure: reassembled output=1* 1 FETCH (BODYSTRUCTURE (("audio" "wav" ("name" "1195501023.30329.497213357499.wav") NIL NIL "base64" 66858 NIL ("attachment" ("filename" "1195501023.30329.497213357499.wav")) NIL) "mixed" ("boundary" "----------=_1195501026-30329-0") NIL NIL))
our server (does not work): Show quoted text
> get_bodystructure: reassembled output=1* 1 FETCH (BODYSTRUCTURE (("AUDIO" "wav" ("name" "1195501023.30329.497213357499.wav") NIL NIL "BASE64" 66858 NIL ("attachment" ("filename" "1195501023.30329.497213357499.wav")) NIL NIL) "mixed" ("boundary" "----------=_1195501026-30329-0") NIL NIL NIL))
So there's are two additional "nil" in the response, which Mail::IMAPClient seems to dislike. I don't know if this is a mistake of our IMAP server (it's ok for all the various MUAs that are used with it, but that's probably not a strong indicator) or of the module. Of you need further information, I'll be happy to give it. Thanks for any hint/help in advance! Regards, Jakob
Subject: Re: [rt.cpan.org #30865] get_bodystructure fails
Date: Tue, 20 Nov 2007 17:17:06 +0100
To: Jakob Hirsch via RT <bug-Mail-IMAPClient [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Jakob Hirsch via RT (bug-Mail-IMAPClient@rt.cpan.org) [071120 15:27]: Show quoted text
> > Tue Nov 20 10:27:35 2007: Request 30865 was acted upon. > Transaction: Ticket created by jh@plonk.de > Queue: Mail-IMAPClient > Subject: get_bodystructure fails > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: jh@plonk.de > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30865 > > > I'm using Mail::IMAPClient 2.2.9 to store and fetch messages witch MIME > parts. Unfortunately, get_bodystructure simply returns undef when I > connect to our IMAP server. I tried it with another server (dovecot), > where it runs fine. With debug mode enabled, I tracked it down to the > server's response to the FETCH BODYSTRUCTURE:
There is a fix for this in 2.99_07. Please check -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
No reply, so closed