• 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
Account Mail Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Account Mail Question


  • Subject: Account Mail Question
  • From: m <email@hidden>
  • Date: Sat, 29 Dec 2007 11:56:01 -0800

Hi AppleScripters,
Thank you first of all for all the help so far.

I have one last hurdle.

I need to derive the account of an email from it's unuique Mail Id.

Something like:

set theMsgs to every message of mailbox "Inbox" whose id is 20863
set theMsg to item 1 of theMsgs
set theAcct to account of  theMsg



This give an immediate error, ( as there is more than one account) of "can't get mailbox "inbox"

I could simply travel up the file hierarchy and search for a string that tells me that this is the account, but I really do wish to use AppleScript terminology as I think it is more accurate.

Thank you in advance.

Michael.



 _______________________________________________
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

  • Follow-Ups:
    • Re: Account Mail Question
      • From: Michelle Steiner <email@hidden>
    • Re: Account Mail Question
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: Leopard and "new file"
  • Next by Date: Open Safari and Script
  • Previous by thread: Re: Leopard and "new file"
  • Next by thread: Re: Account Mail Question
  • Index(es):
    • Date
    • Thread