Thursday, August 26, 2010

Re: send email message to HABTM clients

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

jeremyburns@classoutfit.com
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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments:

Post a Comment