Extracting email headers from Apple Mail
Hello friends...
I have hundreds of email received / sent to various people whose accounts are in the same email server, for example @xyz.gov.in
( sony@xyz.gov.in , tony@xyz.gov.in etc.)
I need to search and extract the following header information from all email sent to / received from email server, for example, @xyz.gov.in, in the following format:
From:
To:
Cc:
Bcc:
Date & Time:
Subject:
Is there any script that can do this for me and create a text or .csv or any other file?
All messages are stored in Apple mail, imap, pop and offline folders.
My OS: Mac OS 10.8.3
Apple Mail Version: 6.3
many thanks in advance
Amit
MacBook Pro (15-inch 2.4/2.2 GHz), OS X Mountain Lion (10.8.3)