IEmailSender.SendEmailAsync(String, String, String) 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.
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 password 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
- 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.