Customized email twig templates

pt flag

Can anyone tell me if there is a mechanism for creating user registration acceptance / rejection emails from different template files for the default email system ?

In admin/config/people/accounts, the account activation section seems the correct area for crafting the registration acceptance email. BUT, I don't think anyother section is right for te registration rejection email.

So, I tried to find a means of using twig templates for a various scenarios I am trying to fufil without success. Webforms seems to have this functionality but I need it for the default drupal email system.

de flag

You want the Easy Email module:

It is definitely the best mail solution I've found in all my years of Drupal, allowing for the creation of an on-site editing experience for HTML emails, that can be themed with TWIG templates.


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.