• 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: get header
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get header


  • Subject: Re: get header
  • From: Tom Robinson <email@hidden>
  • Date: Mon, 28 Jun 2004 15:24:20 +1200

On 25 Jun 2004, at 10:15, Marcus Rodrigues <email@hidden> wrote:

I'm trying to make a script to get the header of the messages in
Mail.app, but I would like to get the formated header, instead of raw
text... is there a way to do this???

For the basic headers it's things like:
set xx to subject of ThisMessage
set xx to sender of ThisMessage
set xx to date received of ThisMessage

For header fields which aren't predefined, it's:
set xx to content of (header "List-Id" of ThisMessage)

Cheers


--
An Irish airman foresees his death, by WB Yeats:
I know that I shall meet my fate, Somewhere among the clouds above;
Those that I fight I do not hate, Those that I guard I do not love;
My country is Kiltartan Cross, My countrymen Kiltartans poor,
No likely end could bring them loss, Or leave them happier than before. []
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Unix file path problems
  • Next by Date: Re: Unix file path problems
  • Previous by thread: get header
  • Next by thread: iSub Toggle
  • Index(es):
    • Date
    • Thread