I have installed Discourse on a standalone server and use Titan Email as my email provider.
I have spend all day searching the community and tried every varitation I can think of with the settings but emails still won’t send.
These are my settings.
## TODO: The SMTP mail server used to validate new accounts and send notifications
# SMTP ADDRESS, username, and password are required
# WARNING the char '#' in SMTP password can cause problems!
DISCOURSE_SMTP_ADDRESS: smtp.titan.email
DISCOURSE_SMTP_PORT: 465
DISCOURSE_SMTP_USER_NAME: hello@mydomain.com
DISCOURSE_SMTP_PASSWORD: mypass
#DISCOURSE_SMTP_ENABLE_START_TLS: true
DISCOURSE_SMTP_AUTHENTICATION: plain
#DISCOURSE_SMTP_DOMAIN: community.mydomian.com
DISCOURSE_NOTIFICATION_EMAIL: hello@mydomain.com
Can anyone help me figure out where I am going wrong?
Finally working changed it to 587 with ENABLE_START_TLS true and commented out #DISCOURSE_SMTP_AUTHENTICATION: plain
I was sure I had tried this at some point today. Perhaps I put the port number back to front or forgot to rebuild discourse in between. The moral don’t do things when you are tired and stressed!