public function init($config) { if ($this->_from === '') { $this->_from = ini_get('sendmail_from'); } if ($this->_from === '') { throw new TConfigurationException('emaillogroute_sentfrom_required'); } }