In the Rules module, is it possible to write php code in mail body? There is no input format beneath body text area.
1 Answer
If you are willing to use PHP, I suggest you create your own rule, using hook_action_info()
.
You have a good example in the Examples module.
-
Just for reference, the example is in the Actions submodule of the Examples module. Jan 29, 2014 at 8:23