diff --git a/js/mzta-utils.js b/js/mzta-utils.js index e02e6070..b3d786c4 100644 --- a/js/mzta-utils.js +++ b/js/mzta-utils.js @@ -143,6 +143,9 @@ export function getMailBody(fullMessage){ html += part.body; } } + if(html === "") { + html = text.replace(/\n/g, "
"); + } return {text, html}; }