Daniel Liston | 1 Sep 2002 02:43

fronters/footers idea


I am not sure if anyone still uses this list :) but I have a
"what if" idea for dealing with MIME content messages when a
list utilizes fronters or footers.  I know we want to convince
users to stick to plain text, but as someone mentioned on the
-users list, MIME will not be going away, and we need to deal
with it.  Does anyone think it is worth the effort during the
body/header parsing to add this kind of logic?

If header_content_type m/multipart/i
boundary = split('=', whatever goes here)
fi

inserting a fronter would become
if boundary
--$boundary
Content-Type: text/plain
<blank line>
fi
$fronter

Inserting/appending a footer would become
if boundary
$_ =~ s/--$boundary--/--$boundary/
Content-Type: text/plain
<blank line>
fi
$footer
if boundary
--$boundary--
(Continue reading)

Jason L Tibbitts III | 1 Sep 2002 06:35
Picon
Gravatar

Re: fronters/footers idea

>>>>> "DL" == Daniel Liston <dliston <at> sonny.org> writes:

DL> Does anyone think it is worth the effort during the body/header
DL> parsing to add this kind of logic?

Majordomo2 will attach fronters and footers as MIME parts when
appropriate, but we do avoid complicating the MIME structure by adding
additional nesting where it's not already present.

 - J<


Gmane