Add headers to all outgoing emails

Hi there!

I’m looking to modify my discourse server configuration so that all emails the server send include a header: x-virtual-mta:default.

I’ve been searching around and I don’t yet see if that’s possible, does anyone know if it is? I do see in the Discourse source where mail sending is handled but I’d rather not have to make modifications or customizations if I don’t have to.

Thanks for your help! I’m new to Discourse, apologies in advance if I’ve totally missed something obvious.

I found the answer to this: it’s right there in the Discourse admin settings (Email > email custom headers)

I previously wasn’t able to see this simply because I didn’t have Discourse admin access until I built a new environment.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.