send_node_as_email_to_user

NAML documentation   Watch a video
   Usages of this macro
... in reply.naml
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
<macro name="send_node_as_email_to_user" dot_parameter="node_attr" requires="subscription" unindent="true">
    <n.set_local_subscription
Macro
Parameters: subscription
.this_subscription
Binary
Namespace: SubscriptionNamespace
Parameters: do
/>
    <n.set_local_node
Macro
Parameters: node
.node_attr/>
    <n.send_subscription_email
Macro
Requires: subscription
Parameters: html_part, text_part, node_attr
 node_attr="[n.node_attr/]">
        <text_part>
            <n.local_node
Macro
Parameters: do
.text_email_message_with_signature
Macro
Requires: node
/>
 
            ______________________________________
            <t>If you reply to this email, your message will be added to the discussion below</t>:
            <n.local_node
Macro
Parameters: do
.url
Macro
Requires: node
Parameters: template, date, assignee, index_record, priority
/>
            This email was sent by <n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.name
Binary
Namespace: UserNamespace
Parameters: truncate
/> (via Nabble)
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.local_subscription
Macro
Parameters: do
.is_subscribed
Binary
Namespace: SubscriptionNamespace
>
                <then>
                    To receive all replies by email, subscribe to this discussion: <n.local_subscription
Macro
Parameters: do
.subscribe_by_code_url
Macro
Requires: subscription
Parameters: subscription_to
/>
                </then>
            </n.if.not.local_subscription.is_subscribed>
        </text_part>
        <html_part>
            <n.local_node
Macro
Parameters: do
.html_email_message_with_signature
Macro
Requires: node
/>
            <br/><br/>
            <hr noshade="noshade" size="1" color="#cccccc" />
            <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold"><t>If you reply to this email, your message will be added to the discussion below</t>:</div>
                <a href="[n.local_node
Macro
Parameters: do
.url
Macro
Requires: node
Parameters: template, date, assignee, index_record, priority
/]"><n.local_node
Macro
Parameters: do
.url
Macro
Requires: node
Parameters: template, date, assignee, index_record, priority
/></a>
            </div>
            <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em">
                This email was sent by <a href="[n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.url
Macro
Requires: user
Parameters: filter, index_record
/]"><n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.name
Binary
Namespace: UserNamespace
Parameters: truncate
/></a> (via Nabble)<br/>
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.local_subscription
Macro
Parameters: do
.is_subscribed
Binary
Namespace: SubscriptionNamespace
>
                    <then>
                        To receive all replies by email, <a href="[n.local_subscription
Macro
Parameters: do
.subscribe_by_code_url
Macro
Requires: subscription
Parameters: subscription_to
/]">subscribe to this discussion</a><br/>
                    </then>
                </n.if.not.local_subscription.is_subscribed>
            </div>
        </html_part>
    </n.send_subscription_email>
</macro>