<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML//EN">
<TITLE>MHonArc FAQ: MIME
</TITLE></HEAD>
<!--X-NavButtons-Start-->
[
<a href=
"threads.html">Prev
</a>][
<a href=
"security.html">Next
</a>][
<a href=
"faq.html">TOC
</a>][
<a href=
"http://www.mhonarc.org/">Home
</a>]
<!-- ===================================================================== -->
<H2><a name=
"mime">MIME
</a></H2>
<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
<PRE
> tags be removed from converted messages?
</a></li>
<li><a href=
"#lineclip">Can long lines be wrapped in converted messages?
</a></li>
<li><a href=
"#exclude">Can I exclude specific media-types?
</a></li>
<li><a href=
"#alternative">Can I tell MHonArc to use the text/plain part over a text/html part in a multipart/alternative message?
</a></li>
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" align=
"bottom" alt=
""></td><td>
<h3><b><a name=
"whatismime">What is MIME?
</a></b></h3>
<P>MIME stands for
<EM>Multipurpose Internet
An HTML version of the RFCs that define MIME are available at (
<A
HREF=
"http://www.nacs.uci.edu/indiv/ehood/MIME/MIME.html">http://www.nacs.uci.edu/indiv/ehood/MIME/MIME.html
</A>).
<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.nacs.uci.edu/indiv/ehood/MIME/1521/rfc1521ToC.html">RFC
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" align=
"bottom" alt=
""></td><td>
<h3><b><a name=
"nonascii">Does MHonArc support message header extensions for non-ASCII text?
</a></b></h3>
<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.
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" 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>
<P>This question can be anwsered by reading about the MIMEFILTERS
MHonArc documentation. The solution may require registering
a pre-existing filter for the given content-type, or hooking in a
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" align=
"bottom" alt=
""></td><td>
<h3><b><a name=
"overridedefs">Can I override the default filters in MHonArc?
</a></b></h3>
<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
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" align=
"bottom" alt=
""></td><td>
<h3><b><a name=
"overridemulti">Can I override the multipart/* processing of MHonArc?
</a></b></h3>
<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.
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" align=
"bottom" alt=
""></td><td>
<h3><b><a name=
"badtype">Why are attachments saved as a
".bin" files?
</a></b></h3>
<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
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" 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>
<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.
m2h_external::filter; usename
<dd><a href=
"security.html#attachments"
>Why doesn't MHonArc, by default, use the specified filename when
saving attachments?
</a></dd>
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" align=
"bottom" alt=
""></td><td>
<h3><b><a name=
"removepre">Can the
<PRE
> tags be removed from converted messages?
</a></b></h3>
<p>Yes. See the options available for the
<b>m2h_text_plain::filter
</b>
described in the MIMEFILTERS resource page of the documentation.
m2h_text_plain::filter; nonfixed
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" align=
"bottom" alt=
""></td><td>
<h3><b><a name=
"lineclip">Can long lines be wrapped in converted messages?
</a></b></h3>
<p>Yes. See the options available for the
<b>m2h_text_plain::filter
</b>
described in the MIMEFILTERS resource page of the documentation.
<-- Make sure lines are no longer than
80 characters --
>
m2h_text_plain::filter; maxwidth=
80
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" align=
"bottom" alt=
""></td><td>
<h3><b><a name=
"exclude">Can I exclude specific media-types?
</a></b></h3>
<p>Yes. See the MIMEEXCS resource.
<-- Exclude all HTML and binary data --
>
<!-- ??????????????????????????????????????????????????????????????? -->
<tr valign=top
><td><img src=
"monicon.png" align=
"bottom" alt=
""></td><td>
<h3><b><a name=
"alternative">Can I tell MHonArc to use the text/plain part over a text/html part in a multipart/alternative message?
</a></b></h3>
<p>Yes, in v2.5
.8, and later, via the MIMEALTPREFS resource.
<!-- ===================================================================== -->
<!--X-NavButtons-Start-->
[
<a href=
"threads.html">Prev
</a>][
<a href=
"security.html">Next
</a>][
<a href=
"faq.html">TOC
</a>][
<a href=
"http://www.mhonarc.org/">Home
</a>]
$Date:
2002/
06/
28 03:
28:
10 $
<br>
<img align=
"top" src=
"monicon.png" alt=
"">
<a href=
"http://www.mhonarc.org/"
><strong>MHonArc
</strong></a><br>
Copyright
© 1997-
1999,
<a href=
"http://www.earlhood.com/"
>Earl Hood
</a>,
<a href=
"mailto:mhonarc@mhonarc.org"
>mhonarc@mhonarc.org
</a><br>