~ 2 min read

Drupal 6 – Subscription notifications aren’t going out?

share this story on
How to fix Drupal 6 subscription notifications not sent to users via email

We recently had an issue with a Drupal 6 site, where-as notifications didn’t seem to reach their destination on user’s email, even though we verified that all users were subscribed correctly to the relevant content items. An initial investigation began with the mail server to figure out if it’s getting any traffic from Drupal, whether it’s just misconfigured, down or has any other reasonable issue that can be reverted. The mail server logs proved very quickly that the mail server isn’t getting any SMTP traffic at all, so this shifts focus into Drupal. While this can happen in a myriad of places in Drupal and due to a handful of reasons that could have caused this, there’s another quick way of figuring out if notification events are even being created at all, and that’s by going into the subscription management administrative area and just reviewing if new notifications are being created and waiting on the queue or not.

Drupal 6 - Manage subscriptions

Further investigation lead to figuring out that there’s a notifications module variable which controls whether or not the notifications module will create events for content that is being created, updated, etc. In our case, due to wrong handling it was set to disregard node creation events. Deleting the variable quickly resolved the issue.