I have the basic notification and messaging modules installed. It is all working correctly except every time it sends the email notification, it sends it twice. I have it set to send out HTML emails (although I have not included any html, yet) with the PHPmailer.
Not sure if this is a problem with this module or the Messaging module, but I would like to prevent it from the duplicate emails.
Any suggestions or similar problems?
Comments
Comment #1
jose reyero commentedIf you have different subscriptions with different sending methods / interval, that are triggered for the same event, this is what you get.
Updated the documentation about it here (see deduping notes), hope it helps: http://drupal.org/node/318577
Comment #2
cbassig commentedI read the documentation on the deduping and it made sense, so I went in and changed the settings for the Notifications. I changed the settings so that a person can only be notified of a new comment/update to a node thread or an author. Meaning I eliminated the ability to be notified of a certain content type or taxonomy term. Also, everything is set to the Html emails with an immediate send setting. This was done a few days ago to see if it would work.
It did not.
I am still receiving duplicate emails for every notification. It is really annoying and piling up the emails.
Any other thoughts would be greatly appreciated.
Comment #3
RobertNelsonVance commentedI am experiencing something similar now. First I was having issues with Notifications not sending emails to half my users, but turns out that was related to the Cron settings in Notifications and Messaging - that's beside the point.
Now I have noticed today that my Notifications Queue Table went from 0 earlier yesterday to 1,062 last night. It is impossible for this to happen under normal operating circumstances based on the settings. A full listing of my settings can be found in a slightly related issue http://drupal.org/node/373506.
The reason this is impossible for the Queue to have legitimately grow to 1,062 in less than 24 hours is because every single user is subscribed to receive a once a day digest. I have about 600 users. That means that each user has to have acquired two rows in the Notifications Queue in less than a day - impossible!
I went into the Notifications Queue Database Table and verified that each user indeed has two rows. Does this not mean that there are two emails waiting to go out for each of these users?
On a side note, this afternoon, my Notifications Queue decreased to 1,054, as several emails were sent out - So not all of the emails were sent out over night as expected. This entire, separate, but possibly related issue is documented at http://drupal.org/node/373506.
Comment #4
mrtoner commentedSetting this back to active, since Jose never dealt with the original poster's issue. He assumed it was overlapping subscriptions, but the user says it's not.
This might be related to another, more recent issue, #722432: Duplicate emails when Content Notifications used with Workflow module, that affects 6.x-2.x.
Comment #5
jose reyero commentedReally we are not providing support for 5.x anymore.
Just fixing critical bugs (which doesn't include compatibility with other modules)
So I'll follow up on the other thread (6.x).
This one, reopen if it happens with a clean install and we can discard other modules (disable all and try).