Stripping quoted messages in reples

2002-05-01 11:02:43
I was wondering if anyone had an ideas on the best way to strip off when
someone's email client has quoted a previous email.  I know in Outlook
it either does "-----Original Message-----" or "----- Original Message
-----" and using some simple string functions I've trimmed that, but
some of them don't say anything, just put those > signs before lines
(and I don't think I could just trim to that.. but it's getting to the
point that I might!) and some say things like "in a message dated blah
somename(_at_)somewhere(_dot_)com said:"

Just looking for any helpful advice...

--Chad Kouse

-----Original Message-----
From: owner-mhonarc(_at_)ncsa(_dot_)uiuc(_dot_)edu 
On Behalf Of Greg Matheson
Sent: Wednesday, May 01, 2002 3:55 AM
To: mhonarc(_at_)ncsa(_dot_)uiuc(_dot_)edu
Subject: Re: getting text of message as resource variable

On Mon, 29 Apr 2002, J C Lawrence wrote:

On Mon, 29 Apr 2002 13:33:36 +0800 
Greg Matheson <lang(_at_)ms(_dot_)chinmin(_dot_)edu(_dot_)tw> wrote:

I want to get (some of) the text of the message to include in the

Make the base message display a CGI, much as I have here at Kanga.NU
under PHP.

These archives are on a big public server without cgi executing
rights, but where I have a lot of space. I want to pass the
important parts of the message in the parameter list to a webmail
cgi script on a smaller, less 'well-connected' server.

I guess I could parse the email messages myself and pass the
bodies in as environmental variables to MHonArc. This solution
still would have the problem of deciding which email message
corresponded with which MHonArc file name.

Perhaps I should just put the same MHonArc archives on both

I need to do some research on how other people have done
what must be a common idea, grafting on to MHonArc a
webmail capability.

Greg Matheson          In theory, theory and practice are the same
Chinmin College        In practice, they are different.
                       --Yogi Berra    
Taiwan Penpals Archive <URL:>