I am using the email component in my site and what I want to do is when a USER posts a new comment to a specific page it will notify all USERS who in their profile have selected "Keep me updated" of new comments. So I was thinking when a new post is added write a function basically like this emailAll () sendTo = find all USERS where Keep_me_updated = 1; set sendTo, $sendTo ; foreach ($sendTo['User'] as $sendTo) : the sending info and such..... endforeach; Is this the best way to go about it? Dave
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
