Simple Mail Merge in Python
Contents
[
Hide
]
Aspose.Words - Simple Mail Merge
To use Mail Merge, simply invoke getMailMerge.execute method.
Python Code
Document =jpype.JClass("com.aspose.words.Document")
doc = Document(srcDocFile)
\# Fill the fields in the document with user data.
doc.getMailMerge().execute(
["FullName", "Company", "Address", "Address2", "City"],
["James Bond", "MI5 Headquarters", "Milbank", "", "London"])
Download Running Code
Download Simple Mail Merge (Aspose.Words) from any of the below mentioned social coding sites: