Re: Simple Entourage AS Question
Re: Simple Entourage AS Question
- Subject: Re: Simple Entourage AS Question
- From: Matthew Leingang <email@hidden>
- Date: Mon, 12 Apr 2004 13:59:11 -0400
Dear Dennis,
set x to the selection
set theMail to the first item of x
set sendersAddress to the address of the sender of themail
set body to the content of theMail
HTH,
Matt
On 4/12/04 1:21 PM, "Dennis Wurster" <email@hidden> wrote:
>
Hi All,
>
>
What's the proper syntax for referring to a message that is being
>
processed by Entourage's mail rules?
>
>
I'm interested in filtering incoming email with a given static subject,
>
and running an applescript as part of the filter.
>
>
I'd like the applescript to:
>
>
put the sender's email address into a variable as text
>
put the contents of the body into another variable as text.
>
>
That's it.
>
>
The thing is, I'm not sure how to refer to 'the message' which
>
Entourage is processing with the filter. Can I just use the 'of me' or
>
'my' identifier, or will that refer to the AS itself?
>
>
Thanks,
>
-=Dennis=-
>
_______________________________________________
>
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.
>
>
--
Matthew Leingang
Preceptor in Mathematics, Harvard University
email@hidden
_______________________________________________
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.