This is the code I use: // IMPORT AND INITIALIZE EMAIL COMPONENT App::import('Core', 'Controller'); App::import('Component', 'Email'); $this->Controller =& new Controller(); $this->Email =& new EmailComponent(null); $this->Email->initialize($this->Controller);
A few minor differences from yours. Maybe give it a try. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en