Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Collect the text of selected e-mails in Mail.app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Collect the text of selected e-mails in Mail.app
Authored by: arcticmac on Dec 08, '10 08:32:07AM

For a quick and dirty alternative (no AppleScript needed, but doesn't remove message headers), you can just select all the messages in Mail and then copy/paste.

If you want, you could strip the headers from the messages while they're on the clipboard using a script something like this:
do shell script "pbpaste|perl -p -e 's/^((From:)|(To:)|(Date:)|(Subject:)).*$//g;' |pbcopy"
(of course, this is actually just a shell script wrapped up to be usable via applescript, so you could just run it from the shell too).



[ Reply to This | # ]