[Kde-pim] Sending emails via KMail or MailTransport library?

Kevin Krammer kevin.krammer at gmx.at
Sun Sep 30 12:52:01 BST 2007


On Sunday 30 September 2007, Volker Krause wrote:
> On Saturday 29 September 2007 20:59:49 Kevin Krammer wrote:
> > Even if we recommend that KDE applications rather use the APIs directly
> > (the service implementation obviously would do this as well), sending
> > mail is often interesting for third party applications as well (e.g.
> > OpenOffice.org).
>
> Mailtransport already has a D-Bus interface which is exported by every
> application using it.

Ah, great!
I think this is totally sufficient, maybe even better than an additional 
service.

> Having it always available could be easily done by a 
> one-line kded module. Adding a D-Bus method for sending mails would also be
> possible, but because the use of jobs a bit more complex if you also want
> to return the result.

Some use cases are "Open and pre-fill a composer window", so this would have 
to be handled by a real MUA anyway.
A separate service would probably only be needed if there is no MUA with 
respective D-Bus capabilities registered.

> Both are actually noted in the mailtransport TODO 
> file already ;-)

Interesting. I should check the non-code files more often :)

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070930/2bc94049/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list