Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This module will prevent all site emails from being sent to users who are blocked, or "excommunicated". The advantage of this module is that it doesn't require every single module sending email to check the status of the user before sending it.
Notes and Limitations
- By default, only the email address saved to the user account will be blocked. If your module provides other email addresses that messages could be sent to, you need to implement
hook_excommunicate_mail_account()
. - This module sets a custom mail backend (the "smtp_library" variable). If you are using another module that provides it's own mail backend, that module's
drupal_mail_wrapper()
implementation must callexcommunicate_mail_wrapper()
to send the message, orexcommunicate_mail_send()
to determine if the message should be sent or not.
This will start with a Drupal 6 version, but may end up with a D7 version if there's interest.
Supporting organizations:
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Obsolete
Use of this project is deprecated. - Module categories: Integrations
- Created by deviantintegral on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.