Re: Mail: Finding messages by ID
Re: Mail: Finding messages by ID
- Subject: Re: Mail: Finding messages by ID
- From: Malcolm Fitzgerald <email@hidden>
- Date: Fri, 27 May 2005 11:27:33 +1000
On 27/05/2005, at 6:02 AM, Todd Geist wrote:
Given either unique identifier for a message, how do you find it?
Nothing I have tried works. Al I want to is find it and open it up.
I understand that you have to locate the message id by looping through
the mailboxes, inspecting the messages to obtain their message ids,
then comparing them. It's not too flash. Better to export the mail to
the database of your choice and use it to do the search.
If AppleScript has English-like syntax then Mail has teenager-like
behaviour. You can ask it to do something, perhaps it will. :)
I was trying to get a count of mailboxes, then a count of the messages
in each of those mailboxes. It would work if I asked one mailbox to do
it but it wouldn't work in a repeat loop. I'd get timeout errors every
time. So, I tried the bundled "Count messages of every mailbox" script.
At the same time I did a speed trial. I have 49 mailboxes, so I did
mental arithmetic and added 49 numbers in my head. (3560!) Then I
waited for Mail to finish. After a few minutes I switched to finder and
did a force quit on Mail.
Malcolm Fitzgerald ph: 02 93180877
Database Manager fax: 02 93180530
The Australian Society of Authors www.asauthors.org
_______________________________________________
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