HTML Email

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

Post Reply
User avatar
raymedia
Forum Commoner
Posts: 27
Joined: Thu Oct 09, 2003 6:36 am
Location: Melbourne, Australia

HTML Email

Post by raymedia »

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 »

$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
magicrobotmonkey
Forum Regular
Posts: 888
Joined: Sun Mar 21, 2004 1:09 pm
Location: Cambridge, MA

Post by magicrobotmonkey »

look at phpMailer
Post Reply