\Horde_Mail_Autoconfig_Driver_Thunderbird

Perform configuration lookups based on services provided by Mozilla/Thunderbird.

See: https://wiki.mozilla.org/Thunderbird:Autoconfiguration

Summary

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

Properties

$priority

$priority : integer

Medium priority: not standardized (i.e. RFC), but API is actively maintained by Mozilla.

Type

integer

$http

$http : \Horde_Http_Client

Http client.

Type

\Horde_Http_Client

$ispdb

$ispdb : string

URL of Mozilla ISPDB server lookup.

Type

string

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.

_process()

_process(string  $domain, string  $tag, array  $types, \Horde_Mail_Rfc822_Address  $email) 

Process a Thunderbird autoconfig entry.

Parameters

string $domain

Domain name.

string $tag

XML tag to parse.

array $types

List of $tag types to process.

\Horde_Mail_Rfc822_Address $email

Username.