PHP Manual
Prev |  | Next

# imap_alerts

(3.0.12 - 3.0.18 only, PHP 4 >= 4.0.0)

imap_alerts -- This function returns all IMAP alert messages (if any) that have occurred during this page request or since the alert stack was reset

## Description

``array imap_alerts` (void)`

This function returns an array of 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.

Prev | Home | Next
imap_8bit | Up | imap_append