[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;
	boundary="----=_NextPart_000_0013_01C048CE.5AC078C0"

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

------=_NextPart_000_0013_01C048CE.5AC078C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello all...

Anybody know anything about "Sails4free"? =20


------=_NextPart_000_0013_01C048CE.5AC078C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_0013_01C048CE.5AC078C0--

_______________________________________________
 Public-list mailing list -- Public-list at alberg30.org
 http://www.alberg30.org/mailman/listinfo/public-list
 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