imap_alerts Returns all IMAP alert messages that have occurred &reftitle.description; arrayimap_alerts Returns all of the IMAP alert messages generated since the last imap_alerts call, or the beginning of the page. When imap_alerts is called, the alert stack is subsequently cleared. The IMAP specification requires that these messages be passed to the user. &reftitle.returnvalues; Returns an array of all of the IMAP alert messages generated or &false; if no alert messages are available. &reftitle.seealso; imap_errors