\Horde_Mail_Autoconfig_Driver

Abstract class for implementing a mail configuration lookup driver.

Summary

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

Properties

$priority

$priority : integer

The priority of this driver. Lower values (0 minimum) indicate higher priority.

Type

integer

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.

Throws

\Horde_Mail_Autoconfig_Exception

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.

Throws

\Horde_Mail_Autoconfig_Exception

Returns

mixed —

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