There might be times where determining which email client (Outlook, OWA, or ActiveSync) sent a particular email is important. In this recipe, we will see how we can do this using Message Tracking Logs.
Determining which email client sent an email
How to do it...
To check which email client was used to send an email, we check the SourceContext property of the email using the following cmdlet:
Get-TransportService | Get-MessageTrackingLog ` -ResultSize Unlimited -Start 04/04/2017 ` -Sender dave@contoso.com -Recipients john@contoso.com ` -MessageSubject "Financial Report" -EventID SUBMIT | ` Select SourceContext