Page 1 of 1

HTML Email

Posted: Fri Apr 09, 2004 12:47 am
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

Posted: Fri Apr 09, 2004 2:08 am
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

Posted: Fri Apr 09, 2004 6:50 am
by magicrobotmonkey
look at phpMailer