Hey everyone,
This is a bug in the iOS Mail app.
If the IMAP server returns an INTERNALDATE in this format:
👉 "12 Aug 2024 12:04:03 +0800"
the Mail app fails to connect to the server.
However, if the IMAP server returns the INTERNALDATE in this format:
👉 "12-Aug-2024 12:04:03 +0800"
the issue magically disappears, and everything works fine.
So, what’s next? Either Apple fixes this bug, or mail server software vendors will have to adjust their IMAP response specifically for the iOS Mail app.
For example, the mail server software I use (EvoMailServer) has an option in the user account settings to change the IMAP compatibility mode, and enabling it resolved the issue.
Why isn’t this a bug in the mail server?
Well, if the Mail app couldn't read the date properly, it should report an error related to the date format. But instead, it throws an error message about a completely unrelated issue. That’s why this is clearly a bug in the iOS Mail app, not the mail server.