Report this

What is the reason for this report?

How do I setup SMTP on a Discourse Droplet ?

Posted on June 21, 2016

Just installed the Discourse droplet, changed the root password, and followed the prompts. I was asked for SMTP information and thought it was as simple as using the default, adding my email address, and be done with it. However, emails are not being sent.

Is there another step that I missed?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi, I’m also having difficulty getting the registration email to work for the admin account.

I’m using Zoho as my email provider. I have successfully configured DKIM and SPF. The production.log file shows this where the email address is a valid address.

Sent mail to testemailaddress@mydomain.net (1449.1ms) Job exception: end of file reached

Any suggestions? I read through the questions and answers in https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326 without luck. Here is a snippet of app.yml.

DISCOURSE_DEVELOPER_EMAILS: 'testemailaddress@mydomain.net'

## TODO: The SMTP mail server used to validate new accounts and send notifications
DISCOURSE_SMTP_ADDRESS: smtp.zoho.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: testemailaddress@mydomain.net
DISCOURSE_SMTP_PASSWORD: "longpasswordforaboveusername"
#DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)

This comment has been deleted

I have the same question as the original poster. And, if I may say so, I feel that Andrews does not answer the question.

I am quite happy to have you handle my mail server but at the first SSH sign-in I was asked for my SMTP settings and I think I may have given the wrong port.

How can I change the SMPT port now?

Thank you and

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.