protected function _isMailingDisabled() {
        $config = Zend_Registry::get('config');
        return (isset($config->mailer->sendMail) && !$config->mailer->sendMail) ||
            ($this->_isAmazonSesConfigured() &&
                (isset($config->amazon->ses->sendMail) && !$config->amazon->ses->sendMail));
    }