Merging mail with template - maxium size of Subject(topic) field

Hi,
Lately I’ve been working with Aspose Emails, and had some problem, when i was creating email with template (merging it)

I’ve used this method
TemplateEngine engine = new TemplateEngine(MailMessage template);
var merged = engine.Merge(dataRow);

Problem started when we upgraded Aspose.Emails version (actually we use 17.11)

there was exception on Aspose.Email.Tools.Merging.TemplateEngine.Merge(DataRow row) method

  • wrong character in header (or something like that)
    Problem has solved when i cut string(subject) to some ~40chars.

Is there some limit of topic(subject) length in method Merge?

@pawel007,

There is no such limit mentioned in documentation and it shouldn’t raise any such issue. Please share your sample message file along with your sample code for further investigation at our end.