Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 61dabb0b59bf11e80f1327c065cec842 > files > 69

MHonArc-2.4.9-1mdk.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>MHonArc FAQ: MIME</TITLE></HEAD>
<BODY>

<!--X-NavButtons-Start-->
<p align=center>
[<a href="threads.html">Prev</a>][Next][<a href="faq.html">TOC</a>][<a href="http://www.oac.uci.edu/indiv/ehood/mhonarc.html">Home</a>]
</p>
<!--X-NavButtons-End-->

<!-- ===================================================================== -->
<HR>
<H2><a name="mime">MIME</a></H2>

<!--X-TOC-Start-->
<ul>
<li><a href="#whatismime">What is MIME?</a></li>
<li><a href="#nonascii">Does MHonArc support message header extensions for non-ASCII text?</a></li>
<li><a href="#howtorecog">How can I get MHonArc to recognize content-types it states it does not recognize?</a></li>
<li><a href="#overridedefs">Can I override the default filters in MHonArc?</a></li>
<li><a href="#overridemulti">Can I override the multipart/* processing of MHonArc?</a></li>
<li><a href="#badtype">Why are attachments saved as a ".bin" files?</a></li>
<li><a href="#filenames">Can attachments get saved with the filename specified in the message header?</a></li>
<li><a href="#removepre">Can the &lt;PRE&gt; tags be removed from converted messages?</a></li>
<li><a href="#lineclip">Can long lines be wrapped in converted messages?</a></li>
</ul>
<!--X-TOC-End-->

<!-- ??????????????????????????????????????????????????????????????? -->
<hr noshade size=1>
<table border=0>
<tr valign=top><td><img src="monicon.gif" align="bottom" alt=""></td><td>
<h3><b><a name="whatismime">What is MIME?</a></b></h3>
</td></tr></table>

<P>MIME stands for <EM>Multipurpose Internet
Mail Extensions</EM>.
An HTML version of the RFCs that define MIME are available at (<A
HREF="http://www.oac.uci.edu/indiv/ehood/MIME/MIME.html">http://www.oac.uci.edu/indiv/ehood/MIME/MIME.html</A>).
</P>

<P>In sum, MIME "redefines the format of message bodies to
allow multi-part textual and non-textual message bodies to
be represented and exchanged without loss of information." [<A
HREF="http://www.oac.uci.edu/indiv/ehood/MIME/1521/rfc1521ToC.html">RFC
1521</A>] </P>

<!-- ??????????????????????????????????????????????????????????????? -->
<hr noshade size=1>
<table border=0>
<tr valign=top><td><img src="monicon.gif" align="bottom" alt=""></td><td>
<h3><b><a name="nonascii">Does MHonArc support message header extensions for non-ASCII text?</a></b></h3>
</td></tr></table>

<P>v2.0 or later.  Review the CHARSETCONVERTERS resource page for
which character sets are supported by MHonArc and how to extend
MHonArc to support other character sets.
</P>

<!-- ??????????????????????????????????????????????????????????????? -->
<hr noshade size=1>
<table border=0>
<tr valign=top><td><img src="monicon.gif" align="bottom" alt=""></td><td>
<h3><b><a name="howtorecog">How can I get MHonArc to recognize content-types it states it does not recognize?</a></b></h3>
</td></tr></table>

<P>This question can be anwsered by reading about the MIMEFILTERS
resource of the
MHonArc documentation. The solution may require registering
a pre-existing filter for the given content-type, or hooking in a
new filter.
</P>

<!-- ??????????????????????????????????????????????????????????????? -->
<hr noshade size=1>
<table border=0>
<tr valign=top><td><img src="monicon.gif" align="bottom" alt=""></td><td>
<h3><b><a name="overridedefs">Can I override the default filters in MHonArc?</a></b></h3>
</td></tr></table>

<p>Yes.  MHonArc's default filters are hooked in
as described in the MIMEFILTERS resource.  Note, please review the
options available for the default filters described in the MIMEFILTERS
resource page since they may already provide the capability you
need.
</p>

<!-- ??????????????????????????????????????????????????????????????? -->
<hr noshade size=1>
<table border=0>
<tr valign=top><td><img src="monicon.gif" align="bottom" alt=""></td><td>
<h3><b><a name="overridemulti">Can I override the multipart/* processing of MHonArc?</a></b></h3>
</td></tr></table>

<p>Yes, but not recommended.  Make sure you are familiar with how
MHonArc does things before considering implementing your own multipart
filter.  In sum, you can completely replace MHonArc's filters
with your own if you so desire.
</p>

<!-- ??????????????????????????????????????????????????????????????? -->
<hr noshade size=1>
<table border=0>
<tr valign=top><td><img src="monicon.gif" align="bottom" alt=""></td><td>
<h3><b><a name="badtype">Why are attachments saved as a ".bin" files?</a></b></h3>
</td></tr></table>

<p>MHonArc uses the <b>Content-Type</b> field in messages to determine
the type of data that is being processed.  If data is gettings saved
to a "<tt>.bin</tt>" file, it means the data has a content-type of
<b>application/octet-stream</b>.  The best solution to the problem
is have the senders of the messages label the data properly.  You
can also check out the <b><tt>m2h_external::filter</tt></b> options documented
in the MIMEFILTERS page of the documentation for some possible alternate
solutions.
</p>

<!-- ??????????????????????????????????????????????????????????????? -->
<hr noshade size=1>
<table border=0>
<tr valign=top><td><img src="monicon.gif" align="bottom" alt=""></td><td>
<h3><b><a name="filenames">Can attachments get saved with the filename specified in the message header?</a></b></h3>
</td></tr></table>

<p>Yes.  See the <b><tt>m2h_external::filter</tt></b> options documented
in the MIMEFILTERS page of the documentation.  Make note of the
security cautions in the documentation.
</p>

<!-- ??????????????????????????????????????????????????????????????? -->
<hr noshade size=1>
<table border=0>
<tr valign=top><td><img src="monicon.gif" align="bottom" alt=""></td><td>
<h3><b><a name="removepre">Can the &lt;PRE&gt; tags be removed from converted messages?</a></b></h3>
</td></tr></table>

<p>Yes.  See the options available for the <b>m2h_text_plain::filter</b>
described in the MIMEFILTERS resource page of the documentation.
</p>

<!-- ??????????????????????????????????????????????????????????????? -->
<hr noshade size=1>
<table border=0>
<tr valign=top><td><img src="monicon.gif" align="bottom" alt=""></td><td>
<h3><b><a name="lineclip">Can long lines be wrapped in converted messages?</a></b></h3>
</td></tr></table>

<p>Yes.  See the options available for the <b>m2h_text_plain::filter</b>
described in the MIMEFILTERS resource page of the documentation.
</p>

<!-- ===================================================================== -->
<hr>

<!--X-NavButtons-Start-->
<p align=center>
[<a href="threads.html">Prev</a>][Next][<a href="faq.html">TOC</a>][<a href="http://www.oac.uci.edu/indiv/ehood/mhonarc.html">Home</a>]
</p>
<!--X-NavButtons-End-->

<HR>
<address>
01/06/10 17:47:21<br>
<img align="top" src="monicon.gif" alt="">
<a href="http://www.oac.uci.edu/indiv/ehood/mhonarc.html"
><strong>MHonArc</strong></a><br>
Copyright &#169; 1997-1999, <a href="http://www.oac.uci.edu/indiv/ehood/"
>Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org"
>mhonarc@mhonarc.org</a><br>
</address>
</BODY>
</HTML>