Problem solve Get help with specific problems with your technologies, process and projects.

'Reader's Digest' for Exchange Server mail folders

Programmer Glen Scales has created an interesting VB script for Exchange Server. When executed, either manually or on a schedule, it compiles a single digest-style message out of every e-mail in an Exchange folder received after a specified date.

Please let others know how useful this tip is via the rating scale at the end of it. Do you have a useful Exchange or Outlook tip, timesaver or workaround to share? Submit it to SearchExchange.com. If we publish it, we'll send you a nifty thank you gift.


Programmer Glen Scales has created an interesting VB script for Exchange Server. When executed, either manually or on a schedule, it compiles a single digest-style message out of every e-mail in an Exchange folder received after a specified date.

The resulting "digest" of the Exchange folder's messages will contain links back to the original e-mails, so you can break them out on their own if desired (for instance, if you want to examine certain e-mail headers).

The script requires some modification based on your needs. You'll have to supply the server name, the exact URL for the mailbox to compile (which is the same URL used to access the mailbox via Outlook Web Access). You'll also have to set the date interval if you want to choose anything other than everything in the last 24 hours (the script default).

None of the customizations in question are difficult to implement if you're familiar with VB scripting and Exchange Server (and if you're going to use this script, you should be!).

The script runs using ExOLEDB, a system-level database provider that Microsoft created as a way to poll the Exchange store through a database query. Because of this, the script has to be run on the server where Exchange Server is housed; it can't be run on a Microsoft Outlook client connected to Exchange Server.

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter.

Do you have comments on this tip? Let us know.

Related information from SearchExchange.com:

  • Tip: Exchange event sink offers more granular message journaling
  • Reference Center: Exchange Server scripts and programming tips
  • Reference Center: Exchange Server archiving tips and resources
  • Dig Deeper on Exchange Server setup and troubleshooting

    Start the conversation

    Send me notifications when other members comment.

    Please create a username to comment.

    -ADS BY GOOGLE

    SearchServerVirtualization

    SearchCloudComputing

    SearchSQLServer

    SearchEnterpriseDesktop

    SearchVirtualDesktop

    Close