--nextPart1355036.1TFgWA0HgQ Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Sebastian, On Saturday 31 October 2009 18:10:16 Sebastian Sauer wrote: > SVN commit 1043062 by sebsauer: >=20 > * use akonadi to send mails (e.g. invitations) > * removed kmail dependency from korganizer > * more later I'm looking at komailclient.cpp, but I have trouble understanding what you = are=20 doing there. Why are you fetching all items from the outbox? I don't see where they are= =20 used. Why are you using three different methods for sending? First, you use a=20 MailTransport::TransportJob, which is deprecated. Then, you manually create an Item in the outbox. Manually creating an Item = in=20 the outbox will not work, since it lacks the Item attributes that control t= he=20 receivers, transport type and the like. The mail dispatcher agent, which=20 monitors the outbox, doesn't know what to do with the item. =46inally, you use MailTransport::MessageQueueJob, which is the correct thi= ng to=20 do. The MessageQueueJob will, behind the scenes, create an Item and store t= hat=20 in the outbox, including all required attributes. The mail dispatcher agent= =20 will then pick up that item from the outbox and actually send it. So all in all, I'm thoroughly confused. Am I missing something here? Please= =20 enlighten me :) Regards, Thomas --nextPart1355036.1TFgWA0HgQ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkrsvpEACgkQKglv3sO8a1NPCQCeMiD2Sd4UtacJ1DKqqTW0hJca xOkAn1dupdEi8jEHwPUfzqOu4+jxFRZ+ =yhYu -----END PGP SIGNATURE----- --nextPart1355036.1TFgWA0HgQ--