BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
hi there, I am doing a programm for support. The support mails arrive in a Microsoft 365 mailbox. I would like to realise the following:
Display the mailbox's incoming mail list to have the possibility of Create a Todo from the incoming mail
I have tried looking at your examples and searching the internet for something about this, but unfortunately I cannot find anything clear that I can follow.
The first problem that Microsoft don't explain as well how is it possible to fetch mail in blazor app
Can you help me?
Hi Francesco Pruneri,
To fetch incoming emails from a Microsoft 365 mailbox and display them in your Blazor application, you can use the Microsoft Graph API. Microsoft Graph is a powerful tool that allows you to interact with Microsoft 365 services, including mail, calendar, and tasks. Here’s an overview:
Set up an Azure AD App Registration:
Mail.Read
or Mail.ReadWrite
for delegated or application permissions).Use Microsoft Graph API:
/me/messages
or /users/{userId}/messages
endpoints to fetch the email messages.Integrate in Blazor:
Resources:
Introduction to Microsoft Graph for fetching user emails - This module provides a step-by-step guide for using Microsoft Graph to show user emails in a .NET application.
Microsoft Graph Documentation - Explore the official documentation to understand the Graph API capabilities.
Quickstart: Register an App with Azure AD - Learn how to register your Blazor app in Azure AD.
Access Email Data via Microsoft Graph - Use this guide to understand how to work with the message
resource for fetching emails.
Please check the above general information about your query and get back us if you have any queries regarding syncfusion libraries.
Regards,
Arun Kumar R