IEmailSender.SendEmailAsync(String, String, String) Method

Definition

This API supports the ASP.NET Core Identity infrastructure and is not intended to be used as a general purpose email abstraction. It should be implemented by the application so the Identity infrastructure can send confirmation and apassword reset emails.

public:
 System::Threading::Tasks::Task ^ SendEmailAsync(System::String ^ email, System::String ^ subject, System::String ^ htmlMessage);
public System.Threading.Tasks.Task SendEmailAsync (string email, string subject, string htmlMessage);
abstract member SendEmailAsync : string * string * string -> System.Threading.Tasks.Task
Public Function SendEmailAsync (email As String, subject As String, htmlMessage As String) As Task

Parameters

email
String

The recipient's email address.

subject
String

The subject of the email.

htmlMessage
String

The body of the email which may contain HTML tags. Do not double encode this.

Returns

Applies to