Smiling Souls

Steeped in the delicious tea like leaves of anthroposophy for the evolving soul.


bool errors([bool $handler = TRUE[, str $separator = "

Wrapper method for imap_errors. Gets the internal c-client error stack.

If the $handler argument is TRUE, the c-client error stack is iterated and trigger_error is called for each error, if $handler is FALSE, the c-client error stack array is returned impoded, each error separated by the characters specified in the $separator argument, which is an XHTML line break and newline character by default.

If no errors are present in the c-client error stack, Mail_IMAP::errors returns FALSE. If $handler is TRUE and errors are present, Mail_IMAP::errors returns TRUE.

Method summary:

param bool $handler (optional) See above.
param str $separator (optional) See above.
return bool
access public
see imap_errors() trigger_error()


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 2015 Hot Toddy, All Rights Reserved.