Create a way to generically override an email without parameter mapping

Created on 18 November 2024, 5 days ago

Problem/Motivation

It would be nice to be able to generically wrap an email that is coming from another module in an Easy Email entity so that it can be logged in the email log. To do this, we need to provide a way to overwrite the body and recipients of the email with whatever has been sent from the original module. This feature could be useful for Webform email notifications, in particular.

Proposed resolution

Create new options in the Easy Email Overrides configuration that allow site builders to specify that they want certain key fields to be copied from the original message directly over to the easy email entity. Proposed fields are:

  • Subject
  • HTML Body
  • Text Body
  • To
  • CC
  • BCC
  • Attachments

Remaining tasks

Code this up.

User interface changes

New options will be available in the overrides configuration form.

API changes

There will be new config options, but no changes to existing options.

Data model changes

There will be new config options, but no changes to existing options.

✨ Feature request
Status

Active

Version

3.0

Component

Email Overrides

Created by

πŸ‡ΊπŸ‡ΈUnited States zengenuity

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024