Skip to main content
drupalreleases
Release: Drupal 11.4.9 — Update released for Drupal core (11.4.9)! Release: Better Exposed Filters 7.2.0 — Minor update available for module better_exposed_filters (7.2.0). Release: Bootstrap 8.x-3.43 — Minor update available for theme bootstrap (8.x-3.43). Release: Svg Image 3.2.5 — Minor update available for module svg_image (3.2.5). Release: Book 3.0.8 — Minor update available for module book (3.0.8). Release: Tagify 2.0.5 — Minor update available for module tagify (2.0.5). Release: Editoria11y Accessibility Checker 3.0.11 — Minor update available for module editoria11y (3.0.11). Release: Events Log Track 5.0.1 — Minor update available for module events_log_track (5.0.1). Module Revived: @font-your-face 4.3.0 — Module fontyourface updated after 7 months of inactivity (4.3.0). Security Coverage: Open Y Branch Selector — Module openy_branch_selector now has official Drupal security advisory coverage.

Mailer

47 sites Security covered
View on drupal.org

The Mailer module helps developers manage and organize custom-coded emails within a Drupal site by bundling all email-related data into a single plugin. This plugin can then be called from anywhere in the site, simplifying email creation and maintenance. Note that this module does not handle the actual sending of emails; it requires a separate module for that functionality.

This module provides a new plugin type to define coded emails throughout your website.
This is a developer module, the provided UI is minimal.

When creating a site that sends a lot of mails your code gets sloppy fast.
Each mail needs a hook_email, hook_template, a calling function, ...
This module makes it possible to bundle all the mail data into a single mailer plugin and call the plugin from everywhere on your website.

An example module is provided with a basic and extended example.

Mailer does not handle the sending of your emails! You will need a module like mailsystem or swiftmailer to be able to send html emails.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Sep 2023
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
2.0.0-rc1 Pre-release 10–11 Aug 25, 2026
2.0.0-beta3 Pre-release 8–10 Sep 13, 2023