Exchange 2010 mailbox - auto save attachments

Hello All,

I have a mailbox on Exchange 2010 that is set to receive emails from an external address.

These emails will have attachments.

I need to be able to query or search this mailbox and if an email with attachments is found, to then save these attachments to a network share with the email then deleted.

The preferred way to do this is by VBscript (running from another server).

Or a transport rule perhaps?

In an ideal world, it would be good to not have Outlook do this task either...
JamieD71Asked:
Who is Participating?
 
David LeeConnect With a Mentor Commented:
See this article that I wrote that details an automated way of accomplishing this.  The only thing that's missing from that solution is deleting the original message once the attachments have been saved.  If you want that capability, then I can add the necessary command to the code.
0
 
David LeeCommented:
Can you give an example of a query you'd be using?
0
 
JamieD71Author Commented:
Hi BlueDevilFan,

Sorry, it's not what I meant...  I have no VB query at present...  

By query, I meant as in "accessing the mailbox".

Sorry for any confusion.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
David LeeCommented:
Are you saying that you'd like to save the attachments from all the messages coming to that mailbox and then delete the messages?
0
 
JamieD71Author Commented:
Hi,

Yes, you've put it in much better words than I have!
0
 
JamieD71Author Commented:
That looks seriously impressive.  I will look through this now.

Is it possible to achieve the same without the need to run Outlook?

I've seen varying solutions that can do this, but with POP mail rather than Exchange.
0
 
David LeeCommented:
No, it is not possible to do this on an Exchange server without Outlook.
0
 
JamieD71Author Commented:
Thank you - this is the best way we found going forward.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.