Pages: 1
RSS
HTML message format creating by The Bat!
 
Hi !
I am the user of a newest version of The Bat. I always use HTML editor as my default editor while creating the new messages. Recently I've noticed one strange thing. I logged in my gmail account using my browser. I went to my 'Sent items' directory to see how my messages are displayed. Then I have noticed that there were no colors, bold fonts. No html decorations defined in html message. So I decided to check how are displayed other messages that I received from my friends. And they had all defined colors and html decoraitions. So I asked one of my friend (he also has a gmail account) what is the view of my messages. He said that my messages were displayed correctly in his Outlook but on gmail website they also had no html decoration. So I decided to check the source of my messages and also other received messages. Here they are:
One of the messages created by The Bat!:
Code
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title></title>
<META http-equiv=Content-Type content="text/html; charset=default">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {


And here is one of the messages displayed correctly received from my friend:
Code
MIME-Version: 1.0
Content-Type: text/html; charset=windows-1250
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dwindows-125=
0">
<STYLE type=3D"text/css"><!--
BODY {


So what is wrong with the Bat! ?
 
The message parts you quoted didn't contain any font types or clours, so until now there's nothing wrong.
The only difference I can see is that TB's message has an 8-bit encoding and your friend's message does quoted-printable, but that shouldn't make a difference (unless gmail has problems with deciphering 8-bit encoding, but I can't imagine that.)
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Hi Roelof !
Thanks for your reply.
I just wanted to post only the headers of the messages. I thought there was something wrong with them. So now let me show you a whole sample message. This message is displayed correctly when using any e-mail client. But on gmail website - no colours and text decorations. This is html/text sample but it also occurs when only html message is sent. Notice that all messages from other people are displayed correctly on gmail website. So I think I can not be any problem concerning to gmail.

X-Gmail-Received: 99cf96a659c97cb9752592116b61b8942eadd277
Return-Path: <xxxxx@gmail.com>
Received: from xxxx ( [83.22.106.36])
       by mx.gmail.com with ESMTP id 15sm5207408nzn.2005.12.03.15.05.37;
       Sat, 03 Dec 2005 15:05:38 -0800 (PST)
Date: Sun, 4 Dec 2005 00:05:38 +0100
X-Mailer: The Bat! (v3.62.14) Professional
Reply-To: "xxxx" <xxxx@gmail.com>
X-Priority: 3 (Normal)
Message-ID: <452548664.20051204000538@gmail.com>
To: xxxx@gmail.com
Subject: HTML/text message test
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----------91C426834A086"
From: "xxxx" <xxxx@gmail.com>

------------91C426834A086
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Here is a red text

And here is blue

Here is bold text

--
Attachments: <none>
The message was written on: Sunday, December 4, 2005 at 00:04:36
Generated by: The Bat! v3.62.14
Outgoing mail scanned by: avast! v4.6 antivirus
------------91C426834A086
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title></title>
<META http-equiv=Content-Type content="text/html; charset=default">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
 margin: 5px 5px 5px 5px;
 background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
font-size: 11pt;
font-family: 'Verdana';
font-style: normal;
font-weight: normal;
color: #000000;
text-decoration: none;
}
span.rvts1 /* Heading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #0000ff;
}
span.rvts2 /* Subheading */
{
font-size: 10pt;
font-family: 'Arial';
font-weight: bold;
color: #000080;
}
span.rvts3 /* Keywords */
{
font-size: 10pt;
font-family: 'Arial';
font-style: italic;
color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
font-size: 10pt;
font-family: 'Arial';
color: #008000;
text-decoration: underline;
}
span.rvts6
{
font-size: 9pt;
font-style: italic;
color: #c0c0c0;
}
span.rvts7
{
font-weight: bold;
}
span.rvts8
{
color: #0000ff;
}
span.rvts9
{
color: #ff0000;
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
text-align: left;
text-indent: 0px;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
text-align: center;
}
--></style>
</head>
<body>

<span class=rvts9>Here is a red text</span>

<br>

<span class=rvts8>And here is blue</span>

<br>

<span class=rvts7>Here is bold text</span>

<br>

<span class=rvts6>-- </span>

<span class=rvts6>Attachments: <none></span>

<span class=rvts6>The message was written on: Sunday, December 4, 2005 at 00:04:36</span>

<span class=rvts6>Generated by: The Bat! v3.62.14</span>

<span class=rvts6>Outgoing mail scanned by: avast! v4.6 antivirus</span>

<br>


</body></html>
------------91C426834A086--
 
I can confirm the problem with another webmail service, so it's not gmail specific.

I can't explain it though. As normal mail clients show everything just fine.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
I have just installed a Thunderbird client. Just to make some tests. I sent one message to myself. This message has colours when watching it on gmail website.

X-Gmail-Received: 9f95f31d0ed020138c1e3cfe7e55a95987946dbc
Return-Path: <xxxxx@gmail.com>
Received: from ?192.168.1.100? ( [83.22.106.36])
       by mx.gmail.com with ESMTP id a23sm272320nfc.2005.12.03.18.00.02;
       Sat, 03 Dec 2005 18:00:03 -0800 (PST)
Message-ID: <43924D9C.4010108@gmail.com>
Date: Sun, 04 Dec 2005 02:59:56 +0100
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-Accept-Language: pl, en-us, en
MIME-Version: 1.0
To: xxxxx@gmail.com
Subject: =?ISO-8859-2?Q?Pr=F3ba_wiadomo=B6ci?=
Content-Type: multipart/alternative;
boundary="------------020701080908030300050900"
From: Prozac <xxxxx@gmail.com>

This is a multi-part message in MIME format.
--------------020701080908030300050900
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: 8bit

:-)

RED
BLUE
GREEN


--------------020701080908030300050900
Content-Type: text/html; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
 <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<span class="moz-smiley-s1"><span> :-) </span></span><br>
RED<br>
BLUE<br>
GREEN<br>
<br>

</body>
</html>

--------------020701080908030300050900--

I also thought that it was no problem if the messages were displayed properly when using a mail client. But I changed my thinking when noticed that many people use a common web browsers for receiving and sending the messages. Every day I send a lot of messages. Many of them are very long. Most often they contain a various decorations of the text. It is unnecessary for me. In such case people are not able to see my message as they should. So maybe there is any way to improve The Bat! and change its html formating rules. I bought The Bat! Pro and I was always faithful to The Bat! so it will be nice to see it still improving.
Cheers !
Pages: 1