Exchange 2010 Message Tracking Logs for Sent items

Hi All,

Would anyone be able to help.  I have very limited knowledge of powershell but i am doing my best.

I need to create a powershell script that will show me how many emails have gone into a specific mailbox Sent Items folder within the last 24 hours.

The reason for this is simple.  we use the same email address of the mailbox to send out hundreds of emails a day automatically, but we have other people using the mailbox to reply to customers.  The automated emails are marketing emails for our company.  So a count for total sent items in a day would be useless.  The sent items folder would be what I need.

It would be much appreciated if someone can help or point me in the right direction.  Or any free software out there.

:)

June 3rd, 2015 5:05pm

Please follow this article that helps to calculate daily email traffic using Message Tracking Logs and Log Parser : http://exchangeserverpro.com/daily-email-traffic-message-tracking-log-parser/

You can also download the script from here : https://gallery.technet.microsoft.com/office/Exchange-200720102013-0ea7662b

If you wish to get complete email traffic reports automatically, You may also consider on Lepide Exchange reporter that provides comprehensive reports on the mailbox traffic of the entire network with details such as, all emails sent and received within a particular duration, emails sent outside and inside organization, interaction between users in a particular duration.

Free Windows Admin Tool Kit Click here and download it now
June 4th, 2015 3:08am

Hi,

To get the Number of E-mails Sent by one mailbox within 24 hours, you can try this script:

[Int] $intSent = $intRec = 0

$date= (Get-Date).AddDays(-1)

Get-TransportServer | Get-MessageTrackingLog -ResultSize Unlimited -Start $date -Sender "user@domain.com" -EventID RECEIVE | ? {$_.Source -eq "STOREDRIVER"} | ForEach { $intSent++ }

Write-Host "E-mails sent:    ", $intSent

Best Regards.

June 4th, 2015 8:51am

thank you all, that was very helpful
Free Windows Admin Tool Kit Click here and download it now
June 5th, 2015 3:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics