How to create a Privatemsg thread with multiple recipients in a Rules component?

by StG   Last Updated May 14, 2016 08:03 AM

I'd like to send private messages to a selected group of users. For this purpose I use a view with VBO and a Rules component action (utilizing the "Send message" action provided by Privatemsg) - as described in this question.

However, I still have a minor issue with it: Since I send the messages looping through the list of users, privatemsg module sends individual messages and doesn't create a thread with multiple users. Is it possible to use the whole array of users in a single "Send message" action?

Probably one solution might be to use cutoms PHP code in rules component and create thred with privatemsg_new_thread function. But it's not a very drupalish way, I guess.



Related Questions


How to display a form filled by a VBO-submission?

Updated February 04, 2017 14:03 PM



Send private message to a referenced user

Updated July 13, 2018 17:07 PM