MvcMailer 4.5.0

.NET Framework 4.5
Install-Package MvcMailer -Version 4.5.0
dotnet add package MvcMailer --version 4.5.0
<PackageReference Include="MvcMailer" Version="4.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MvcMailer --version 4.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MvcMailer, 4.5.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install MvcMailer as a Cake Addin
#addin nuget:?package=MvcMailer&version=4.5.0

// Install MvcMailer as a Cake Tool
#tool nuget:?package=MvcMailer&version=4.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MvcMailer sends emails using the MVC views as Email Body with no effort. Here's a quick list of features: a) Use Razor/WebForms views b) Use Master pages c) Write Testable Code d) Pass values to your view using ViewBag or ViewModel and e) Generate Absolute URL using Url.Abs method and f) create multi-part emails by just adding a view file, g) scaffold your mailers.
MvcMailer has a MailerBase class that extends ControllerBase class. So, Mailers are just like your Controllers. As a result, you can use all the controller goodies without any learning curve, period. The end result is a professional looking HTML email body ready for your to send to your website users.
Visit the Project site for a comprehensive tutorial on MvcMailer. This version is for ASP.Net MVC 4.5. For other versions, please check MvcMailer4 and MvcMailer3 packages.

Product Versions
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on MvcMailer:

Package Downloads
SecurityGuard.MVC4

An easy-to-use management system for the ASP.NET Membership system built for ASP.NET MVC 4 applications. This application comes complete with an Area, Controllers, Views and everything you need to start managing your ASP.NET MVC 4 application immediately.

SecurityGuard.MVC5

An easy-to-use management system for the ASP.NET Membership system built for ASP.NET MVC 5 applications. This application comes complete with an Area, Controllers, Views and everything you need to start managing your ASP.NET MVC 5 application immediately.

Uvendia.Domain

Uvendia is an E-commerce component that runs on Umbraco 8.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on MvcMailer:

Repository Stars
MarlabsInc/SocialGoal
Sample web app for ASP.NET MVC 5, EF 6 Code First, AutoMapper, Autofac and TDD
Version Downloads Last updated
4.5.0 1,006,577 3/17/2013
4.0.0 77,810 10/1/2012
1.1.0 119,972 3/10/2011
1.0.0 2,461 3/7/2011
0.9.0 1,712 2/28/2011
0.8.0 1,630 2/22/2011
0.7.0 2,005 1/27/2011
0.6.0 1,850 1/25/2011
0.4.0 1,796 1/20/2011
0.3.0 1,754 1/19/2011
0.2.0 1,922 1/17/2011