mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 09:33:39 +02:00
HTML bodies do not have a filename
This commit is contained in:
@@ -1035,6 +1035,7 @@ public class MessageHelper {
|
||||
// " content type=" + part.getContentType());
|
||||
|
||||
if (!Part.ATTACHMENT.equalsIgnoreCase(disposition) &&
|
||||
TextUtils.isEmpty(filename) &&
|
||||
((parts.plain == null && part.isMimeType("text/plain")) ||
|
||||
(parts.html == null && part.isMimeType("text/html")))) {
|
||||
if (part.isMimeType("text/plain"))
|
||||
|
||||
Reference in New Issue
Block a user