An Exchange email account was created through which I will receive daily emails with three different Excel attachments.
Each Excel attachment has to be saved in one of three different folders.
Can an Exchange Server be configured to automatically do this, or must I program a script that monitors the account for new emails?
I believe it is an Exchange 2007 Server.
I'm currently using a python script for this purpose, it logs into the mailbow trought POP3 and then download the attachements and backup the emails, with little mods it may suit your needs very well, you can compile it with py2exe if you wish it. Here is the code.
PS: This code was orignaly written by Suresh Kesmar (all credits to him) ;)
I'm afraid that you'll have to accomplish this with a script since Outlook likes to protect you from yourself. The below instructions are from here. I've modified somewhat to apply to your excel spreadsheets. Keep in mind that if they are from Excel 2007, then you'll have to use "xlsx" for your file extension in the script.
You will need to ensure that you have the proper security level set in order to properly process the script. In Outlook, go to Tools>Macro> Security. I chose No security check for macros. This might be too loose of a restriction for your environment; if so, try the next highest setting.
Create a new Outlook rule (Tools>Rules and Alerts) to reflect your changes. My rule looks for new messages from a specific email address and has an attachment (the web file that I want to move), moves the message to a specific folder (so I can have a backup of the message/attachment), then runs the module/script above to move the web file to the appropriate samba share. Here is what my Rule Description looks like:
with