Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Drupal Symfony Mailer Lite

Security covered Under active development 22,187 sites

This module allows Drupal to send HTML-formatted emails and emails with attachments using the Symfony Mailer library. It is designed to be a direct replacement for the deprecated Swiftmailer module.

Drupal Symfony Mailer Lite integrates Drupal with the Symfony Mailer library, allowing for the sending of HTML-formatted emails and emails with attachments. This module is a direct successor to the Swiftmailer module, which has been deprecated because the Swiftmailer library is no longer maintained.

Requirements and Installation

This module requires the Mail System module. After installation, you should go to Configuration > Mail System on your site and assign Symfony Mailer Lite as either the default formatter and sender for emails, or assign it to specific modules and/or keys to only send specific emails with it.

Similar projects

Drupal Symfony Mailer: This project also allows the sending of HTML-formatted emails from Drupal using the Symfony Mailer library. However, it does much more than that, providing an alternative templating system and API for sending emails from Drupal.

Drupal Symfony Mailer Lite sends emails using the same approach as the Swiftmailer module. It’s designed to be a direct drop-in replacement for Swiftmailer.

Upgrading from Swiftmailer Module

To upgrade from the Swiftmailer module to Drupal Symfony Mailer Lite, you should:

  • Install this module using Composer.
  • Enable this module.
  • Go to Configuration > System > Mail System, and switch your default or module-level configurations for the formatters and senders from Swiftmailer to Drupal Symfony Mailer Lite and save your configuration.
  • If you have customized the swiftmailer.html.twig template, you should rename or copy that template to symfony-mailer-lite-email.html.twig.
  • If you have a custom swiftmailer library in your theme, you should rename or copy that library to one named symfony_mailer_lite.

Acknowledgements

The code in this module is largely based on code from the Swiftmailer and Drupal Symfony Mailer modules. Thank you to AdamPS and other contributors to those modules, which have made this module possible.

Drupal 10–11

Ask your assistant about Drupal Symfony Mailer Lite

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

3 tracked projects depend on this one

Activity

Tracked releases
23
Tracked since
Jun 2023
Latest release
11 months ago
Releases (12 mo)
1 ▼ from 3
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.0.3 Stable 9–10 Jan 26, 2024
1.0.2 Stable 9–10 Jan 18, 2024
1.0.1 Stable 9–10 Jan 5, 2024
1.0.0 Stable 9–10 Jan 3, 2024
1.0.0-rc5 Pre-release 9–10 Dec 13, 2023
1.0.0-rc4 Pre-release 9–10 Dec 2, 2023
1.0.0-rc3 Pre-release 9–10 Oct 1, 2023
1.0.0-rc2 Pre-release 9–10 Aug 18, 2023
1.0.0-rc1 Pre-release 9–10 Aug 16, 2023
1.0.0-beta3 Pre-release 9–10 Jul 18, 2023