Re: Selecting mail message by ID
Re: Selecting mail message by ID
- Subject: Re: Selecting mail message by ID
- From: "John M, John" <email@hidden>
- Date: Thu, 14 Apr 2005 10:40:40 +0100
Hi Malcolm,
This opens the first email with the ID in mailboxes. It doesn't look
in the InBox for some reason.
--
set messageID to "BE7F0A4A.36065%email@hidden" -- change this
tell application "Mail"
repeat with mb in mailboxes -- not Iin nBox for some reason
repeat with m in messages of mailbox (name of mb)
if message id of m is messageID then
open m
--you could get info about the message here
exit repeat
end if
end repeat
if message id of m is messageID then exit repeat
end repeat
end tell
--
Best wishes
John M
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden