Closed (fixed)
Project:
HTML Mail
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2010 at 11:34 UTC
Updated:
6 Apr 2011 at 03:23 UTC
Today I had an issue that the HTML mail module was not using the template I configured in the module. After a long search I found out that that another module also used the hook_mail_alter(). This module (http://drupal.org/project/subscriptions) performed the hook after the HTML mail module. It could be this other module used the hook in the wrong way, but setting a higher weight for the HTML mail module fixed the problem.
Maybe it is a good idea to give this module a higher weight by default? In my opinion the template of the HTML mail module is the last thing that should be added to an outgoing e-mail before actually sending it.
Comments
Comment #1
lindsay commentedHi,
Would this cause the body of the email to be blank?
I'm also using subscriptions and am getting a blank email body. I've changed the weight (from 0 to 1 and then 1 to 2) and still the email body is blank. It doesn't seem like the weight of anything else in my modules table would over ride there (there are a few core type modules that have a higher weight, but that's it). What did you change your weight to?
Thanks.
Comment #2
pillarsdotnet commentedCleaning up the issue queue. Is this still an issue in the latest version?
Comment #3
pillarsdotnet commentedThe 6.x-2.x branch is now stable. I'm therefore closing all open 6.x-1.x issues.
Re-open if there is some reason that 6.x-2.x doesn't work for you.