MvcMailer sends emails using the MVC views as Email Body with no effort.
It finds the Email View and Master page automatically based on the name of the mailer following same principles of Controllers.
So, a view "WelcomeMessage" for the mailer Notifier will be automatically used from
~/Views/Notifier/WelcomeMessage.cshtml or ~/Views/Notifier/WelcomeMessage.aspx
It doesn't require any fancy and new configuration.
Zero learning curve, use your MVC Views and Master Pages.
See the version list below for details.
Install-Package MvcMailer -Version 0.4.0
dotnet add package MvcMailer --version 0.4.0
<PackageReference Include="MvcMailer" Version="0.4.0" />
paket add MvcMailer --version 0.4.0
This package has no dependencies.
Showing the top 1 GitHub repositories that depend on MvcMailer:
Sample web app for ASP.NET MVC 5, EF 6 Code First, AutoMapper, Autofac and TDD
Read more about the GitHub Usage information on our documentation.