MACSCRPT Archives

April 2010

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Marc Bossiere <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 22 Apr 2010 14:42:57 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (16 lines)
Well I knew it was plain text, but my problem then is I could really use the rules it follows so 
that I can write a script to extract (reliably) the basic email format without all the other 
garbage, such as:
From: [log in to unmask]
To: [log in to unmask]
Date: April 22, 2010 
Subject: Sample email
Then the body of the mail here

The trouble is that I've looked over many sample emails in EML format and I can't get a 
handle on the structural logic too well. I would prefer a clear explanation of it so I can script 
a solution myself, but if someone already has a script for this conversion I'm not too proud to 
use it! 

Marc

ATOM RSS1 RSS2