# Auto-reply only triggering once

**URL:** https://meta.discourse.org/t/auto-reply-only-triggering-once/73562
**Category:** Support
**Created:** [November 7, 2017, 1:24am UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562 "2017-11-07T01:24:25Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 1:24am UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/1 "2017-11-07T01:24:25Z")

</div>

I have enabled email submissions and replies on our installation. Everything works beautiful minus one thing.

We only allow submissions from registered users, the bounceback to unregistered users works perfectly the first time.

However say the user forgets they did not register after the first auto-reply and they send another email, they do not seem to be getting the auto-reply on the second time. Is this by design? Is there any way that I can easily allow the emails to be sent on subsequent attempts?

#### Example:

Jane submits a request via [contact@ourdomain.com](mailto:contact@ourdomain.com) however Jane is not registered  
  |\_\_  
   Jane receives an auto-reply advising her she must register first  
   |\_\_  
    Jane forgets to sign up and tries again a day later  
     |\_\_  
      ?? This should auto reply as well ??

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 7, 2017, 2:02am UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/2 "2017-11-07T02:02:05Z")

</div>

Has a staged user been created for the first round?

I vaguely remember a bug like this which was fixed. Are you on latest?

---

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 3:16am UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/3 "2017-11-07T03:16:46Z")

</div>

@schungx

Ah I think that did it.

Thank you

---

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 3:34am UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/4 "2017-11-07T03:34:17Z")

</div>

@schungx

So that partially resolved the issue however it still does not appear that the subsequent messages are going through.

I now see the rejecting under /admin/email/rejected and it does show the rejection email in the small dialog however  
no email is seen under /admin/email/sent adnd no email is ever received.

Any idea?

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 7, 2017, 5:39am UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/5 "2017-11-07T05:39:16Z")

</div>

You on latest version?

Is there a staged user? If so, delete it and try again. If the email does go thru then that’s the issue.

Does your site require approvals for new users? If so, there used to be a bug preventing emails to unapproved staged users, also fixed.

Bottom line, latest version first.

---

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 1:50pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/6 "2017-11-07T13:50:06Z")

</div>

@schungx

Yes I am on the latest version: **v1.9.0.beta14 +94**

The user was initially staged so I removed and retested again, no staged user was created this time it appears and the email went out on the first try however I sent a secondary email and it did not go out.

You do see the verbage where it is being rejected and it does say that it sent an email however no email is going out.

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 7, 2017, 2:52pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/7 "2017-11-07T14:52:49Z")

</div>

That’s why. The first time the email went out, and the user was stage. The second time it didn’t go out.

Then you removed the user. Then the next time it went out, and the user was staged once again. Then the next time it didn’t go out. It is the same pattern.

Check your user. It is probably staged again.

Therefore your question is: Should the reminder emails be sent to staged users?

---

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 2:53pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/8 "2017-11-07T14:53:50Z")

</div>

@schungx

Does this still hold true if I have disabled staged users via the Enable Staged User site setting?

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 7, 2017, 2:55pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/9 "2017-11-07T14:55:38Z")

</div>

Not sure. You can try. However, I’m not sure if `enable staged user` is turned off it will still accept emails in.

Remember: You still need to manually delete all your staged users even after turning off the setting.

---

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 2:56pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/10 "2017-11-07T14:56:44Z")

</div>

I did try to delete the user manually however no users were found for the email so I could not delete anything further.  
I have got to be missing something.

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 7, 2017, 2:59pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/11 "2017-11-07T14:59:07Z")

</div>

Just clean everything, setup a temp email address on Gmail or something and then test it yourself. Turn off `staged users` first.

---

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 3:53pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/12 "2017-11-07T15:53:39Z")

</div>

@schungx

Same results 😑

No staged user is created this can be confirmed.  
The first email goes out but any repeat ones do not. It shows as received and rejected but no sent goes out.

At this point I have to imagine this is by design?

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 7, 2017, 4:04pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/13 "2017-11-07T16:04:41Z")

</div>

It shouldn’t… If no staged user is created, the system doesn’t know that this user has sent an email before. So this behavior is very strange.

---

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 4:06pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/14 "2017-11-07T16:06:23Z")

</div>

I can confirm this is in fact happening. No subsequent emails are sent.

I even confirm by checking if anything for that email exists just to be certain and I get Nil everytime.

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 7, 2017, 4:08pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/15 "2017-11-07T16:08:20Z")

</div>

Did the email the user sent in (first time) appear as a post inside a topic? If so, which user is it attached to?

---

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 4:09pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/16 "2017-11-07T16:09:52Z")

</div>

It does not show in any way. The only reference that the email was received is:

 ![result](https://global.discourse-cdn.com/meta/original/3X/8/c/8c46c6281b018d574f3553625cb0fc93e8e35fdc.png)

Under /admin/email/rejected

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 7, 2017, 4:11pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/17 "2017-11-07T16:11:24Z")

</div>

But this show only one email. Where is the second one for your test?

---

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 4:17pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/18 "2017-11-07T16:17:26Z")

</div>

Sorry here you are, it was below it however I just sent another one to have a fresh one.

![results](https://global.discourse-cdn.com/meta/optimized/3X/6/f/6f0d620c4469942db48975ad391ebf8f2be28c7f_2_690x56.png)

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [November 7, 2017, 4:19pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/19 "2017-11-07T16:19:14Z")

</div>

Try waiting some time before sending the second email. Say 15 min. Or half an hour.

You may be hitting the in-built throttling limit for the same email address. I vaguely remember there is some similar email protection in Discourse, but can’t quite remember.

---

<div class="post-metadata">

### Author: ![jordan1909](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jordan1909](https://meta.discourse.org/u/jordan1909)
#### Post date: [November 7, 2017, 4:21pm UTC](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562/20 "2017-11-07T16:21:02Z")

</div>

Got it. I’ll give it an hour or two and I’ll report back.

[Next page](https://meta.discourse.org/t/auto-reply-only-triggering-once/73562.md?page=2)
