# Not able to send email Net::ReadTimeout

**URL:** <https://meta.discourse.org/t/not-able-to-send-email-net-readtimeout/98419>\
**Category:** Self-hosting\
**Created:** [September 30, 2018, 6:06pm UTC](https://meta.discourse.org/t/not-able-to-send-email-net-readtimeout/98419 "2018-09-30T18:06:12Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![acinonyxjubatus](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@acinonyxjubatus](https://meta.discourse.org/u/acinonyxjubatus)\
**Post date:** [March 3, 2019, 7:32pm UTC](https://meta.discourse.org/t/not-able-to-send-email-net-readtimeout/98419/15 "2019-03-03T19:32:30Z")

</div>

Looks like Yandex blocks and/or delays emails or maybe Discourse works good only with Mailgun. After days of struggling I gave up and switched to mailgun and letsencrypt with this settings:

```
  - "templates/web.ssl.template.yml"
  - "templates/web.letsencrypt.ssl.template.yml"
...
expose:
  - "80:80" # http
  - "443:443" # https
...
  DISCOURSE_SMTP_ADDRESS: smtp.mailgun.org
  DISCOURSE_SMTP_PORT: 587

```

Good luck!

---

_[View the full topic](https://meta.discourse.org/t/not-able-to-send-email-net-readtimeout/98419)._
