# 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:** 1

<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:** [September 30, 2018, 6:06pm UTC](https://meta.discourse.org/t/not-able-to-send-email-net-readtimeout/98419/1 "2018-09-30T18:06:12Z")

</div>

I installed discourse behind nginx according [this post](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247). Also I have SSL certificate installed by certboot  
Registration activation email is not sending and when I run ./discourse-doctor on email sending step I get  
Net::ReadTimeout

However, **everything is OK with curl**. I send message on the same port (465) and receive message.  
My settings are:

```plaintext
- "templates/web.socketed.template.yml"
  DISCOURSE_SMTP_ADDRESS: smtp.yandex.ru
  DISCOURSE_SMTP_PORT: 465
  DISCOURSE_SMTP_USER_NAME: _name_
  DISCOURSE_SMTP_PASSWORD: _pass_
  DISCOURSE_SMTP_ENABLE_START_TLS: true

```

---

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