# Email test area should warn if emails are disabled

**URL:** https://meta.discourse.org/t/email-test-area-should-warn-if-emails-are-disabled/95269
**Category:** Feature
**Created:** [21.Август.2018 10:19:29 UTC](https://meta.discourse.org/t/email-test-area-should-warn-if-emails-are-disabled/95269 "2018-08-21T10:19:29Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [21.Август.2018 10:19:29 UTC](https://meta.discourse.org/t/email-test-area-should-warn-if-emails-are-disabled/95269/1 "2018-08-21T10:19:29Z")

</div>

The admin (emails) area shows sent though email never leaves the discourse server in case the emails are disabled on a discourse instance.  
This caused me to rebuild multiple times today during the email testing as everything was working and even discourse-doctor wasn’t able to locate the issue (probably because it does not checks the settings)  
a simple warning “emails are disabled” instead of “sent” should be really helpful when emails are disabled and an admin is sending test emails.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [21.Август.2018 14:44:26 UTC](https://meta.discourse.org/t/email-test-area-should-warn-if-emails-are-disabled/95269/2 "2018-08-21T14:44:26Z")

</div>

There is a banner that says mail is disabled, isn’t there?

I’ve experienced the same problem, though. More than once.

I should add a test to discourse-doctor that checks if mail is disabled.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [21.Август.2018 14:45:45 UTC](https://meta.discourse.org/t/email-test-area-should-warn-if-emails-are-disabled/95269/3 "2018-08-21T14:45:45Z")

</div>

The setting I was working with had emails disabled for all excerpt staff and hence, no banner because I was using an admin account!

---

<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: [22.Август.2018 00:13:06 UTC](https://meta.discourse.org/t/email-test-area-should-warn-if-emails-are-disabled/95269/4 "2018-08-22T00:13:06Z")

</div>

Hmm I think some redundancy would be good here just in case, perhaps @nbianca can take this?

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [12.Сентябрь.2018 18:40:26 UTC](https://meta.discourse.org/t/email-test-area-should-warn-if-emails-are-disabled/95269/6 "2018-09-12T18:40:26Z")

</div>

Fixed by

[https://github.com/discourse/discourse/pull/6308](https://github.com/discourse/discourse/pull/6308)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [13.Сентябрь.2018 10:26:08 UTC](https://meta.discourse.org/t/email-test-area-should-warn-if-emails-are-disabled/95269/7 "2018-09-13T10:26:08Z")

</div>


