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.
In testing out the ad_notify module, I've found that notifications are not actually being sent. In working to clean this up, I've found that token replacement is not working as advertised, either.
Comments
Comment #1
Jeremy CreditAttribution: Jeremy commentedI have fixed the first half of this by defining hook_mail(). I'm now reviewing why tokens aren't being replaced. Looking at it further, it seems that some are replaced, and some aren't. I copied every single token definition and pasted it at the end of a standard email, which I then had sent to myself. This was the result:
Comment #2
Jeremy CreditAttribution: Jeremy commentedAnother series of changes committed. Notifications are now being mailed, and all available tokens are being properly replaced.