Attachment Stripper For Exchange

Category:
System/API
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
For administrators who have users treating the email server as a file server, this script helps keep things under control. While this is useful in any circumstance where the ability to strip attachments would be handy, this must be used in a domain with file folder redirection by an administrator with access to all of the mail boxes. (Email Accounts->Exchange Account->Change->More Settings->Open Additional Mail Boxes) It allows the selection of any folder accessible from within Exchange, and storage of attachments to any path, or deletion if desired. I also recommend the use of ClickYes to avoid the pesky security warning when using this script. http://www.snapfiles.com/get/clickyes.html Note: This script is quite slow to run. It actually needs to download every item in the email box and every attachment. If you are storing your attachments on the network, it also needs to copy them back across, make the updates to the body and save them to the network as well.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: