We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Mail Merge and HTML


I am doing a mail merge from a database to fill in a table in a Word document. I would like to put html in the database table for formatting of the text. When I do this, the tags come out as text and not as the formatted text. Is there any way to tell the Aspose component to recognize the text as HTML instead of plain text?


Scott Butler

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. You should use MergeField event handler to achieve this. Please see the following link for more information.


Hope this helps.

Best regards.

hi alexey....dont get mad but you dont show any examples and only refer to this useless link....click on it. it goes nowhere

please paste a full example and correct the link


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request and my apologizes for inconvenience. The link was broken after refactoring our documentation some time ago. Here is correct link to this article:


Hope this helps. Please let me know if you need more assistance, I will be glad to help you.

Best regards.