Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Created April 15, 2025 11:03
Show Gist options
  • Save aspose-com-gists/67036bce5272d812be09f9f0eae7e21f to your computer and use it in GitHub Desktop.
Save aspose-com-gists/67036bce5272d812be09f9f0eae7e21f to your computer and use it in GitHub Desktop.
Retrieve Outlook reactions from MSG files in C#
// 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