GraphClient.SendMessageAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Graph.dll (version 7.0.9147)
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 |
---|---|---|
Graph |
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 |
---|---|---|
Mail |
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 |
---|---|---|
Mime |
message | Message to send. |
Returns
Type | Description |
---|---|
Task |