I have a working header, below, which adds SMTP headers to outgoing emails:
var header = new[]{"X-MC-Template:RegisterTemplate", "Reply-To:myname@mail.com"};
I want to create a similar variable using the below code:
var tag = new[]{"X-MC-MergeVars", "var1", "hello1"};
and my webmail send function is as follows:
WebMail.Send(to: customerEmail,
subject: "test email",
body: "email body",
additionalHeaders: header, tag
but I don't know how to format it to work? My syntax is wrong, but I've tried many variations with now luck.