How enable Reply button after adding Voting buttons

Michal Kuracina 0 Reputation points
2023-08-31T11:35:33.2333333+00:00

This code below enables Voting button in my emails (works fine), but emails have Reply, Reply All and Forward greyed out (screenshot below)

public static void AddVotingButton(string mailBox, string messageID, string voteOptions)
{             
	Microsoft.Graph.Message message = new Microsoft.Graph.Message(); 
    SingleValueLegacyExtendedProperty property = new SingleValueLegacyExtendedProperty();
    property.Id = "Binary {00062008-0000-0000-C000-000000000046} Id 0x00008520";             
	property.Value = VotingButtonEncoder.CreateVoteButtonsBase64String(voteOptions.Split(';'));  
	IMessageSingleValueExtendedPropertiesCollectionPage SingleValueExtendedProperties = new MessageSingleValueExtendedPropertiesCollectionPage();             
	SingleValueExtendedProperties.Add(property);
              
	message.SingleValueExtendedProperties = SingleValueExtendedProperties;
	GraphClient.Users[mailBox].Messages[messageID]                 
	.Request()                 
	.UpdateAsync(message).GetAwaiter().GetResult();         
}

2023-08-31 13_28_05-Start

I suspect that this must be set again (?) https://learn.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagsensitivity-canonical-property

But it does nothing :(

Any ideas what is the name of the email property?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,016 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,822 questions
0 comments No comments
{count} votes