[Mailman-Users] Headers & footers on MIME/multipart messages

George Dinwiddie gdinwiddie at min.net
Wed Nov 8 20:38:05 CET 2000

The header and footer code is obviously not MIME-aware.  Therefore, the header and footer
get inserted outside the viewed part of the message body.

It seems to me that, as a minimum, it would be preferable to only insert into the text/plain
part of the message.  Better, would be the ability to specify separate headers & footers
for text/html and text/plain portions.  It could start getting complicated, couldn't it.
Unfortunately, multipart/alternative messages with text/plain and text/html versions are
becoming very common.  I wouldn't mind if the text/html portion was just stripped out and
only the text/plain portion was sent out to the list.  That would also solve the problem
of javascript virusii embedded in the html.

Thoughts?  Comments?

 - George

------------------->8----snip, start of example mail--------------------
Message-ID: <001601c048f8$470e9080$1800a8c0 at .net>
From: someuser at somewhere
To: <public-list at alberg30.org>
MIME-Version: 1.0
Content-Type: multipart/alternative;

  | This is the mailing list header                                                         |
This is a multi-part message in MIME format.

Content-Type: text/plain;
Content-Transfer-Encoding: quoted-printable

Hello all...

Anybody know anything about "Sails4free"? =20

Content-Type: text/html;
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<META content=3D"text/html; charset=3Diso-8859-1" =
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello all...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Anybody know anything about =


 Public-list mailing list -- Public-list at alberg30.org
 To unsubscribe: email to Public-list-request at alberg30.org
 Include command "unsubscribe <password>" in subject or body.
 Use command "help" for more options.

------------------->8----snip, end of example mail--------------------
  George Dinwiddie                                  gdinwiddie at min.net
  The gods do not deduct from man's allotted span those hours spent in
  sailing.                         NEW URL => http://www.Alberg30.org/

More information about the Mailman-Users mailing list