Privatemsg-Rules Integration

The Privatemsg module can greatly benefit from the powerful and flexible Rules module integration. This document is meant to be a basic introduction to the Rules events, conditions, actions currently available as well as example for use-cases.

// Introduction to Privatemsg-Rules

Below are the Events, Conditions and Actions available with Privatemsg-Rules Integration.

Message notification via email depending on user's role

Privatemsg module has the Privatemsg Email Notification sub-module, but what if you would like to send a different email to the user to let

Points system with messages

There is a page explaining how to add/deduct userpoints from a user for each message using a custom module (http://drupal.org/node/646512)

Tag a privatemsg when it's being sent.

In this how-to we're going to tag a privatemsg when it is sent by the website admin. We're going to use rules for this.

Using Textual comparison and Numeric comparison (with regex)

This is a follow up of the example page "Using Textual comparison and Numeric comparison"

Using Textual comparison and Numeric comparison

An example of the usage is checking if the subject of the message being sent matches xyz, and if so then implement [action]

Welcome message after registration

It is nice to be able to send a "Welcome! Here are some things to check out." private message so that new users will have the message

Welcome message after validation using LoginToboggan and Privatemsg

Thanks to the great work of sudhirporwal, LoginToboggan module now has Rules integration, which is a great plus for Privatemsg module users

Guide maintainers

Bilmar's picture