Support for HTML mails

Created on 10 April 2019, about 5 years ago
Updated 1 February 2023, over 1 year ago

Problem/Motivation

I am currently working on a double opt-in submodule for Webforms β†’ . Webforms provides a lot of configurability regarding mail sending. Multiple formats: plain text, HTML, Twig. CC and BCC configuration. etc. I would like to use these options.

Proposed resolution

Create mail sending functionality with features similar to Webform mails. Use a mail template, to allow developers to change it according to their needs.
An e-mail message object (class needs to be created), or array, could be passed to the EmailConfirmation::confirm method. Or configured by realm (needs to be implemented).

Remaining tasks

  • Create mail sending functionality
  • Review & Test
  • Commit

User interface changes

None.

API changes

  • Message parameter added to EmailConfirmation::confirm

Data model changes

tbd. the message has to be saved somewhere, probably the entity.

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland orlando.thoeny Switzerland πŸ‡¨πŸ‡­

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024