You'll need to create an array of all the email addresses you want to send the email to (by doing a find) and do a loop through them, calling the email function many times. Don't forget to use $this->Email->reset(); when you are sending emails in a loop.
Jeremy Burns Class Outfit [email protected] http://www.classoutfit.com On 25 Aug 2010, at 14:56, fadh capaik wrote: > hi everyone. > > i have a problem to build send mass email message to selected client > in HABTM. i have read the manuals. but i dont find how to use it in a > HABTM. anyone can help me or send me an example. > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
