Describe your bug or feature request.

With swiftmailer being unsupported due to a security issue. (See Swift Mailer - Moderately critical - Access bypass - SA-CONTRIB-2024-006), we probably don't want to advertise it any more in Commerce.

I've found two references to the module:

- \Drupal\commerce\MailHandlerInterface in the class doc block.
- \Drupal\commerce_order\Form\OrderTypeForm::form where there is an actual link to the d.o project page.

If we do a 1-on-1 replacement instead of removing those mentions altogether, I see two options:

- https://www.drupal.org/project/symfony_mailer_lite
- https://www.drupal.org/project/symfony_mailer

I think the latter should have the preference here, but n=1.

Issue fork commerce-3418550

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Spokje created an issue. See original summary.

spokje’s picture

Status: Active » Needs review

Added an MR where references to swiftmailer are replaced by symfony_mailer, but as said in the IS, either removing references altogether or replacing with symfony_mailer_lite are also valid options.

  • jsacksick committed 11a2e1e5 on 8.x-2.x authored by Spokje
    Issue #3418550 by Spokje: Replace/remove references to swiftmailer...

  • jsacksick committed e0289607 on 3.0.x authored by Spokje
    Issue #3418550 by Spokje: Replace/remove references to swiftmailer...
jsacksick’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.