send_node_as_email_to_user.naml

<override_macro name="send_node_as_email_to_user" dot_parameter="node_attr" requires="subscription" unindent="true">
    <n.set_local_subscription.this_subscription/>
    <n.set_local_node.node_attr/>
    <n.send_subscription_email node_attr="[n.node_attr/]">
        <text_part>
            <n.local_node.text_email_message_with_signature/>

            ______________________________________
            <t>
            
            </t>:
            <n.local_node.url/>
            This email was sent by <n.visitor.name/> (via NYSkiBlog)
            <n.if.not.local_subscription.is_subscribed>
                <then>
                   
                    <n.local_subscription.subscribe_by_code_url/>
                </then>
            </n.if.not.local_subscription.is_subscribed>
        </text_part>
        <html_part>
            <n.local_node.html_email_message_with_signature/>
            <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>
                    
                    </t>:</div>
                <a href="[n.local_node.url/]"><n.local_node.url/></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.url/]"><n.visitor.name/></a> (via NYSkiBlog)<br/>
                <n.if.not.local_subscription.is_subscribed>
                    <then>
                        To receive all replies by email, <a href="[n.local_subscription.subscribe_by_code_url/]">subscribe to this discussion</a><br/>
                    </then>
                </n.if.not.local_subscription.is_subscribed>
            </div>
        </html_part>
    </n.send_subscription_email>
</override_macro>