On Fri, May 27, 2011 at 6:47 PM, Matthias <[email protected]
> wrote:
> Hi,
> how can I debug emails with the new CakeEmail?
>
> hi
> Before, I used this in the controller:
> $this->Email->delivery = 'debug';
>
> And this in the view:
> echo $this->Session->flash('email');
>
>
>
> But flash doesnt output anything, so how do I display the debug-email?
>
>
$this->Email->delivery = 'debug';
$this->Email->send();
$this->Session->read('Message.email');
die();
the way which i debug
.
--
Regards
sathia
http://www.sathia27.wordpress.com
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php