# Discourse 未发送邮件

**URL:** https://meta.discourse.org/t/discourse-not-sending-emails/113776
**Category:** Support
**Tags:** unsupported-install
**Created:** [2019年四月8日 17:15 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776 "2019-04-08T17:15:20Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![saboor73](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saboor73/32/137761_2.png) [@saboor73](https://meta.discourse.org/u/saboor73)
#### Post date: [2019年四月8日 17:15 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/1 "2019-04-08T17:15:20Z")

</div>

Discourse not sending Emails tried everything some times it works sometimes it doesnt losing traffic on my site because of this might just end up shifting to wordpress bb press

---

<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: [2019年四月8日 17:18 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/2 "2019-04-08T17:18:10Z")

</div>

Did you check [Troubleshoot email on a new Discourse install - #2](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326/2)?

---

<div class="post-metadata">

### Author: ![saboor73](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saboor73/32/137761_2.png) [@saboor73](https://meta.discourse.org/u/saboor73)
#### Post date: [2019年四月8日 17:19 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/3 "2019-04-08T17:19:06Z")

</div>

yes tried everything suggested there

---

<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: [2019年四月8日 17:24 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/4 "2019-04-08T17:24:10Z")

</div>

Well, without telling us anything that you’ve done and what the results were then there is nothing that we can do. The problem is almost certainly with your mail delivery service, and not discourse, so you’ll likely have the same results with any platform.

You send to [mail-tester.com](http://mail-tester.com) and get a 10/10 rating?

---

<div class="post-metadata">

### Author: ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)
#### Post date: [2019年四月8日 17:24 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/5 "2019-04-08T17:24:55Z")

</div>

You need to show:

> What do the Discourse logs say?

and

> What do your email provider logs say?

---

<div class="post-metadata">

### Author: ![saboor73](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saboor73/32/137761_2.png) [@saboor73](https://meta.discourse.org/u/saboor73)
#### Post date: [2019年四月8日 19:39 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/6 "2019-04-08T19:39:33Z")

</div>

No, I did not get 10/10 perfect rating, but I got 8.2/10 almost perfect rating as you can see in the screenshot below.

 ![49%20AM](https://global.discourse-cdn.com/meta/original/3X/5/0/500cc8de1401cdd9310dc0d83a995786c0cdc829.jpeg)

However, this is not the problem. The problem is emails are not even reaching to the email provider platform as evident on its logs. This problem vanishes when I send the restart command to our server and returns again within a time span of 4-6 hours, so the only viable solution we have found is to restart our server 2-3 times in a day which is highly unfeasible for us.

---

<div class="post-metadata">

### Author: ![saboor73](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saboor73/32/137761_2.png) [@saboor73](https://meta.discourse.org/u/saboor73)
#### Post date: [2019年四月8日 19:40 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/7 "2019-04-08T19:40:07Z")

</div>

Today, When I login to admin panel, I received this error message, perhaps it may shed some light to you.

 ![56%20AM](https://global.discourse-cdn.com/meta/original/3X/e/5/e5189108c515b74afd1e09f53c4b1232dcd49945.png)

Now you need to guide us why this important service of Discourse i.e sidekiq hangs every 4-6 hours and what steps we can take to troubleshoot it?

Thanks

---

<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: [2019年四月8日 21:24 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/8 "2019-04-08T21:24:51Z")

</div>

Ah. Then sidekiq is the problem, nothing to do with mail.

How did you install Discourse? How much ram do you have? How much swap?

---

<div class="post-metadata">

### Author: ![saboor73](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saboor73/32/137761_2.png) [@saboor73](https://meta.discourse.org/u/saboor73)
#### Post date: [2019年四月9日 04:19 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/9 "2019-04-09T04:19:26Z")

</div>

I made an account on [bitnami.com](http://bitnami.com) and then linked my google cloud servers login to that account. and from the Bitnami panel, I used their stack to install discourse on my server.

The configuration of my current server is as follows.  
1 VCPU, 1.7 GB RAM, 10 GB SSD.  
No idea about swap memory.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2019年四月9日 04:38 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/10 "2019-04-09T04:38:44Z")

</div>

If you’re using a bitnami installation package we can’t assist you. Those installation packages are created by a third party and are completely unsupportable here. You’re going to need to ask Bitnami for assistance if you want to use their packages and you will continue to run the risk of such issues arising again in the future.

My recommendation would be to follow the [standard installation guide](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) and restore a backup of your site. Any sidekiq issues are likely to be resolved in the process.

---

<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: [2022年六月24日 10:26 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/11 "2022-06-24T10:26:19Z")

</div>



---

<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: [2022年六月24日 12:11 UTC](https://meta.discourse.org/t/discourse-not-sending-emails/113776/12 "2022-06-24T12:11:52Z")

</div>


