headers already sent


i send a mail with


and i got this error but mail sent to destinator

Error 500

Cannot modify header information - headers already sent by (output started at /var/www/cames.org/agreg2015/framework/web/CController.php:794)

Ask on yii 1 forum.

I asume any echo in Controller. Please, publish code which is causing error