Here Mudassar Khan has explained with an example, how to send Email using Web API and jQuery AJAX in ASP.Net MVC Razor.
When the Send Button is clicked, the SendEmail Action method of the Web API is called using jQuery AJAX and the Email is sent.
↧