fix no content-type in source mbox

This commit is contained in:
francois committed 2022-12-27 14:48:12 +01:00
1 parent 18d1214681
commit c9ab7d4f49
4 files changed
+12 -5

No files matched your search

+2
View File
@@ -491,6 +491,8 @@ void MainAttachment::rewriteHeaders (ifstream &mbox, ofstream &outbox, const Hea
boundary = "--"+boundary+"--";
boundaryMiddleSize = boundary.length () - 2;
}
if (startPos >= mime.length ())
startPos = mime.length ()-1;
mime.insert (startPos, contentType);
outbox << mime << flush;
}
+1 -1
View File
@@ -33,7 +33,7 @@
////////////////////////////////////////////////////////////////////////////
#include "version.hpp"
const std::string kaz::LAST_VERSION_NUM ("2.11");
const std::string kaz::LAST_VERSION_NUM ("2.12");
const std::string kaz::LAST_VERSION_DATE ("2022-12-27");
const std::string kaz::LAST_VERSION (LAST_VERSION_NUM+" "+LAST_VERSION_DATE+" eMailShrinker");