View Mailkit, Email Send.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|public static async Task SendMail()|
|string FromAddress = "firstname.lastname@example.org";|
|string FromAdressTitle = "Email from ASP.NET Core 1.1";|
|string ToAddress = "email@example.com";|
|string ToAdressTitle = "Microsoft ASP.NET Core";|