# Net::ReadTimeout when sending email after install

**URL:** <https://meta.discourse.org/t/net-readtimeout-when-sending-email-after-install/56856>\
**Category:** Self-hosting\
**Created:** [3 Febbraio 2017, 10:23am UTC](https://meta.discourse.org/t/net-readtimeout-when-sending-email-after-install/56856 "2017-02-03T10:23:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![gpson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gpson/32/120877_2.png) [@gpson](https://meta.discourse.org/u/gpson)\
**Post date:** [3 Febbraio 2017, 2:17pm UTC](https://meta.discourse.org/t/net-readtimeout-when-sending-email-after-install/56856/3 "2017-02-03T14:17:38Z")

</div>

It is working with these parameters (PORT - 587, AUTHENTICATION - “login”):

```plaintext
  ## TODO: The SMTP mail server used to validate new accounts and send notifications
  DISCOURSE_SMTP_ADDRESS: pap.serveriai.lt
  DISCOURSE_SMTP_PORT: 587
  DISCOURSE_SMTP_USER_NAME: robo@magved.lt
  DISCOURSE_SMTP_PASSWORD: topsecret
  DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
  DISCOURSE_SMTP_AUTHENTICATION: "login"
  DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none

```

Email provider gave wrong port and authentication parameters.

---

_[View the full topic](https://meta.discourse.org/t/net-readtimeout-when-sending-email-after-install/56856)._
