Text written by Andrew Richards at 11:36 AM 3/2/99 +0100:
>
>I was looking at exactly this a while back, with a view to
>manipulating E-mail messages to add e.g. "This E-mail
>brought to you by... etc.". I didn't look in depth, but a
>couple of issues I noticed were,
> - What to do with multipart messages
> - What to do with non-plaintext messages
>which meant that my thoughts ended up being
>directed towards only "text/plain" messages, and
>avoiding 'Messing' with anything else for fear of
>corrupting someone's mail.
That's a good way to stay safe. My quick thought on multipart messages, at
least, is: find the last part of type text/plain and place your special
footer at the end of that.
It also would probably not be too hard to throw in a little extra code to
place an equivalent-but-formatted version at the end of a text/html part. I
suspect that messages that contain neither text/plain nor text/html parts
constitute less than .1% of traffic on most systems.
-----------------------------------------------------------------
Kai MacTane
System Administrator
Online Partners.com, Inc.
-----------------------------------------------------------------
>From the Jargon File: (v4.0.0, 25 Jul 1996)
drool-proof paper /n./
Documentation that has been obsessively dumbed down, to the point
where only a cretin could bear to read it, is said to have succumbed
to the `drool-proof paper syndrome' or to have been `written on
drool-proof paper'. For example, this is an actual quote from
Apple's LaserWriter manual: "Do not expose your LaserWriter to open
fire or flame."