I have some problem in triggering an action component.
I tryed to call it from the module function and from the devel/php page.
This is my component settings
As you can see I have one node argument followed by 4 text arguments. And i'm trying to call it with this code
$node = node_load( 981 ); $return = rules_invoke_event('rules_send_mail', $node, 'firstname.lastname@example.org', '123', 'nome', 'sss' ); print_r( $return );
Nothing is printed on the page.. not an array or a FALSE.
The action simply send and email to client_mail.
Can someone help me to understand why is not working?