[try to keep correspondance to the mhonarc list]
1. i recieve the visio attachement correctly through my netscape
mail. there the attachment shows up as:
Name: netmodel.vsd
Type:
application/x-unknown-content-type-Visio.Drawing.4
Encoding: base64
2. so i thought that subtype of visio should be
"x-unknown-content-type-Visio.Drawing.4" and so added the following
line
to my mhonarc resource file: (the new/added line has been underlined)
<MimeArgs>
text/plain:quote maxwidth=78
image/gif:inline
image/jpeg:inline
image/x-xbitmap:inline
image/x-xbm:inline
</MimeArgs>
<MIMEFilters>
application/x-unknown-content-type-Visio.Drawing.4:m2h_external'filter
ext=vsd
type="Visio Document":mhexternal.pl
You are misusing the MIMEFilters resource. What you have above
will not work. The first line is okay, but the other 2 are bogus.
MIMEFilters just maps content-types to filters. Filter options
are specified by the MIMEARGS resource. Therefore, you want something
like the following:
<MIMEFilters>
application/x-unknown-content-type-Visio.Drawing.4:m2h_external'filter
</MIMEFilters>
<MimeArgs>
application/x-unknown-content-type-Visio.Drawing.4:ext=vsd type="Visio Document"
</MimeArgs>
Hopefully this should do the trick.
--ewh