The discussion revolves around adding a custom SMTP email header “IsTransactional”:true to satisfy ElasticEmail’s requirements. lorddevil initiated the conversation, stating that ElasticEmail demands this header for transactional emails. pfaffman suggested creating a custom plugin, but lorddevil expressed hesitation due to his unfamiliarity with Discourse coding.
Stephen pointed out that Elastic Email is listed as a recommended provider, and inquired about the necessity of the header. lorddevil shared a discussion about Elastic Email’s unsubscribe issues and suggested that adding the “IsTransactional” header would resolve the problem.
Stephen acknowledged the desirability of the feature, and pfaffman noted that Elastic Email’s policy insists on an unsubscribe link, which might be a reason to reconsider recommending them. lorddevil advocated for including the header, despite its imperfections.
merefield added that customizing headers would be beneficial for distinguishing channels on the Elastic Email side, particularly for managing multiple Discourse sites with one Elastic Email account.
I did not find a way to add SMTP Email Headers when sending email? Since I am using elasticemail - they require to send all transactional emails with a “IsTransactional”:true header.
I checked the SMTP settings and looked in the internet but did not find a way to add custom mail headers to discourse. Does anyone know how I could do this?
If there’s a new requirement from a recommended provider the team may be willing to add the header, or this could be grounds to retract the recommendation.
People have complained about the Unsubscribe problem elastic email has and I have that problem too!
But if we can put the simple SMTP email header “IsTransactional” = true to all outgoing emails, elasticemail would automatically treat all emails as transactional and thus will only add a “Manage Notifications” footer instead of the “Unsubscribe” footer.
So in my eyes this is a must have requirement for elastic email and discourse?
Yeah I definately think they should include this header… even though it’s still not perfect, because you can’t avoid the “Manage Notification” link - but it is much better than the “Unsubscribe” link…
Customising headers would also be useful so you can distinguish Channel on the Elastic Email side which would allow you to report by domain - important if you are managing multiple Discourse sites with one Elastic Email account.
It’s a bit annoying Elastic Email can’t distinguish source domain out of the box, like SparkPost can, but SparkPost is no longer an option now they’ve upped prices.