Tnks, i missed that! :) the error is: 
Could not instantiate mail function.

Warning (2): Cannot modify header information - headers already sent by
(output started at
C:\xampp\htdocs\pcg_servidor\vendors\PHPMailer_v5.0.2\class.phpmailer.php:1053)
[CORE\cake\libs\controller\controller.php, line 644]

Code | Context

$status =       "Location:
http://localhost:90/pcg_servidor/encomendas/encomendas_encomendas/index/datai:2011-04-01/dataf:2011-04-07/";

        }

        echo $_this->_output($level, $error, $code, $helpCode, $description,
$file, $line, $context);

Debugger::handleError() - CORE\cake\libs\debugger.php, line 222
header - [internal], line ??
Controller::header() - CORE\cake\libs\controller\controller.php, line 644
Controller::redirect() - CORE\cake\libs\controller\controller.php, line 625
EncomendasEncomendasController::delete() -
APP\plugins\encomendas\controllers\encomendas_encomendas_controller.php,
line 523
Object::dispatchMethod() - CORE\cake\libs\object.php, line 118
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194
[main] - APP\webroot\index.php, line 88



--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/SEND-EMAIL-FUNCTION-INSIDE-CONTROLLER-tp4461556p4469125.html
Sent from the CakePHP mailing list archive at Nabble.com.

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