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.  
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!


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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

617 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