# Email notifications arrive in incorrect sequence

**URL:** <https://meta.discourse.org/t/email-notifications-arrive-in-incorrect-sequence/27779>\
**Category:** Bug\
**Tags:** email\
**Created:** [2015年四月20日 19:53 UTC](https://meta.discourse.org/t/email-notifications-arrive-in-incorrect-sequence/27779 "2015-04-20T19:53:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)\
**Post date:** [2015年四月20日 19:53 UTC](https://meta.discourse.org/t/email-notifications-arrive-in-incorrect-sequence/27779/1 "2015-04-20T19:53:50Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![elberet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elberet/32/122404_2.png) [@elberet](https://meta.discourse.org/u/elberet)\
**Post date:** [2015年四月20日 20:27 UTC](https://meta.discourse.org/t/email-notifications-arrive-in-incorrect-sequence/27779/2 "2015-04-20T20:27:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2015年六月4日 02:41 UTC](https://meta.discourse.org/t/email-notifications-arrive-in-incorrect-sequence/27779/3 "2015-06-04T02:41:20Z")

</div>


