MailTransport
messagequeuejob.cpp
64 if ((addressAttribute.to().count() + addressAttribute.cc().count() + addressAttribute.bcc().count()) == 0) {
71 if (sentBehaviourAttribute.sentBehaviour() == SentBehaviourAttribute::MoveToCollection && !(sentBehaviourAttribute.moveToCollection().isValid())) {
const AKONADI_MIME_EXPORT char Queued[]
Provides an interface for sending email.
Definition: messagequeuejob.h:74
void slotResult(KJob *) override
Called when the ItemCreateJob subjob finishes.
Definition: messagequeuejob.cpp:181
void setMimeType(const QString &mimeType)
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
AKONADI_MIME_EXPORT void copyMessageFlags(KMime::Message &from, Akonadi::Item &to)
Attribute determining how and when a message from the outbox should be dispatched.
Definition: dispatchmodeattribute.h:29
SentActionAttribute & sentActionAttribute()
Returns a reference to the sent action attribute for this message.
Definition: messagequeuejob.cpp:161
QString i18n(const char *text, const TYPE &arg...)
DispatchModeAttribute & dispatchModeAttribute()
Returns a reference to the dispatch mode attribute for this message.
Definition: messagequeuejob.cpp:141
~MessageQueueJob() override
Destroys the MessageQueueJob.
TransportAttribute & transportAttribute()
Returns a reference to the transport attribute for this message.
Definition: messagequeuejob.cpp:151
SentBehaviourAttribute & sentBehaviourAttribute()
Returns a reference to the sent behaviour attribute for this message.
Definition: messagequeuejob.cpp:156
void start() override
Creates the item and places it in the outbox.
Definition: messagequeuejob.cpp:171
Attribute determining which transport to use for sending a message.
Definition: transportattribute.h:28
void addAttribute(Attribute *attribute)
An Attribute that stores the action to execute after sending.
Definition: sentactionattribute.h:33
virtual void slotResult(KJob *job)
KMime::Message::Ptr message() const
Returns the message to be sent.
Definition: messagequeuejob.cpp:136
bool isValid() const
void emitResult()
virtual QString errorString() const
int error() const
Attribute determining what will happen to a message after it is sent.
Definition: sentbehaviourattribute.h:28
Akonadi::AddressAttribute & addressAttribute()
Returns a reference to the address attribute for this message.
Definition: messagequeuejob.cpp:146
void setFlag(const QByteArray &name)
void setMessage(const KMime::Message::Ptr &message)
Sets the message to be sent.
Definition: messagequeuejob.cpp:166
QString message
void setPayload(const T &p)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Mar 23 2023 04:19:12 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Mar 23 2023 04:19:12 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.