Trouble setting up smtp

I just did a clean install on Digital Ocean but I can’t seem to get my SMTP configured correctly. Using curl I was able to send a mail.

I tried adding DISCOURSE_SMTP_AUTHENTICATION: login and exec: rails r “SiteSetting.notification_email=‘’”. Both didn’t work

1 Like

@Brecht_Vermeersch, can you be more specific with your issue?

  • Logs if there is an error ocurring
  • What is going wrong - The registration email not sending? The SiteSetting.notification_email not being used?
  • What have you tried in the troubleshooting steps? Troubleshooting email on a new Discourse install

The registration email is not sending. The discourse_doctor says: This is not a common error. No recommended solution exists!

1 Like

Hey @Brecht_Vermeersch

Does “” specify that you must use “login” in the config?

From your config:


I did a quick google search and could not find any SMTP setup instructions for, but I tried :slight_smile: