PHP Класс Horde_Mail_Autoconfig_Server, horde

Автор: Michael Slusarz ([email protected])
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$host string The server hostname (IDN encoded).
$label integer The server label.
$port integer The server port.
$tls mixed 'tls' = TLS needed for direct connection to server/port. 'starttls' = Switch to TLS via protocol after connection. false = No TLS connection used.
$username string The username to use.

Открытые методы

Метод Описание
valid ( array $opts = [] ) : boolean Check to see if server can be connected to.

Описание методов

valid() абстрактный публичный Метод

Check to see if server can be connected to.
abstract public valid ( array $opts = [] ) : boolean
$opts array Additional options: - auth: (mixed) The authentication credentials used to test a successful connection. - insecure: (boolean) If true, will attempt insecure authentication. - users: (array) A list of usernames to attempt if trying auth. If successful, the username will be stored in $username.
Результат boolean True if server is valid.

Описание свойств

$host публичное свойство

The server hostname (IDN encoded).
public string $host
Результат string

$label публичное свойство

The server label.
public int $label
Результат integer

$port публичное свойство

The server port.
public int $port
Результат integer

$tls публичное свойство

'tls' = TLS needed for direct connection to server/port. 'starttls' = Switch to TLS via protocol after connection. false = No TLS connection used.
public mixed $tls
Результат mixed

$username публичное свойство

The username to use.
public string $username
Результат string