Documentation

Horde_Mail_Autoconfig_Driver_Thunderbird extends Horde_Mail_Autoconfig_Driver
in package

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

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

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

$http  : Horde_Http_Client
Http client.
$ispdb  : string
URL of Mozilla ISPDB server lookup.
$priority  : int
Medium priority: not standardized (i.e. RFC), but API is actively maintained by Mozilla.
mailSearch()  : mixed
Determine the configuration for a message storage access server.
msaSearch()  : mixed
Determine the configuration for a message submission agent (MSA).
_process()  : mixed
Process a Thunderbird autoconfig entry.

Properties

$ispdb

URL of Mozilla ISPDB server lookup.

public string $ispdb = 'https://live.mozillamessaging.com/autoconfig/v1.1/'

$priority

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

public int $priority = 20

Methods

mailSearch()

Determine the configuration for a message storage access server.

public mailSearch(mixed $domains[, array<string|int, mixed> $opts = array() ]) : mixed
Parameters
$domains : mixed

List of domains to search.

$opts : array<string|int, mixed> = array()

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.
Return values
mixed

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

msaSearch()

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

public msaSearch(mixed $domains[, array<string|int, mixed> $opts = array() ]) : mixed
Parameters
$domains : mixed

List of domains to search.

$opts : array<string|int, mixed> = array()

Additional options:

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

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

_process()

Process a Thunderbird autoconfig entry.

protected _process(string $domain, string $tag, array<string|int, mixed> $types, Horde_Mail_Rfc822_Address $email) : mixed
Parameters
$domain : string

Domain name.

$tag : string

XML tag to parse.

$types : array<string|int, mixed>

List of $tag types to process.

$email : Horde_Mail_Rfc822_Address

Username.

Return values
mixed

Search results