Get outlook mail from a folder. Every mail contains 1 Word doc inside, no limits for amount of mails, sender is random
For each item in mailList - save Attachment.
Each mail contains a word document with a table inside
Get files in a folder via System.IO.Directory.GetFiles
For each item in FileList I use get visible text and check if there is something inside the field of the table
What I am trying to do is to send back an email if there is nothing inside the field of the table. How should I make the process so I won’t miss the sender name? Can’t make loop for saving attachments and make check for each docx without missing that info atm
It’s not necessary to have 2 For Each loops. Just open and read the attachment inside the first for each loop, and depending on the contents, send the reply.