Email notifications arrive in incorrect sequence

Reproduce:

  1. Ensure email notifications are on for User A for a given topic, such that User A receives an email notification for every reply to that topic. (Or, every post in a category.)
  2. Have User B reply to the topic.
  3. Immediately after (1-2 minutes, or within the editing window established), have User C reply to the same topic.

Expected results:

  • Email notification from User B arrives before the notification from User C.

Actual results:

  • Email notification from User C may arrive before the notification from User B.

Email delivery is generally not guaranteed to preserve submission order. This is an inherent property of SMTP and not something Discourse could influence.

Check the timestamps on the two emails; the Date header should show when the emails were submitted, Delivery-date when they were delivered to the receiving user’s mailbox.

3 Likes