<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Returns all of the IMAP errors that have occurred</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.imap-deletemailbox.html">imap_deletemailbox</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.imap-expunge.html">imap_expunge</a></div> <div class="up"><a href="ref.imap.html">IMAP Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.imap-errors" class="refentry"> <div class="refnamediv"> <h1 class="refname">imap_errors</h1> <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">imap_errors</span> — <span class="dc-title">Returns all of the IMAP errors that have occurred</span></p> </div> <div class="refsect1 description" id="refsect1-function.imap-errors-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">array</span> <span class="methodname"><strong>imap_errors</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Gets all of the <acronym title="Internet Message Access Protocol">IMAP</acronym> errors (if any) that have occurred during this page request or since the error stack was reset. </p> <p class="para"> When <span class="function"><strong>imap_errors()</strong></span> is called, the error stack is subsequently cleared. </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.imap-errors-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> This function returns an array of all of the IMAP error messages generated since the last <span class="function"><strong>imap_errors()</strong></span> call, or the beginning of the page. Returns <strong><code>FALSE</code></strong> if no error messages are available. </p> </div> <div class="refsect1 seealso" id="refsect1-function.imap-errors-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.imap-last-error.html" class="function" rel="rdfs-seeAlso">imap_last_error()</a> - Gets the last IMAP error that occurred during this page request</span></li> <li class="member"> <span class="function"><a href="function.imap-alerts.html" class="function" rel="rdfs-seeAlso">imap_alerts()</a> - Returns all IMAP alert messages that have occurred</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.imap-deletemailbox.html">imap_deletemailbox</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.imap-expunge.html">imap_expunge</a></div> <div class="up"><a href="ref.imap.html">IMAP Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>