Bruce Johnson
New Member
- Outlook version
- Outlook 2013 32 bit
- Email Account
- POP3
I am getting tons of spam that has russion links in them and I want to create a script that will flag these and move them to a folder (either to be reviewed ar to delete, not sure yet, want to test its function first)
I am thinks in some pseudo code that trips after other rules run, then then something like the following
function testifruslink()
'looking for "http://xxxxxxxx.ru"
if body contains "http://" then
if body contains ".ru" then
if testforrussianlink then
move to folder xyx
endif
endif
endif
end function
But I am not sure if this would be the most efficient way or how to test for wild cards in a string
Thanks!
Bruce
I am thinks in some pseudo code that trips after other rules run, then then something like the following
function testifruslink()
'looking for "http://xxxxxxxx.ru"
if body contains "http://" then
if body contains ".ru" then
if testforrussianlink then
move to folder xyx
endif
endif
endif
end function
But I am not sure if this would be the most efficient way or how to test for wild cards in a string
Thanks!
Bruce