Is it possible to add custom headers to emails sent by FusionAuth?
-
Is it possible to add custom headers to emails sent by FusionAuth?
For example, when using AWS SES you might want to set the
X-SES-CONFIGURATION-SET
email header. -
We do have a way to add additional config when calling the Java Mail API. This is the
emailConfiguration.properties
property on the tenants, currently available in the admin UI in the tenant screen under 'advanced'.But I don't believe we can set headers using that mechanism.
-
See also this GitHub issue if you want to vote for this feature or keep apprised of progress: https://github.com/FusionAuth/fusionauth-issues/issues/628
-
You can now do so as of FusionAuth 1.32.
More details in the issue 628 linked above.