• 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 returns empty mailboxes in Mavericks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail returns empty mailboxes in Mavericks


  • Subject: Mail returns empty mailboxes in Mavericks
  • From: John <email@hidden>
  • Date: Thu, 19 Dec 2013 13:57:31 -0500


This script returns an empty list for a mailbox that has several messages in it. When I run the script from Snow Leopard it functions as expected.

What is going on?

set mailboxName to "TestMailbox"
set accountName to "apple"

tell application "Mail"
    set theMessages to messages of mailbox mailboxName of account accountName
end tell

This is also empty:

tell application "Mail"
    set theMessages to messages of inbox
end tell

John
 _______________________________________________
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: Mail returns empty mailboxes in Mavericks
      • From: John <email@hidden>
  • Prev by Date: Re: Is this possible in apple script? sed -e 's;\(.*/\).*;\1; | sed 's//share/HDA_DATA//Volumes/g'
  • Next by Date: Re: Mail returns empty mailboxes in Mavericks
  • Previous by thread: Re: Access for Applescripts
  • Next by thread: Re: Mail returns empty mailboxes in Mavericks
  • Index(es):
    • Date
    • Thread