ASP .Net MVC 3 – WebMail


I have been searching the web on how to easily send email thru ASP .NET MVC 3 and finally found the right code for it, its called WebMail. Look at the code below and insert it to one of your Controller’s Action:

WebMail.SmtpServer = “”;
WebMail.EnableSsl = true;
WebMail.SmtpPort = 25;
WebMail.UserName = “”;
WebMail.Password = “**********”;
WebMail.From = “”;
WebMail.Send(“********@******.com”, subject:”Subject”, body:”Message Here”);

Then try it on!

Its the Easiest Email on ASP .Net mvc 3 using webmail using gmail!

4 thoughts on “ASP .Net MVC 3 – WebMail

  1. Pingback: Read This

  2. Pingback: comparer les forfaits mobile sans engagement

  3. Pingback: hair extensions

  4. Pingback: Bronzeskulpturen

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.