Could libetpan parse IMAP bodystructure via google IMAP?

[email protected] Mon, 26 Nov 2007 02:12:01 -0500
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Hi libetpan guys

I use readmsg sample to get a message from google IMAP.
but it happen segmentation fault
I add libetpan debug message mode (mailstream_debug = 1) to try again
It seem like libetpan-0.52 could not parse IMAP bodystructure message completely, it result in segmentation fault
There is this imap bodystructure message.

Thank you :)

ps. google imap server: imap.gmail.com:993
________________________________________________________________________
Check Out the new free AIM(R) Mail -- Unlimited storage and industry-leading spam and email virus protection.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Libetpan-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libetpan-users
imap_bodystructure_message.txt (text/plain, 699 B)
>>>>>>> send >>>>>>
3 UID FETCH 317 (UID BODYSTRUCTURE ENVELOPE)

>>>>>>> end send >>>>>>
<<<<<<< read <<<<<<
* 34 FETCH (UID 317 ENVELOPE ("Fri, 23 Nov 2007 19:40:16 +0800" "=?BIG5?B?SG9sbHl3b29kpF23UqXOqrq4Z6jlU3RlbHRvbg==?=" (("=?BIG5?B?pV+82sNvtaE=?=" NIL "nordicepaper" "nordic.com.tw")) (("=?BIG5?B?pV+82sNvtaE=?=" NIL "nordicepaper" "nordic.com.tw")) (("=?BIG5?B?pV+82sNvtaE=?=" NIL "nordicepaper" "nordic.com.tw")) ((NIL NIL "beferxiang" "gmail.com")) NIL NIL NIL "<[email protected]>") BODYSTRUCTURE (("TEXT" "PLAIN" ("charset" "big5") NIL NIL "7bit" 913 0)("TEXT" "HTML" NIL NIL NIL "8bit" 1907 0) "ALTERNATIVE"))
3 OK Success

<<<<<<< end read <<<<<<