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

Re: Searching a Mail message


  • Subject: Re: Searching a Mail message
  • From: Luther Fuller <email@hidden>
  • Date: Fri, 1 Jun 2007 10:29:56 -0500

On Jun 1, 2007, at 9:14 AM, Jeffers wrote:
Yeah the messages are just on the Clients machine. I currently have AppleScript to get the selected message in Mail, and read the contents of the message, and from this text i want to find the email address in it.

If you are looking for email addresses from within Mail, you probably want to simply get these addresses from each message, not search for them. Mail's dictionary has this to say about that ...


Class recipient : (inherits from item) An email recipient
Plural form:
	recipients
Properties:
	address string -- The recipients email address
	name string -- The name used for display

Class bcc recipient : (inherits from recipient) An email recipient in the Bcc: field
Plural form:
bcc recipients


Class cc recipient : (inherits from recipient) An email recipient in the Cc: field
Plural form:
cc recipients


Class to recipient : (inherits from recipient) An email recipient in the To: field
Plural form:
to recipients



_______________________________________________ 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: Searching a Mail message
      • From: Michelle Steiner <email@hidden>
References: 
 >Searching a Mail message (From: Jeffers <email@hidden>)
 >Re: Searching a Mail message (From: Luther Fuller <email@hidden>)
 >Re: Searching a Mail message (From: Jeffers <email@hidden>)

  • Prev by Date: Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
  • Next by Date: Re: Searching a Mail message
  • Previous by thread: Re: Searching a Mail message
  • Next by thread: Re: Searching a Mail message
  • Index(es):
    • Date
    • Thread