On 10/23/2000 7:33 AM, "Joe Gillespie" <[EMAIL PROTECTED]> wrote:

> I've been converting my many EMailer AppleScripts over to Entourage this
> weekend and, on the whole, they are working fine.
> 
> One thing has me stumped though. How can I read and set the category of
> incoming emails?
> 
> I want to be able to identify messages marked as "Junk Mail" to deal with
> them appropriately. I have been able to do it using 'color' but there must
> be a more elegant way.

The category property has a list of categories the message belongs to.  You
can just iterate through this list and see if it contains category "Junk".
To assign a category, you can just assign the category property to the new
list of categories.

Dan


-- 
To unsubscribe:               <mailto:[EMAIL PROTECTED]>
To search the archives: 
          <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to