#415 Some mails body text is not displayed.

1.500
open
Jamie Cameron
Read Mail (122)
5
2014-02-12
2012-06-21
Tim Bezhashvyly
No

Hi. I'm using a Usermin 1.507 and for some incoming mails I'm getting "This message has no body contents." message. If I click on "View raw message" link I can definitely see that mail have body text. Here is the example (on of many from different senders) of raw message with personal data replaced with hyphens:

Return-Path: <newsletter.venere@venere.com>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ----------------------------
X-Spam-Level:
X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,HTML_MESSAGE, HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1
X-Original-To: ----------------------------
Delivered-To: ----------------------------
Received: from popve1.ar.expedia.com (popve1.ar.expedia.com [216.251.126.163]) by ---------------------------- (Postfix) with ESMTP id 01777200BA for <---------------------------->; Wed, 13 Jun 2012 18:57:44 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by popve1.ar.expedia.com (Postfix) with ESMTP id EEF74E0628B5 for <---------------------------->; Wed, 13 Jun 2012 18:57:28 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at popve1.ar.expedia.com
Received: from popve1.ar.expedia.com ([127.0.0.1]) by localhost (chr-popve01.venere.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KmTbaByrdi6u for <---------------------------->; Wed, 13 Jun 2012 18:57:28 +0200 (CEST)
Received: from chr-webappve06 (chr-webappve06.ch.venere.it [10.186.229.16]) by popve1.ar.expedia.com (Postfix) with ESMTP id 1F925E0DE1F9 for <---------------------------->; Wed, 13 Jun 2012 18:57:28 +0200 (CEST)
Received: by chr-webappve06 (Postfix, from userid 500) id 1D72B1209FC0C; Wed, 13 Jun 2012 18:57:28 +0200 (CEST)
To: ----------------------------
Subject: Abmeldung vom Venere.com-Newsletter
MIME-Version: 1.0
From: "Venere.com" <newsletter.venere@venere.com>
X-Mailer: Venere Net Srl Mailer
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-Id: <20120613165728.1D72B1209FC0C@chr-webappve06>
Date: Wed, 13 Jun 2012 18:57:28 +0200 (CEST)

Wir haben Ihre Anfrage zur Abmeldung von unserem Newsletter erhalten.
<br><br>
Bitte klicken Sie auf den folgenden Link, wenn Sie online sind, um die Abme=
ldung zu best=C3=A4tigen:
<br><br>
<a href=3D"----------------------------">Best=C3=A4tigung der Newsletterabmeldung</a>
<br><br>
Wenn Sie die Newsletter von Venere.com weiterhin erhalten m=C3=B6chten, bit=
te lassen Sie diese eMail unbeachtet.
<br><br>
Bitte erinnern Sie sich, dass wenn Sie schon eine Reservierung durch Venere=
.com vorgenommen haben, dann k=C3=B6nnen Sie sich von unserem Newsletter ab=
melden, indem Sie dies in Ihrem Account spezifizieren.<br>=20
<a href=3D"https://secure.venere.com/user/index.jsp?lg=3Dde&FuseAction=3DRe=
port">Ihre Buchungen</a>.<br><br>

Mit freundlichen Gr=C3=BCssen, <br>
Venere.com

Discussion

  • Jamie Cameron
    Jamie Cameron
    2012-06-21

    If you click the Preferences link in the Read Mail module in Usermin, what is the "Show message body as" option set to?

     
  • Gingko
    Gingko
    2014-02-11

    Hello.

    I just got precisely the same kind of problem, with three successive messages in the same mailbox, all three displaying "This message has no body contents." whereas, if read with another mail reader, have a significant HTML contents, and when read as source (which doesn't seem to be allowed by UserMin, by the way) showed that they have only that contents (in addition encoded in base64, but with no plain text part).

    After searching on Internet, and having found and read the question above (although asked 20 months ago), I looked at the "Read Mail module in Usermin" and I found that the "Show message body as" was set to "Always plain text", as it was set in the default preferences in the Usermin configuration module in Webmin. I tried to change this option and the problem was fixed.

    I think that this is an option that I set a long time ago without really knowing what it meant, and probably thinking it was the safest one, but now I realize that I should have understood: "Display contents if there is a plain text part and nothing otherwise".

    I am very wondering:
    Why is there an option like this one in UserMin?
    Why would somebody want to configure his mail reader for not viewing anything in the message if its contents doesn't meet his preferences?

    This is very misleading and can make you loosing mails if you don't understand what happens. At least in this case, if this is really what is expected, the page should not display "This message has no body contents.", but rather something like "This message has a contents that you cannot see with your current reading preferences".

    Best regards,

    Gingko

     
  • Jamie Cameron
    Jamie Cameron
    2014-02-12

    The reason for that option is that some users NEVER want to see HTML email. I don't personally use or recommend this, but the option is there for some users.