[imp] Missing indicator for alternative email content

Jens-Uwe Mozdzen jmozdzen at nde.ag
Thu Jan 15 10:58:28 UTC 2015


Hi *,

from time to time I receive emails where the preview pane shows "there  
are no message parts that can be displayed directly" (or similar, my  
locale in non-english) and the details pane above shows no message  
parts.

The emails do have an HTML part in addition to the plain text part,  
which is shown when I select "more functions"->"all parts": The  
details pane then displays a tree with the root member "Alternative"  
with two sub-elements (plain text icon and HTML icon).

The message source shows both parts, the plain text part is empty.

As I have selected to display plain text rather than HTML, showing the  
"empty" message part is ok - but shouldn't there be a button to  
display the alternative part (I see that with other mixed messages)?

My crystal ball shows a blurry image of code that detects the empty  
plain text body and then stops processing with the "there are no parts  
that can be displayed directly" message, instead of continuing to  
where the alternative part is detected and producing the button to  
trigger its display.

The same problem surfaces when I double-click the message to display  
it in a separate window.

Should I open a bug for this? Or is this behavior wanted by design?

Regards,
Jens

PS: The probably relevant part of the message body looks like this:

--- cut here ---
To: me at here.com
MIME-Version: 1.0
Content-Type: multipart/alternative;
  boundary="_=_swift_v4_1421281890_def9b52723482011fa69304d478b5e91_=_"
Precedence: bulk
[...]


--_=_swift_v4_1421281890_def9b52723482011fa69304d478b5e91_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable







--_=_swift_v4_1421281890_def9b52723482011fa69304d478b5e91_=_
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

=EF=BB=BF<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w=
3.org/TR/html4/strict.dtd">
<html>
<head>
[...]
--- cut here ---

-- 
Jens-U. Mozdzen                         voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
Postfach 61 03 15                       mobile  : +49-179-4 98 21 98
D-22423 Hamburg                         e-mail  : jmozdzen at nde.ag

         Vorsitzende des Aufsichtsrates: Angelika Mozdzen
           Sitz und Registergericht: Hamburg, HRB 90934
                   Vorstand: Jens-U. Mozdzen
                    USt-IdNr. DE 814 013 983



More information about the imp mailing list