To debug email problems in cakephp.
In your controller's action where you are using the Email component :
Do :
$this->Email->delivery ='debug' ;
In your default.ctp (app/views/layouts)
Do
<?php echo $session->flash('email'); ?>
Hint:
make sure you are not redirecting after you do : $this->Email->send() ;
In your controller action.
Sent from my BlackBerry wireless device from MTN
From: cake-php@googlegroups.com
Sender: cake-php@googlegroups.com
Date: Sun, 04 Dec 2011 04:00:58 +0000
To: Digest Recipients<cake-php@googlegroups.com>
ReplyTo: cake-php@googlegroups.com
Subject: Digest for cake-php@googlegroups.com - 3 Messages in 3 Topics
Group: http://groups.google.com/group/cake-php/topics
- How to move "Actions" text to the right? [1 Update]
- Write unit test for a controller that uses AuthComponent in CakePHP 2.0.3 [1 Update]
- Send Email problem with multiple receivers [1 Update]
- Jeremy Burns | Class Outfit <jeremyburns@classoutfit.com> Dec 04 03:53AM
That is SO not the way to go. What is the CSS being applied to the table?
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 3 Dec 2011, at 20:44, Daniel wrote:
- elitalon <elitalon@gmail.com> Dec 03 01:12AM -0800
If you look at my last piece of code I am exactly doing that:
$this->Users = $this->generate('Users', array(
'components' => array('Session', 'Auth' => array('user'))
'models' => 'User'
));
However, the problem got fixed after rebooting the machine. I don't
know if it could be a cache issue. I opened a related ticket to this
but regarding to AuthComponent.
I am getting a little frustrated here, because when mocked models are
working fine, the AuthComponent seems to fail, and vice versa.
- MetZ <metz80@gmail.com> Dec 02 08:11PM -0800
Hi again all!
I have still not found a solution to this problem!
Cake 1.3.13, unable to send email to multiple recipients.
Please help me!
Any suggestions on how I can debug this problem? I get no info
whatsoever in any logs, have debugging to 2 in core.
Thank you for all your help!
-Tom
You received this message because you are subscribed to the Google Group cake-php.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.
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