Speculative fix for missing attachments on KDM emails.
authorCarl Hetherington <cth@carlh.net>
Mon, 26 Oct 2015 16:14:53 +0000 (16:14 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 26 Oct 2015 16:14:53 +0000 (16:14 +0000)
src/lib/emailer.cc

index fd815b78960e675638ef2d33fdbade4ad1b73fef..916d1718248a08cf5921204469a723979d45d555 100644 (file)
@@ -125,7 +125,7 @@ Emailer::send (shared_ptr<Job> job)
 
        if (!_attachments.empty ()) {
                email << "MIME-Version: 1.0\r\n"
-                     << "Content-Type: multipart/alternative; boundary=" << boundary << "\r\n";
+                     << "Content-Type: multipart/mixed; boundary=" << boundary << "\r\n";
        }
 
        email << "Subject: " << _subject << "\r\n"