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

Re: Mail Script


  • Subject: Re: Mail Script
  • From: BJ Terry <email@hidden>
  • Date: Fri, 14 May 2004 12:16:04 -0700

On May 14, 2004, at 10:24 AM, Marcus Rodrigues wrote:

Hi all! Long time I don't write!!!

I have a question. I've read the Mail dictionary, but found no way to get the full header of a message. Is that possible? I want only the full header, instead of the whole Source Code!

Thx!!!

This is in the dictionary under the message class. The property is called "all headers". Here is an example script

tell application "Mail"
set x to the selection
get all headers of x's item 1
end tell

This returns all the headers of the first of the currently selected messages.

BJ
_______________________________________________
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.


References: 
 >Mail Script (From: Marcus Rodrigues <email@hidden>)

  • Prev by Date: Re: Keychain scripting... extract names from list
  • Next by Date: Re: how to sort a list
  • Previous by thread: Re: Mail Script
  • Next by thread: NullError?
  • Index(es):
    • Date
    • Thread