private static function _dispatchMailController($to, $subject, $body) { $ctrl = \Sifo\Bootstrap::invokeController('debug/mail'); $mail_data = array('to' => $to, 'subject' => $subject, 'body' => $body); $ctrl->addParams(array('mail_data' => $mail_data)); $ctrl->dispatch(); exit; }