Missing MvcMailer Send () Extension Method in ASP.Net MVC 4

After upgrading one of my sites to MVC 4 and upgrading all of my packages in NuGet, I seem to have lost the Send () extension method for the MvcMailer package from NuGet. I have not made any code changes except those that are necessary for updating the project, and I have:

using Mvc.Mailer; 

At the top of my code file.

Can someone please tell me what can happen here?

+7
source share
1 answer

Ok, I figured it out after watching this post: https://github.com/smsohan/MvcMailer/issues/68

They basically removed the extension method from MailMessage and added a new class called MvcMailMessage , which the email program should return instead.

+7
source

All Articles