Logging email to text

Posted on 2011-03-11
Last Modified: 2012-08-14
It seems like such a simple thing...

All I want is to be able to have all of the email sent to a given Exchange mailbox to be immediately output to one or more text files.

I already have software that will read that text file as a log, parse it and act accordingly.   But it won't read mailboxes.  All I need is to get the mail into the text file.

If there's a tool out there that will already do it, great!   So long as it isn't excessively expensive or complex, that's all I ask.

Question by:wallewek
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 49

Accepted Solution

Akhater earned 250 total points
ID: 35115021
Nop this is not possible with exchange, you have to look into solutions like gfi mail archiver

Author Comment

ID: 35116154
Hmm.   Looks a lot like Email2DB, another potential solution that looks like major overkill.   But I'll look into it.

LVL 16

Expert Comment

ID: 35117059
Another vote here for MailArchiver!

What version of Exchange r u using? If 2007/2010 you could use a journalling rule to copy the messages to another account.  
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.


Author Comment

ID: 35119329
Yes, using Exchange 2007, already using Journaling.   What does that have to do with exporting to text files?  I don't get that.

LVL 10

Expert Comment

ID: 35204924
Without more details it is difficult to give specific direction.  Depending on your Powershell scripting experience, the Managed API for Exchange might provide some good reference points:
Starting with Exchange 2007 the Exchange Web Services (EWS) allow a much easier interface.  The link above also provides the Object model for this API, so, that should help frame the context a little.  

Here is another link with some Powershell examples directly related to EWS:

Lastly, you may want to look at this product if you have some budget and give them a call to see if their product will do what you need:


Author Comment

ID: 35206315
What kind of additional would you need?  It's currently Exchange 2007 on Server 2008 R2.   Does that help?

The price for the PowerShell Server isn't much below the GFI product, and the latter looks a LOT easier to implement.   I'm not clear why PowerShell Server is even being suggested, given what is already built in.

Although we have considered using PowerShell, we don't have a great deal of experience with it, or the free time to throw at it.   have no idea whether what I described is even possible from within PowerShell, let alone what it would take,   Without knowing which specific PS commands one could use for this, I wouldn't want to even start.  

If you could provide more detail, that might be helpful.

LVL 16

Expert Comment

ID: 35206333

It took me less than an hour to setup Journaling & GFI MailARchiver in my environment.  

Author Closing Comment

ID: 35226936
Very incomplete, solution looks good but not yet proven, several others agreed.

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to install and use the NTBackup utility that comes with Windows Server.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question