<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"/> <title>mail::account::resume</title> <link rel="stylesheet" href="manpage.css" type="text/css"/> <link rel="start" href="index.html" title="Cone: COnsole Newsreader And Emailer"/> <link rel="up" href="native.html" title="mail::account Native API reference"/> <link rel="prev" href="mail-removemessages.html" title="mail::account::removeMessages"/> <link rel="next" href="mail-savefolderindexinfo.html" title="mail::account::saveFolderIndexInfo"/> <link xmlns="" rel="icon" href="icon.gif" type="image/gif"/> <meta xmlns="" name="MSSmartTagsPreventParsing" content="TRUE"/> <!-- Copyright 2002 - 2007 Double Precision, Inc. See COPYING for distribution information. --> </head> <body> <div class="navheader"> <table width="100%" summary="Navigation header"> <tr> <th colspan="3" align="center" rowspan="1"> mail::account::resume</th> </tr> <tr> <td width="20%" align="left" rowspan="1" colspan="1"> <a accesskey="p" href="mail-removemessages.html" shape="rect">Prev</a> </td> <th width="60%" align="center" rowspan="1" colspan="1"> <span class="structname">mail::account</span> Native API reference</th> <td width="20%" align="right" rowspan="1" colspan="1">  <a accesskey="n" href="mail-savefolderindexinfo.html" shape="rect">Next</a></td> </tr> </table> <hr/> </div> <div class="refentry" lang="en" xml:lang="en"> <a id="mail-resume" shape="rect" name="mail-resume"> </a> <div class="titlepage"/> <div class="refnamediv"> <h2>Name</h2> <p>mail::account::resume — Resume after a suspend</p> </div> <div class="refsynopsisdiv"> <h2>Synopsis</h2> <div class="literallayout"> <p><br clear="none"/>       <br clear="none"/> <br clear="none"/> <br clear="none"/> #include <libmail/mail.H><br clear="none"/> <br clear="none"/></p> </div> <div class="funcsynopsis"> <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"> <tr> <td rowspan="1" colspan="1"><code class="funcdef">void <b class="fsfunc">mail::account::resume</b>(</code></td> <td rowspan="1" colspan="1"><code>void)</code>;</td> <td rowspan="1" colspan="1"> </td> </tr> </table> </div> </div> <div class="refsect1" lang="en" xml:lang="en"> <a id="id603541" shape="rect" name="id603541"> </a> <h2>USAGE</h2> <p>This function should be invoked when the application resumes after it was suspended, or after any other lengthy delay in calling <code class="function">mail::account::process</code>. The application could've been suspended while <span class="application">LibMAIL</span> was in a middle of processing a background event. After resuming, the jump in the system clock may result in <span class="application">LibMAIL</span> concluding that the remote mail server timed out without responding, when the actual response did come in while the application was suspended, and <span class="application">LibMAIL</span> just hasn't read it yet.</p> <p><code class="function">mail::account::process</code> resets <span class="application">LibMAIL</span> 's internal timeouts. Note that not much can be done if the application remained suspended long enough for the remote mail server to shut down the connection itself.</p> </div> <div class="refsect1" lang="en" xml:lang="en"> <a id="id603631" shape="rect" name="id603631"> </a> <h2>SEE ALSO</h2> <p><a class="link" href="mail-process.html" title="mail::account::process" shape="rect"><span class="citerefentry"><span class="refentrytitle">mail::account::process</span>(3x)</span></a>.</p> </div> </div> <div class="navfooter"> <hr/> <table width="100%" summary="Navigation footer"> <tr> <td width="40%" align="left" rowspan="1" colspan="1"> <a accesskey="p" href="mail-removemessages.html" shape="rect">Prev</a> </td> <td width="20%" align="center" rowspan="1" colspan="1"> <a accesskey="u" href="native.html" shape="rect">Up</a></td> <td width="40%" align="right" rowspan="1" colspan="1">  <a accesskey="n" href="mail-savefolderindexinfo.html" shape="rect">Next</a></td> </tr> <tr> <td width="40%" align="left" valign="top" rowspan="1" colspan="1">mail::account::removeMessages </td> <td width="20%" align="center" rowspan="1" colspan="1"> <a accesskey="h" href="index.html" shape="rect">Home</a> | <a accesskey="t" href="bk01-toc.html" shape="rect">ToC</a></td> <td width="40%" align="right" valign="top" rowspan="1" colspan="1"> mail::account::saveFolderIndexInfo</td> </tr> </table> </div> </body> </html>