Skip to content

Refactor email function

Maxime Besson requested to merge refactor-email into v2.0

Currently, plugins that want to send emails have to contain a log of boilerplate code that handles

  • translation
  • plaintext body + placeholders from config or templating
  • configured subject vs translation key

This is a proposal for a much simpler sendEmail method that handles pretty much everything

Merge request reports

Loading