This module integrates Drupal Commerce with the Postoffice module, allowing for the sending of themed emails via Symfony Mailer for various commerce-related notifications.
The Postoffice module sends themed emails with Symfony Mailer.
This module provides a mail plugin for commerce compatibility.
- For a full description of the module, visit the project page
- To submit bug reports and feature suggestions, or track changes, visit the issue tracker
Requirements
This module requires Postoffice and Drupal Commerce
Installation
- Install as you would normally install a contributed Drupal module. Visit the Installing Modules documentation page for further information.
Configuration
-
Setup
postoffice_commerce_mailas the mail plugin for mails sent by commerce:drush config:set system.mail interface.commerce postoffice_commerce_mailNote: Many commerce extensions (such as
commerce_shipping) use the commerce core mail handler to send mails. Those are covered with the configuration above. One exception iscommerce_license. This project relies on the core mail manager. For this reason it is necessary to also configure the Postoffice Commerce Mail plugin forcommerce_licenseexplicitly:drush config:set system.mail interface.commerce_license postoffice_commerce_mail
See Also
This module is geared towards developers. If it does not suit your modus operandi, please have a look at the Symfony Mailer module.
Maintainers
Current maintainers:
Ask your assistant about Postoffice Commerce
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
- Commerce Core
- Postoffice
- Postoffice postoffice_compat
- Postoffice postoffice_compat_theme
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.2.0 | Stable | 10–11 | Sep 4, 2025 | ||
| 1.1.0 | Stable | 10–11 | Feb 11, 2025 | ||
| 1.x-dev | Dev | 10–11 | Feb 11, 2025 | ||
| 1.0.0 | Stable | 10–11 | Sep 27, 2024 | ||
| 1.0.0-beta3 | Pre-release | 9–10 | Mar 17, 2023 | ||
| 1.0.0-beta2 | Pre-release | 9–10 | Feb 22, 2023 |