Can not parse IMAP bodystructure of SMIME Signed message from google imap server

"befer xiang" <[email protected]> Wed, 19 Dec 2007 14:14:37 +0800
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Hi,

I try readmsg sample to receive a S/MIME Signed mail
it return while call mailmessage_get_bodystructure()

the error message:
** message 419 not found - file error - file could not be accessed **

It can not parse this IMAP bodystructure of SMIME Signed mail from
google imap server

attachment is stream log

Thank you.

ps. I use CVS version of libetpan library

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
Libetpan-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libetpan-users
smime_imap_gmail.log (application/octet-stream, 1.3 KB)
>>>>>>> send >>>>>>
2 SELECT INBOX

>>>>>>> end send >>>>>>
<<<<<<< read <<<<<<
* FLAGS (\Answered \Flagged \Draft \Deleted \Seen)
* OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]
* OK [UIDVALIDITY 3]
* 140 EXISTS
* 0 RECENT
* OK [UNSEEN 134]
* OK [UIDNEXT 426]
2 OK [READ-WRITE] INBOX selected. (Success)

<<<<<<< end read <<<<<<
>>>>>>> send >>>>>>
3 UID FETCH 419 (UID BODYSTRUCTURE ENVELOPE BODY.PEEK[HEADER.FIELDS (References)])

>>>>>>> end send >>>>>>
<<<<<<< read <<<<<<
* 134 FETCH (UID 419 ENVELOPE ("Tue, 18 Dec 2007 20:08:16 +0800" "sign mail" ((NIL NIL "ronxiang" "gmail.com")) ((NIL NIL "ronxiang" "gmail.com")) ((NIL NIL "ronxiang" "gmail.com")) ((NIL NIL "beferxiang" "gmail.com")) NIL NIL NIL "<[email protected]>") BODYSTRUCTURE ((("TEXT" "PLAIN" ("charset" "big5") NIL NIL "quoted-printable" 19 0)("TEXT" "HTML" ("charset" "big5") NIL NIL "quoted-printable" 322 0) "ALTERNATIVE")("APPLICATION" "X-PKCS7-SIGNATURE" ("name" "smime.p7s") NIL NIL "base64" 3782) "SIGNED") BODY[HEADER.FIELDS (References)] {4}


)

<<<<<<< end read <<<<<<
<<<<<<< read <<<<<<
3 OK Success

<<<<<<< end read <<<<<<
>>>>>>> send >>>>>>
4 LOGOUT

>>>>>>> end send >>>>>>
<<<<<<< read <<<<<<
* BYE LOGOUT Requested
4 OK 73 good day (Success)

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