On Wed, Mar 18, 2009 at 6:10 AM, gianpaulo <[email protected]> wrote:
>
> How can I implement a debug email address that will be used to test
> the email sent from my application? When in debug mode, all emails
> sent using the EmailComponent will be sent to that email address. Then
> I'll also want to include in the email the intended recipients
> (to,cc,bcc, etc.) and hopefully other useful information.

I've been defining constants in bootstrap.php, eg. EMAIL_ADMIN, etc.
But, I sometimes also need logic in my classes that checks the debug
level. Of course, even that's not bulletproof

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to