format=flowed

2002-05-01 Thread Ken Hirsch
I have created a version of "mhtxtplain.pl" which supports the flowed text format (http://www.rfc-editor.org/rfc/rfc2646.txt). The idea of this format is that, unlike HTML, it looks just fine to people with plain text, but for mail readers that support it, text, including quoted messages, can be

Re: getting text of message as resource variable

2002-05-01 Thread J C Lawrence
On Wed, 1 May 2002 15:55:06 +0800 Greg Matheson <[EMAIL PROTECTED]> wrote: > On Mon, 29 Apr 2002, J C Lawrence wrote: 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. You can find some details on what I did und

Re: getting text of message as resource variable

2002-05-01 Thread earl
On May 1, 2002 at 17:49, "Edward Wildgoose" wrote: > I am actually hoping to put the whole email inline, so I guess that I can > look at pre-parsing, or perhaps it would be worth looking at adding the > parsing into the main code and generating a similar variable containing the > whole message bo

Re: getting text of message as resource variable

2002-05-01 Thread Edward Wildgoose
> On May 1, 2002 at 15:55, Greg Matheson wrote: > > > 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. >

Re: Qn about a interesting but slight mis-use of mhonarc

2002-05-01 Thread Edward Wildgoose
Thanks, this is a great tool, and having had a very quick poke at the code it seems very nicely laid out with plenty of commenting, [especially considering it is a perl program!] :-) I am still missing a high level overview of all the routines, but I think I may be able to pick this up from your

Stripping quoted messages in reples

2002-05-01 Thread Chad Kouse
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 d

Re: Qn about a interesting but slight mis-use of mhonarc

2002-05-01 Thread earl
On April 30, 2002 at 23:44, Jym Dyer wrote: > =v= Okay, I've put the rough cut script below. It's got a lot > of stuff hardcoded into it, and does hacky things like grabbing > info out of comments that is better gotten from variables. I'm > working on a rewrite that uses mhamain.pl and also doe

Re: getting text of message as resource variable

2002-05-01 Thread earl
On May 1, 2002 at 15:55, Greg Matheson wrote: > 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. Search the mai

Re: Qn about a interesting but slight mis-use of mhonarc

2002-05-01 Thread Edward Wildgoose
Aha, yep, I see where you are going here. Just take the output and build the index page manually. I had started going through the mhamain.pl and mhindex.pl to see if it would be feasible to adjust so that mhonarc builds the output in the correct format at the start. Not sure how easy this is goi

Re: getting text of message as resource variable

2002-05-01 Thread Greg Matheson
On Mon, 29 Apr 2002, J C Lawrence wrote: > On Mon, 29 Apr 2002 13:33:36 +0800 > Greg Matheson <[EMAIL PROTECTED]> wrote: > > I want to get (some of) the text of the message to include in the CGI > > links... > Make the base message display a CGI, much as I have here at Kanga.NU > under PHP. T

Re: Qn about a interesting but slight mis-use of mhonarc

2002-05-01 Thread Jym Dyer
> Wow, sounds great. Are you interested in sharing what you > have got so far? =v= Okay, I've put the rough cut script below. It's got a lot of stuff hardcoded into it, and does hacky things like grabbing info out of comments that is better gotten from variables. I'm working on a rewrite that