IMAP_ERRORS(3) 1 IMAP_ERRORS(3)
imap_errors - Returns all of the IMAP errors that have occurred
SYNOPSIS
array imap_errors (void )
DESCRIPTION
Gets all of the IMAP errors (if any) that have occurred during this page request or since the error stack was reset.
When imap_errors(3) is called, the error stack is subsequently cleared.
RETURN VALUES
This function returns an array of all of the IMAP error messages generated since the last imap_errors(3) call, or the beginning of the
page. Returns FALSE if no error messages are available.
SEE ALSO
imap_last_error(3), imap_alerts(3).
PHP Documentation Group IMAP_ERRORS(3)