After we switched from Mandrill to SparkPost we encountered issues when sending emails using transmission
. In Mandrill merge_vars
were not HTML encoded and we sometimes put HTML in them, however in SparkPost substitution_data
does appear to be HTML encoded and it's messing some of our emails. Is there a global setting that allows to turn this off or at least disable it for a transmission
?
Edit: I forgot to mention that we use csharp-sparkpost library, which means it might be a problem directly related to the library rather than SparkPost API and I need to investigate it further.
Edit2: I tested sending an email directly using JSON and the result was the same, so I can conclude that the HTML encoding is done by SparkPost and not by the c# library.