Re: get header
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.