Skip to content
Advertisement

Tag: outlook

Move email to folder if more than one partial strings found in email subject

I have a list containing Folder Names at the Outlook level [‘fried chicken’; “boiled pasta”; “baked potatoes”], folders exist and are empty. The elements are strings that are combinations of two words example “fried chicken”. I search the Inbox and if the message.subject matches one of the elements in the list move that email to the folder. Example: Email subject

Advertisement