GraphClient.StoreMessageAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9119)
StoreMessageAsync(GraphFolderId, MailMessage)
Begins asynchronous StoreMessage operation. Stores a mail message into the specified folder. Only storing into Drafts is currently supported by Microsoft Graph API.
Declaration
public Task<GraphMessageInfo> StoreMessageAsync(GraphFolderId folderId, MailMessage message)
Parameters
Type | Name | Description |
---|---|---|
GraphFolderId | folderId | Folder to which to store the message. |
MailMessage | message | Message to store (upload). |
Returns
Type | Description |
---|---|
Task<GraphMessageInfo> |
StoreMessageAsync(GraphFolderId, MimeMessage)
Begins asynchronous StoreMessage operation. Stores a MIME message into the specified folder. Only storing into Drafts is currently supported by Microsoft Graph API.
Declaration
public Task<GraphMessageInfo> StoreMessageAsync(GraphFolderId folderId, MimeMessage message)
Parameters
Type | Name | Description |
---|---|---|
GraphFolderId | folderId | Folder to which to store the message. |
MimeMessage | message | Message to store (upload). |
Returns
Type | Description |
---|---|
Task<GraphMessageInfo> |