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

q0rban’s picture

Status: Active » Fixed

You 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.