Is there a list of which actions I can use in which context? I would like the user to receive a mail with the node_url in it, but that variable does not seem to work. If I have to write this myself then I will also have to figure out how to mail, so I would like to use the current mail action.

Comments

aquila’s picture

And now it turns out %author does not work either, how can I then mail? Am I doing something wrong here?

fago’s picture

you can try the rules module, which has another "send mail" action with token support.

aquila’s picture

Thanks for the suggestion, but it does not seem to work. I've enabled just the Token module (as stated in the README) and created a new action. It fires, but in this mail nothing is replaced:

You are user [user:nid] and you have altered node [node:nid] at [node:site-url]/node/[node:nid]. Thank you [node:author-name].

Am I misunderstanding the token module?

Update: updating to the dev version of Token fixed it all. Token now displays available variables, cool!