# Mail-in-a-Box email

**URL:** <https://meta.discourse.org/t/mail-in-a-box-email/63443>\
**Category:** Self-hosting\
**Created:** [26 במאי,‏ 2017,‏ 4:18pm UTC](https://meta.discourse.org/t/mail-in-a-box-email/63443 "2017-05-26T16:18:23Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)\
**Post date:** [17 באוקטובר,‏ 2021,‏ 10:06am UTC](https://meta.discourse.org/t/mail-in-a-box-email/63443/16 "2021-10-17T10:06:10Z")

</div>

Sharing my latest working Discourse SMTP configuration for mail-in-a-box since I had to install a new Discourse instance:

```plaintext
  DISCOURSE_SMTP_ADDRESS: my.smtp.domain.com
  DISCOURSE_SMTP_PORT: 587
  DISCOURSE_SMTP_USER_NAME: mailer@mydomain.com
  DISCOURSE_SMTP_PASSWORD: mypassword
  DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
  DISCOURSE_SMTP_DOMAIN: mydomain.com
  DISCOURSE_SMTP_AUTHENTICATION: "plain"
  DISCOURSE_NOTIFICATION_EMAIL: mailer@mydomain.com
  DISCOURSE_SMTP_OPENSSL_VERIFY_MODE: none

```

---

_[View the full topic](https://meta.discourse.org/t/mail-in-a-box-email/63443)._
