7

After upgrading one of my websites to MVC 4 and upgrade all 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 other then those necessary to upgrade the project and I have:

using Mvc.Mailer;

At the top of my code file.

Can someone please tell me what may be going on here?

Furqan Safdar
  • 16,260
  • 13
  • 59
  • 93
Alex Hope O'Connor
  • 9,354
  • 22
  • 69
  • 112

1 Answers1

7

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

Basically they have removed the extension method from MailMessage and added a new class called MvcMailMessage which your mailer should return instead.

Alex Hope O'Connor
  • 9,354
  • 22
  • 69
  • 112