Ok, Thanks for your help.

Regards,
Manoj Marathayil


On Tue, Oct 28, 2008 at 8:55 AM, Mark Crispin <[EMAIL PROTECTED]> wrote:

>
> > I noticed this issue with gmail account.
>
> I am not surprised.  Gmail violates the IMAP specification in
> many ways.
>
> > I am working with a product where we need to store the
> > mail in different parts in SQLite/MySQL and it should be
> > able to be able to recreate the mail as it is. I noticed this
> > issue when I was building a unit test case module that will
> > do the recreation part and compared with actual mail from
> > IMAP server.
>
> Good luck on that.  SQL databases have a history of being a
> wretchedly bad way of storing mail.
>
> If you want to save every aspect of the original message, I
> recommend that you use mail_fetch_header() to get the
> message header, and mail_fetch_text() to get the message
> text, and then save those two pieces.  If you fetch individual
> MIME body parts and individual MIME headers for an entire
> message, you will end up doing many RTTs and your application
> will be very slow.
>
> The purpose of individual MIME body parts is to do selective
> fetching, when you want only pieces of the message and not
> the entire message.
>
> Most people would consider Microsoft's X-MimeOLE and
> X-OriginalArrivalTime to be completely unimportant.  By
> virtual of the X- prefix, these headers are non-standard and
> can contain arbitrary junk.
>
> The IMAP INTERNALDATE has the actual arrival time.
>
> -- Mark --
>
> _________________________________________________________________
> When your life is on the go—take your life with you.
> http://clk.atdmt.com/MRT/go/115298558/direct/01/
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to