Re: Running Scripts from Mail Rules
Re: Running Scripts from Mail Rules
- Subject: Re: Running Scripts from Mail Rules
- From: Steve Bird <email@hidden>
- Date: Sat, 28 Oct 2017 09:24:44 -0400
> On Oct 28, 2017, at 5:19 AM, Axel Luttgens <email@hidden> wrote:
>
> Could you show us the output of each of those tell blocks?
>
> tell application "Mail"
> properties of account "SBird"
> end tell
After deleting the disabled IMAP account with the same name, I get this:
{password:"Account passwords can only be set, not read.”,
server name:”< redacted, but valid> “,
empty sent messages frequency:30,
empty junk messages on quit:false,
empty trash frequency:1,
name:"SBird”,
authentication:password,
empty sent messages on quit:false,
account directory:file "HD Macbook
Pro:Users:Steve:Library:Mail:V3:email@hidden:”,
enabled:true,
empty trash on quit:false,
smtp server:smtp server "Work" of application "Mail”,
big message warning size:-1,
email addresses:{"email@hidden"},
move deleted messages to trash:true,
delete mail on server:true,
uses ssl:true,
full name:"Steve Bird”,
include when getting new mail:true,
class:pop account,
empty junk messages frequency:7,
port:995,
account type:pop,
user name:"email@hidden”,
delete messages when moved from inbox:false,
delayed message deletion interval:7}
So, this one shows up as enabled and POP.
Hmmmm. Now this little snippet works, even on a message in the inbox:
tell application "Mail"
set Msgs to selected messages of first message viewer
set MsgProps to properties of first item of Msgs
end tell
----------------------------------------------------------------
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