Has everybody forgotten how to search?

http://groups.google.com/group/cake-php/browse_thread/thread/f71da62dc353b315/84b00fbeda1df451?hl=en&lnk=gst&q=email+reset#84b00fbeda1df451

That post hasnt two days. Please, search before post, ALWAYS!

Cheers,
mbavio

On Apr 6, 7:01 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Sun, Apr 6, 2008 at 11:30 AM, CDMoyer <[EMAIL PROTECTED]> wrote:
>
> >  I ran into this the other day, I think the behavior is a bit
> >  unexpected, and probably a bug.
>
> >  If you do something like:
>
> >  $this->Email->subect = 'Hi!';
> >  $this->Email->from = '[EMAIL PROTECTED]';
> >  foreach ($recipient as $r) {
> >    $this->Email->to = $r;
> >    $this->Email-send(sprintf($body, $r));
> >  }
>
> >  Essentially, setting up the basic email, and then looping over people
> >  and sending by passing the body to send(), the contents of the body
> >  get appended to the last send.
>
> Try  $this->Email->reset() after you send the mail.
>
> --
> Chris Hartjes
> Internet Loudmouth
> Motto for 2008: "Moving from herding elephants to handling snakes..."
> @TheKeyBoard:http://www.littlehart.net/atthekeyboard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to