korgac
KOrg::MailClient Class Reference
#include <mailclient.h>
Inheritance diagram for KOrg::MailClient:
Public Member Functions | |
MailClient () | |
~MailClient () | |
bool | mailAttendees (const KCalCore::IncidenceBase::Ptr &, const KPIMIdentities::Identity &identity, bool bccMe, const QString &attachment=QString(), const QString &mailTransport=QString()) |
bool | mailOrganizer (const KCalCore::IncidenceBase::Ptr &, const KPIMIdentities::Identity &identity, const QString &from, bool bccMe, const QString &attachment=QString(), const QString &sub=QString(), const QString &mailTransport=QString()) |
bool | mailTo (const KCalCore::IncidenceBase::Ptr &, const KPIMIdentities::Identity &identity, const QString &from, bool bccMe, const QString &recipients, const QString &attachment=QString(), const QString &mailTransport=QString()) |
bool | send (const KPIMIdentities::Identity &identity, const QString &from, const QString &to, const QString &cc, const QString &subject, const QString &body, bool hidden=false, bool bccMe=false, const QString &attachment=QString(), const QString &mailTransport=QString()) |
Detailed Description
Definition at line 44 of file mailclient.h.
Constructor & Destructor Documentation
MailClient::MailClient | ( | ) |
Definition at line 55 of file mailclient.cpp.
MailClient::~MailClient | ( | ) |
Definition at line 59 of file mailclient.cpp.
Member Function Documentation
bool MailClient::mailAttendees | ( | const KCalCore::IncidenceBase::Ptr & | incidence, |
const KPIMIdentities::Identity & | identity, | ||
bool | bccMe, | ||
const QString & | attachment = QString() , |
||
const QString & | mailTransport = QString() |
||
) |
Definition at line 63 of file mailclient.cpp.
bool MailClient::mailOrganizer | ( | const KCalCore::IncidenceBase::Ptr & | incidence, |
const KPIMIdentities::Identity & | identity, | ||
const QString & | from, | ||
bool | bccMe, | ||
const QString & | attachment = QString() , |
||
const QString & | sub = QString() , |
||
const QString & | mailTransport = QString() |
||
) |
Definition at line 140 of file mailclient.cpp.
bool MailClient::mailTo | ( | const KCalCore::IncidenceBase::Ptr & | incidence, |
const KPIMIdentities::Identity & | identity, | ||
const QString & | from, | ||
bool | bccMe, | ||
const QString & | recipients, | ||
const QString & | attachment = QString() , |
||
const QString & | mailTransport = QString() |
||
) |
Definition at line 164 of file mailclient.cpp.
bool MailClient::send | ( | const KPIMIdentities::Identity & | identity, |
const QString & | from, | ||
const QString & | to, | ||
const QString & | cc, | ||
const QString & | subject, | ||
const QString & | body, | ||
bool | hidden = false , |
||
bool | bccMe = false , |
||
const QString & | attachment = QString() , |
||
const QString & | mailTransport = QString() |
||
) |
Sends mail with specified from, to and subject field and body as text.
If bcc is set, send a blind carbon copy to the sender
- Parameters
-
identity is the Identity of the sender from is the address of the sender of the message to a list of addresses to receive the message cc a list of addresses to receive message carbon copies subject is the subject of the message body is the boody of the message hidden if true and using KMail as the mailer, send the message without opening a composer window. bcc if true, send a blind carbon copy to the message sender attachment optional attachment (raw data) mailTransport defines the mail transport method. See here the kdepimlibs/mailtransport library.
Definition at line 197 of file mailclient.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.