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.
| 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.
* 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.