Re: Patch: fix for bodystructure support in gmail imap



José Dapena Paz escribiu:
> 	Hi,
> 
> 	This fix is for some problems in assignment of mime part indexes in
> Gmail IMAP.

In your code you're assuming that the ".HEADER" file is created with
size 0 when trying to fetch the headers. Is that true? I ask this
because in r4118 I committed code that unlinks the files created by the
fetch operation when the fetch fails (otherwise the code will think that
the mime part was fetched and won't try to fetch it later)

Br

> 	An example of the issue is this:
> 
> 	(text/plain, message/rfc822-multipart/alternative (text/plain, text/html))
> 
> The expected body part indexes for this in IMAP are:
> 1 -> text/plain
> 2 -> message/rfc822 full content
> 2.HEADER -> headers of the message
> 2.TEXT -> multipart/alternative full contents
> 2.1 embedded message text/plain
> 2.2 embedded message text/html
> 
> But I have this structure accessing to this message in gmail imap:
> 
> 1 -> text/plain
> 2 -> message/rfc822 full content
> 2.1 -> multipart/alternative full contents
> 2.1.1 -> embedded message text/plain
> 2.1.2 -> embedded message text/html
> 
> This fix adds a workaround for this case.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]