PHP 클래스 Horde_Mail_Autoconfig, horde

저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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