ProtectedProviderReturns the name of this provider for use in error messages. Override in subclasses to provide a more descriptive name.
Archives a message by moving it to the Archive folder using MS Graph.
Optionalcredentials: MSGraphCredentialsCreates a draft email message via MS Graph.
Optionalcredentials: MSGraphCredentialsDeletes a message using MS Graph. If PermanentDelete is false, moves to Deleted Items folder.
Optionalcredentials: MSGraphCredentialsDownloads an attachment from a message using MS Graph.
Optionalcredentials: MSGraphCredentialsForwards an email message via MS Graph.
Optionalcredentials: MSGraphCredentialsProtectedGetProtectedGets headers using default client.
ProtectedGetProtectedGets headers for a message using User object (requires prior user lookup). For better performance, consider using GetHeadersWithEmail() instead.
ProtectedGetProtectedGets headers for a specific message using email address directly. This is the preferred method for new code as it avoids an extra API call to look up the user.
Retrieves email messages from a mailbox via MS Graph.
Optionalcredentials: MSGraphCredentialsProtectedGetProtectedGetProtectedGets the user account information by making an API call to MS Graph. This method looks up the full User object from the Graph API.
Gets a single message by ID from MS Graph.
Optionalcredentials: MSGraphCredentialsReturns the list of operations supported by MS Graph provider. MS Graph supports all mailbox operations.
Lists attachments on a message using MS Graph.
Optionalcredentials: MSGraphCredentialsLists mail folders using MS Graph.
Optionalcredentials: MSGraphCredentialsMarks messages as read or unread using MS Graph.
Optionalcredentials: MSGraphCredentialsProtectedMarkProtectedMarkProtectedMarkMoves a message to a different folder using MS Graph.
Optionalcredentials: MSGraphCredentialsReplies to an email message via MS Graph.
Optionalcredentials: MSGraphCredentialsSearches messages using MS Graph search or filter.
Optionalcredentials: MSGraphCredentialsSends a single email message via MS Graph.
Optionalcredentials: MSGraphCredentialsChecks if this provider supports a specific operation.
The operation to check
true if the operation is supported
Implementation of the MS Graph provider for sending and receiving messages.
Remarks
Microsoft Graph provides full mailbox access. This provider supports:
Example