I have emails coming into my hmailserver. I need to write rules/scripts that take the emails (all have attachments), and extract the file they each contain.
Bonus points if you can help me sort these extracted files into specific locations on my D:/ drive!
To possible ways, first: use IMAP with a language of your choice, to connect to the wanted account then search for imap body parse code to extract attachment to desired location. Second possiblity is to use server side script in vbscript in EventHandler file your work is to implement this method