Address Book lookups can detect emails with specific sender or recipient characteristics sent internally within an organization. It can only detect emails sent to or from addresses in the Global Address List. Syntax summaries and brief examples are given below.
Simple Commands
These commands test a simple True or False statement relating to a single Outlook Address Book property of the email recipients or sender. For example, a command may test whether any email recipients are members of specific email distribution lists. The syntax is:
mapi WITH <who> [labeled <fallguy>] WHERE <uservar> [labeled <offlimits>] <stringoperator> <text>
The simple example below detects all outgoing emails where any of the recipients belong to the Sales or Marketing departments:
mapi WITH any %recipient% WHERE Department IS ANY {"Sales","Marketing"}
Complex Commands
More complex commands can include AND, OR and NOT operators to combine multiple True or False tests. For example, a command may test whether any email recipients work in the London office and are in the Sales department.
Copyright © 2014 CA.
All rights reserved.
|
|