Pages: 1
RSS
Mail does not display correctly
 
Hello,

I have a mail that is not displayed at all in Version 3.99. In other mailprograms it is ok.
When the line with a lot of aaaaaaaaaaa additionally contains "<b>" at the end the mail is displayed OK:


Mailsource:

Return-Path: <es@domain.com>
Delivered-To: 403-es@domain.com
Received: (qmail 29756 invoked by uid 48); 23 Nov 2007 20:45:54 +0100
To: es@domain.com
Subject: subject
From: fromname <es@domain.com>
Reply-To: fromname <es@domain.com>
Date: Fri, 23 Nov 2007 20:45:54 +0100
X-LibVersion: 3.3.2
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="_=_swift-107158979347472df21fba09.41071816_=_"
Content-Transfer-Encoding: 7bit
Message-ID: <20071123194554.28213.2082277022.swift@domain.com>

--_=_swift-107158979347472df21fba09.41071816_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

aaaaaaaaaa
--_=_swift-107158979347472df21fba09.41071816_=_
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
<meta http-equiv=Content-Type content='text/html; charset=utf-8'>
<body>
<pre>
aaaaaaaaaa
--_=_swift-107158979347472df21fba09.41071816_=_--
 
It's badly formatted, a html message should have this format:
<html>
<body>
some text
</body>
</html>
As the message you're showing isn't formatted right, the odds are that different clients show it differently.
Apparently TB's HTML interpreter waits with displaying text until it encounters an HTML tag, that's not so bad in itself, because any HTML message is supposed to end with HTML tags. This one doesn't, so things get confused.
Have the sender end the messag with the mandatory </body> and </html> tags and I bet that TB displays it just fine.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
Pages: 1