<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<refentry id="function.imap-errors">
 <refnamediv>
  <refname>imap_errors</refname>
  <refpurpose>This function returns all of the IMAP errors (if any) that have occurred during this page request or since the error stack was reset</refpurpose>
 </refnamediv>
 <refsect1>
  <title>Description</title>
  <methodsynopsis>
   <type>array</type><methodname>imap_errors</methodname>
   <void/>
  </methodsynopsis>
  <para>
   This function returns an array of all of the IMAP error messages
   generated since the last <function>imap_errors</function> call,
   or the beginning of the page. Returns &false; if no error messages are
   available. When <function>imap_errors</function> is called, the error
   stack is subsequently cleared.
  </para>
  <para>
   See also <function>imap_last_error</function>&listendand;
   <function>imap_alerts</function>
  </para>
 </refsect1>
</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->