Frage

I am trying to use MvcMailer for sending e-mail in my MVC3 Application.

I have successfully installed the package MvcMailer.

Used Unable to install MvcMailer as reference and followed the steps.

But it was not showing in References list so I explicitly added Mvc.Mailer.dll.

Now it is showing Error Assembly 'Mvc.Mailer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

What should I do now? Please Help.

War es hilfreich?

Lösung

I got the solution. I needed to Install MvcMailer3. For MVC3 applications only.

Got Solution from these link https://www.nuget.org/packages/MvcMailer https://www.nuget.org/packages/MvcMailer3/

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top