Advertisement
Guest User

Untitled

a guest
May 26th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tell application "Microsoft Outlook"
  2.     set myInbox to folder "Inbox" of default account
  3.     set theMessages to messages of inbox
  4.  
  5.     repeat with theMessage in theMessages
  6.         try
  7.             # rules will go here
  8.         on error errorMsg
  9.             log "Error: " & errorMsg
  10.         end try
  11.     end repeat
  12. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement