when I send an email I get this 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]
if ($this->RequestHandler->isPost()) {
$this->Contact->set($this->data);
if ($this->Contact->validates()) {
//$this->Email->delivery = 'debug';
$this->Email->to = 'o@o-o.de';
$this->Email->cc = 'o-o@o.de';
$this->Email->bcc = 'o.o@o.de';
$this->Email->subject = __('Anfrage (o-o.de) von:
', true) . $this->data['Contact']['name'];
$this->Email->from = $this->data['Contact']
['email'];
if($this->Email->send($this->data['Contact']
['comments'])){
$this->set('thankyou', true);
}
}
}
The strange thing is, that 'thankyou' gets set, but no email ever
arrives?
What do I do with the error messages?
What do they mean?
Thanks for any help!!
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
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
No comments:
Post a Comment