<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.imap-errors" xmlns="http://docbook.org/ns/docbook">
 <refnamediv>
  <refname>imap_errors</refname>
  <refpurpose>Returns all of the IMAP errors that have occurred</refpurpose>
 </refnamediv>
 <refsect1 role="description">
  &reftitle.description;
  <methodsynopsis>
   <type>array</type><methodname>imap_errors</methodname>
   <void/>
  </methodsynopsis>
  <para>
   Gets all of the <acronym>IMAP</acronym> errors (if any) that have occurred
   during this page request or since the error stack was reset.
  </para>
  <para>
   When <function>imap_errors</function> is called, the error stack is
   subsequently cleared.
  </para>
 </refsect1>
 <refsect1 role="returnvalues">
  &reftitle.returnvalues;
  <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. 
  </para>
 </refsect1>
 <refsect1 role="seealso">
  &reftitle.seealso;
  <para>
   <simplelist>
    <member><function>imap_last_error</function></member>
    <member><function>imap_alerts</function></member>
   </simplelist>
  </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:"~/.phpdoc/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
-->