My process runs once a day on an email account:
- Looks for attachments
- Saves them in a specific folder on computer
- Moves the email to another email folder in same email account.
I added logs and a counter at the end of each loop that counts the amount of attachments saved in the computer folder.
However, sometimes when there are about 30 attachments (total) there are less files in the computer folder than the counter shows. When I look at the email folder I see that emails with attachments were moved by the process to another email folder as expected.
Did anyone encounter the same problem?