Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<imap_8bitimap_append>
^IMAP FunctionsLast updated: Mon, 26 Oct 2026

imap_alerts

(PHP 4, PHP 5, PHP 7, PHP 8)

imap_alerts — Returns all IMAP alert messages that have occurred

Description

function imap_alerts(): array|false

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.

Parameters

This function has no parameters.

Return Values

Returns an array of all of the IMAP alert messages generated or false if no alert messages are available.

See Also

  • imap_errors() - Returns all of the IMAP errors that have occurred


<imap_8bitimap_append>
^IMAP FunctionsLast updated: Mon, 26 Oct 2026