Can I include a poll in mail using graph api

revanth voleti 1 Reputation point

I need to send a mail with poll i.e., with voting options like yes,no,may be.

Can i send a mail with voting options by using graph api SendMail?.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,404 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shivam Dhiman 5,951 Reputation points

    Hi @revanth voleti

    To include voting option in your mail you can use single-value extended property.
    Extended properties allow storing custom data and specifically serve as a fallback mechanism for apps to access custom data for Outlook MAPI properties when these properties are not already exposed in the Microsoft Graph API metadata.

    To use Single-value extended property you can Refer to this documentation.

    Further you can refer to these similar posts-
    Voting Option in Microsoft Graph API
    Voting buttons using MS Exchange Graph API Java SDK

    Hope this helps.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments