Re: Mail returns empty mailboxes in Mavericks
Re: Mail returns empty mailboxes in Mavericks
- Subject: Re: Mail returns empty mailboxes in Mavericks
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 19 Dec 2013 11:35:39 -0800
- Thread-topic: Mail returns empty mailboxes in Mavericks
Title: Re: Mail returns empty mailboxes in Mavericks
I noticed that the release notes for OS 10.9.1, which came out a day or so ago, said something about fixed problems with gmail accounts. Just maybe the fix makes it through to AppleScript. Have you updated to OS 10.9.1?
--
Paul Berkowitz
From: John <email@hidden>
Date: Thu, 19 Dec 2013 14:05:46 -0500
To: AppleScript-Users <email@hidden>
Subject: Re: Mail returns empty mailboxes in Mavericks
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
_______________________________________________
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