• 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: Simple Entourage AS Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Simple Entourage AS Question (From: Dennis Wurster <email@hidden>)

  • Prev by Date: Re: Simple Entourage AS Question
  • Next by Date: Re: problem with a mail.app script
  • Previous by thread: Re: Simple Entourage AS Question
  • Next by thread: Re: Simple Entourage AS Question
  • Index(es):
    • Date
    • Thread