How to find and attach email from local input folder given the specific string?


I have a local input folder where I store downloaded emails.


I need to get this email since there is a serial number within the title “7235711838
How should I loop through the whole folder and find a specific email given a specific serial number?
Once the email is found, I need to attach it in Send Outlook Mail.

Any ideas on how to achieve it?


You can use For Each file in folder activity and pass as file filter

“* serial number *.msg “

Inside the body, do what you need to do

Do you maybe know how to pass variable in your expression as serial number since it’s dynamic variable?

Sorry, I was in mobile


Thank you @rikulsilva, I appreciate your help! :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.