Just to check, are you using cake 1.1 or 1.2 the email component is
only in 1.2 you can check the VERSION.txt file in your cake core or
look in the cake folder and make sure that
libs/controller/components/email.php exists

Sam D

On Sun, Feb 24, 2008 at 6:58 PM, Affinity Skateboards <[EMAIL PROTECTED]> wrote:
>
>  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.
>
>  >
>



-- 
-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
http://blog.samdevore.com/cakephp-pages/i-cant-bake/

--~--~---------~--~----~------------~-------~--~----~
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