PDA

View Full Version : Email users who've posted in a thread?


mini2
03-05-2003, 10:15 PM
Hello,

I would like to know how I (as admin) could email all users who have contributed to a certain thread in one fell swoop via email.

I've searched and cant find this on here, I assume the syntax of a php query (I only need to do this once) would be very easy?

Could anyone help me or point me to this if it's on here already.

Thanks.

Paul

Chris Gwynne
03-05-2003, 10:40 PM
If the user has this option enabled, he/she will receive an email to any thread they have participated in anyway..

mini2
03-05-2003, 10:48 PM
What I mean is, I want to send an email to all users in one go to let them know it has been moved from public view.

So I need to email all users who have contributed to this one thread ONLY, not any other users.

mini2
03-06-2003, 08:31 AM
OK, I guess the best thing would be to write a new PHP script from scratch that pulls the userid's as an array from MySQL from the thread tabke where the threadid is the thread I want to contact people from. Then go through the array and get the emails from the user table and and emails them the message I want to send.