Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to send emails to 20k users every day. Every email should have dynamically generated content from database ( news are the main content ), and some banners (jpeg images). Those banners can be on different places inside the email body.

Also, exact same html content that we want to send to our users via email, we want to display as a web page on our web site.

What is the best way to tackle this problem ? Would you try to create some template that has static content/positions predefined, and then insert dynamic content in it ? How would you define positions for banners ?

What I have tried:

Having php script that has html document in it. There are some static places in it, like header and footer, and dynamic ones are generated with php. But there I have 2 problems. How to inject all of that inside email body, and how to put banners on different positions every time.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900