Outlook - Whitelist Recipients

Summary: Adds the recipients of the current message to SpamSieve’s whitelist.
Requires: SpamSieve, Outlook
Install Location: ~/Documents/Microsoft User Data/Outlook Script Menu Items/
Last Modified: 2019-10-02


Create an outgoing rule in Outlook that applies to all messages and runs this AppleScript. Then, whenever you send a message, SpamSieve will add its recipients to the whitelist.

Installation Instructions · Download in Compiled Format · Download in Text Format


tell application "Microsoft Outlook"
set _addresses to {}
set _messages to current messages
repeat with _message in _messages
repeat with _recipient in recipients of _message
set _emailAddress to email address of _recipient
set _address to address of _emailAddress
copy _address to end of _addresses
end repeat
end repeat
tell application "SpamSieve"
tell whitelist
add sender rules for addresses _addresses
end tell
end tell
end tell