GraphClient.SendMessageAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9119)
SendMessageAsync(GraphMessageId)
Begins asynchronous SendMessage operation. Sends an existing draft message and saves it to the 'Sent Items' folder.
Declaration
public Task SendMessageAsync(GraphMessageId id)
Parameters
Type | Name | Description |
---|---|---|
GraphMessageId | id | Draft message to send. |
Returns
Type | Description |
---|---|
Task |
SendMessageAsync(MailMessage)
Begins asynchronous SendMessage operation. Sends a mail message (and saves it to the 'Sent Items' folder).
Declaration
public Task SendMessageAsync(MailMessage message)
Parameters
Type | Name | Description |
---|---|---|
MailMessage | message | Message to send. |
Returns
Type | Description |
---|---|
Task |
SendMessageAsync(MimeMessage)
Begins asynchronous SendMessage operation. Sends a MIME message and saves it to the 'Sent Items' folder.
Declaration
public Task SendMessageAsync(MimeMessage message)
Parameters
Type | Name | Description |
---|---|---|
MimeMessage | message | Message to send. |
Returns
Type | Description |
---|---|
Task |