This patch adds a call to drupal_alter() before sending out emails. Since this module is not using drupal_mail() to send message, the traditional hook_mail_alter() will not work.

Comments

theunraveler’s picture

Status: Active » Needs review
StatusFileSize
new673 bytes

Sorry, I should have tested that a little better before posting. This patch should work.

sdrycroft’s picture

Status: Needs review » Closed (works as designed)

Apologies theunraveler, this code won't make it into the release.

DrCord’s picture

Issue summary: View changes

This is extremely useful, why is this not in the module itself?

DrCord’s picture

I became a module maintainer, integrated this patch and some additional code to add features and created a new dev branch for it [7.x-2.x-dev]. I am using it myself and it seems to work great, it allows me to insert additional content into the outgoing emails via the added hook.

DrCord’s picture

Assigned: Unassigned » DrCord
Status: Closed (works as designed) » Closed (fixed)

Patch was integrated into new 7.x-2.x branch.