La Vita è Bella

Saturday, October 27, 2007

Gmail IMAP and Date in emails

UPDATE: As in RFC 2822, the format Gmail used is "obsolete", which means although it's not recommended, clients such as Thunderbird should support it.

Finally I've got my Gmail account with IMAP access. I use Thunderbird as the mail client, and find that the "date" of many mails are the time I retrieved them via IMAP, which is incorrect.

These mails including gtalk chat logs and Gmail invitation accepted responses, that means most of the mails are sent/generated by Gmail.

An incorrect date mail have a Date line in the headers like this:

Date: Fri, 1 Dec 2006 05:35:25 -0800 (PST)

And a normal mail have a Date line in the headers like this:

Date: Thu, 21 Dec 2006 19:16:34 +0800

Seems that the problem is, Thunderbird didn't recognize a Date line with a 3-letter timezone description(the "PST" in this example), so it use the date retrieved instead.

As most of mail clients (even Gmail itself) didn't add this timezone description in the Date line while sending a mail, I guess it's Gmail's fault to add it into the chat logs and invitation responses to make it unstandard? Anyone can tell me what's the definition in the RFC?



tags: , , , ,

16:54:37 by fishy - General - Permanent Link

Revision: 1.1/1.1, last modified on 2007-11-25 @ 16:27.

Karma: -3 (48.39% out of 93 were positive) [+/-]

You can subscribe to RSS 2.0 feed for comments and trackbacks

Trackbacks:
소리의 블로그
구글의 동문서답: 며칠 전 코리아 팔콤 게시판을 둘러 보다 Gmail의 IMAP 지원을 언급한 아리시아님의 글을 읽게 되었다. 그때까지 나는 Gmail이 IMAP을 지원하지 않는 것으로 알고 있었기 때문에 관심을 가지고 글을 살폈지만 구글이 IMAP의 지원을 시작했는지는 알 수 없었다. 그래도 혹시나 하는 생각에 Gmail의 설정란에 들어가 봤는데 아니나 다를까 IMAP을 사용할 수 있도록 하는 옵션이 추가되어 있었다. 평소에 POP에 불만이 많아서 오래동안 IMAP..
2008-01- 2 @ 08:07
Use this TrackBack url to ping this item (right-click, copy link target). If your blog does not support Trackbacks you can manually add your trackback by using this form.

atppp

atppp wrote:

rfc 2822? I think gmail has problem here. Date: Fri, 1 Dec 2006 05:35:25 -0800 (PST) isn't in rfc format. But on the other hand, thunderbird is too picky too!

Sunday, October 28, 2007 00:11:11

Add Comment

 

May the Force be with you. RAmen