Re: [Tracker] SQLite databases



On Fri, 2011-01-21 at 14:20 +0100, Philip Van Hoof wrote:

If doing this BODYSTRUCTURE part (which isn't as heavy as the commented
out code that I mentioned earlier at all) you'd have 95% of all the
things you want (with exception of the actual text/plain content of the
E-mails).

Note about this that POP E-mails have no BODYSTRUCTURE filled in. That's
because a POP server has no MIME parser and so it can't put the tree
structure of its MIME E-mails in a BODYSTRUCTURE line.

So Evolution only stores the BODYSTRUCTURE field of its summary.db per
E-mail for E-mails coming from IMAP servers.

So unfortunately you always need both, but if there's BODYSTRUCTURE then
you can use that to have a much much faster way to do it for that
E-mail.

And now I'll leave you to hacking and programming this ;-)

Cheers,

Philip


-- 


Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be




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