smsohan / MvcMailer

A Mailer for ASP.Net MVC that forms the Email Body using MVC Views (Razor etc.) following Ruby on Rails ActionMailer style
MIT License
585 stars 176 forks source link

Unknown method Send #150

Open kahanu opened 9 years ago

kahanu commented 9 years ago

I've opened my MVC 3 application for the first time in VS 2013 and I'm getting this error saying there's no "Send" method on the MailMessage class.

I want to keep the application as MVC 3 and not upgrade it since it will be too much work to refactor everything. It all worked in VS 2010, but 2010 was getting real buggy and taking literally 15 minutes to open, that's why I tried opening the solution in VS 2013.

The "using" reference of Mvc.Mailer is greyed out in the controller, but it is enabled in the Mailer class. Can you help figure out what's going on?

Thanks.