Question on Actions integration

tborrome - February 6, 2009 - 17:36
Project:Apply for role
Version:5.x-1.8
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi, thanks for creating the Action integration feature with the Apply for Role module. This has been very useful. I'm using it for sending admin messages about role applications from users.

I have some questions on how to use it for sending confirmation messages to users after their role applications have been approved. To do this, I associate the "Send Email" action with the trigger "When an admin approves a user's application for a role". In the Send Email action:

1. How do I set the Recipient to be the email address of the user requesting for a role? It seems like the field only accepts fixed email addresses or %author which is used for node actions. Is there a variable I can use for the user's email address?

2. How do I specify the roles applied for in the body of the message. I want to send a message like "Your application for the role %ROLE has been approved." What variable do I use for the role?

Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.