diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/BodyStructure.php b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/BodyStructure.php index 8e8c7bf6f..f9adf6497 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Imap/BodyStructure.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Imap/BodyStructure.php @@ -118,7 +118,10 @@ class BodyStructure implements \JsonSerializable public function isText() : bool { - return 'text/html' === $this->sContentType || 'text/plain' === $this->sContentType; + return 'text/html' === $this->sContentType + || 'text/plain' === $this->sContentType + // Also the useless AMP content + || 'text/x-amp-html' === $this->sContentType; } // https://datatracker.ietf.org/doc/html/rfc3156#section-4