already cleared up
@see 
http://stackoverflow.com/questions/4163605/unable-to-use-any-component-in-my-controller-cake-php

On 12 Nov., 08:55, Jawwad Alam <[email protected]> wrote:
> Hello All,
>
> I am trying to use different components in my controller;
>
> I declare the use of Components as following in my controller:
>
> var $components = array('Email');
>
> but when I try to use the Email component in my code, I get the
>
> "Undefined index: email [APP\controllers\cip_surveys_controller.php,
> line 33]"
>
> following is the line that is using the Email component
>
> $this->Email->to = '[email protected]';
>
> The code selection of my controller class is as following:
>
> class CipSurveysController extends AppController {
>                 var $name = "CipSurveys";
>                 var $uses = array('CipSurvey', 'SurveyResponse');
>                 var $components = array('Email');
> ....
> ....
>
> ...
>
> }
>
> Please suggest how can I fix this issue.
>
> Thanks,
> Jawwad

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