multipart alternatives and text_types

---------

From: Paul Haldane (Paul.Haldane@newcastle.ac.uk)
Date: Thu Apr 08 1999 - 12:31:52 CDT


I've having trouble getting hypermail (2a18) to do exactly what I want
with alternative text representations - if I've got a
multipart/alternative message with one part text/plain and the other
text/html I'd like to show one of those in-line and not show the other at
all.

If I have...

hm_ignore_types = text/x-vcard
hm_ignore_types = application/x-msdownload application/ms-tnef
hm_prefered_types = text/plain text/enriched text/html
hm_text_types = text/plain text/enriched
hm_inlinehtml = 0

... I get the html saved as an attachment.

And with ...

hm_ignore_types = text/x-vcard
hm_ignore_types = application/x-msdownload application/ms-tnef
hm_prefered_types = text/plain text/enriched text/html
hm_text_types = text/plain text/enriched text/html
hm_inlinehtml = 0

... I get the plain text and then the html, both in-line on the message
page.

(if I set hm_inlinehtml = 1) then the first one behaves like the second.

Adding text/html to hm_ignore_types works but means that we discard all
text/html types - not just alternatives, which isn't what I want.

Is there a combination of the settings that will do what I want?

Paul


---------

This archive was generated by hypermail 2.1.5.