PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

imap_expunge> <imap_deletemailbox
Last updated: Fri, 11 Apr 2008

view this page in

imap_errors

(PHP 4, PHP 5)

imap_errors — Esta función devuelve todos los errores IMAP (si hubo) que han occurrido durante la petición de la página o desde que la pila de errores se inicializó.

Descripción

array imap_errors ( void )

Esta función devuelve un array de todos los mensajes de error IMAP generados desde la última llamada a imap_errors(), o el principio de la página. Cuando se llama a imap_errors(), la pila de errores se inicializa.

ATENCIàN: esta función no esta disponible aún en PHP4.



add a note add a note User Contributed Notes
imap_errors
Jeremy Glover
03-Apr-2007 08:41
When calling imap_close($mbox), notices will be generated for each error that has occurred within the imap functions.  To suppress these error messages (including Mailbox is empty, which is not really an error) simply call imap_errors() and then imap_close($mbox).

imap_expunge> <imap_deletemailbox
Last updated: Fri, 11 Apr 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites