Hi All,
I have a general question about a mailing system. I have a web application to which users can subscribe. The users can add different user to the system, let's call them clients. So each users has a list of his own clients. The system sends emails from time to time to the clients, on behave of the users. I want the users to be able to define the content of the emails themselfs. So when, lat's say an update has occured, the system sends the update_email of user A to all the clients of user A, and sends the update_email of user B to all the clients of user B. Still with me? Good
My question is: can anyone give me some good advice on how to set up such a system? My own ideas:
- I define a template: a piece of html in which the users set the background color, their signature, the logo, whatever. The content of the email is pasted in this template. This way all emails have the same look n feel and I don't need to save the layout code for every email.
- The text for the emails is stored separately. So for each user I have 1 template to store, and one 1 version for each possible email that the system can send.
- Same two points above, but for plain text emails.
- I want to store older emails so I store the current versions and templte in my database and store older versions in files.
- template and email contents can be added on the website (anyone sugestions for a good WYSIWYG editor?).
These are all ideas and nothing is implemented yet so any sugestions to my ideas or entirely new ideas are welcome.
Also, I realise that other people must have build a similar system, so if anyone has good experience with a system that can do this for me (free/comercial), please let me know.
Thanks in advance!
I have a general question about a mailing system. I have a web application to which users can subscribe. The users can add different user to the system, let's call them clients. So each users has a list of his own clients. The system sends emails from time to time to the clients, on behave of the users. I want the users to be able to define the content of the emails themselfs. So when, lat's say an update has occured, the system sends the update_email of user A to all the clients of user A, and sends the update_email of user B to all the clients of user B. Still with me? Good
My question is: can anyone give me some good advice on how to set up such a system? My own ideas:
- I define a template: a piece of html in which the users set the background color, their signature, the logo, whatever. The content of the email is pasted in this template. This way all emails have the same look n feel and I don't need to save the layout code for every email.
- The text for the emails is stored separately. So for each user I have 1 template to store, and one 1 version for each possible email that the system can send.
- Same two points above, but for plain text emails.
- I want to store older emails so I store the current versions and templte in my database and store older versions in files.
- template and email contents can be added on the website (anyone sugestions for a good WYSIWYG editor?).
These are all ideas and nothing is implemented yet so any sugestions to my ideas or entirely new ideas are welcome.
Also, I realise that other people must have build a similar system, so if anyone has good experience with a system that can do this for me (free/comercial), please let me know.
Thanks in advance!