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

Re: Mail returns empty mailboxes in Mavericks


  • Subject: Re: Mail returns empty mailboxes in Mavericks
  • From: John <email@hidden>
  • Date: Thu, 19 Dec 2013 14:05:46 -0500

I should add, I am using an imap Gmail account.


On Thu, Dec 19, 2013 at 1:57 PM, John <email@hidden> wrote:

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: Paul Berkowitz <email@hidden>
References: 
 >Mail returns empty mailboxes in Mavericks (From: John <email@hidden>)

  • Prev by Date: Mail returns empty mailboxes in Mavericks
  • Next by Date: Re: Mail returns empty mailboxes in Mavericks
  • Previous by thread: Mail returns empty mailboxes in Mavericks
  • Next by thread: Re: Mail returns empty mailboxes in Mavericks
  • Index(es):
    • Date
    • Thread