multipart alternatives and text_types

From: Paul Haldane <Paul.Haldane_at_newcastle.ac.uk_at_hypermail-project.org>
Date: Thu, 8 Apr 1999 18:31:52 +0100 (GMT)
Message-ID: <Pine.GSO.3.95-960729.990408181342.16107A-100000_at_carr6.ncl.ac.uk>

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 Received on Thu 08 Apr 1999 07:46:36 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:50 PM GMT GMT