# Discourse SMTP not receiving mails?

**URL:** https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143
**Category:** Self-hosting
**Created:** [August 26, 2020, 3:30pm UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143 "2020-08-26T15:30:10Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![ViruzDevil](https://avatars.discourse-cdn.com/v4/letter/v/8797f3/32.png) [@ViruzDevil](https://meta.discourse.org/u/ViruzDevil)
#### Post date: [August 26, 2020, 3:30pm UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143/1 "2020-08-26T15:30:10Z")

</div>

Hello folks 2 days of trying and configuring mail on my forum always failed 😔

so i come here, my problem is my test mail is sent but not receiving how to fix?

 ![DeepinScreenshot_select-area_20200826205224](https://global.discourse-cdn.com/meta/original/3X/b/9/b93dc6605de2bd6e5c61c603b01934b6d74b6817.png)  
waited 8 hours did not received mail ☹

help me guys…

---

<div class="post-metadata">

### Author: ![ViruzDevil](https://avatars.discourse-cdn.com/v4/letter/v/8797f3/32.png) [@ViruzDevil](https://meta.discourse.org/u/ViruzDevil)
#### Post date: [August 26, 2020, 3:42pm UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143/2 "2020-08-26T15:42:27Z")

</div>

Thread Update

 ![DeepinScreenshot_select-area_20200826211148](https://global.discourse-cdn.com/meta/original/3X/a/3/a36eba9d16bebe50a15c7dac382464d6ce1993d0.png)  
My SMTP configuration **app.yml**

---

<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: [August 26, 2020, 4:11pm UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143/3 "2020-08-26T16:11:16Z")

</div>

Please document which things in [Troubleshooting email on a new Discourse install](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326) you have done.

The most common problem is that you have configured mailgun for `tecridible.com` and your forum is sending as `noreply@discourse.tecridible.com`. You can edit the commented-out line at the end of your app.yml and change it, or re-configure mailgun.

---

<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: [August 26, 2020, 4:14pm UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143/4 "2020-08-26T16:14:05Z")

</div>

Another suspect could be the disabled start tls. 587 needs start tls if I’m not mistaken.

---

<div class="post-metadata">

### Author: ![ViruzDevil](https://avatars.discourse-cdn.com/v4/letter/v/8797f3/32.png) [@ViruzDevil](https://meta.discourse.org/u/ViruzDevil)
#### Post date: [August 26, 2020, 4:38pm UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143/5 "2020-08-26T16:38:11Z")

</div>

hello @pfaffman thanks for your replay i did not use mailgun i am using **mailhostbox**

Edit: own mail server provided by domain

---

<div class="post-metadata">

### Author: ![ViruzDevil](https://avatars.discourse-cdn.com/v4/letter/v/8797f3/32.png) [@ViruzDevil](https://meta.discourse.org/u/ViruzDevil)
#### Post date: [August 26, 2020, 4:49pm UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143/6 "2020-08-26T16:49:15Z")

</div>

@itsbhanusharma thanks for your replay i changed to **true** now iam facing this error ☹

 ![DeepinScreenshot_select-area_20200826221831](https://global.discourse-cdn.com/meta/original/3X/5/4/54011a757bda97323e574ead0b437ba7c4aaf81e.png)

---

<div class="post-metadata">

### Author: ![ViruzDevil](https://avatars.discourse-cdn.com/v4/letter/v/8797f3/32.png) [@ViruzDevil](https://meta.discourse.org/u/ViruzDevil)
#### Post date: [August 26, 2020, 4:56pm UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143/7 "2020-08-26T16:56:52Z")

</div>

> @pfaffman **You can edit the commented-out line at the end of your app.yml and change it**

already changed brother ![DeepinScreenshot_select-area_20200826222509](https://global.discourse-cdn.com/meta/original/3X/d/f/dff1f1d6b89f0df1b4061b103e8716da0c75cb18.png)

---

<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: [August 26, 2020, 6:21pm UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143/8 "2020-08-26T18:21:29Z")

</div>

Try checking if your mail server can actually be reached from your Discourse server. Easiest way to do that would be to run `./discourse-doctor`

NB: what happens if you remove the smtp authentication string from the configuration and rebuild?

---

<div class="post-metadata">

### Author: ![ViruzDevil](https://avatars.discourse-cdn.com/v4/letter/v/8797f3/32.png) [@ViruzDevil](https://meta.discourse.org/u/ViruzDevil)
#### Post date: [August 27, 2020, 6:14am UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143/9 "2020-08-27T06:14:06Z")

</div>

hey @itsbhanusharma i run `./discourse-doctor`

and successfully got the test mail 😍

thank you now i got the test mail in gmail also 😍

sorry i can’t attach the screenshot because **New users can’t embed** any way thanks

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 26, 2020, 6:22am UTC](https://meta.discourse.org/t/discourse-smtp-not-receiving-mails/162143/10 "2020-09-26T06:22:50Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
