Try setting bcc to array('xxx').
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 12 Sep 2012, at 12:35:50, heohni <[email protected]>
wrote:
> Hi,
>
> I just discovered a problem when trying to send an email with V.1.3.
> It was working quite well in the past, I just found the error by chance:
>
> I get these errors:
>
> Warning (2): array_map() [http://php.net/function.array-map]: Argument #2
> should be an array [COREcake/libs/controller/components/email.php, line 583]
> Warning (2): implode() [http://php.net/function.implode]: Invalid arguments
> passed [COREcake/libs/controller/components/email.php, line 583]
> Warning (2): array_map() [http://php.net/function.array-map]: Argument #2
> should be an array [COREcake/libs/controller/components/email.php, line 587]
> Warning (2): implode() [http://php.net/function.implode]: Invalid arguments
> passed [COREcake/libs/controller/components/email.php, line 587]
> I have loaded the 'Email' Component in my app_controller.php
> and use it this way in my Controller
>
> $this->Email->to = 'xxx';
> $this->Email->cc = 'xxx';
> $this->Email->bcc = 'xxx';
> $this->Email->subject = $this->data['Contact']['name'];
> $this->Email->from = $this->data['Contact']['email'];
> $this->Email->send($this->data['Contact']['comments'])
>
> I just wonder as it was working before...
> But I have no idea since what time it's bringing up the above error messages.
>
> What can I do now?
> How to find and solve this error?
>
> Please help!!
>
> Thanks!!
>
>
> --
> 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].
> Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
>
>
--
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.