GNOME Bugzilla – Bug 724343
Moving emails between IMAP server results in wrong date
Last modified: 2014-02-14 11:07:33 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1065038 I copied emails over from my old imap server to gmail. I noticed the dates in gmail were incorrect, most of them showed the date the e-mails were copied. When I copy the same folder in Thunderbird the dates are displayed correctly. This problem has also been described here: https://productforums.google.com/forum/#!topic/gmail/0PU1gQuXNi8 Steps to Reproduce: 1. Drag and drop emails between two different imaps server 2. Check the date in gmail
As the group thread mentions, the APPEND command can have an optional date/time parameter, which is used as an internal date/time of the message on the server, which the GMail interface seems to be using in certain folder views. See: http://tools.ietf.org/html/rfc3501.html#section-6.3.11
There was a TODO in the code to use the message's date/time when calling APPEND, thus I completed the TODO: Created commit 261982e in eds master (3.11.90+) [1] [1] https://git.gnome.org/browse/evolution-data-server/commit/?id=261982e