{"id":23060788,"url":"https://github.com/syncfusionexamples/java-mail-merge-examples","last_synced_at":"2025-08-15T08:32:02.903Z","repository":{"id":52715254,"uuid":"302241300","full_name":"SyncfusionExamples/Java-Mail-Merge-Examples","owner":"SyncfusionExamples","description":"Mail merge data to a Word document in Java without Microsoft Word or interop dependencies.","archived":false,"fork":false,"pushed_at":"2024-12-03T08:20:16.000Z","size":458,"stargazers_count":11,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-12-03T09:28:11.531Z","etag":null,"topics":["java","mail-merge","word-library"],"latest_commit_sha":null,"homepage":"https://www.syncfusion.com/word-framework/java/word-library/mail-merge","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SyncfusionExamples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-08T05:31:36.000Z","updated_at":"2024-09-05T11:37:14.000Z","dependencies_parsed_at":"2024-02-15T13:30:16.047Z","dependency_job_id":"d515535f-853c-4f99-b3e3-60d044a3ea1a","html_url":"https://github.com/SyncfusionExamples/Java-Mail-Merge-Examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FJava-Mail-Merge-Examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FJava-Mail-Merge-Examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FJava-Mail-Merge-Examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FJava-Mail-Merge-Examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SyncfusionExamples","download_url":"https://codeload.github.com/SyncfusionExamples/Java-Mail-Merge-Examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229901551,"owners_count":18141741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","mail-merge","word-library"],"created_at":"2024-12-16T03:15:17.532Z","updated_at":"2024-12-16T03:15:18.279Z","avatar_url":"https://github.com/SyncfusionExamples.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Mail Merge Examples\r\n\r\nThis repository contains examples that illustrates how to mail merge Word documents in Java using Syncfusion’s [Java Word library](https://www.syncfusion.com/document-processing/word-framework/java/word-library?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples) (Essential\u0026reg; DocIO) without Microsoft Word or Office interop dependencies.\r\n\r\n## Mail merge in Word documents\r\n\r\nMail merge is a process of merging data (replacing merge fields) from a data source into the template Word document.\r\n\r\nThe Syncfusion\u0026reg; [Java Word library](https://www.syncfusion.com/document-processing/word-framework/java/word-library?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples) (Essential\u0026reg; DocIO) has a powerful [Java mail merge API](https://www.syncfusion.com/document-processing/word-framework/java/word-library/mail-merge?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples) to generate personalized reports like letters, pre-addressed envelopes, address labels, invoice, payroll, and more. It performs mail merge faster in a batch process without Microsoft Word or Office interop dependencies. The generated reports can be saved as a Word document, HTML, and more.\r\n\r\n## Jar files\r\n\r\nYou can download the jars from the Syncfusion\u0026reg; [maven repository](https://jars.syncfusion.com/?_ga=2.177721445.1332356717.1617771042-23317178.1569844681) to use our artifacts in your projects. It helps you to use the Syncfusion\u0026reg; Java packages without installing Essential Studio\u0026reg; or platform installation to development with Syncfusion\u0026reg; controls.\r\n\r\n# Key Features\r\n\r\n- [Mail merge in Java](mailmerge/) - How to mail merge Word document in Java.\r\n\r\n- [Order details of a customer in Java](generateorderdetailsofcustomer/) - Generate order details of a customer using nested mail merge.\r\n\r\n- [Envelopes for mailing in Java](createenvelopes/) - Create envelopes for mailings to the list of recipients.\r\n\r\n- [Create and send email messages in Java](createandsendmail/) - Create and send email messages by converting merged document to HTML.\r\n\r\n- [Personalized letters in Java](createpersonalizedletter/) - Create personalized letters for selected recipient from the mailing list.\r\n\r\n- [Product catalog in Java](productcatalog/) - Generate a product catalog and formatting the merged text.\r\n\r\n# Screenshots\r\n\r\n**Envelopes for mailing**\r\n\r\n\u003cp align=\"center\"\u003e \r\n\u003cimg src=\"screenshots/Envelopes-for-mailing-output.png\" alt=\"Envelopes-for-mailing in C#\"/\u003e \r\n\u003c/p\u003e\r\n\r\n\r\n## Syncfusion\u0026reg; Java Word Library\r\n\r\nThe Syncfusion\u0026reg; DocIO is a [Java Word library](https://www.syncfusion.com/document-processing/word-framework/java/word-library?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples) allows you to add advanced Word document processing and does not require Microsoft Word application to be installed in the machine. It is a non-UI component that provides a full-fledged document instance model similar to the Microsoft Office COM libraries to iterate with the document elements explicitly and perform necessary manipulation. \r\n\r\nTake a moment to peruse the [documentation](https://help.syncfusion.com/java-file-formats/word-library/getting-started?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples), where you can find basic Word document processing options along with the features like [mail merge](https://help.syncfusion.com/java-file-formats/word-library/working-with-mail-merge?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples), [merge](https://help.syncfusion.com/java-file-formats/word-library/working-with-word-document?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples#merging-word-documents), [find and replace](https://help.syncfusion.com/java-file-formats/word-library/working-with-find-and-replace?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples) text in the Word document, [protect](https://help.syncfusion.com/java-file-formats/word-library/working-with-security?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples) the Word documents and most importantly, [RTF](https://help.syncfusion.com/java-file-formats/word-library/rtf?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples), [Text](https://help.syncfusion.com/java-file-formats/word-library/text?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples), and  [HTML](https://help.syncfusion.com/java-file-formats/word-library/html?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples) conversions with code examples.\r\n\r\n## Compatible Microsoft Word Versions\r\n\r\n*   Microsoft Word 97-2003\r\n*   Microsoft Word 2007\r\n*   Microsoft Word 2010\r\n*   Microsoft Word 2013\r\n*   Microsoft Word 2016\r\n*   Microsoft Word 2019\r\n*   Microsoft 365\r\n\r\n## Supported File Formats\r\n\r\n*   Creates, reads, and edits popular text file formats like [DOCX](https://help.syncfusion.com/java-file-formats/word-library/word-file-formats?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples#word-open-xml-formats-2007--later), [DOTX](https://help.syncfusion.com/java-file-formats/word-library/word-file-formats?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples#templates), DOTM, [DOCM](https://help.syncfusion.com/java-file-formats/word-library/word-file-formats?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples#macros), [WordML](), [RTF](https://help.syncfusion.com/java-file-formats/word-library/rtf?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples), [Text](https://help.syncfusion.com/java-file-formats/word-library/text?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples), [HTML](https://help.syncfusion.com/java-file-formats/word-library/html?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples).\r\n*   Converts Word documents also to [RTF](https://help.syncfusion.com/java-file-formats/word-library/rtf?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples), [Text](https://help.syncfusion.com/java-file-formats/word-library/text?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples), and  [HTML](https://help.syncfusion.com/java-file-formats/word-library/html?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples).\r\n\r\n## Resources\r\n\r\n- **Product page:** [Syncfusion\u0026reg; Java Word Framework](https://www.syncfusion.com/document-processing/word-framework/java?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples)\r\n- **Documentation:** [Mail merge using Syncfusion\u0026reg; Java Word library](https://help.syncfusion.com/java-file-formats/word-library/working-with-mail-merge?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples)\r\n\r\n## Support and feedback\r\n\r\nFor any other queries, reach our [Syncfusion\u0026reg; support team](https://support.syncfusion.com/?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples) or post the queries through the [community forums](https://www.syncfusion.com/forums?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples).\r\n\r\nRequest new feature through [Syncfusion\u0026reg; feedback portal](https://www.syncfusion.com/feedback?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples).\r\n\r\n## License\r\n\r\nThis is a commercial product and requires a paid license for possession or use. Syncfusion's licensed software, including this component, is subject to the terms and conditions of [Syncfusion's EULA](https://www.syncfusion.com/license/studio/22.2.5/syncfusion_essential_studio_eula.pdf?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples). You can purchase a licnense [here](https://www.syncfusion.com/sales/products?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples) or start a free 30-day trial [here](https://www.syncfusion.com/account/manage-trials/start-trials?utm_source=github\u0026utm_medium=listing\u0026utm_campaign=github-docio-examples).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncfusionexamples%2Fjava-mail-merge-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyncfusionexamples%2Fjava-mail-merge-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncfusionexamples%2Fjava-mail-merge-examples/lists"}