I would like to run Discourse, but for whatever reason I can’t get the mail server working. I have tried using google and dreamhost as mail servers, but neither work. Is there an easy solution to this?
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!
Discourse sends email verification, so you need to set up a mail server to send mail from. I followed the troubleshooting guide with no success. I can’t include the link (reports it as spam) but I’ve copied some of it below:
Did you enter email settings correctly? Double check your app.yml:
Did you fill in the SMTP address, SMTP username, and SMTP password fields correctly, as specified by your mail provider?
Make sure you copy and paste the mail provider password – do not type it in manually.
Does the value for DISCOURSE_DEVELOPER_EMAILS correctly have one set of single quotes around it ‘like this’?
Are the values aligned with the correct indentation for the email section? YML files are alignment sensitive. Even one extra space at the beginning of a line will cause problems.
Did you remove the YML comment marker # in front of the lines?
A valid app.yml email section looks like this:
DISCOURSE_DEVELOPER_EMAILS: 'name@example.com'
DISCOURSE_SMTP_ADDRESS: smtp.mandrillapp.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: name@example.com
DISCOURSE_SMTP_PASSWORD: aUd34cdWKCu6CTjfoH7ykk
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.