• 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: Sierra Mail.app – Header Element is Ruined Again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sierra Mail.app – Header Element is Ruined Again


  • Subject: Re: Sierra Mail.app – Header Element is Ruined Again
  • From: Yvan KOENIG <email@hidden>
  • Date: Thu, 29 Dec 2016 20:40:29 +0100


Le 29 déc. 2016 à 20:17, Christopher Stone <email@hidden> a écrit :

Hey Folks,

I just updated to Sierra yesterday, so forgive me if I'm a little behind.

It would appear that Apple has ruined the message header element again in Mail 10.2 (3259):

--------------------------------------------------

tell application "Mail"
   set selectedMessageList to selection
   if selectedMessageList ≠ {} then
      set selectedMessage to item 1 of selectedMessageList
      
      tell selectedMessage
         name of headers
      end tell
      
   end if
end tell

--> Mail got an error: AppleEvent handler failed.

--------------------------------------------------

Can someone confirm this for me?

TIA

--


Same behavior here with 10.12.2 ran in French.
I tried with an other scheme  but it failed too:

--------------------------------------------------
tell application "Mail"
activate
set selectedMessageList to selection
--> {message id 200734 of mailbox "forum AppleScript US", message id 200816 of mailbox "forum AppleScript US", message id 200676 of mailbox "forum AppleScript US"}
if selectedMessageList ≠ {} then
set selectedMessage to item 1 of selectedMessageList


tell selectedMessage
repeat with anHeader in all headers
try
content of anHeader
--> error number -1700 from item 1 of all headers of message id 200734 of mailbox "forum AppleScript US" to specifier
end try
try
name of anHeader
--> error number -1700 from item 1 of all headers of message id 200734 of mailbox "forum AppleScript US" to specifier
end try
end repeat
end tell


end if
end tell
--------------------------------------------------

Yvan KOENIG running Sierra 10.12.2 in French (VALLAURIS, France) jeudi 29 décembre 2016 20:40:03





 _______________________________________________
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

  • Follow-Ups:
    • Re: Sierra Mail.app – Header Element is Ruined Again
      • From: Christopher Stone <email@hidden>
References: 
 >Sierra Mail.app – Header Element is Ruined Again (From: Christopher Stone <email@hidden>)

  • Prev by Date: Sierra Mail.app – Header Element is Ruined Again
  • Next by Date: Re: Sierra Mail.app – Header Element is Ruined Again
  • Previous by thread: Sierra Mail.app – Header Element is Ruined Again
  • Next by thread: Re: Sierra Mail.app – Header Element is Ruined Again
  • Index(es):
    • Date
    • Thread