diff --git a/resources/widgets/mails/widget.js b/resources/widgets/mails/widget.js index b72f192a..974602da 100644 --- a/resources/widgets/mails/widget.js +++ b/resources/widgets/mails/widget.js @@ -59,7 +59,7 @@ bodyPre.style.border = '1px solid #ddd'; bodyPre.style.padding = '5px'; bodyPre.style.overflowX = 'scroll'; - bodyPre.textContent = mail.body; + bodyPre.textContent = mail.body || mail.html; let bodyHTML = bodyPre.outerHTML; let htmlIframeHTML = '';