Message received time sometimes changes when forwarded, it is changed to the time zone display of the original sender's timezone
Categories
(Thunderbird :: Message Compose Window, defect)
Tracking
(Not tracked)
People
(Reporter: alitkowiak, Unassigned)
References
Details
(Whiteboard: [wontfix?])
Attachments
(3 files)
| Reporter | ||
Updated•16 years ago
|
Comment 1•16 years ago
|
||
| Reporter | ||
Comment 2•16 years ago
|
||
Comment 3•16 years ago
|
||
| Reporter | ||
Comment 4•16 years ago
|
||
| Reporter | ||
Comment 5•16 years ago
|
||
Comment 7•13 years ago
|
||
Comment 8•12 years ago
|
||
| Comment hidden (metoo) |
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
| Comment hidden (metoo) |
Comment 17•7 years ago
|
||
| Comment hidden (off-topic) |
| Comment hidden (metoo) |
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Updated•7 years ago
|
Comment 26•7 years ago
|
||
Updated•7 years ago
|
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Comment 31•6 years ago
|
||
I've never really thought much about this area or have any idea right now how it actually works and never noticed a big problem.
But looking at the various complaints, I don't know if I exactly understand what the problem really is. Some indicate that the forwarded message has the wrong timezone. I'm not sure where they are looking to see the timezone, i.e., is the summary line or the "All" headers display or are they looking at something in the full "message source"?
I just forwarded a message received at 3/1/19 6:07PM on gmail to another account. The original message had headerDate: Fri, 1 Mar 2019 15:07:27 -0800. (My timezone EDT is -0400, I think.) The account that received the forwarded message now has Date: Sun, 21 Apr 2019 18:03:38 -0400. (I am looking at headers using the View "All" headers selection.) In the body of the forwarded message at the receiving account I see:
-------- Forwarded Message --------
Subject: khalid_zh14, see what's been happening on Instagram
Date: Fri, 1 Mar 2019 15:07:27 -0800
From: Instagram <no-reply@mail.instagram.com>
Reply-To: Instagram <no-reply@mail.instagram.com>
To: gdsmth@gmail.com
So this sounds right to me. If not, can someone tell me what I am overlooking or what should be seen?
Comment 32•6 years ago
|
||
(In reply to Markus Lankeit from comment #26)
I keep running across this... Best I can tell, "forwards" simply use the
headers "Date:" as stamped by the sending mailhost. There was a question
earlier as to why mail should not be kept in the sender's timezone, and this
sounds OK in theory... but theory and practice often differ. For example, a
number of large mailservers, like yahoo and amazon stamp everything with
+0000 offset.
I also don't see a problem with yahoo when I forward a message inline. The header yahoo puts in is a lot longer but the original timestamp and zone seem to stay mostly intact. The X-Apparently-To line seems to "zero base" the timezone which moves the day from Sun to Mon but the Date: header keeps the original message day, date and timezone:Sun, 7 Jan 2018 23:32:26 -0500.
-------- Forwarded Message --------
X-Apparently-To: *****@yahoo.com; Mon, 08 Jan 2018 04:32:46 +0000 <---zero based timestamp
Return-Path: <************@charter.net>
Received-SPF: pass (domain of charter.net designates **.***.***.** as permitted sender)
:
<snip lots of lines>
:
From: gds <************@charter.net>
Subject: see if printfs
To: k9vws@yahoo.com
Message-ID: <29f3de6d-9e29-4e66-8f75-1624e432f665@charter.net>
Date: Sun, 7 Jan 2018 23:32:26 -0500 <---original timestamp intact!
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0a1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Content-Length: 41
Not sure if there is an amazon public mailserver. Maybe the reporter meant AOL? If so, AOL uses the same servers as Yahoo, I think.
Comment 33•6 years ago
|
||
(In reply to gene smith from comment #31)
But looking at the various complaints, I don't know if I exactly understand what the problem really is.
In the headerpane we transfer the date header to the local timezone. But in the forwarded mail we use the date with the original timezone. This might be suprising to the regular user, especially if he doesn't know anything about timezones.
The question is: should we (optionally) transfer the timezone to the local one in the forwarded mail?
Pro: Most users mail only to recipients in their own timezone. It would make things more comfortable for them.
Con: If a user mails to international recipients, it would make thinks worse.
Comment 34•6 years ago
|
||
To keep this discussion simple:
Dates in reply headers are the same as those shown in the message list pane.
Dates in forward headers can be different.
So the solution is to show the same date in forward headers as in the reply headers.
To reproduce this problem open the attached mail502741.eml in Thunderbird and
- click on reply and
- click on forward.
Results are:
On 22/04/2019 08:39, Bugzilla@Mozilla wrote:
Do not reply to this email. You can add comments to this bug at https://bugzilla.mozilla.org/show_bug.cgi?id=502741
Comment # 33 on Bug 502741 from Alfred Peters at 2019-04-21 23:39:09 PDT
(In reply to gene smith from comment #31)
But looking at the various complaints, I don't know if I exactly understand what the problem really is.
:
-------- Forwarded Message --------
Subject: [Bug 502741] Message received time sometimes changes when forwarded, it is changed to the time zone display of the original sender's timezone
Date: Mon, 22 Apr 2019 06:39:11 +0000
From: Bugzilla@Mozilla <bugzilla-daemon@mozilla.org>
To: frank.breitling@gmx.de
Do not reply to this email. You can add comments to this bug at https://bugzilla.mozilla.org/show_bug.cgi?id=502741
Comment # 33 on Bug 502741 from Alfred Peters at 2019-04-21 23:39:09 PDT
(In reply to gene smith from comment #31)
But looking at the various complaints, I don't know if I exactly understand what the problem really is.
:
Comment 35•6 years ago
|
||
Attachment to comment 34.
Comment 36•6 years ago
|
||
(In reply to Frank Breitling from comment #34)
To keep this discussion simple:
Dates in reply headers are the same as those shown in the message list pane.
Dates in forward headers can be different.
So the solution is to show the same date in forward headers as in the reply headers.To reproduce this problem open the attached mail502741.eml in Thunderbird and
- click on reply and
- click on forward.
Results are:
On 22/04/2019 08:39, Bugzilla@Mozilla wrote:
When I reply to your attached message I see this as the first line:
On 4/22/19 2:39 AM, Bugzilla@Mozilla wrote:
So my assumption is that bugzilla sent the message at 2:39 in the morning at my local time (EDT) or -0400 I think. And looking at the file that is right.
Now when I forward your attached message I see the full header inline in the email (sorry so long but want to show it all like a use would see it):
-------- Forwarded Message --------
Return-Path:
<0101016a43c5181c-1f9fead2-2154-4c4d-aaca-ae124b2dfec1-000000@us-west-2.amazonses.com>
Received: from a58-226.smtp-out.us-west-2.amazonses.com
([54.240.58.226]) by mx-ha.gmx.net (mxgmx112 [212.227.17.5]) with ESMTPS
(Nemesis) id 0MEsCs-1h3bZb14oM-00G1cL for <frank.breitling@gmx.de>; Mon,
22 Apr 2019 08:39:13 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
s=xvfctz3syaftfgxgxgwl7c3gv6pe75ft; d=mozilla.org; t=1555915151;
h=From:To:Subject:Date:References:Message-ID:In-Reply-To:Content-Type:Content-Transfer-Encoding:MIME-Version;
bh=eKjKIvMpR/kzmveNT3gwZrr0ibAI758GLdPDy2GvIIw=;
b=RXiTSFcBf+IdsI1Cd9v5bkKFt1EIRPR7IIFY6o/eiucMa7iG/AYCb2bJoaV2oVO/
NeiicvPsbNZvjHmaOI/skx4//HNegsv40IdnkGJtohc70t2yn+jPGCqVcaLU2b9juVa
d593sRDDdaBF9CLCAwHm0Iv1+afq/VPLo4gP8GAs=
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1555915151;
h=From:To:Subject:Date:References:Message-ID:In-Reply-To:Content-Type:Content-Transfer-Encoding:MIME-Version:Feedback-ID;
bh=eKjKIvMpR/kzmveNT3gwZrr0ibAI758GLdPDy2GvIIw=;
b=V6F8nQmK7yUpDWZAYmQKmsWUFAQNG2c8ZrvbXT0AzR0D4wZlqB3DJBbOcKnqH2rr
hIgH85HZ7l7W89k1DGND2LxIlY/6j/zARvCUfqiwHew7i1hYOt6j4/TOSulvRrZyff3
a7o7y2dQ5Qs74tozO1wzscO7OEttH6SQaJ7ubdvQ=
From: Bugzilla@Mozilla <bugzilla-daemon@mozilla.org>
To: frank.breitling@gmx.de
Subject: [Bug 502741] Message received time sometimes changes when
forwarded, it is changed to the time zone display of the original
sender's timezone
Date: Mon, 22 Apr 2019 06:39:11 +0000
X-Bugzilla-Reason: Voter CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Classification: Client Software
X-Bugzilla-ID: 502741
X-Bugzilla-Bug-Type: defect
X-Bugzilla-Product: Thunderbird
X-Bugzilla-Component: Message Compose Window
X-Bugzilla-Version: 2.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: infofrommozilla@gmail.com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: --
X-Bugzilla-Assigned-To: nobody@mozilla.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-OS: Windows XP
X-Bugzilla-Changed-Fields: Comment Created
X-Bugzilla-Changed-Field-Names: comment
References: <bug-502741-55474@https.bugzilla.mozilla.org/>
Message-ID:
<0101016a43c5181c-1f9fead2-2154-4c4d-aaca-ae124b2dfec1-000000@us-west-2.amazonses.com>
In-Reply-To: <bug-502741-55474@https.bugzilla.mozilla.org/>
X-Generated-By:
ip-172-31-19-61.us-west-2.compute.internal/ip-172-31-19-61.us-west-2.compute.internal(19)
Content-Type: multipart/alternative; boundary="15559151510.EaAcEaC.19"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: https://bugzilla.mozilla.org/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SES-Outgoing: 2019.04.22-54.240.58.226
Feedback-ID:
1.us-west-2.m0ZADI4wTpZUQZJc0WFxtWaLDsQ5vCTXpXaRd44nw7s=:AmazonSES
Envelope-To: <frank.breitling@gmx.de>
X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3;
X-Spam-Flag: NO
X-UI-Filterresults:
notjunk:1;V03:K0:eGJ7Gxvb7eU=:+CXDhzCKpcpRx0mMMjABuNkJuR
mEUfQgGJ1urxKKZFHe8jHwVpRnjU6IIg1WAlvtAM2uv2XqnZyGFA6DuKf3se17gyAikF404T4
2nCTU4T1nEzhC8tVRNa0Vv7NqJuvr2BROOuBU3V4ImKL6PNd/ivHR/QOKXjjal16ymY+m7yO0
Pm4fEUi1JdXU2ldAk9B65qYqM4GWIiUUFB5WNMZojPVbnVLBhATmRMjrET7K2q4j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wJ48CKhhB6PfXWrcSoqBveHIkaCE2i3i5Y3ff
t0uPms5+6Jz34gZjc7kmB9uYAzD5G0Lrd9e8mUA8yPPzgMdNOhRkVsLv/eGF5Sr4uZFT8H9Qo
Hy2lAt2T+og3TbXDTVosaAPyWGg6jiL8hB9ezw5Si131Vjku6HEBWO3hLwx7XRclo89XtGXe0
Uo6G2Hojb2sYcdYpqZQwdV4UVG6O+StcvwQsadKsl/QO6nl+50IatGGFyx37fnUVJNWLthuwn
ivkkD0MEP6KPmullxYJsCvUWh3xc7K2hIxTrvX1KYkI6qYVFMpFDFmimZ2YyxV8SIUSlEKiPm
CVZ66lyCqvo1wavgDR6q0jVC58VTixfyDfAJLfyZXytonewIP1jGpxTb31qHJ4zddhrUBU4xj
CsAq1nkNm/YRIw143i76XjvM3Cr+GFk+Xe05tfwZ54OSCnyscu9leMRGFt5ALveLof1xOGDcb
dfQsOIMzKOlW+vV3A16P6msqxqgshaUrdnUWRDJQMdI958+oQNv7+gW4vxrIHDUvGxyle3DGy
xQCU9ymZWDuSSMkGMqmTj1mcmn2pVs4TllcQdJMBvkW5iS6ZgmodP6nj3KDyRLcbE5jI7rm0r
Xr7qVePjJ7WmAMfT7e6nuPsWqhYfUY2CJKsT9OdTJSmhoGpPs4Nc71MntlRIcswFwY5bMfkKi
Yxli8hgOsnjKWdx7BPYjrlXkFp6BUe3RfTtsWrUCwtHAjNjyruYTr0Sct38DOlW9y7IZzedq9
XsRqaMk8JMs6FKA9SMfxMAVmI8Y+l4JCGw2pIi9n9l8qE8QN86T7Jt4SQGhHSRIDz2DESMMvn
0hVsH59uqBeX9AvxWTsLP6f+yzxcdbpfw4/azqk7TrW4rxc6pIGdXI0U162bIetwruFFXk/By
tNwenL9RaWay1LqSh3lgGCtO3OvQ4vngum7xZt99UdmhoQ==
Do not reply to this email. You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=502741
*Comment # 33 <https://bugzilla.mozilla.org/show_bug.cgi?id=502741#c33>
on Bug 502741 <https://bugzilla.mozilla.org/show_bug.cgi?id=502741> from
Alfred Peters <mailto:infofrommozilla@gmail.com> at 2019-04-21 23:39:09
PDT *
(In reply to gene smith from comment #31 <#c31>)
But looking at the various complaints, I don't know if I exactly
understand what the problem really is.
:
In the very complex and not user friendly inline header that tb includes, the timestamp appears twice (and maybe more for other examples). Is the recommendation to change so in all places in the displayed header it is adjusted to local timezone of where the tb user is located?
Is the recommendation to change the displayed header where timestamps occur to be just like when a reply occurs, i.e.,
(Nemesis) id 0MEsCs-1h3bZb14oM-00G1cL for <frank.breitling@gmx.de>; Mon,
22 Apr 2019 08:39:13 +0200
displays as
(Nemesis) id 0MEsCs-1h3bZb14oM-00G1cL for <frank.breitling@gmx.de>;
4/22/19 2:39 AM
and
Date: Mon, 22 Apr 2019 06:39:11 +0000
displays as
Date: 4/22/19 2:39 AM
If this is what is wanted, we need a definite and specific specification of how the adjusted timestamp(s) should appear (just like reply? or rfc standard timestamp like Mon, 22 Apr 2019 02:39:11 -0400?, or something else?).
Finally, I would assume the proposal would be not for tb to actually change the forwarded header information (which is quoted from the original message) but to only change what appears on the user's screen.
Comment 37•6 years ago
|
||
I assume your forwarded header is so long because you set View->Headers->All.
In case somebody wants to forward all header information he might want to preserve the timezone information as well.
And generally it might be good to preserve the timezone information and not to change any timestamp where it occurs.
Instead one could add the local timestamp to the fist line of the forward header in the same way as it happens for replies.
So one could change
-------- Forwarded Message --------
:
to
-------- Forwarded Message from 4/22/19 8:39 AM --------
:
I think that would reduce the apparent timestamp inconsistency.
I would also prefer to see seconds in the timestamp in both forward and reply headers.
Comment 38•6 years ago
|
||
Yes, I had "all" headers set while testing this. I don't use forwarding of messages much and didn't know "all" would cause so much header info to be pasted into the message.
So you are saying to convert the original message's simple "Date:" header to local format (including seconds) and put it in the title line. Seems like a good idea and fairly easy to do (famous last words). This would not require changing the actual printed header information below the title line in possibly more than one place. Also update the "reply" title timestamp to add seconds.
I will look into this ASAP.
Comment 39•6 years ago
|
||
Well, I've looked at the compose related code some and I can't seem to understand how it works. Maybe someone with more UI related experience should look at this issue. Or maybe someone with more experience could provide some direction to me; that would be appreciated.
I don't know if Bug 1513824 is relevant to this or not. I found it while looking here:
https://searchfox.org/comm-central/rev/024094c2ebc05723d2b0da86086539d5b97044cb/mail/components/extensions/parent/ext-compose.js#12. The STR for this bug is not really given.
Anyhow, if no help is offered I will continue some more to try and find a solution.
Comment 40•6 years ago
|
||
@Gene Smith Thank you very much for your efforts, useful comments and looking into this problem.
I think you summarized my suggestion very well.
I don't understand Bug 1513824. Its description is very short. So I am sorry I cannot help you with that.
But I had one more thought about compatibility of the suggested format change to the forward header. In case anyone is relying on the exact old format because for example of some message parsing happening in some code, we could consider adding an about:config option to switch the new default format back to the old format to offer an option for 100% backward compatibility.
However, I don't know how important that would be, but maybe something to consider.
Comment 41•6 years ago
|
||
Frank,
Another thing I don't understand is why is this only an issue when emails is forwarded inline? Would not the same issue occur when forwarded as an attachment? I have some emails forwarded to me as attachments that originated from timezone -0600. There is an indication in comment 1 above that timestamp is OK when forwarded as attachment.
When forwarded as attachment you don't see
-------- Forwarded Message --------
:
<body of original message>
instead you see the received forward message like this
--------<Subject of original message>------------
Subject: <Subject of original message>
From: <Who it's from>
Date: 3/29/19 8:31PM <---converted to your local time
To: <Who it's to>
:
<body of original message>
So looking at the original message Date stamp I see
Date: Fri, 29 Mar 18:31:41 -0600
So correcting for my timezone (add 2 hrs) it would be 8:31PM. So this seems OK.
Possible workaround: Set pref mail.forward_message_mode = 0so tb defaults forwarding to "as an attachment". But I guess other clients still might be forwarding inline so this won't help in that case.
Comment 42•6 years ago
|
||
Gene,
Thank you for pointing this out.
That's very interesting and I don't understand it either, but maybe that is another indication that for inline forwarding something goes wrong. If the same code was used for forwarding inline and as attachment (which should be the case for good code) there should be no difference.
According to the video attached by luiscla27 Microsoft Outlook also converts the forwarded dates to local time.
That doesn't mean that Thunderbird has to do it the same way since timezone information is useful too and keeps forwarded messages unchanged, but local time should at least appear somewhere.
If you could make inline forwarding processed the same way as attached forwarding, this might resolve both issues, the missing local time and the difference between the two forwarding methods, which I find problematic.
Or vice versa make attached forwarding processed like inline forwarding and add the local time to the first line as I suggested in comment 37. Because I think two different forwarding formats can create problems.
Comment 44•3 years ago
|
||
(In reply to Frank Breitling from comment #42)
According to the video attached by luiscla27 Microsoft Outlook also converts the forwarded dates to local time.
That doesn't mean that Thunderbird has to do it the same way since timezone information is useful too and keeps forwarded messages unchanged, but local time should at least appear somewhere.
The email shown in the video I attached was sent to myself, both accounts are used only from the same timezone. So, my guess is that the issue was related to the server processing the emails (?). I've found the issue first with a mail of a client who's timezone is the same as mine.
(In reply to gene smith from comment #31)
...never noticed a big problem.
I didn't saw the +0000 timezone, I'm not used to do it, nor the client who received the original email. The described behaviour got us confused, and almost got me into trouble as everyone thought I was replying mails 6 hours later.
Updated•3 years ago
|
Comment 45•2 years ago
|
||
In latest 115.6.0 version , bug still exists.
Same e-mail forwarded by Roundcube webclient keeps correct timezone.
I observed this Thunderbird behaviour with MsExchange send emails , could be something with "X-MS-Exchange-CrossTenant-originalarrivaltime" ?
Description
•