CountZero
CountZero

Reputation: 6379

Look for package to send emails using razor view templates

I am looking for a package to send emails using razor views as templates. So far I have found the following options.

MvcMailer - Looks like it has issues working with MVC5+ and hasn't been updated in a while.

ActionMailer.Net - No longer supporred

I found a good article on writing one from scratch here. http://mehdi.me/generating-html-emails-with-razorengine-introduction/

Are there any other libriaries which will work with MVC5+ application for creating email templates based on razor views?

Upvotes: 1

Views: 419

Answers (1)

Ehsan Mirsaeedi
Ehsan Mirsaeedi

Reputation: 7592

you can use Mailzory for sending emails. It compiles razor templates and does not depend on httpcontext.

Upvotes: 1

Related Questions