)'s being added to the end of all Emails recieved ?

User Help for Mozilla Thunderbird
rotaict
Posts: 7
Joined: February 11th, 2019, 6:01 am

)'s being added to the end of all Emails recieved ?

Post by rotaict »

Hi all,

Hoping someone has seen this, although I've been unable to find another post about it anywhere...

We recently had to upgrade to v60.5.0 (32-bit) as we were seeing the issue with Marco Pinto's dictionary.
Since upgrading though, we are now seeing a ')' (without quotes) at the end of some EMails ??

Restarting with add-ons disabled made no difference.
On further investigation the ')' is added to all Emails as the last character.

Plain / text Emails show the ')' as the last character.
Emails encoded in Base64 don't show a ')' at the end. But viewing the Email source/raw format
shows the ')' as the last character of the Email.

Any ideas ? All welcome.

Thanks in advance.
Matt.
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: )'s being added to the end of all Emails recieved ?

Post by tanstaafl »

What text encoding (western, unicode etc.) are you using?
rotaict
Posts: 7
Joined: February 11th, 2019, 6:01 am

Re: )'s being added to the end of all Emails recieved ?

Post by rotaict »

Hi tanstaafl,

We're using -

Outgoing Mail: Unicode (UTF-8)
Incoming Mail: Western (ISO-8859-1)
milansi
Posts: 4
Joined: February 12th, 2019, 7:25 am

Re: )'s being added to the end of all Emails recieved ?

Post by milansi »

Same problem here (version 60.5.0, beta 65.0b3, nightly 66.0a1).

Basic plain text emails -> there is ")" at the end of the email
Multipart/alternative emails -> there is something like "--_000_1297a61c79664c73946928e037ecaccaz_--) " at the end of the email
Multipart/mixed emails (with attachments) -> are OK

Important is, email is OK on server, when using another mail client. Problem is only with local copy in Thunderbird.
rotaict
Posts: 7
Joined: February 11th, 2019, 6:01 am

Re: )'s being added to the end of all Emails recieved ?

Post by rotaict »

Hi milansi,

Same here, Email on server is OK... just seems to be once Email is downloaded to Thunderbird ??
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: )'s being added to the end of all Emails recieved ?

Post by tanstaafl »

Does this problem occur with multiple accounts or just one account? The reason I'm asking is because the original on the mail server is okay.

Does it occur if you send mail to yourself?

"--_000_1297a61c79664c73946928e037ecaccaz_--) " is a example of a boundary string - a string automatically inserted between different parts of a multi-part message so that the email client can recognize where one parts begins and ends. It shouldn't be visible. If it is, that usually means there is some type of parsing error.

Could you post a copy of the raw source (from view -> message source or control-U) of a small plain text message with no attachments that has this problem ( a ')' at end of message), where you edited it beforehand to remove all of the headers before the first Content-Type: header (its near the Subject:) ? That will reduce the size of the post and prevent anybody from seeing the email addresses.
milansi
Posts: 4
Joined: February 12th, 2019, 7:25 am

Re: )'s being added to the end of all Emails recieved ?

Post by milansi »

It occurs to everyone (tested on more people in my company) witch new Thunderbird version. It doesn't occur on different mail client (mobile, web access).

It occurs on emails (plain, multipart/alternative) downloaded with new version (old mails are shown correctly). My collegaue tried delete thunderbird directory, and then all emails was corrupted.

Source of test email:

Code: Select all

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101
 Thunderbird/66.0a1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US

test email)
Same email (viewed by web client):

Code: Select all

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101
 Thunderbird/66.0a1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US

test email
Milan
milansi
Posts: 4
Joined: February 12th, 2019, 7:25 am

Re: )'s being added to the end of all Emails recieved ?

Post by milansi »

Another example of multipart/alternative

Code: Select all

Content-Type: multipart/alternative; boundary="=-L+MaYx6orPLtwqy09x0J"
User-Agent: Evolution 3.30.2 
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit


Ahoj,

  

Dík

Roman


--=-L+MaYx6orPLtwqy09x0J
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html dir=3D"ltr"><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">
</head>
<body style=3D"text-align:left; direction:ltr;">
<div>Ahoj,</div>
<div>&nbsp;</div>
<div>D=C3=ADk</div>
<div>Roman</div>
<div><br></div></body></html>

--=-L+MaYx6orPLtwqy09x0J--)

rotaict
Posts: 7
Joined: February 11th, 2019, 6:01 am

Re: )'s being added to the end of all Emails recieved ?

Post by rotaict »

Some are recieving )'s at the end of Emails, some are not.

Just sent 2 test Emails to myself -

1. Internally sent & received using Thunderbird - no ) at the end (even looking at EMail source)
2. Externally sent via Yahoo webmail, received using Thunderbird - ) at the end of the Email (only seen looking at Email source - below)

MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

CgpTZW50IGZyb20gbXkgSHVhd2VpIE1vYmlsZQ==)
rotaict
Posts: 7
Joined: February 11th, 2019, 6:01 am

Re: )'s being added to the end of all Emails recieved ?

Post by rotaict »

Just noticed the SPAM report from our Email server also has a ) at the end ??
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: )'s being added to the end of all Emails recieved ?

Post by tanstaafl »

I just sent a plain text message from my yahoo, outlook and gmail accounts to my fastmail account using TB 60.5.0. It did not append anything. I also used yahoo webmail to send a message to my fastmail account. It did not append anything.

Could this have been a temporary glitch in yahoo webmail that has been fixed? Its not unusual for yahoo to have temporary problems.

Subject: sent from yahoo webmail
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_942538_1818688463.1550062719526"
References: <526682744.942539.1550062719527.ref@mail.yahoo.com>
X-Mailer: WebService/1.1.13041 YMailNorrin Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.82 Safari/537.36 Vivaldi/2.3.1440.37

------=_Part_942538_1818688463.1550062719526
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Did it append anything?
------=_Part_942538_1818688463.1550062719526
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html><head></head><body><div>Did it append anything?</div><div class="ydpe401efd4yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"></div></body></html>
------=_Part_942538_1818688463.1550062719526--
milansi
Posts: 4
Joined: February 12th, 2019, 7:25 am

Re: )'s being added to the end of all Emails recieved ?

Post by milansi »

Mail sent from gmail account :

Code: Select all

Content-Type: multipart/alternative; boundary="000000000000e5897e0581c71978"

--000000000000e5897e0581c71978
Content-Type: text/plain; charset="UTF-8"

test abc

--000000000000e5897e0581c71978
Content-Type: text/html; charset="UTF-8"

<div dir="ltr">test abc</div>

--000000000000e5897e0581c71978--)
Screenshot from thunderbird:
https://ibb.co/M14SjZN
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: )'s being added to the end of all Emails recieved ?

Post by tanstaafl »

I sent a similar message from gmail webmail to my fastmail account using 60.5. The copy in my fastmail IMAP account is okay, but the copy in my Gmail IMAP account has the same problem that you reported. I see test abc
--0000000000005c67120581c77a4c--) instead of test abc. The original in Gmail webmail is fine.

If I switch from view -> message body as -> original HTML to plain text it looks fine since the boundary string as the end of the HTML MIME section is whats corrupted.

I switched from 60.5 to 52.9.1 (using the same profile) and the problem went away so it looks like its a bug in 60.5. 66.0b1 has the same problem.

I'll check bugzilla and see if I can find a bug report. If not I'll file one.

FASTMAIL IMAP:
Content-Type: multipart/alternative; boundary="000000000000fad4cc0581c77a7f"

--000000000000fad4cc0581c77a7f
Content-Type: text/plain; charset="UTF-8"

test abc

--000000000000fad4cc0581c77a7f
Content-Type: text/html; charset="UTF-8"

<div dir="ltr"><div dir="ltr"><span style="color:rgb(46,139,87);font-family:Monaco,"Andale Mono","Courier New",Courier,mono;font-size:10.8px">test abc</span><br></div></div>

--000000000000fad4cc0581c77a7f--

GMAIL IMAP:
Content-Type: multipart/alternative; boundary="0000000000005c67120581c77a4c"

--0000000000005c67120581c77a4c
Content-Type: text/plain; charset="UTF-8"

test abc

--0000000000005c67120581c77a4c
Content-Type: text/html; charset="UTF-8"

<div dir="ltr"><div dir="ltr"><span style="color:rgb(46,139,87);font-family:Monaco,"Andale Mono","Courier New",Courier,mono;font-size:10.8px">test abc</span><br></div></div>

--0000000000005c67120581c77a4c--)

GMAIL webmail:
Content-Type: multipart/alternative; boundary="0000000000005c67120581c77a4c"

--0000000000005c67120581c77a4c
Content-Type: text/plain; charset="UTF-8"

test abc

--0000000000005c67120581c77a4c
Content-Type: text/html; charset="UTF-8"

<div dir="ltr"><div dir="ltr"><span style="color:rgb(46,139,87);font-family:Monaco,"Andale Mono","Courier New",Courier,mono;font-size:10.8px">test abc</span><br></div></div>

--0000000000005c67120581c77a4c--
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: )'s being added to the end of all Emails recieved ?

Post by tanstaafl »

User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: )'s being added to the end of all Emails recieved ?

Post by tanstaafl »

The 60.5.1 preview build from https://support.mozilla.org/en-US/questions/1249414 appears to have worked around the problem on my PC. They removed a change added in 60.5 that caused problems in how IMAP handled chunks. When you run setup Windows Defender will warn you that there is no recognized publisher for that build.

http://ftp.mozilla.org/pub/thunderbird/ ... /en-US/has the en-us windows 60.4 setup program if you want to try installing that (using custom setup) in a different directory. See http://kb.mozillazine.org/Go_back_to_an ... hunderbird for other builds.
Post Reply