<html> <head> <title>MHonArc Resources: ARCHIVE</title> <link rel="stylesheet" type="text/css" href="../docstyles.css"> </head> <body> <!--x-rc-nav--> <table border=0><tr valign="top"> <td align="left" width="50%">[Prev: <a href="annotate.html">ANNOTATE</a>]</td><td><nobr>[<a href="../resources.html#archive">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="attachmentdir.html">ATTACHMENTDIR</a>]</td></tr></table> <!--/x-rc-nav--> <hr> <h1>ARCHIVE</h1> <!--X-TOC-Start--> <ul> <li><a href="#syntax">Syntax</a> <li><a href="#description">Description</a> <li><a href="#default">Default Setting</a> <li><a href="#rcvars">Resource Variables</a> <li><a href="#examples">Examples</a> <li><a href="#version">Version</a> <li><a href="#seealso">See Also</a> </ul> <!--X-TOC-End--> <!-- *************************************************************** --> <hr> <h2><a name="syntax">Syntax</a></h2> <dl> <dt><strong>Envariable</strong></dt> <dd><p> <code>M2H_ARCHIVE=</code> [ <code>0</code> | <code>1</code> ] </p> </dd> <dt><strong>Element</strong></dt> <dd><p>N/A </p> </dd> <dt><strong>Command-line Option(s)</strong><dt> <dd><p> <code>-archive</code><br> <code>-noarchive</code> </p> </dd> </dl> <!-- *************************************************************** --> <hr> <h2><a name="description">Description</a></h2> <p>MHonArc using the ARCHIVE resource to determine if it should create archive data after reading message data. </p> <!-- *************************************************************** --> <hr> <h2><a name="default">Default Setting</a></h2> <pre> 1 </pre> <!-- *************************************************************** --> <hr> <h2><a name="rcvars">Resource Variables</a></h2> <p>N/A </p> <!-- *************************************************************** --> <hr> <h2><a name="examples">Examples</a></h2> <p>The purpose of MHonArc is to create HTML archive, so why would you want to disable archiving? One potential purpose is to use MHonArc as a general MIME processing filter to extract all attachments in a mail folder to separate files. Luckily, the utility program <a href="../app-utilsprg.html#mha-decode"><b>mha-decode</b></a> is included in the MHonArc distribution to provide basic MIME message decoding. Therefore, the lengthy example that used to be here has been deleted. You can examine the source of <b>mha-decode</b> to see how it interfaces with the MHonArc libraries and uses the ARCHIVE resource. </p> <!-- *************************************************************** --> <hr> <h2><a name="version">Version</a></h2> <p>2.1.2 </p> <!-- *************************************************************** --> <hr> <h2><a name="seealso">See Also</a></h2> <p> <a href="../app-utilsprg.html#mha-decode"><b>mha-decode</b></a> </p> <!-- *************************************************************** --> <hr> <!--x-rc-nav--> <table border=0><tr valign="top"> <td align="left" width="50%">[Prev: <a href="annotate.html">ANNOTATE</a>]</td><td><nobr>[<a href="../resources.html#archive">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="attachmentdir.html">ATTACHMENTDIR</a>]</td></tr></table> <!--/x-rc-nav--> <hr> <address> $Date: 2003/10/06 22:04:16 $ <br> <img align="top" src="../monicon.png" alt=""> <a href="http://www.mhonarc.org/" ><strong>MHonArc</strong></a><br> Copyright © 1998-1999, <a href="http://www.earlhood.com/" >Earl Hood</a>, <a href="mailto:mhonarc%40mhonarc.org" >mhonarc<!-- -->@<!-- -->mhonarc.org</a><br> </address> </body> </html>