... | in reply.naml |
479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495
|
<macro name="send_node_as_email" requires="node">
<n.set_local_node.this_node/>
<n.block.>
<n.if.visitor.is_registered>
<then.get_parameter_values. name="email-to">
<n.loop.>
<n.set_var name="email" value="[n.parse_email.current_parameter_value/]" />
<n.if.not.is_null.var name="email">
<then.local_node.topic_or_app.subscription_for. email="[n.var name='email'/]">
<n.send_node_as_email_to_user.local_node/>
</then.local_node.topic_or_app.subscription_for.>
</n.if.not.is_null.var>
</n.loop.>
</then.get_parameter_values.>
</n.if.visitor.is_registered>
</n.block.>
</macro>
|
Free forum by Nabble | Edit this page |