<HTML ><HEAD ><TITLE >imap_errors</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK REL="HOME" TITLE="PHP Manual" HREF="manual.html"><LINK REL="UP" TITLE="IMAP, POP3 and NNTP functions" HREF="ref.imap.html"><LINK REL="PREVIOUS" TITLE="imap_last_error" HREF="function.imap-last-error.html"><LINK REL="NEXT" TITLE="imap_alerts" HREF="function.imap-alerts.html"></HEAD ><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.imap-last-error.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.imap-alerts.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.imap-errors" >imap_errors</A ></H1 ><DIV CLASS="refnamediv" ><A NAME="AEN13632" ></A >imap_errors -- This function returns all of the IMAP errors (if any) that have occurred during this page request or since the error stack was reset. </DIV ><DIV CLASS="refsect1" ><A NAME="AEN13635" ></A ><H2 >Description</H2 ><DIV CLASS="funcsynopsis" ><P ></P ><CODE CLASS="FUNCDEF" >array imap_errors</CODE >(void );<P ></P ></DIV ><P > This function returns an array of all of the IMAP error messages generated since the last <B CLASS="function" >imap_errors()</B > call, or the beginning of the page. When <B CLASS="function" >imap_errors()</B > is called, the error stack is subsequently cleared. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.imap-last-error.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="manual.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.imap-alerts.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >imap_last_error</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.imap.html" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >imap_alerts</TD ></TR ></TABLE ></DIV ></BODY ></HTML >