Send newsletter to mail list, pass name intomail body. |
[eluser]yorvik[/eluser]
Hello I am making a small newsletter system. Everything works fine for now. But I want in my mail body the name from the person who is receiving the newsletter. For example Persons in my mailinglist (john, mark , duncan). My mailinglist is saved in a database table newsletter [id, name, frontname, email]. What I want in my newsletter is for exaple : Hello John, .... This is my code for writing the body of the newsletter. Code: <?php I have this function for sending my newsletter Code: function mailNewsletter() Now how is it possible to write the names automaticly from each mailing subscriber, that are saved in the database? |
Messages In This Thread |
Send newsletter to mail list, pass name intomail body. - by El Forum - 11-14-2011, 09:14 AM
|