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

File: IMAP.connection_wizard.php

Source Location: /Mail_IMAP-1.1.0RC2/examples/IMAP.connection_wizard.php

Classes:

Page Details:

  • Author: Richard York <rich_y@php.net>
  • Copyright: (c) Copyright 2004, Richard York, All Rights Reserved.

Includes:

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

Mail_IMAP_connection_wizard [line 32]

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 13:52:29 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.