Re: Running Scripts from Mail Rules
Re: Running Scripts from Mail Rules
- Subject: Re: Running Scripts from Mail Rules
- From: email@hidden
- Date: Fri, 27 Oct 2017 17:08:08 -0400
tell application "Mail"
set Msgs to selected messages of first message viewer
set MsgProps to properties of first item of Msgs
set boxes to mailboxes
set p to properties of mailbox "Outbox"
end tell
So, I can list all the mailboxes. I have about a hundred, but “Inbox” or
“INBOX” is not one of them. Why?
There is a mailbox for “Junk”, “Outbox”, “Sent Messages”, and all my personal
ones, but no INBOX.
Even if I run the script from a sent message, I get the error 'Can’t get
mailbox “Sent Messages” of account “SBird” ‘
Arrggh
----------------------------------------------------------------
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
www.Culverson.com (toll free) 1-877-676-8175
_______________________________________________
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