diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index 863c9b3d..5d401345 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -239,7 +239,7 @@ public class MessageHelper { private String getHtml(Part part) throws MessagingException { if (part.isMimeType("text/*")) try { - String s = (String) part.getContent(); + String s = part.getContent().toString(); if (part.isMimeType("text/plain")) s = "
" + s.replaceAll("\\r?\\n", ""; return s;
") + "