send_assign_email

NAML documentation   Watch a video
   Usages of this macro
... in email.naml
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<macro name="send_assign_email" requires="node_page">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.topic_assignee
Macro
Requires: node_page
Parameters: do
.can_view
Macro
Requires: user
Parameters: node_attr
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
>
        <then.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.topic_assignee
Macro
Requires: node_page
Parameters: do
.user_email
Binary
Namespace: UserNamespace
/>
                <to_name.topic_assignee
Macro
Requires: node_page
Parameters: do
.name
Binary
Namespace: UserNamespace
Parameters: truncate
/>
                <from.topic_assignee
Macro
Requires: node_page
Parameters: do
.reply_address_for
Binary
Namespace: UserNamespace
Parameters: node
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
/>
                <from_name><n.page_node
Binary
Namespace: NodePageNamespace
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.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/>
                <text_part.assign_text
Macro
Requires: node_page
/>
                <html_part.assign_html
Macro
Requires: node_page
/>
                <set_headers_for.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
/>
                <bounce_to.topic_assignee
Macro
Requires: node_page
Parameters: do
.bounces_address
Binary
Namespace: UserNamespace
/>
            </n.send>
        </then.new_email.>
    </n.if.topic_assignee.can_view.page_node>
</macro>