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

"DINH Viêt Hoà" <[email protected]> Sun, 23 Dec 2007 17:19:12 +0100
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
On Dec 19, 2007 7:14 AM, befer xiang <[email protected]> wrote:
> 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

Hello,

Are you using libetpan on Windows or on Unix ?
I guess you are using cached IMAP driver.
Could you try to use IMAP driver without cache ?

If you are using on Unix, this is really a bug.
If this is the case, in imapdriver_cached_message.c, line 543, you
should find some MAIL_ERROR_FILE,
If the error in on fopen(), could you output the name of the file
before returning ?
If the error is on mailmime_write(), we will tke a step further in the analyze.

Regards,

-- 
DINH Viêt Hoà

-------------------------------------------------------------------------
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/