Messagelib
mdnadvicehelper.cpp
88QPair<bool, KMime::MDN::SendingMode> MDNAdviceHelper::checkAndSetMDNInfo(const Akonadi::Item &item, KMime::MDN::DispositionType d, bool forceSend)
98 && item.attribute<Akonadi::MDNStateAttribute>()->mdnState() != Akonadi::MDNStateAttribute::MDNStateUnknown) {
102 auto mdnStateAttr = new Akonadi::MDNStateAttribute(Akonadi::MDNStateAttribute::MDNStateUnknown);
151 if (MessageComposer::Util::findTypeInMessage(msg.data(), "message", "disposition-notification")) {
159 } else if (mode == 3) { // the user wants to send. let's make sure we can, according to the RFC.
175Akonadi::MDNStateAttribute::MDNSentState MDNAdviceHelper::dispositionToSentState(KMime::MDN::DispositionType d)
QString mimeType() const
bool hasAttribute() const
Id id() const
int revision() const
const T * attribute() const
MDNSentState
MDNDeleted
MDNStateUnknown
MDNDispatched
MDNProcessed
MDNDisplayed
MDNStateAttribute::MDNSentState mdnState() const
Contains various factory methods for creating new messages such as replies, MDNs, forwards,...
Definition messagefactoryng.h:47
static bool MDNRequested(const KMime::Message::Ptr &msg)
When creating MDNs, the user needs to be asked for confirmation in specific cases according to RFC 22...
Definition messagefactoryng.cpp:785
static bool MDNMDNUnknownOption(const KMime::Message::Ptr &msg)
If the MDN headers contain options that KMail can't parse.
Definition messagefactoryng.cpp:865
static bool MDNReturnPathEmpty(const KMime::Message::Ptr &msg)
If sending an MDN requires confirmation due to discrepancy between MDN header and Return-Path header.
Definition messagefactoryng.cpp:819
static bool MDNConfirmMultipleRecipients(const KMime::Message::Ptr &msg)
If sending an MDN requires confirmation due to multiple addresses.
Definition messagefactoryng.cpp:799
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
Definition attachmentcontrollerbase.h:27
T qobject_cast(QObject *object)
ArrowCursor
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:43 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:43 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.