I am trying to copy attachments from emails to a specific place on the network (Z:).
I've seen various scripts for this but what is tripping me up is the file structure.
Inbox
Drafts
Outbox
My Folder
Employer Name
Project Name
Organizational Folder
Organizational Folder
Project Name
Organizational Folder
Organizational Folder
Employer Name
Project Name
Organizational Folder
Organizational Folder
Emails are going to be stored inside Organizational Folders only. These will be things like job information, approvals, etc.
I created another script that automatically creates these folders in both Outlook and on the network, so the folders will always be there, but there could be any number of Employer folders as well as any number of Project folders.
So basically attachments from "\My Folder\Employer 1\Project 2\Organizational Folder" in Outlook need to be copied to "Z:\Employer 1\Project 2\Organizational Folder".
I assume I'll have to use nested if loops to dig into each folder structure to copy the attachments.