• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mail: Finding messages by ID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail: Finding messages by ID


  • Subject: Mail: Finding messages by ID
  • From: Todd Geist <email@hidden>
  • Date: Thu, 26 May 2005 13:02:38 -0700

Hello Everyone.

One of the most frustrating things I find with Applescript is finding things by their ID. It never seems straight forward. I am always confused by how to address something. Mail is turning out to be no exception. Mail seems to has 2 unique IDs for every message one called "id" and one called "message id". I know that "message id" is the internet ID and "id" is Mail's own unique ID for the message. BUT...

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.

set theMessage to message ID theMessageID
set theMessage to every message of every mailbox whose id is theMessageID


etc
etc

nothing works

If it is another one of those loop through all messages and stop when the ID matches that is just plain ridiculous. And completely impractical as I have over 30, 000 messages in my Mail app.

Now I know I am ranting here, but I am frustrated and biased. I work mostly with databases and we do everything by the record ID and I am afraid I am bit helpless with out being able to use them efficiently. To me there doesn't seem to be anything more basic then something's unique ID and they should be easy to use.

I am probably missing something really stupid  :<(

Does anybody know how to find a message in Mail by either ID.

TIA

Todd
_______________________________________________
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


  • Follow-Ups:
    • Re: Mail: Finding messages by ID
      • From: pete boardman <email@hidden>
    • Re: Mail: Finding messages by ID
      • From: Malcolm Fitzgerald <email@hidden>
  • Prev by Date: Re: Any good text editors?
  • Next by Date: Re: Date-Time Formatting
  • Previous by thread: Re: Any good text editors?
  • Next by thread: Re: Mail: Finding messages by ID
  • Index(es):
    • Date
    • Thread