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.
| 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() |
|
There are no comments posted at this time.
* 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.