GoLang imap_alerts

request it (362)
GoLang replacement for PHP's imap_alerts [edit | history]



Do you know a GoLang replacement for PHP's imap_alerts? Write it!

PHP imap_alerts

PHP original manual for imap_alerts [ show | php.net ]

imap_alerts

(PHP 4, PHP 5, PHP 7)

imap_alertsReturns all IMAP alert messages that have occurred

Description

array imap_alerts ( void )

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.

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