Hi, using this tutorial: http://bakery.cakephp.org/articles/view/emailcomponent-in-a-cake-shell I can send mails from shells, fine, yet I cannot set any variables that would be print in the .ctp file. I tried using this in my shell, no worky.. any idea?
App::import( 'Core', array( 'View') ); $oView = new View( new Controller() ); $oView->set( 'test', $this->pathReport ); --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---