Ok, I've seen in http://drupal.org/node/290305 two different issues and I think the integration with the Messaging Framework (of course optional or as a separate module) it's a request lots of users have and deserves a single issue, so the possible integration could be easily followed.

I don't know if it would be easier to just implement a module to pass all the Emails and Messages from Drupal through the Messaging Module rather than different integrations for each module. No idea if that would be possible or have a bad performance.

Sorry if this is considered as duplicate but I think an issue with a direct title and just one idea is easier to find, follow and make it happen. Thanks :)

Comments

askibinski’s picture

Integration with the messaging/notifications framework would be great!

This would extend the functionality considerably for community sites with many notifications going on. Messaging/notifications already plays nice with private messages (on-site message inbox) and provides many many other ways to communicate with your users.

Are there plans to include this in a next version?

A great way to start is to look at the organic groups submodule og_notifications which handles integration. I believe the signup module also should have a submodule like this which could be enabled if integration is needed.

dww’s picture

Status: Active » Postponed

@DaniOrama: It's certainly possible to swap out the low-level function that handles delivery of all mail passed through drupal_mail(). For example, devel.module does this so that there's a setting to turn off all external email and write everything to the log. It seems like the messaging/notification framework should be encouraged to have an option to do exactly that and intercept all outbound emails at the same level.

If that's not sufficient for some reason, I'm willing to make changes to signup.module to make it easier to implement this integration in an add-on contrib module. I'm just unwilling to require the whole messaging/notification framework to get any notifications at all from signup.module. #290305-9: Split out email functionality into separate submodule(s) summarizes my position on this topic.

@askibinski: Re: "Are there plans to include this in a next version?" -- There's a desire to do work along these lines, but until someone is willing to either write all the code, or sponsor my time to do so, it's taking a back seat to other efforts.

While it's nice to have a separate issue to discuss the details of this, I'm not going to work on it at all until #290305: Split out email functionality into separate submodule(s) as a whole is being actively worked on. So, I'm marking this one postponed, too. The only other viable status for this issue is "needs review" when someone posts a patch. ;)

Thanks,
-Derek

pribeh’s picture

subscribe. This should be readdressed in the new version. I'll see if I can get some help on this.

silvio’s picture

subscribe

daniorama’s picture

This was long time ago... I think there is a new module doing just as dww suggest, intercepting all emails at the same time and enabling notifications/messaging with any module. I'm not sure but if anyone remembers the name of that module it would help a lot.