tags:

views:

36

answers:

1

I need to generate a mass mailing based on a word document model with PHP. Given is a database with the adresses and the data that need to be filled in my word model. I want to generate a single word document with the different adresses and field contents from the database.

We have a Linux server and the COM object is not avalaible.

Is there a ready to use class to do this? Did you had any experiance with PHPWord? What is the best practice in this case?

In the ideal case the client should just upload th word master document, with the fields that need to be filled and then fusioned to a multiple pages word document containing the whole mailing.

A: 

I wouldn't use Microsoft Word as a model for HTML emails.

Create some HTML templates, then use PHP to iterate through your database and replace certain fields in the HTML.

jeph perro
It's not for physical mailing, not for e-mails
bluesystem
Hi I don't understand your comment. Is it for a snail-mailing? Or is it for a mass emailing?
jeph perro