Selecting messages in Outlook Express
Selecting messages in Outlook Express
- Subject: Selecting messages in Outlook Express
- From: Christian Boyce <email@hidden>
- Date: Wed, 5 Mar 2003 15:42:58 -0800
I want to "get" every message sent to a given recipient in a given
folder ("Sent Items"). Then I'll do stuff to the list of messages that
I've gotten. Problem: I can't get the messages.
(We send email messages to our employees' phones to let them know about
calls that come into the office. At the end of the day, we want to
create a single document, containing all of the messages sent via email
to each employee.)
This works (the basics):
tell application "Outlook Express"
set themessagelist to every message in folder "Sent Items"
end tell
This also works:
tell application "Outlook Express"
set themessagelist to (every message whose subject contains "Jennifer")
in folder "Sent Items"
end tell
But this doesn't work:
tell application "Outlook Express"
set themessagelist to (every message whose recipient contains
"email@hidden") in folder "Sent Items"
end tell
It would be even better if I could further reduce the list of messages
by saying "Only messages sent today."
So far, it seems easy to filter things based on subject and sender but
not on recipient and not on date.
System 9.2.2, Outlook 5.0.4.
Thanks.
--
Christian Boyce
310-452-3720
http://www.christianboyce.com
_______________________________________________
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.