PHP Класс Horde_Mail_Autoconfig, horde

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

Защищенные свойства (Protected)

Свойство Тип Описание
$_driverlist array Drivers. Shared between all instances.
$_drivers array Driver list.

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

Метод Описание
__construct ( array $opts = [] ) Constructor.
_getConfig ( string $type, string $email, array $opts ) : mixed Determine autoconfiguration details.
getDrivers ( ) : array Load the list of drivers.
getMailConfig ( string $email, array $opts = [] ) : Horde_Mail_Autoconfig_Server Determine the configuration for a message storage access server (i.e.
getMsaConfig ( string $email, array $opts = [] ) : Horde_Mail_Autoconfig_Server Determine the configuration for a message submission agent (MSA).

Защищенные методы

Метод Описание
_parseEmail ( string $email ) : array Parse e-mail input.

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

__construct() публичный Метод

Constructor.
public __construct ( array $opts = [] )
$opts array Configuration options: - drivers: (array) Use this list of drivers instead of the default autodetected list of drivers contained in this package.

_getConfig() публичный Метод

Determine autoconfiguration details.
public _getConfig ( string $type, string $email, array $opts ) : mixed
$type string The type of driver search to do.
$email string An e-mail address.
$opts array Options (see getMsaConfig() and getMailConfig()).
Результат mixed See getMsaConfig() and getMailConfig().

_parseEmail() защищенный Метод

Parse e-mail input.
protected _parseEmail ( string $email ) : array
$email string An e-mail address.
Результат array The email object and a list of (sub)domains.

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

Load the list of drivers.
public static getDrivers ( ) : array
Результат array

getMailConfig() публичный Метод

IMAP and/or POP3 server).
public getMailConfig ( string $email, array $opts = [] ) : Horde_Mail_Autoconfig_Server
$email string An e-mail address.
$opts array Additional options: - auth: (mixed) If set, will perform additional check to verify that user can authenticate to server. Either a string (password) or a Horde_Smtp_Password object. - insecure: (boolean) If true and checking authentication, will allow non-secure authentication types. - no_imap: (boolean) If true, will not autoconfig IMAP servers. - no_pop3: (boolean) If true, will not autoconfig POP3 servers.
Результат Horde_Mail_Autoconfig_Server The server object to use, or false if no server could be found.

getMsaConfig() публичный Метод

Determine the configuration for a message submission agent (MSA).
public getMsaConfig ( string $email, array $opts = [] ) : Horde_Mail_Autoconfig_Server
$email string An e-mail address.
$opts array Additional options: - auth: (mixed) If set, will perform additional check to verify that user can authenticate to server. Either a string (password) or a Horde_Smtp_Password object. - insecure: (boolean) If true and checking authentication, will allow non-secure authentication types.
Результат Horde_Mail_Autoconfig_Server The server object to use, or false if no server could be found.

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

$_driverlist защищенное статическое свойство

Drivers. Shared between all instances.
protected static array $_driverlist
Результат array

$_drivers защищенное свойство

Driver list.
protected array $_drivers
Результат array