Documentation

Horde_Mail_Autoconfig_Driver_Guess extends Horde_Mail_Autoconfig_Driver
in package

Do simplistic guessing of hosts by appending common server names to domain.

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

$dns  : Net_DNS2_Resolver
DNS resolver.
$priority  : int
Low priority: shot-in-the dark technique that has no formalized standard.
mailSearch()  : mixed
Determine the configuration for a message storage access server.
msaSearch()  : mixed
Determine the configuration for a message submission agent (MSA).
_resolveHosts()  : mixed
Filter list by removing non-existent hosts.

Properties

$dns

DNS resolver.

public Net_DNS2_Resolver $dns

$priority

Low priority: shot-in-the dark technique that has no formalized standard.

public int $priority = 30

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.

_resolveHosts()

Filter list by removing non-existent hosts.

protected _resolveHosts(array<string|int, mixed> $hosts) : mixed
Parameters
$hosts : array<string|int, mixed>

List of possible servers (objects).

Return values
mixed

Array of existing hosts, or false if none exist.

Search results