Mail_IMAP
[ class tree: Mail_IMAP ] [ index: Mail_IMAP ] [ all elements ]

File: IMAP.connection_wizard.php

Source Location: /Mail_IMAP-1.0.0RC3/examples/IMAP.connection_wizard.php

Classes:

Page Details:

Includes:

require_once('Mail/IMAP.php') [line 3]

Mail_IMAP_connection_wizard [line 24]

string|FALSE Mail_IMAP_connection_wizard( string $server, string $user, string $pass, [string $protocol = NULL], [int $port = 0])

Attempts to find the appropriate URI for the user based on common configurations and port settings. This function is meant to serve as a utility helper to find the correct URI syntax to pass to connect.
  • See: connect *
  • Todo: add SSL/TLS URI testing


Parameters

string   $server   Remote mail server to connect to.
string   $user   Remote mail server user name.
string   $pass   Remote mail server password.
string   $protocol   (optional) Mail server protocol, one of imap|pop3|nntp
int   $port   (optional) Mail server port.
[ Top ]



Documentation generated on Mon, 11 Mar 2019 10:15:01 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.