SmtpClient.SendEmailAsync(Email, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Send Email (V3)
public virtual System.Threading.Tasks.Task SendEmailAsync(Azure.Connectors.Sdk.Smtp.Models.Email input, System.Threading.CancellationToken cancellationToken = default);
abstract member SendEmailAsync : Azure.Connectors.Sdk.Smtp.Models.Email * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SendEmailAsync : Azure.Connectors.Sdk.Smtp.Models.Email * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SendEmailAsync (input As Email, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- input
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Remarks
This operation sends an email to one or more recipients.