Why not just use Spotlight? I can think of some reasons why you
can't, but I need to know more.
Are your messages stored within a mail client?
Or are they simply documents in a Finder folder?
What is the file extension of the message files?
In case you are curious ... Spotlight cannot search contents of .emlx
files.
... but there is a work-around in AppleScript.
On Jun 1, 2007, at 8:17 AM, Jeffers wrote:
Hi,
I'm after getting the content of a Mail message and want to search
the content for an email address (email@hidden). Are there
any helper methods in AppleScript in which to do this. I already
tried parsing the message content but that didnt seem to work.