Re: IMAP and meeting invitations

Ingo Klöcker <[email protected]>
Newsgroups gmane.comp.kde.devel.kmail
Message-ID <[email protected]>
On Monday 21 May 2007 18:16, Heiko Hund wrote:
> On Sunday 20 May 2007, Carsten Burghardt wrote:
> > > > This class is used in ImapAccountBase::handleBodyStructure() to
> > > > determine the body parts that should be loaded. The only
> > > > fallback from load-on-demand to load-everything I can see there
> > > > is if "more than 50% of the parts have to be loaded". I can't
> > > > see any indication of a threshold for the message size (but
> > > > maybe I looked at the wrong spot).
> > >
> > > Well, both invitations I was talking about had three mime
> > > parts: "text/plain", "text/html" and "text/calendar". So that
> > > can't be the reason for the different loading strategies. I'll
> > > take a closer look to see if all of the working invitations had a
> > > size less than ~5k when I get back to work.
> >
> > There is indeed no size threshold but only the 50% border as the
> > loading of many single parts is slower than the complete message.
>
> Then I don't get it. All invitations have the three parts mentioned
> above. So, where is the diffence? Could you please elaborate or point
> me to the code? Just to make me feel good. =)

The decision what to load is done in 
ImapAccountBase::handleBodyStructure().

Regards,
Ingo

_______________________________________________
KMail developers mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kmail-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBGUgLPGnR+RTDgudgRAoNeAKCsE17ALdGrVA4e2fxmVL1ELfJ9kQCgj6OQ
RgSx51Fms772is0e1FhDs+4=
=oPWF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.