[OE]Which Incoming Message triggered Rule?
[OE]Which Incoming Message triggered Rule?
- Subject: [OE]Which Incoming Message triggered Rule?
- From: Frank Watzl <email@hidden>
- Date: Wed, 3 Jan 2001 23:23:58 +0100
Hi,
in Outlook Express 5, I'd like to do the following
1-User checks mail (either manually or scheduled)
2-Some of the incoming messages meet the criteria of an Outlook Express Rule, which is set up to run an AppleScript
3-The AppleScript triggered by the rule acts on the messages which met the rule's criteria <<-- Problem here!
4 -In particular:the AppleScript exports the messages to a *Finder*-Folder (NB: not OE Mail Folder) as a single Message file, naming it as (text 1 thru 31 of ((subject of message) & (Date/Time stamp))) or the like.
I am stuck with Number 3: How can I let the Script know, *which* incoming message triggered the OE Rule, which in turn triggered the Script. I see, that for each message meeting the rule's criteria, the script is run once, which is fine for me.
For Number 4, I am successful in using AS's read/write commands and the Finder for changing type & creator of the resulting file.
Is the problem described understandably? If not, please ask.
Any input is highly appreciated, because I am really helpless here.
Frank Watzl
PS: "message" in this context refers to "incoming mail message".