> Just to close loop on this... This is resolved, I was not calling correct 
> config from my email.php. once I added 
>
> ->config('smtp')
>
> it worked...
>
> Thanks again
>
> On Monday, July 9, 2012 8:04:26 PM UTC-5, mk wrote:
>>
>> Thanks for the reply... I will review my email.php again and hope to find 
>> my error.
>>
>> thanks again
>> mk
>>
>> On Monday, July 9, 2012 6:25:48 PM UTC-5, sams wrote:
>>>
>>> Your email cfg is incorrect with your app - see Config/email.php
>>>
>>> - S
>>> On 9 Jul 2012 23:45, "mk" <[email protected]> wrote:
>>>
>>>> yes, sorry typo. it is configure::write in my code. The Error simply 
>>>> states 
>>>> "Could not send email. 
>>>>
>>>> *Error: * An Internal Error Has Occurred."
>>>>
>>>> I'm running this from localhost and maybe my smtp setup?... although I 
>>>> thought I had it setup correctly.
>>>>
>>>> Thanks
>>>> On Monday, July 9, 2012 5:03:32 PM UTC-5, cricket wrote:
>>>>>
>>>>> I don't see an error message, just the stacktrace. 
>>>>>
>>>>> Is this a typo? Configure::wrote (should be write) 
>>>>>
>>>>> On Mon, Jul 9, 2012 at 4:34 PM, mk <[email protected]> wrote: 
>>>>> > Hi 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > I’m trying to implement the 2.0 branch of the CakeDC Users Plugin 
>>>>> > (https://github.com/CakeDC/**users/tree/2.0<https://github.com/CakeDC/users/tree/2.0>)
>>>>> >  
>>>>> , I have installed all necessary 
>>>>> > plugins and I’m able to get to registration form, yet when I 
>>>>> register I do 
>>>>> > not receive any confirmation instead I receive the following errors: 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > Any insight into what I have wrong? I have updated the default 
>>>>> “from” email 
>>>>> > setting in my bootstrap to Configure::wrote(‘App.**defaultEmail’, 
>>>>> > ‘[email protected]’)…. 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > Thanks in advance for any help 
>>>>> > 
>>>>> > Mk 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > Stack Trace: 
>>>>> > 
>>>>> > ·  CORE\Cake\Network\Email\**CakeEmail.php line 972 → 
>>>>> > MailTransport->send(CakeEmail) 
>>>>> > 
>>>>> >         $this->_createBoundary(); 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> >         $this->_message = $this->_render($this->_wrap($**content)); 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> >         $contents = $this->transportClass()->send(**$this); 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> >         if (!empty($this->_config['log'])**) { 
>>>>> > 
>>>>> > ·  APP\Plugin\users\Controller\**UsersController.php line 583 → 
>>>>> > CakeEmail->send() 
>>>>> > 
>>>>> >             ->viewVars(array( 
>>>>> > 
>>>>> >                 'model' => $this->modelClass, 
>>>>> > 
>>>>> >                 'user' => $userData)) 
>>>>> > 
>>>>> >             ->send(); 
>>>>> > 
>>>>> >     } 
>>>>> > 
>>>>> > ·  APP\Plugin\users\Controller\**UsersController.php line 323 → 
>>>>> > UsersController->_**sendVerificationEmail(array) 
>>>>> > 
>>>>> >         if (!empty($this->request->data)) { 
>>>>> > 
>>>>> >             $user = $this->User->register($this->**request->data); 
>>>>> > 
>>>>> >             if ($user !== false) { 
>>>>> > 
>>>>> >                 $this->_sendVerificationEmail(**$this->User->data); 
>>>>> > 
>>>>> >                 $this->Session->setFlash(__d('**users', 'Your 
>>>>> account has been 
>>>>> > created. You should receive an e-mail shortly to authenticate your 
>>>>> account. 
>>>>> > Once validated you will be able to login.')); 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> > ·  [internal function] → UsersController->add() 
>>>>> > 
>>>>> > ·  CORE\Cake\Controller\**Controller.php line 485 → 
>>>>> > ReflectionMethod->invokeArgs(**UsersController, array) 
>>>>> > 
>>>>> > ·  CORE\Cake\Routing\Dispatcher.**php line 103 → 
>>>>> > Controller->invokeAction(**CakeRequest) 
>>>>> > 
>>>>> > ·  CORE\Cake\Routing\Dispatcher.**php line 85 → 
>>>>> > Dispatcher->_invoke(**UsersController, CakeRequest, CakeResponse) 
>>>>> > 
>>>>> > ·  APP\webroot\index.php line 97 → Dispatcher->dispatch(**CakeRequest, 
>>>>>
>>>>> > CakeResponse) 
>>>>> > 
>>>>> > -- 
>>>>> > Our newest site for the community: CakePHP Video Tutorials 
>>>>> > http://tv.cakephp.org 
>>>>> > Check out the new CakePHP Questions site http://ask.cakephp.org and 
>>>>> help 
>>>>> > others with their CakePHP related questions. 
>>>>> > 
>>>>> > 
>>>>> > To unsubscribe from this group, send email to 
>>>>> > cake-php+unsubscribe@**googlegroups.com<cake-php%[email protected]>For
>>>>> >  more options, visit this group at 
>>>>> > http://groups.google.com/**group/cake-php<http://groups.google.com/group/cake-php>
>>>>> >  
>>>>>
>>>>  -- 
>>>> Our newest site for the community: CakePHP Video Tutorials 
>>>> http://tv.cakephp.org 
>>>> Check out the new CakePHP Questions site http://ask.cakephp.org and 
>>>> help others with their CakePHP related questions.
>>>>  
>>>>  
>>>> To unsubscribe from this group, send email to
>>>> [email protected] For more options, visit this 
>>>> group at http://groups.google.com/group/cake-php
>>>>
>>>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to