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) <javascript:void(0);>: array_map() 
[http://php.net/function.array-map]: Argument #2 should be an array 
[*COREcake/libs/controller/components/email.php*, line *583*]

*Warning* (2) <javascript:void(0);>: implode() 
[http://php.net/function.implode]: Invalid arguments passed 
[*COREcake/libs/controller/components/email.php*, line *583*]

*Warning* (2) <javascript:void(0);>: array_map() 
[http://php.net/function.array-map]: Argument #2 should be an array 
[*COREcake/libs/controller/components/email.php*, line *587*]

*Warning* (2) <javascript:void(0);>: 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 cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to