What does DISCOURSE_SMTP_DOMAIN mean?

While already having DISCOURSE_SMTP_ADDRESS, what does the DISCOURSE_SMTP_DOMAIN setting in containers/app.yml do?

It’s not that desktop clients usually ask for “address” and “domain” separately, so I got confused.

2 Likes

I have the same question. I searched for an answer and I found this topic.

More specifically I wonder whether here we should put the same subdomain the Discourse instance has (discourse.example.com) or the domain (example.com). And whether this is something related to the SMTP configuration at all.

2 Likes

It is passed directly to action_mailer

Actions_Mailer’s Docs designate it as a part of SMTP conversation.

1 Like