StatCan / StatCan.OrchardCore

Houses StatCan OrchardCore Modules
https://statcan.github.io/StatCan.OrchardCore/
MIT License
57 stars 12 forks source link

feat: EmailTemplatePart #165

Closed jptissot closed 3 years ago

jptissot commented 3 years ago

Create a part that adds support for sending emails from Content Types.

The goal is to support sending "Welcome" emails to various teams but let's design it in a generic way so we can send emails from many content types.

The part should have a setting that allows selecting a list of email template that can be send using the ContentItem instance of the type. For example, a team could be used to send a "Welcome email" template and a "Deadline reminder" email template.

A button is displayed on the SummaryAdmin list (maybe a dropdown button) that redirects to a controller that will load the ContentItem and use it as the model when evaluating the liquid expressions in the EmailTemplate.