Module Description
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:
* HTML Mail 7.x
* Mime Mail 7.x-1.x-dev
* Postmark 7.x-1.x
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
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:
* HTML Mail 7.x
* Mime Mail 7.x-1.x-dev
* Postmark 7.x-1.x
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
Module Link
Project Usage
178629
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the task of managing the used mail backend/plugin through an Administrative UI and Developers API in Drupal 8, with the ability to configure different backends for formatting and sending e-mails, as well as setting a theme for sent mails.
Data Name
mailsystem