Switch from the deprecated Swift Mailer module replaced by Symfony Mailer

Created on 8 December 2021, over 2 years ago
Updated 30 May 2023, about 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.69.0 2024