Need help with SMTP settings from Brevo to Discourse

I spent the whole day trying to fix this problem, but I am still struggling.
cd /var/discourse
nano containers/app.yml
these are the settings I have: i replaced my site name to mywebsite for privacy

DISCOURSE_HOSTNAME: “mywebsite.com

Email settings for Brevo (SMTP)

DISCOURSE_DEVELOPER_EMAILS: ‘admin@mywebsite’
DISCOURSE_SMTP_ADDRESS: smtp-relay.brevo.com
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: found this in the brevo SMTP section login name
DISCOURSE_SMTP_PASSWORD: found this in brevo SMTP section
DISCOURSE_SMTP_ENABLE_START_TLS: true
DISCOURSE_SMTP_AUTHENTICATION: login
DISCOURSE_SMTP_DOMAIN: mywebsite.com
DISCOURSE_NOTIFICATION_EMAIL: admin@mywebsite.com

Required for Let’s Encrypt

LETSENCRYPT_ACCOUNT_EMAIL: admin@mywebsite.com

what am i putting wrong? i still can’t send a test email using my site. I don’t know where to find the discourse notification email setting on my website so i tried no-reply@mywebsite.com and it didn’t work so i tried admin@mywebsite.com and it didn’t work. In brevo I verified the 2 senders (admin@mywebsite.com and no-reply@mywebsite.com)

Here is where you set it

It has to be an address that Brevo will send for. You can look at your logs there.

2 Likes

That port won’t work with some servers anymore (specifically digital ocean doesn’t support that now) you can try 2525 instead should work.

Thank you. It worked.