• 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: Script works on my machine, returns 0 results on another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script works on my machine, returns 0 results on another


  • Subject: Re: Script works on my machine, returns 0 results on another
  • From: "koenig.yvan" <email@hidden>
  • Date: Sun, 18 May 2014 11:57:06 +0200


Le 18/05/2014 à 09:42, koenig.yvan <email@hidden> a écrit :

Hello

On my system run in French, there is no mailbox named "Sent".
There is a Gmail one named "Sent Messages".

A feature is puzzling me : when I ask Mail to return the names of every mailboxes, Gmail's ones aren't listed.
In fact no mailbox named "Sent Messages" is returned although six of them exist.
I just see three global ones named :
Outbox, Deleted Messages , Junk

The INBOX one is not listed.

Yvan KOENIG (VALLAURIS, France) dimanche 18 mai 2014 09:42:47


As I was puzzled, I searched deeper.
The result is this huge script ;-)

tell application "Mail"
properties of mailbox "Sent" of account "Gmail"
end tell

Its events log is :

tell application "Mail"
get properties of mailbox "Sent" of account "Gmail"
--> {account:account "Gmail", name:"Messages envoyés", container:mailbox "[Gmail]" of account "Gmail", class:container, unread count:0}
end tell

Thanks to this thread I learnt that :

The mailbox appearing with the label "Sent Messages" is in fact the mailbox "Sent" of account "Gmail" and that here in France, it's named "Messages envoyés".

I hope that some of these details may help Alex.

Yvan KOENIG (VALLAURIS, France) dimanche 18 mai 2014 11:56:40






 _______________________________________________
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: 
 >Script works on my machine, returns 0 results on another (From: Alex Hall <email@hidden>)
 >Re: Script works on my machine, returns 0 results on another (From: Alex Hall <email@hidden>)
 >Re: Script works on my machine, returns 0 results on another (From: "koenig.yvan" <email@hidden>)

  • Prev by Date: Re: event-driven scripts?
  • Next by Date: Re: Script works on my machine, returns 0 results on another
  • Previous by thread: Re: Script works on my machine, returns 0 results on another
  • Next by thread: Re: Script works on my machine, returns 0 results on another
  • Index(es):
    • Date
    • Thread