# Discourse Email does not work after fresh installation (Zoho SMTP server)

**URL:** <https://meta.discourse.org/t/discourse-email-does-not-work-after-fresh-installation-zoho-smtp-server/95068>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [August 18, 2018, 8:40pm UTC](https://meta.discourse.org/t/discourse-email-does-not-work-after-fresh-installation-zoho-smtp-server/95068 "2018-08-18T20:40:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![permacultureProgram](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/permacultureprogram/32/108924_2.png) [@permacultureProgram](https://meta.discourse.org/u/permacultureProgram)\
**Post date:** [August 18, 2018, 8:40pm UTC](https://meta.discourse.org/t/discourse-email-does-not-work-after-fresh-installation-zoho-smtp-server/95068/1 "2018-08-18T20:40:48Z")

</div>

After a fresh install of Discourse on a new Ramnode server following [these instructions](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md), I am trying to configure the email to interact properly with a Zoho email client. So far, I have not been able to send any emails using Discourse. I’ve already checked out this page: [https://meta.discourse.org/t/cannot-get-email-to-send-using-zoho-mail/45554/4](https://meta.discourse.org/t/cannot-get-email-to-send-using-zoho-mail/45554/4).

When I test my smtp server using swaks, an email is sent properly:

`swaks --to me@example.com --from do-not-reply@sfhepbfree-bayarea.org --server smtp.zoho.com --auth LOGIN --auth-user do-not-reply@sfhepbfree-bayarea.org -tls -p 587`.

This leads me to believe there is an issue with Discourse. Using the following settings:

` DISCOURSE_SMTP_ADDRESS: smtp.zoho.com DISCOURSE_SMTP_PORT: 587 DISCOURSE_SMTP_AUTHENTICATION: "login" DISCOURSE_SMTP_USER_NAME: do-not-reply@sfhepbfree-bayarea.org DISCOURSE_SMTP_PASSWORD: "..." DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)`

I have received the following error:

`530 Must issue a STARTTLS command first.`

What settings are possible for the `DISCOURSE_SMTP_` variables? Why would email work with swaks but not through Discourse?

---

_[View the full topic](https://meta.discourse.org/t/discourse-email-does-not-work-after-fresh-installation-zoho-smtp-server/95068)._
