I am trying to use the email component on my contact page, but when
trying to add the component in my controller I get:
Missing Component File
You are seeing this error because the component file can't be found or
doesn't exist.
Notice: If you want to customize this error message, create app/views/
errors/missing_component_file.thtml.
Fatal: Create the class below in file : app/controllers/components/
email.php
<?php
class EmailComponent extends Object {
}
?>
this is what my contact_controller looks like:
<?php
class ContactController extends AppController {
var $uses = array('Contact');
var $components = array("Email");
// Code here...
?>
Is there something I am missing? I thought that the email component
was a "built-in" component of cakePHP. Thanks for the help.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---