Invalid image

MvcMailer



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.

Info

Version: 4.5
Author(s): S. M. SOHAN, Tyler Mercier
Last Update: Sunday, March 17, 2013
.NET Fiddle:
Project Url: https://github.com/smsohan/MvcMailer
NuGet Url: https://www.nuget.org/packages/MvcMailer


Install
Install-Package MvcMailer
dotnet add package Z.EntityFramework.Plus.EF6
paket add MvcMailer
MvcMailer Download (Unzip the "nupkg" after downloading)

3 packages depend on this package.







STATS

must-have-score

3.3


avg-downloads-per-day

136


days-since-last-release

1736