PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
raymedia
Forum Commoner
Posts: 27 Joined: Thu Oct 09, 2003 6:36 am
Location: Melbourne, Australia
Post
by raymedia » Fri Apr 09, 2004 12:47 am
G'day..
I have to write a functions to send html email (newsletter) to all registered members. The newsletter's data is from db.
Can anyone direct me to a good site so.. i can learn how to do this.
Even a guide on how to do this...will be great. I know how to use php mail() function.
Thank guys
dipit
Forum Newbie
Posts: 12 Joined: Thu Apr 08, 2004 2:36 am
Location: india
Contact:
Post
by dipit » Fri Apr 09, 2004 2:08 am
$sub = 'your subject';
$mess = 'your mess';
open connection
write qurey to set mail address
loop
$mailto = mail address
mail($mailto,$sub,$mess);
end loop
do you need full code?
or its ok for u
dipit