I give up with email

I’m giving up on email. I can’t configure outgoing emails. I’ve already tried Zoho, Brevo, and Resend, but I haven’t been able to get any of them. Please help.

Always the same error.

1 Like

Hey there, I see from the background that your configuration value is actually not correct. The value should not be an email address, but the SMTP server address.

You will need to follow discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub

The address value in the settings should not be an email address but a mail server address. e.g. if you are using mailgun

DISCOURSE_SMTP_ADDRESS: smtp.mailgun.org
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: postmaster@fooros.co
DISCOURSE_SMTP_PASSWORD: "the password your email server provider shares with you"

Also, a warning - please do not repost the same issue into different topics.

4 Likes

A mailgun question is it free or paid?

Correct me here on this.

DISCOURSE_SMTP_ADDRESS: hello@fooros.co
DISCOURSE_SMTP_PORT: 587
DISCOURSE_SMTP_USER_NAME: resend
DISCOURSE_SMTP_PASSWORD: “REDACTED”
#DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
DISCOURSE_SMTP_DOMAIN: smtp.resend.com # (required by some providers)
DISCOURSE_NOTIFICATION_EMAIL: hello@fooros.co

Example if I use Brevo, what would it be like?

Mailgun has its pricing page here - Flexible Email Delivery & API Pricing Plans | Mailgun | Mailgun

For brevo you can refer to their documentation here - https://help.brevo.com/hc/en-us/articles/7924908994450-Send-transactional-emails-using-Brevo-SMTP

You’d need to have some knowledge of SMTP while setting up your self-hosted instance.

3 Likes