I am using Aspose.Network (Ver: 220.127.116.11). I am using the TemplateEngine to "merge" a MailMessage and DataTable together. I works great !!!!. The replacement tokens in the subject line and body of the message are being replaced just fine. (Ex: Token: #Firstname# being replaced with Don).
My problem. I need to create a custom header with a value from the DataTable, but it doesn't appear the TemplateEngine does token replace for Headers.
I would like the TemplateEngine to do token replace in the headers.
MailMessage message = new MailMessage();
TemplateEngine engine = new TemplateEngine(message);
messages = engine.Instantiate(<<>>);
When I review the messages in the message collection, the Header EmailEventID has #EmailEventID# as it's value instead of the value 12345679 from the DataTable.
Suggestion for Aspose.....Please enable token replacements in the Header.