On Mon, 1 Mar 2004, David Mir wrote:

>
> What is the best way to have one line added to the body of one specific
> address, ie. From:[EMAIL PROTECTED] To:[EMAIL PROTECTED] add (at
> the beginning) "This email is proprietary".

The long and short of it is -- you can't.  The problem is that MIME gets
in the way.  You *could* probably write some complicated code to rip
apart MIME messages, and "edit" the content of the first text/plain
message, *assuming* it is the message body, and then rebuilding the
message and sending it on its way.  Otherwise, appending content to a
non-mime message ought to be much easier.  You know, it's probably not
that hard, now that I think about it, if one were to use Python to do
the heavy lifting (it's got a pretty good mime module I hear).  Hmmmm.
What, then, do you do with mime messages with no text/plain content?

--
Ensign Walnut approaches Dr. Crusher with caution...

Jon Nelson <[EMAIL PROTECTED]>
C and Python Code Gardener


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to