Hi,
I have emails in a shared Outlook inbox with a single attachment each.
I’m able to Loop through all of the unread emails, parse info from them into variables and then save a new folder for each based on that parsed data and save the attachment from the email in said folder.
However, the attachments just come through with their default name, say IMG_023.JPG for example.
Is there a way to rename those files while I am downloading them?
I’ve thought to introduce an additional loop right after I save the file in the folder, to loop that new folder and then rename the file inside, but it seems far more efficient to rename at the time of initial file save if possible and not add another loop to my loop.
Thanks,
Marshall