• 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: Yosemite Mail issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yosemite Mail issue


  • Subject: Re: Yosemite Mail issue
  • From: Robert <email@hidden>
  • Date: Wed, 29 Oct 2014 22:16:23 +0000


On 29 Oct 2014, at 21:40, Deivy Petrescu <email@hidden> wrote:


On Oct 29, 2014, at 17:13 , Brian Christmas <email@hidden> wrote:

Deivy, I tried to use accounts in my testing, as a matter of course, but they don’t work either, either referred to a name or as number.

tell application "Mail"
version
selection
background activity count
color quoted text
default message format
accounts
set fetch interval of account "iCloud" to -1
end tell

On 30 Oct 2014, at 8:06 am, Deivy Petrescu <email@hidden> wrote:

I believe there is a problem with some properties in Mail.
Some of the properties work as expected, the ones that check intervals, apparently do not work with Mail. They work with accounts.


Brian, this is what I mean.


tell application "Mail"
tell account 2 to get its properties
end tell

—>{password:"Account passwords can only be set, not read.", server name:”xxx.xxx.com", empty sent messages frequency:-1, empty junk messages on quit:false, empty trash frequency:7, name:"applescript", authentication:password, empty sent messages on quit:false, account directory:file “xxxxxxx:", enabled:true, empty trash on quit:false, smtp server:smtp server "smtp.1and1.com:applescript@dicas.com" 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:"Deivy Petrescu", include when getting new mail:true, class:pop account, empty junk messages frequency:7, port:110, account type:pop, user name:”xxx.xxx.xxx", delete messages when moved from inbox:false, delayed message deletion interval:7}

some of the interval check apparently return something— "empty junk messages frequency:7, delayed message deletion interval:7", etc.

If you try

tell application "Mail"
get its properties
end tell

You get the same error Robert reported.

Deivy Petrescu



Brian, Deivy & list folk….

After looking at the properties (from Dievy’s example), I set the “'include when getting new mail'” property for my account to false.
I’m thinking it achieves the same goal as setting “fetches automatically” to false.

Might be a temporary workaround but I could be wrong.
It seemed to work when I tested it.

Thanks,

Robert R.






 _______________________________________________
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

References: 
 >Yosemite Mail issue (From: Robert <email@hidden>)
 >Re: Yosemite Mail issue (From: Deivy Petrescu <email@hidden>)
 >Re: Yosemite Mail issue (From: Brian Christmas <email@hidden>)
 >Re: Yosemite Mail issue (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: Yosemite Mail issue
  • Next by Date: Re: Yosemite appears to have broken shell script
  • Previous by thread: Re: Yosemite Mail issue
  • Next by thread: move mailbox?
  • Index(es):
    • Date
    • Thread