fix no content-type in source mbox
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user