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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mailtransportresource/mailtransportresource.cpp b/examples/mailtransportresource/mailtransportresource.cpp
index 88391a3..10d94bc 100644
--- a/examples/mailtransportresource/mailtransportresource.cpp
+++ b/examples/mailtransportresource/mailtransportresource.cpp
@@ -108,7 +108,7 @@ public:
108 emitNotification(Notification::Info, ApplicationDomain::SyncInProgress, "Sending message.", {}, {mail.identifier()}); 108 emitNotification(Notification::Info, ApplicationDomain::SyncInProgress, "Sending message.", {}, {mail.identifier()});
109 const auto data = mail.getMimeMessage(); 109 const auto data = mail.getMimeMessage();
110 auto msg = KMime::Message::Ptr::create(); 110 auto msg = KMime::Message::Ptr::create();
111 msg->setHead(KMime::CRLFtoLF(data)); 111 msg->setContent(KMime::CRLFtoLF(data));
112 msg->parse(); 112 msg->parse();
113 if (settings.testMode) { 113 if (settings.testMode) {
114 auto subject = msg->subject(true)->asUnicodeString(); 114 auto subject = msg->subject(true)->asUnicodeString();