public function optoutAction() { $email = $this->getRequest()->getParam('id'); if (NewslettersSubscribers::optOut($email)) { $this->_helper->redirector('index', 'index', 'default', array('mex' => "You have unsubscribed our newsletter correctly.")); } else { $this->_helper->redirector('index', 'index', 'default', array('mex' => "There was a problem during the email registration, please check your email address.")); } }