ASP.Net MVC 4中缺少MvcMailer Send()扩展方法

Ale*_*nor 7 c# .net-4.0 mvcmailer asp.net-mvc-4

将我的一个网站升级到MVC 4并升级NuGet中的所有软件包后,我似乎丢失了NuGet的MvcMailer软件包的Send()扩展方法.除了升级项目所需的代码之外,我没有进行任何代码更改,我有:

using Mvc.Mailer;
Run Code Online (Sandbox Code Playgroud)

在我的代码文件的顶部.

有人可以告诉我这里可能会发生什么吗?

Ale*_*nor 7

好的我看完这篇文章后想出来了:https: //github.com/smsohan/MvcMailer/issues/68

基本上他们已经删除了扩展方法,MailMessage并添加了一个新的类MvcMailMessage,您的邮件应该返回该类.