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.
Is there a way to bypass this module from within a custom module that sends out an email from drupal_mail_system?
Thanks in advance.
Comments
Comment #1
q0rban CreditAttribution: q0rban at Lullabot commentedYou could use hook_mail_alter() to modify the mail after email_noreply modifies it. See http://cgit.drupalcode.org/email_noreply/tree/email_noreply.module?h=7.x...
Note: You may need to use hook_module_implements_alter to be sure your custom module executes this hook *after* email_noreply does.