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

Mail_IMAP::Mail_IMAP()

bool Mail_IMAP([string $connection[, bool $get_info = TRUE]])

The class constructor accepts a URI abstraction, or the IMAP resource stream created by imap_open. See the Mail_IMAP::connect method for an explaination of the syntax allowed in the URI abstraction.

An instance of PEAR_ErrorStack is instantiated in the constructor and stored in the $error property.

If the optional $get_info argument is TRUE, Mail_IMAP::connect automatically calls on Mail_IMAP::getMailboxInfo, whereas extra information about the mailbox is added to the $mailboxInfo property.

Method summary:

param string $connection (optional) URI | imap resource.
param bool $get_info (optional) see above.
return void
throws ErrorStack: Invalid imap resource stream passed to constructor. Check the imap stream passed to the constructor in the the $connection argument.
access public
see imap_open
Mail_IMAP::connect

Leave a Comment

Simple HTML is allowed: <code>, <b>, <i>, <u>, <var>, <strong>, <em>, <blockquote>, <ul>, <ol>, <li>, <p> (no attributes). All spacing and line breaks in your comment will be preserved.

* All comments are moderated and are subject to approval.
Your comment will appear once it has been approved.
Posting multiple times will not expedite the approval process.

Copyright © 1998-2012 Richard York, All Rights Reserved.