@bobfrankston/rmfmail 1.1.11 → 1.1.12
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/app.bundle.js +16 -1
- package/client/app.bundle.js.map +2 -2
- package/client/components/message-viewer.js +21 -1
- package/client/components/message-viewer.js.map +1 -1
- package/client/components/message-viewer.ts +21 -1
- package/package.json +1 -1
- package/packages/mailx-store/store.d.ts.map +1 -1
- package/packages/mailx-store/store.js +13 -6
- package/packages/mailx-store/store.js.map +1 -1
- package/packages/mailx-store/store.ts +13 -6
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-24384 → node_modules.npmglobalize-stash-34684}/.package-lock.json +0 -0
package/client/app.bundle.js
CHANGED
|
@@ -1612,7 +1612,22 @@ async function showMessage(accountId, uid, folderId, specialUse, isRetry = false
|
|
|
1612
1612
|
<div class="mv-system-body">${escapeHtml(fetchErr.error)}<br><span style="color:var(--color-text-muted);font-size:0.9em">Recorded ${Math.round((Date.now() - fetchErr.when) / 1e3)}s ago. ${fetchErr.transient ? "Will retry automatically." : "Permanent \u2014 server-side delete may have raced."}</span></div>
|
|
1613
1613
|
</div>`;
|
|
1614
1614
|
} else {
|
|
1615
|
-
|
|
1615
|
+
const emlPath = msg.emlPath || "";
|
|
1616
|
+
const attCount = msg.attachments?.length || 0;
|
|
1617
|
+
const flags = Array.isArray(msg.flags) ? msg.flags.join(", ") : "";
|
|
1618
|
+
bodyEl.innerHTML = `<div class="mv-system-message">
|
|
1619
|
+
<div class="mv-system-tag">mailx</div>
|
|
1620
|
+
<div class="mv-system-title">Body parsed empty</div>
|
|
1621
|
+
<div class="mv-system-body" style="white-space:pre-line">${escapeHtml([
|
|
1622
|
+
`Parser produced 0 bytes for both bodyHtml and bodyText.`,
|
|
1623
|
+
emlPath ? `.eml file: ${emlPath}` : `.eml file: (no body_path in DB)`,
|
|
1624
|
+
`Attachments: ${attCount}`,
|
|
1625
|
+
flags ? `Flags: ${flags}` : "",
|
|
1626
|
+
`Message: ${accountId}/${uid}${folderId ? ` (folder ${folderId})` : ""}`,
|
|
1627
|
+
``,
|
|
1628
|
+
`Likely causes: (a) sender included only attachments/images, (b) the fetched .eml is a stub (0 bytes on disk \u2014 fetch was incomplete), (c) the body is signed/encrypted in a way the parser doesn't unwrap.`
|
|
1629
|
+
].filter(Boolean).join("\n"))}</div>
|
|
1630
|
+
</div>`;
|
|
1616
1631
|
}
|
|
1617
1632
|
}
|
|
1618
1633
|
attEl.innerHTML = "";
|