Richard York

Web Developer, Author, and Artist

Mail_IMAP::__construct()

bool __construct([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.

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 Error: 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()

Comments

There are no comments posted at this time.

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.

Comments are closed at this time.

© Copyright 2014 Hot Toddy, All Rights Reserved.