Provides an Administrative UI and Developers API for managing the used mail backend/plugin.

The module is ready to be used in Drupal 8, there are no known issues.

Allows to use different backends for formatting and sending e-mails by default, per module and per mail key. Additionally, a theme can be configured that is used for sent mails. In Drupal 7, that must be enabled for each template, in Drupal 8, it works reliably for any template being rendered while building and sending e-mails.

Administrative UI

The administrative interface is at admin/config/system/mailsystem (Drupal 8) oradmin/settings/mailsystem (Drupal 7).

Used by:

Any mail backend can be used and configured with this module. In Drupal 8, this has specifically been tested with Swiftmailer.

For Drupal 7, the following modules are commonly used to send HTML mails:

Developers API

See the documentation page

References Drupal 7

drupal_mail_system() API documentation :

api.drupal.org/api/drupal/includes--mail.inc/function/drupal_mail_system/7

MailSystemInterface API documentation :

http://api.drupal.org/api/drupal/includes--mail.inc/interface/MailSystemInterface/7

Creating HTML formatted mails in Drupal 7 :

drupal.org/node/900794

Supporting organizations:
Drupal 8 port

Project information

Releases

8.x-4.5 Stable release covered by the Drupal Security Team released 11 August 2024
Works with Drupal: ^9 || ^10.1 || ^11

Drupal 11, minor improvements and bugfixes

Install:

Development version: 8.x-4.x-dev updated 16 Dec 2024 at 09:06 UTC