summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/mailtemplates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/domain/mime/mailtemplates.cpp')
-rw-r--r--framework/src/domain/mime/mailtemplates.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/src/domain/mime/mailtemplates.cpp b/framework/src/domain/mime/mailtemplates.cpp
index dc713ee4..0380fa5c 100644
--- a/framework/src/domain/mime/mailtemplates.cpp
+++ b/framework/src/domain/mime/mailtemplates.cpp
@@ -977,11 +977,8 @@ KMime::Message::Ptr MailTemplates::createMessage(KMime::Message::Ptr existingMes
977 for (const auto &attachment : attachments) { 977 for (const auto &attachment : attachments) {
978 mail->addContent(createAttachmentPart(attachment.data, attachment.filename, attachment.isInline, attachment.mimeType, attachment.name)); 978 mail->addContent(createAttachmentPart(attachment.data, attachment.filename, attachment.isInline, attachment.mimeType, attachment.name));
979 } 979 }
980 bodyPart = createBodyPart(body.toUtf8());
981 } else {
982 //FIXME same implementation as above for attachments
983 bodyPart = createBodyPart(body.toUtf8());
984 } 980 }
981 bodyPart = createBodyPart(body.toUtf8());
985 mail->assemble(); 982 mail->assemble();
986 983
987 KMime::Content *signedResult = nullptr; 984 KMime::Content *signedResult = nullptr;