Saaspose.Word is a cloud-based application that allows user to create, manipulate and convert their MS Word document to a variety of other formats. Being a platform independent REST API, Saaspose.Words can be used with any programming language like
.Net,
Java,
Ruby,
PHP etc. Using Saaspose.Words API you can convert parts of your documents also such as text, paragraph, formatting, form field, document sections, shapes, tables, bookmarks, hyperlinks etc. regardless of what platform you are using.
Saaspose.Words is now allowing their users to add
merge mail function so that they can easily and quickly create documents like letter, labels and envelops. Let’s take a look at how you can use mail merge function using PHP examples available in Saaspose.Words.
Saaspose.Words examples with PHP enable you to convert and process your document by using various useful features they are offering and enhance your PHP application. First thing you need to do is create a document template (.doc ) and insert the merge fields into it. Then you can perform
simple mail merge operation that takes data from your data source and merges it into the document.
Saaspose.Words examples in PHP also allows you to specify the region where you want to execute mail merge operation. You can insert two mail merge fields to mark the beginning and end of the mail merge region. Once you execute
mail merge with regions , all document content that is included inside the specified mail merge region automatically will be repeated for every record in the data source or you can also use
mail merge without regions option to add mail merge function in your document.
Saaspose.Words is a flexible API that allows you to integrate with other REST APIs so that you can combine a variety of features and use them in your application. Feel free to
contact us case of any queries or feedback regarding Saaspose APIs. Keep tuned in to our
blog for the latest updates and announcements.