Thank you!
On 18-10-2002 00:39, "Barry Wainwright" <[EMAIL PROTECTED]> wrote:
> This snippet will extract all the addresses from the email:
>
> set theMess to item 1 of (get current messages)
> set theWords to every word of (get content of theMess)
> set theAddresses to {}
> repeat with x from 1 to count theWords
> if item x of theWords is "@" then copy (items (x - 1) thru (x + 1) of
> theWords) as text to end of theAddresses
> end repeat
>
> �theAddresses� will contain a list of all the addresses.
>
> If the email always has the same format as your example you can simply get
> �item 3 of theAddresses�.
--
To unsubscribe: <mailto:Entourage-Talk-Off@;lists.letterrip.com>
archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>