All users were logged out of Bugzilla on October 13th, 2018

UTF-8 message is displayed wrong in "new mail" popup



10 years ago
13 days ago


(Reporter: a0506717, Unassigned, NeedInfo)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: [closeme 2018-10-15])


(1 attachment)



10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/2008070208 Firefox/3.0.1
Build Identifier: Version (20080708)

When Thunderbird receives an E-Mail with the following charset and encoding:
Subject: Neuer =?UTF-8?B?R8Okc3RlYnVjaGVpbnRyYWc=?=
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64

the popup which is displayed in top of the system tray when a new e-mail is received shows the encoded UTF-8 message string instead of the human readable message! In the main window of thunderbird the message is shown correctly!

Notice: The popup shows the subject line (which is also in UTF-8) correctly in the "decoded" way!

Reproducible: Always

Steps to Reproduce:
1. Use the following PHP script to reproduce the error:
	$subject="Neuer Gästebucheintrag";
	$message="Neuer Eintrag im Gästebuch!";
	// UTF-8 für E-Mail
        mb_send_mail($to, $subject, $message);
Actual Results:  
When Thunderbird receives the new mail, the "new mail" popup displays the UTF-8 message string.

Expected Results:  
The "new mail" popup should display the message in a human readable way.
Hi Johannes,

Do you still experience this issue with more recent versions of Thunderbird ?
Could you save one of these emails and attach them to this bug ?

Comment 2

10 years ago

Yes, the problem still exists in Thunderbird!
E-Mail source:

Return-Path: <>
Received: from lmtpproxyd ( [])
	 by (Cyrus v2.3.13-univie-1.2) with LMTPA;
	 Fri, 03 Apr 2009 07:38:12 +0200
X-Sieve: CMU Sieve 2.3
Received: from ( [])
	 by (Cyrus v2.3.13-univie-1.1) with LMTPA;
	 Fri, 03 Apr 2009 07:38:12 +0200
Received: from ([]
	by with esmtp (Exim 4.69)
	(envelope-from <>)
	id 1Lpc6W-0001Nq-C8
	for; Fri, 03 Apr 2009 07:38:12 +0200
Received: from (unknown [])
	by (Postfix) with ESMTP id 5536235A6CF
	for <>; Fri,  3 Apr 2009 07:38:10 +0200 (CEST)
Received: from (localhost.localdomain [])
	by (8.13.1/8.13.1) with ESMTP id n335c9Qv003793
	for <>; Fri, 3 Apr 2009 07:38:09 +0200
Received: (from b884138307@localhost)
	by (8.13.1/8.13.1/Submit) id n335c92T031784;
	Fri, 3 Apr 2009 07:38:09 +0200
Received-SPF: none ( domain of
	does not designate permitted sender hosts)
Date: Fri, 3 Apr 2009 07:38:09 +0200
Message-Id: <>
Subject: Neuer =?UTF-8?B?R8Okc3RlYnVjaGVpbnRyYWc=?=
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: BASE64
X-DCC-Univie-Metrics: 32723; Body=1 Fuz1=1 Fuz2=1
X-Univie-Virus-Scan: scanned by ClamAV on
X-Univie-DKIM-Check: result:unsigned
X-Univie-Spam-Score: 0.0
X-Univie-Spam-Score-Int: 0
X-Univie-Spam-Level: /
X-Univie-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
X-Univie-Spam-Status: No, score=0.0, tests=none
X-Univie-Spam-Relay-Countries: AT AT **
X-Univie-Spam-Report: Content analysis details:   (0.0 points) 

AFAIR, there are not-so-small-number of reports for new mail alert of base 64 encoded mail.
  Content-Transfer-Encoding:BASE64 for:
  (a) mail payload=mail body (non-multipart mail)
  (b) first part of multipart/mixed mail
      - first part is correct mail body : This bug, Bug 418309 
      - first part is attachment part(i.e. no mail body part) : Bug 449756
  (c) multipart/related or multipart/alternative mail or part in multipart mail
Case (a) may be already resolved by improvment in other bug.
Bug 418309 is already DUP'ed to Bug 449756, because Bug 449756 is very clear report like this bug.
Reporter what you think about comment #? This issue is a dupe?
(In reply to comment #4)
> Reporter what you think about comment #? This issue is a dupe?
is comment #3

Comment 6

9 years ago
Bug 449757 seems to be very similar to my report, but however mine was reported earlier so the other bug is a dupe ;-)


9 years ago
Duplicate of this bug: 449756
It happens also to me yesterday (but I can't reproduce with message in comment #2 and I can't provide an email testcase for now).

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20091028 Lightning/1.0pre Shredder/3.0pre ID:20091028031844
Component: General → Mail Window Front End
QA Contact: general → front-end

Comment 9

8 years ago
Created attachment 489454 [details]
Tooltip for new email

Comment 10

8 years ago
Comment on attachment 489454 [details]
Tooltip for new email

Skip this, we found the problem with the entities.

Comment 11

7 years ago
Aureliano do you still see this?

Comment 12

13 days ago
Johannes, do you still see this issue?
Flags: needinfo?(a0506717)
Whiteboard: [closeme 2018-10-15]
You need to log in before you can comment on or make changes to this bug.