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

Tom Albers tomalbers at kde.nl
Sat Sep 29 19:11:23 BST 2007


Op za 29 sep 2007 20:04 schreef u:
> On Saturday 29 September 2007 17:54:43 Tom Albers wrote:
> > Op za 29 sep 2007 18:23 schreef u:
> > > In KDE3, KAlarm sent emails via KMail, using KMail's DCOP interface. Am I
> > > right in thinking that in KDE4 it should use the mailtransport library in
> > > kdepimlibs instead?
> >
> > Yes, you can use that directly. It even has a ready to use kcm to integrate
> > in your settings.
> 
> I've had a look at the mailtransport library, but I'm not sure it does what I 
> want. The user currently has a simple configuration choice of sending via 
> KMail or via sendmail, and I don't want to have to concern the user with any 
> email settings beyond that. In addition, for each email, he can select which 
> KMail identity to use as the sender identity.
> 
> I don't see how to use mailtransport without much more setting up than this. 
> If I'm right, I would still want to use KMail to transmit emails, but it 
> doesn't seem any longer to have the equivalent of the KDE3 DCOP function 
> sendMessage() in MailTransportServiceIface.

In that case, use the kpimidentities library to get all the identities you want. 
The identity can hold the mailtransport to use. 

Toma
-------------- 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