In Visual Studio Create WebApi Project
Then In the Dependencies Right click ManageNugetPacakge
Download MailKit
Navigate to this Link https://ethereal.email
Click Login Copy the UserName,Password,Host
Replace in AppSettings.json
build and run the project