View Single Post
Old 14 Jul 2023, 03:00 AM   #8
BritTim
The "e" in e-mail
 
Join Date: May 2003
Location: mostly in Thailand
Posts: 3,095
Quote:
Originally Posted by chrisjj View Post
Sure, but I can't see how any of that relates to this issue. After = after.
You ask me when I sent you an email. You search for it using the date I give you. Assuming you do not know what time zone I am in (or was in at the time I sent the message) what date do you specify in your search? Are you upset when you fail to find the message using the date I provided to you?

If you are the person sending, receiving and searching for the email, everything is simple (as long as JMAP and Fastmail are aware of that). In the general case, the most important thing is to know what the search actually does (which the current documentation does not tell you).

NOTE: Actually, the behaviour of JMAP after is (inadequately) documented in https://jmap.io/spec-mail.html#emailquery
Quote:
after: UTCDate The receivedAt date-time of the Email must be the same or after this date-time to match the condition.
Obviously, time defaults to 00:00.

Last edited by BritTim : 14 Jul 2023 at 03:09 AM.
BritTim is offline   Reply With Quote