Remove Symfony Mailer dependency to allow Symfony Mailer Lite alternative

Created on 22 June 2023, almost 2 years ago
Updated 25 June 2023, almost 2 years ago

Problem/Motivation

This module currently has a dependency on Symfony Mailer module, which is a complex module that does a lot of stuff that is redundant to what Easy Email does. Relying on this module is making it progressively more difficult to deliver on the promise of "easy email", as anyone using this module has to also manage the Symfony Mailer module.

Proposed resolution

I have written a simpler module called Symfony Mailer Lite β†’ . This module just sends HTML-formatted emails and can handle attachments, like the old Swiftmailer module used to do. It doesn't have any interface beyond the basic configuration of email transport. This is basically a drop-in replacement for Swiftmailer module.

I want to change the dependencies for this module to remove Symfony Mailer. Then, we can add a custom requirements function to check for the presence of either Symfony Mailer or Symfony Mailer Lite before allowing this module to be enabled.

Remaining tasks

  • Remove dependency on Symfony Mailer.
  • Add a requirements function to enforce that users cannot install Easy Email until they install either Symfony Mailer or Symfony Mailer Lite.
  • Update the documentation on the project home page and README to reflect the new option.

User interface changes

Only that Symfony Mailer will not be installed by default with this module.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Fixed

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States zengenuity

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

Comments & Activities

Production build 0.71.5 2024