summaryrefslogtreecommitdiffstats
path: root/examples/mailtransportresource/mailtransportresource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mailtransportresource/mailtransportresource.cpp')
-rw-r--r--examples/mailtransportresource/mailtransportresource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mailtransportresource/mailtransportresource.cpp b/examples/mailtransportresource/mailtransportresource.cpp
index 72fe59d..6beb4e8 100644
--- a/examples/mailtransportresource/mailtransportresource.cpp
+++ b/examples/mailtransportresource/mailtransportresource.cpp
@@ -81,10 +81,10 @@ public:
81 } 81 }
82 if (!MailTransport::sendMessage(msg, settings.server.toUtf8(), settings.username.toUtf8(), settings.password.toUtf8(), settings.cacert.toUtf8(), options)) { 82 if (!MailTransport::sendMessage(msg, settings.server.toUtf8(), settings.username.toUtf8(), settings.password.toUtf8(), settings.cacert.toUtf8(), options)) {
83 SinkWarning() << "Failed to send message: " << mail; 83 SinkWarning() << "Failed to send message: " << mail;
84 emitNotification(Notification::Warning, Notification::TransmissionFailed, "Failed to send message."); 84 emitNotification(Notification::Warning, ApplicationDomain::TransmissionError, "Failed to send message.");
85 return KAsync::error("Failed to send the message."); 85 return KAsync::error("Failed to send the message.");
86 } else { 86 } else {
87 emitNotification(Notification::Info, Notification::TransmissionSucceeded, "Message successfully sent."); 87 emitNotification(Notification::Info, ApplicationDomain::TransmissionSuccess, "Message successfully sent.");
88 } 88 }
89 } 89 }
90 syncStore().writeValue(mail.identifier(), "sent"); 90 syncStore().writeValue(mail.identifier(), "sent");