MailTransport
messagequeuejob.cpp
KCOREADDONS_EXPORT void message(KMessage::MessageType messageType, const QString &text, const QString &caption=QString())
bool isValid() const
void setMessage(const KMime::Message::Ptr &message)
Sets the message to be sent.
Definition: messagequeuejob.cpp:184
void emitResult()
DispatchModeAttribute & dispatchModeAttribute()
Returns a reference to the dispatch mode attribute for this message.
Definition: messagequeuejob.cpp:159
Attribute determining what will happen to a message after it is sent.
Definition: sentbehaviourattribute.h:24
virtual QString errorString() const
Attribute determining how and when a message from the outbox should be dispatched.
Definition: dispatchmodeattribute.h:25
Provides an interface for sending email.
Definition: messagequeuejob.h:70
KMime::Message::Ptr message() const
Returns the message to be sent.
Definition: messagequeuejob.cpp:154
TransportAttribute & transportAttribute()
Returns a reference to the transport attribute for this message.
Definition: messagequeuejob.cpp:169
virtual void slotResult(KJob *job)
void slotResult(KJob *) override
Called when the ItemCreateJob subjob finishes.
Definition: messagequeuejob.cpp:199
void start() override
Creates the item and places it in the outbox.
Definition: messagequeuejob.cpp:189
QString i18n(const char *text, const TYPE &arg...)
SentActionAttribute & sentActionAttribute()
Returns a reference to the sent action attribute for this message.
Definition: messagequeuejob.cpp:179
Akonadi::AddressAttribute & addressAttribute()
Returns a reference to the address attribute for this message.
Definition: messagequeuejob.cpp:164
AKONADI_MIME_EXPORT const char Queued[]
SentBehaviourAttribute & sentBehaviourAttribute()
Returns a reference to the sent behaviour attribute for this message.
Definition: messagequeuejob.cpp:174
AKONADI_MIME_EXPORT void copyMessageFlags(KMime::Message &from, Akonadi::Item &to)
An Attribute that stores the action to execute after sending.
Definition: sentactionattribute.h:28
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: configmodule.h:12
Attribute determining which transport to use for sending a message.
Definition: transportattribute.h:26
int error() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 16 2021 23:21:35 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 16 2021 23:21:35 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.