Created
April 15, 2025 11:03
-
-
Save aspose-com-gists/67036bce5272d812be09f9f0eae7e21f to your computer and use it in GitHub Desktop.
Retrieve Outlook reactions from MSG files in C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load the message file | |
var msg = MapiMessage.Load(fileName); | |
// Retrieve the list of reactions on the message | |
var reactions = FollowUpManager.GetReactions(msg); | |
// Iterate through each reaction and output the details to the console | |
foreach (var reaction in reactions) | |
{ | |
Console.WriteLine($"User: {reaction.Name}, Email: {reaction.Email}, Reaction: {reaction.Type}, Date: {reaction.ReactionDateTime}"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment