send_subscription_email

NAML documentation   Watch a video
   Usages of this macro
... in email.naml
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<macro name="send_subscription_email" parameters="node_attr,text_part,html_part" requires="subscription">
    <n.set_local_subscription
Macro
Parameters: subscription
.this_subscription
Binary
Namespace: SubscriptionNamespace
Parameters: do
/>
    <n.set_local_node
Macro
Parameters: node
.node_attr/>
    <n.block
Binary
Namespace: BasicNamespace
Parameters: do
.>
        <n.new_email
Binary
Namespace: NabbleNamespace
Parameters: do
.>
            <n.send
Binary
Namespace: EmailNamespace
Parameters: cc, text_part, bcc, attachments, to_name, subject, from_name, html_part, set_headers_for, aol_part, bounce_to, from, to
>
                <to.local_subscription
Macro
Parameters: do
.user
Binary
Namespace: SubscriptionNamespace
Parameters: do
.user_email
Binary
Namespace: UserNamespace
/>
                <to_name.local_subscription
Macro
Parameters: do
.user
Binary
Namespace: SubscriptionNamespace
Parameters: do
.name
Binary
Namespace: UserNamespace
Parameters: truncate
/>
                <from.local_subscription
Macro
Parameters: do
.user
Binary
Namespace: SubscriptionNamespace
Parameters: do
.reply_address_for
Binary
Namespace: UserNamespace
Parameters: node
.local_node
Macro
Parameters: do
/>
                <from_name><n.local_node
Macro
Parameters: do
.owner
Binary
Namespace: NodeNamespace
Parameters: do
.name
Binary
Namespace: UserNamespace
Parameters: truncate
/> [via <n.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/>]</from_name>
                <subject.local_node
Macro
Parameters: do
.subject
Macro
Requires: node
/>
                <text_part.text_part/>
                <html_part.html_part/>
                <set_headers_for.local_node
Macro
Parameters: do
/>
                <bounce_to.local_subscription
Macro
Parameters: do
.user
Binary
Namespace: SubscriptionNamespace
Parameters: do
.bounces_address
Binary
Namespace: UserNamespace
/>
            </n.send>
        </n.new_email.>
    </n.block.>
</macro>