Get Mail Protocol
mixed Core_Email::_get_protocol( [ bool $return = bool true ] )
参数列表
参数 类型 描述 默认值 $return
bool
bool true
mixed
protected function _get_protocol($return = true)
{
$this->protocol = strtolower($this->protocol);
in_array($this->protocol, $this->_protocols, true) || $this->protocol = 'mail';
if ($return === true)
{
return $this->protocol;
}
}