Link to home
Start Free TrialLog in
Avatar of support
support

asked on

message tracking

Need to retrieve a list of users who received a message from another user by subject.  The email/message was sent to a distribution group.
we are running Exchange 2013 on Premise,
Avatar of Valentina Perez
Valentina Perez
Flag of France image

Hi,

You can track the message in Exchange Mangement Shell

Get-MessageTrackingLog -Recipients "email distribution list"

The more details you specify, the better to found the message

Or you can track in Exchange Center Administration.

Regards
Valentina
here is what you can do, first track the messages based on the Sender address.

Example:

I am going to track emails send by Sunil@gmail.com in last 24 hours on Hub01

$Logs=Get-MessageTrackingLog -Sender Sunil@gmail.com -Start (get-date).AddDays(-1) -Server HUB01 -ResultSize unlimited

Now it will return the tracking information if the message was received by the hub,
NOTE: if you have more than one hub server you should be running this command against each hub server.

Now to filter the message based on the Subject you can do the following.

$logs | ?  {$_.MessageSubject -match "Test Message"}

this will return all the emails matching that subject

if you have more than one hub server, you can utilize my script, which tracks logs on all the hub, below I have shared the post URL.

http://www.sunilchauhan.info/2017/05/powershell-script-get-messagetrace-for.html
ASKER CERTIFIED SOLUTION
Avatar of Amit Kumar
Amit Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial