|
|
@ -257,7 +257,7 @@ MainAttachment::getDisclaim (string &plain, string &html) const { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
plain = "\r\n"+KAZ_PLAIN_START+"\r\n"+KAZ_PLAIN_HR+"\r\n"+KAZ_PLAIN_DONT_TOUCH+"\r\n\r\n"+KAZ_PLAIN_WARNING+"\r\n\r\n"+KAZ_PLAIN_DOWLOAD_ONE+"\r\n"+plainNewLinks; |
|
|
|
plain = "\r\n"+KAZ_PLAIN_START+"\r\n"+KAZ_PLAIN_HR+"\r\n"+KAZ_PLAIN_DONT_TOUCH+"\r\n\r\n"+KAZ_PLAIN_DOWLOAD_ONE+"\r\n"+plainNewLinks; |
|
|
|
html = templateHtmlHeader+htmlNewLinks; |
|
|
|
if (previousLinks.size ()) { |
|
|
|
plain += "\r\n"+KAZ_PLAIN_DOWLOAD_OTHER+"\r\n"+plainOldLinks; |
|
|
@ -272,7 +272,7 @@ MainAttachment::getDisclaim (string &plain, string &html) const { |
|
|
|
html += allHtmlLinks; |
|
|
|
} |
|
|
|
html += templateHtmlFooter+"\r\n"; |
|
|
|
plain += "\r\n\r\n"+KAZ_WEB_SITE+"\r\n"+KAZ_PLAIN_HR+"\r\n"+KAZ_PLAIN_STOP+"\r\n"; |
|
|
|
plain += "\r\n\r\n"+KAZ_WEB_SITE+"\r\n\r\n"+KAZ_PLAIN_WARNING+"\r\n"+KAZ_PLAIN_HR+"\r\n"+KAZ_PLAIN_STOP+"\r\n"; |
|
|
|
// & => & done
|
|
|
|
LOG ("plain: " << plain); |
|
|
|
LOG ("html: " << html); |
|
|
@ -685,6 +685,7 @@ MainAttachment::substitute (ifstream &mbox, ofstream &outbox, const SizeArg &min |
|
|
|
curPos = attachP->endPos; |
|
|
|
} |
|
|
|
if (plainDisclaim.size () && (attachMode & ATTACHMENT)) { |
|
|
|
// XXX si pas de multipart
|
|
|
|
LOG ("Add kaz attachment"); |
|
|
|
LOG_BUG (boundary.empty () || ! subAttachements.size (), /**/, "eMailShrinker: can't add Kaz attachment M10: : " << *this); |
|
|
|
streamoff lastPos = subAttachements.back ().endPos; |
|
|
|