Switch from the deprecated Swift Mailer module replaced by Symfony Mailer

Created on 8 December 2021, about 3 years ago
Updated 30 May 2023, over 1 year ago

Problem/Motivation

Varbase uses Swift Mailer module which is now deprecated and got replaced by Symfony Mailer .

Started to get the following message in composer install/update

Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.

Symfony Mailer 1.1.0-beta3 was released 25 November 2022
https://www.drupal.org/project/symfony_mailer/releases/1.1.0-beta3

Replaced by: 

A new mail-system based on the popular Symfony Mailer giving full support of HTML mails, file attachments, embedded images, 3rd-party delivery integrations, load-balancing/failover, signing/encryption, async sending and more. Other libraries add capability for CSS inlining and HTML to text conversion.

This module provides a deep integration into Drupal mechanisms, including theme/template/render, multi-language, CSS libraries, configuration, plug-ins, hooks, and logging.

Warning: the swiftmailer library is no longer maintained and so this module is obsolete. It has not yet been marked unsupported, but that could change at any time due to discovery of a security bug or on advice of the Drupal Security Team.

A new module Symfony Mailer is under development, and has a reasonable alpha release. Help with testing or development is welcome.

Proposed resolution

Remaining tasks

Varbase update type:

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • Issue #3253315 : Switched from the deprecated Swift Mailer module replaced by Symfony Mailer on the 10.0.x branch, kept the Swift Mailer in the 9.0.x branch, and kept Swift Mailer as the default, But let developers use the Symfony Mailer module and do the switch manually. Using the same style and HTML script for the template
📌 Task
Status

Fixed

Version

10.0

Component

Code

Created by

🇯🇴Jordan Alaa Jwiehan

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.71.5 2024