Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching a Mail message



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: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/archives/applescript-users

This email sent to 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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.