Adding Syntax to be evaluated by GroupDocs.Assembly Engine Template Syntax
assembler = ga.DocumentAssembler() dataSource = ga.data.JsonDataSource("datasource.json") DataSourceInfo = ga.DataSourceInfo(dataSource, "customers") array = [DataSourceInfo, ga.DataSourceInfo(["test@test.mail", "groupdocs@groupdocs.mail"], "recipients"), ga.DataSourceInfo("sender@sender.mail", "sender"), ga.DataSourceInfo("cc@example.com", "cc"), ga.DataSourceInfo("groupdocs", "subject")] print(assembler.assemble_document("input.msg", "output.msg", array)) The Recipe Set up the source document data path Set up the source document template path Set up destination report path Instantiate DocumentAssembler class Generate report More resources Advanced usage topics To learn more about library features, please refer to theadvanced usage section....our GitHub examples: Was this page helpful? Not really Yes, thanks...tell us how we can improve this page. Skip Send Thank you for your...