Hi
I have a shell script which I want to run once a day as a cron job
which reads information from the database and e-mails people if any
actions need to be carried out. The problem is the script doesn't
import the e-mail component when I put the following at the top of the
class:
var $components = array('Email');
When I run my script I get the following error when trying to send the
e-mail:
Fatal error: Call to undefined method stdClass::send() in E:\Projects
\first-stop-it\asset-management\htdocs\app\vendors\shells
\cron_site_asset_events.php on line 89
Any help with this would be greatly appriciated :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---