• 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: Lion's Mail & Headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lion's Mail & Headers


  • Subject: Re: Lion's Mail & Headers
  • From: Brian Christmas <email@hidden>
  • Date: Wed, 27 Jul 2011 11:11:30 +1000


On 27/07/2011, at 4:29 AM, Christopher Stone wrote:

Hey Folks,

Can someone confirm for me that 'headers' are broken in Mail 5.

I can't get name or content of headers like I could on Snow Leopard.  The result is 'missing value'.

TIA

--
Best Regards,
Chris

G'day Chris.

Exactly was info are you after from the headers?

There's most of the information in messages available from the properties. And the terminology now appears to be 'all headers'

Regards

Santa



tell application "Mail"
set foo to item 1 of (get the selection)
set bar to (get properties of foo) -- or using the name of the header
set temp to {deleted status, all headers, was replied to, flag index, date received, message id, background color, subject, read status, flagged status, message size, date sent, junk mail status, source, sender, was forwarded, was redirected, content} of foo -- -any property or properties
set Theheaders to {all headers} of foo
end tell
Theheaders

 _______________________________________________
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: Lion's Mail & Headers
      • From: Christopher Stone <email@hidden>
References: 
 >Lion's Mail & Headers (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Lion's Mail & Headers
  • Next by Date: Re: I know this is not the right place to ask this buuut.
  • Previous by thread: Re: Lion's Mail & Headers
  • Next by thread: Re: Lion's Mail & Headers
  • Index(es):
    • Date
    • Thread