Re: Dumb Mail.app Scripting Question
Re: Dumb Mail.app Scripting Question
- Subject: Re: Dumb Mail.app Scripting Question
- From: Philip Aker <email@hidden>
- Date: Mon, 10 Nov 2008 06:32:53 -0800
On 2008-11-10, at 05:42:18, Simon Forster wrote:
Is there an easy way to get the message id of every message whose sender ends with "xyz.xom"?
Basically, I want to get a list of all messages where the sender (or recipient) of a message ends with a specified domain. Can I do this or do I need to loop through every mailbox?
Something like this could be a start:
tell application "Mail" id of every message of mailboxes whose sender ends with ".net" end tell
I end up with a lot of empty list items in the result for the above though, so you'd have to be prepared to handle that kind of result.
Philip Aker
Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden