[REBOL] Re: E-mail header info strip-off
From: gjones05::mail::orion::org at: 9-Jun-2001 10:43
From: Geza Lakner
> I would like to write a visual borwser for e-mail messages saved in a single
text file.
> (Actually, first of all I would like to browse my selected, saved messages
from this list :-) )
> My question is, does incidentally anybody have a parse rule that would
strip-off all the junk
> from the file (i.e. repeating "Received" path listings), put the meaningful
header fields and the message body
> in a structured REBOL block which can be traversed easily.
Hi, Geza,
This is a tough one!!!!!
First, 'message is an email message that includes all the great headers that you
dislike. ;-)
Now for the magic that I slaved *all* morning over:
my-email-object: import-email message
I'm glad THAT project is over. REBOL already thought of this one and they did
it just for you!
--Scott Jones