Symfony mailer plugin

Created on 22 January 2024, 5 months ago
Updated 15 February 2024, 4 months ago

Problem/Motivation

I think that will be useful to use the symfony mailer policies to process the mails, this way it can be clearer, more flexible, and powerful. Also, it will be paired with the way is implemented in other modules (or at least how is proposed by symfony mailer like commerce order).

Proposed resolution

Elaborate an Emailbuilder β†’ plugin similar to the one in https://git.drupalcode.org/project/symfony_mailer/-/blob/1.x/src/Plugin/... .

So that the template variable "{{ body }}" in the body element in commerce ticket policy use the generated output set in ticket type "manage display" settings in
/admin/structure/commerce_ticket_types/manage/XXX/display/receipt

If using this plugin should be possible to remove the TicketReceiptMail class.

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain aleix

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024