@bobfrankston/rmfmail 1.2.253 → 1.2.256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/android-bootstrap.bundle.js +2 -1
- package/client/android-bootstrap.bundle.js.map +2 -2
- package/client/app.bundle.js.map +1 -1
- package/client/compose/compose.bundle.js +77 -1
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/lib/rmf-tiny.js +105 -1
- package/client/package.json +1 -1
- package/package.json +9 -9
- package/packages/mailx-imap/package-lock.json +2 -2
- package/packages/mailx-imap/package.json +1 -1
- package/packages/mailx-settings/package.json +1 -1
- package/packages/mailx-store/package.json +1 -1
- package/packages/mailx-store-web/package.json +1 -1
- package/packages/mailx-types/mime-build.js +8 -1
- package/packages/mailx-types/mime-build.js.map +1 -1
- package/packages/mailx-types/mime-build.ts +8 -1
- package/packages/mailx-types/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-54924 → node_modules.npmglobalize-stash-47236}/.package-lock.json +0 -0
|
@@ -2531,11 +2531,12 @@ function wrapWithAttachments(commonHeaders, inner, attachments, newBoundary) {
|
|
|
2531
2531
|
` + inner.body;
|
|
2532
2532
|
}
|
|
2533
2533
|
const mixedBoundary = newBoundary();
|
|
2534
|
+
const endCRLF = (s) => s.endsWith("\r\n") ? s : s + "\r\n";
|
|
2534
2535
|
const parts = [
|
|
2535
2536
|
`--${mixedBoundary}\r
|
|
2536
2537
|
` + inner.headers.join("\r\n") + `\r
|
|
2537
2538
|
\r
|
|
2538
|
-
` + inner.body
|
|
2539
|
+
` + endCRLF(inner.body)
|
|
2539
2540
|
];
|
|
2540
2541
|
for (const att of attachments) {
|
|
2541
2542
|
const filename = (att.filename || "attachment").replace(/[\r\n"]/g, "_");
|