[GH-ISSUE #378] Date vs arrival: A little confusing and perhaps a bug when moving messages #319

Closed
opened 2026-02-25 21:34:44 +03:00 by kerem · 10 comments
Owner

Originally created by @marclaporte on GitHub (Feb 24, 2020).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/378

Originally assigned to: @jasonmunro on GitHub.

A few things:

2020-02-23_235650

When viewing one message, and in the message list, we can see the sent date, but not the arrival date. I wonder if we should add as an option?
2020-02-24_000427

I moved messages from one IMAP account to another (via Cypht): I didn't expect this to change any dates, but the arrival date seems to have changed. On one hand, it makes sense because I did move the emails. But it was not received on the date I moved... This is an edge case... What do you think?

Thanks!

Marc

Originally created by @marclaporte on GitHub (Feb 24, 2020). Original GitHub issue: https://github.com/cypht-org/cypht/issues/378 Originally assigned to: @jasonmunro on GitHub. A few things: ![2020-02-23_235650](https://user-images.githubusercontent.com/1004261/75129727-65bb1a80-5698-11ea-9644-e208dce39513.png) When viewing one message, and in the message list, we can see the sent date, but not the arrival date. I wonder if we should add as an option? ![2020-02-24_000427](https://user-images.githubusercontent.com/1004261/75129899-70c27a80-5699-11ea-98e7-aa7e13620aba.png) I moved messages from one IMAP account to another (via Cypht): I didn't expect this to change any dates, but the arrival date seems to have changed. On one hand, it makes sense because I did move the emails. But it was not received on the date I moved... This is an edge case... What do you think? Thanks! Marc
kerem 2026-02-25 21:34:44 +03:00
Author
Owner

@jasonmunro commented on GitHub (Mar 2, 2020):

Good point. It is a bit of an edge case, but maybe date makes more sense. I settled on arrival a long time ago over the date header, but I'm not sure the reasoning from 15 years ago still applies.

<!-- gh-comment-id:593619808 --> @jasonmunro commented on GitHub (Mar 2, 2020): Good point. It is a bit of an edge case, but maybe date makes more sense. I settled on arrival a long time ago over the date header, but I'm not sure the reasoning from 15 years ago still applies.
Author
Owner

@dumblob commented on GitHub (Mar 3, 2020):

My preference would be to support either both or at least change Date to Arrival date 😉.

<!-- gh-comment-id:593848939 --> @dumblob commented on GitHub (Mar 3, 2020): My preference would be to support either both or at least change `Date` to `Arrival date` :wink:.
Author
Owner

@marclaporte commented on GitHub (Mar 13, 2020):

2020-03-13_140012

<!-- gh-comment-id:598847617 --> @marclaporte commented on GitHub (Mar 13, 2020): ![2020-03-13_140012](https://user-images.githubusercontent.com/1004261/76647571-717d5c80-6533-11ea-83f7-5712208db6d7.png)
Author
Owner

@marclaporte commented on GitHub (Mar 13, 2020):

Indicating "arrival date" vs "sent date" is an easy thing to fix, and we'll do it.

My other topic is that when I move the email from one account to another, the data of one of the dates changes. Is this a bug or a feature?

Thanks!

<!-- gh-comment-id:598849512 --> @marclaporte commented on GitHub (Mar 13, 2020): Indicating "arrival date" vs "sent date" is an easy thing to fix, and we'll do it. My other topic is that when I move the email from one account to another, the data of one of the dates changes. Is this a bug or a feature? Thanks!
Author
Owner

@Yamakasi commented on GitHub (Apr 22, 2020):

This is seriously a legal thing that needs to be overthought a couple of times.

Sent or Arrival date can be much earlier when you use mailrelays which are spooling for a a while because some other relay of the IMAP server is not available.

If someone asks for a delivery notice things can go terrible wrong, it's also how you setup your whole mailcluster so I think Date is the most safe one to use.

<!-- gh-comment-id:617678226 --> @Yamakasi commented on GitHub (Apr 22, 2020): This is seriously a legal thing that needs to be overthought a couple of times. Sent or Arrival date can be much earlier when you use mailrelays which are spooling for a a while because some other relay of the IMAP server is not available. If someone asks for a delivery notice things can go terrible wrong, it's also how you setup your whole mailcluster so I think Date is the most safe one to use.
Author
Owner

@jasonmunro commented on GitHub (May 5, 2020):

@marclaporte the arrival date is managed by the IMAP server, so moving the message from one account to another resets it. It is not a part of the real E-mail headers per say.

@Yamakasi I think originally, a LONG time ago, I chose arrival date instead of the sent date because it was a performance boost for IMAP servers at the time, and was usually very similar. We should probably switch to the date header.

<!-- gh-comment-id:624283227 --> @jasonmunro commented on GitHub (May 5, 2020): @marclaporte the arrival date is managed by the IMAP server, so moving the message from one account to another resets it. It is not a part of the real E-mail headers per say. @Yamakasi I think originally, a LONG time ago, I chose arrival date instead of the sent date because it was a performance boost for IMAP servers at the time, and was usually very similar. We should probably switch to the date header.
Author
Owner

@marclaporte commented on GitHub (May 6, 2020):

@jasonmunro yes, let's please use sent date by default.

<!-- gh-comment-id:624431904 --> @marclaporte commented on GitHub (May 6, 2020): @jasonmunro yes, let's please use sent date by default.
Author
Owner

@kroky commented on GitHub (Jul 31, 2020):

Please check PR #418 . Marc, the arrival date has been added as part of the extended headers. Not sure we want to spam short headers with one more date field.

<!-- gh-comment-id:667152221 --> @kroky commented on GitHub (Jul 31, 2020): Please check PR #418 . Marc, the arrival date has been added as part of the extended headers. Not sure we want to spam short headers with one more date field.
Author
Owner

@marclaporte commented on GitHub (Jul 31, 2020):

Indeed, short header should how just one date (sent date)

<!-- gh-comment-id:667247000 --> @marclaporte commented on GitHub (Jul 31, 2020): Indeed, short header should how just one date (sent date)
Author
Owner

@marclaporte commented on GitHub (Oct 29, 2020):

The default is now "sent date".

<!-- gh-comment-id:718284520 --> @marclaporte commented on GitHub (Oct 29, 2020): The default is now "sent date".
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#319
No description provided.