/** * Check system prefs and/or hooks to determine if we are allowed to send. * * @return boolean True if able to send otherwise false. */ protected function _sysCheck() { // Check existence of API method needed. if (!$this->_connector->horde_hasMethod('mdnSend', 'mail')) { return false; } // @todo Other checks? return true; }