\Horde_Mail_Autoconfig_Driver_Srv

Perform RFC 6186 DNS SRV record lookups to determine mail configuration.

Summary

Methods
Properties
Constants
msaSearch()
mailSearch()
$priority
$dns
No constants found
_srvSearch()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$priority

$priority : integer

High priority: this is a standardized (RFC) method of determining configuration values.

Type

integer

$dns

$dns : \Net_DNS2_Resolver

DNS resolver.

Type

\Net_DNS2_Resolver

Methods

msaSearch()

msaSearch(array  $domains, array  $opts = array()) : mixed

Determine the configuration for a message submission agent (MSA).

Parameters

array $domains

List of domains to search.

array $opts

Additional options:

  • email: (Horde_Mail_Rfc822_Address) The original e-mail provided.

Returns

mixed —

False if no servers found, or a list of server objects in order of decreasing priority.

mailSearch()

mailSearch(array  $domains, array  $opts = array()) : mixed

Determine the configuration for a message storage access server.

Parameters

array $domains

List of domains to search.

array $opts

Additional options:

  • email: (Horde_Mail_Rfc822_Address) The original e-mail provided.
  • no_imap: (boolean) If true, ignore IMAP servers.
  • no_pop3: (boolean) If true, ignore POP3 servers.

Returns

mixed —

False if no servers found, or a list of server objects in order of decreasing priority.

_srvSearch()

_srvSearch(array  $domains, array  $queries) : mixed

Perform the SRV search.

Parameters

array $domains

List of domains to search.

array $queries

The SRV queries to run.

Returns

mixed —

False if no servers found, or a list of server objects in order of decreasing priority.