$this->Email->bcc must be an array.
On Oct 6, 10:10 am, "Dave Maharaj :: WidePixels.com"
<[email protected]> wrote:
> I get this error when sending an email with bcc
>
> Warning (2) <javascript:void(0);> : Invalid argument supplied for foreach()
> [CORE/cake/libs/controller/components/email.php, line 714]
>
> $this->Email->delivery = 'smtp';
> $this->Email->to = $this->data['User']['email'];
> $this->Email->bcc = '[email protected]';
>
> The email gets the the user but the copy to myself does not come thru.
>
> Ideas why?
>
> Thanks
>
> 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
-~----------~----~----~----~------~----~------~--~---