Hi
Below code we use to send MSGs. The voting buttons are not available at the receiving end.
MapiMessage mapi = new MapiMessage(“sender”, “reciever”, “Test Voting Option”, “Vote body”);
FollowUpOptions options = new FollowUpOptions();
options.VotingButtons = “Yes;No;Maybe;Exactly!”;
FollowUpManager.SetOptions(mapi, options);
MailMessageInterpretor mi = MailMessageInterpretorFactory.Instance.GetIntepretor(mapi.MessageClass);
MailMessage mailMsg = mi.InterpretAsTnef(mapi);
SmtpClient client = SampleStmpClient();
client.Send(mailMsg);
Hi Aaron,
Thank you for your inquiry.
I have reviewed and tested your code, and it seems to me that you are not setting the UseTnef flag of SmtpClient while sending. Please try the following code sample at your end and share your feedback with us if you still face any issue. I have highlighted the changed code in yellow for your reference.
Code:
MapiMessage mapi = new MapiMessage("sender", "reciever", "Test Voting Option", "Vote body");
FollowUpOptions options = new FollowUpOptions();
options.VotingButtons = "Yes;No;Maybe;Exactly!";
FollowUpManager.SetOptions(mapi, options);
MailMessageInterpretor mi = MailMessageInterpretorFactory.Instance.GetIntepretor(mapi.MessageClass);
MailMessage mailMsg = mi.InterpretAsTnef(mapi);
SmtpClient client = SampleStmpClient();
client.UseTnef = true;
client.Send(mailMsg);