Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Mailer

Security covered Under active development 49 sites

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.

Ask your assistant about Mailer

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

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
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

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