3
2
Is it possible to create custom rule for Outlook? I know i can import rwz file to outlook but I want to write a script-like rule with more advanced "thinking". is that possible? is there some manual for this?
3
2
Is it possible to create custom rule for Outlook? I know i can import rwz file to outlook but I want to write a script-like rule with more advanced "thinking". is that possible? is there some manual for this?
3
I've found two links about this issue:
I believe especially the first one would be helpful.
1
I believe there is another solution to those already presented. Especially if you are not afraid of a bit of coding.
The solution has been presented under similar question.
You can get it in full from Github project p0r.
It is using Powershell to automate outlook rules. It allows you to create your own rule just by choosing destination directory and modifying the conditions in the if statement.
Example rule that depends on the string contained in email subject could look like this:
# MOVING NOT IMPORTANT MESSAGES TO DELETED ITEMS
# ! MARKING EACH MOVED ITEM AS UNREAD
IF ($Email.Subject -match "not important" -or $Email.Subject -match "not-important" ) {
$Email.UnRead = $True
$Email.Move($DeletedItems) | out-null
display ([string]$Email.Subject ) ([string]"Red")
continue
}
You can use all the fields in the Email object to create your own custom rule. All email properties have been listed here.
Hope this will help you.