I'm using the new unit testing functionality in 1.2 with SimpleTest
and was wondering if anyone else has figured out a way to unit test
emails sent by the EmailComponent?

Fakemail looks nice (http://www.lastcraft.com/fakemail.php) but
EmailComponent (and PHP's mail() function as far as I know) don't let
you specify the port.  And I really want to stick with EmailComponent
instead of using PHPMailer.

I develop on a Mac and don't really want to set up a mail server and
programmatically check a POP mail account in the unit tests.

Does anyone have a clever solution for unit testing emails?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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