CSS: Providing seven essential vitamins and minerals since 1996.
Have a steaming hot, delicious slice of Standards.

Mail_IMAPv2 Connection Wizard Example

<?php /** * A demonstration of how to use the connection wizard function. * * @author Richard York <rich_y@php.net> * @copyright (c) Copyright 2004, Richard York, All Rights Reserved. * @package Mail_IMAP * @subpackage examples ** */ require_once 'IMAP.connection_wizard.php'; // Attempt to find the correct URI for any protocol based on common // port settings and configurations if (FALSE != ($url = Mail_IMAP_connection_wizard('mail.example.net', 'mailuser', 'mailpass'))) { echo $uri; } else { echo 'A suitable URI could not be detected.'; } // Attempt to find the correct URI on a specific protocol and port setting // // Mail_IMAP_connection_wizard('mail.yourserver.net', 'mailuser', 'mailpass', 'imap', 143); // ?>
Copyright © 1998-2009 Richard York, All Rights Reserved.
PHP Powered XHTML 1.0 CSS
Execution time: 0.04 seconds