Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Mailer Plus (DSM+)

45,005 sites Security covered
View on drupal.org

This module provides a modern email sending system for Drupal, powered by the Symfony Mailer library. It offers advanced features like HTML emails, attachments, embedded images, and smoother integration with various delivery services. It's designed to be a robust replacement for older mail systems, offering improved API, configuration, and compatibility.

The future of this module depends on what happens with the Drupal Core mailer, see #3545439: Future of the Mailer Plus (DSM+) module for details. If you like the features here then please consider putting in a comment in favour of the relevant issues, especially #3380041: Create a new email interface that decorates symfony.

A new mail-system based on the popular Symfony Mailer library 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.

Goals:

  1. Drop-in replacement with minimal migration steps for the popular swiftmailer module, which became unsupported end Nov 2021.
  2. Provide improved API and configuration model for sites that are willing to adapt. This module provides a deep integration into Drupal mechanisms, including theme/template/render, multi-language, CSS libraries, configuration, plug-ins, hooks, and logging.
  3. Allow sites to evolve smoothly from the first to the second.

This module was formally named "Symfony Mailer", then "Drupal Symfony Mailer, then "Drupal Symfony Mailer Plus". It is now simply "Mailer Plus", indicating an enhanced integration of the Symfony Mailer library, which may well continue to exist after Core has provided a simpler integration.

Important information

Please read these pages before using this project as they explain how to get the module working, and what you can expect to work.

Branches

1.x is more stable and compatible with other modules. However it lacks many fixes in 2.x, which will not be backported.

2.x has many fixes and improvements. There are substantial non-backward-compatible API and data-structure changes, which means that custom code will need to be updated (contrib modules that extend this project are recommended to create a new major version). There are update hooks, so the upgrade should work automatically with no custom code. Recommended for sites installing this module for the first time.

Compatibility

This module is not just another mail plug-in – rather it's a full mail system that replaces the one in Drupal Core. We made this choice because the existing MailManager was designed for sending plain text mails using PHP mail and is not well-suited for extension to the many features desired to send modern emails.

The new mail-system offers a new mail interface, which eventually we anticipate that an increasing number of modules will adopt. In the meantime, it also implements the existing interface. This gives a three-level path for support of a sender module that send emails (please follow the links for more details).

  • Level 1 – Compoatibility mode. Automatic conversion of emails using the old interface (hook_mail() and hook_mail_alter()). It's possible to use many of the new features, although with some limitations.
  • Level 2 – Override mode. A new EmailBuilder plug-in is used instead of calling the old hook_mail() interface. This gives almost all of the benefits of this Symfony Mailer – still without changing any sender code. This module includes plug-ins for Drupal core, and an increasing library of other contrib modules.
  • Level 3 Native implementation. Sender modules can choose to write directly to the new mail-system API, allowing simplified code combined with more flexible and powerful features.

Related modules

Similar projects

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, maintaining as closely as possible the same features, behaviour and conventions.

Activity

Total releases
14
First release
Jan 2025
Latest release
1 month ago
Releases (12 mo)
6 ▼ from 8
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.0.1 Stable May 22, 2026
2.0.0 Stable May 2, 2026
2.0.0-beta4 Pre-release Jan 29, 2026
2.0.0-beta3 Pre-release Nov 24, 2025
2.0.0-beta2 Pre-release Nov 24, 2025
2.0.0-beta1 Pre-release Nov 24, 2025
1.6.2 Stable Jun 27, 2025
2.0.0-alpha4 Pre-release Jun 18, 2025
2.0.0-alpha3 Pre-release Jun 9, 2025
1.6.1 Stable Jun 5, 2025
2.0.0-alpha2 Pre-release Jun 1, 2025
1.6.0 Stable May 28, 2025
2.0.0-alpha1 Pre-release Jan 26, 2025
1.6.0-beta1 Pre-release Jan 26, 2025