Extract email addresses from email header - Sender (From) - Mail
Hi!
I would like to extract email addresses from email header from field "Sender (From)" and from email body in Mail at the same time.
I saw only scripts how to extract from email body.
I get emails asking for some informations about product and many people don't include their email address in the body, so I have to extract from email header as well.
I would like to extract email addresses from whole email account, separate alphabeticaly, delete duplicates and save it (separated by comma) in text file.
This I would use for sending massive email to all customers.
I'm on OSX 10.6.8.
Do you have please somebody script for extracting email addresses in the way:
1. select mail account
2. run script
3. save email addresses to txt file
Thank you for help and advise!
MacBook Pro, Mac OS X (10.6.8)