I've been trying to figure out how to setup a script that would look through all email files held in a folder for recipient email addresses(find the To: string) and then would send them in a folder named after said person(if the folder doesn't exist, it creates it). The files are all saved in a folder under .msg file extensions(readable in any text editor)
example:
100 spam emails get sent to the folder, the script runs, sorts all the emails in folders(10 spam are sent to julie@fakecompany.com, so theres a folder named julie with all her emails in there.)
We want to give people access to their spam so they can see if we filtered the wrong emails without having to manually sort through thousands of emails
Doesn't have to be fast, but I'm hitting a brick wall here
example:
100 spam emails get sent to the folder, the script runs, sorts all the emails in folders(10 spam are sent to julie@fakecompany.com, so theres a folder named julie with all her emails in there.)
We want to give people access to their spam so they can see if we filtered the wrong emails without having to manually sort through thousands of emails
Doesn't have to be fast, but I'm hitting a brick wall here