send_unsubscription_reminder

NAML documentation   Watch a video
   Usages of this macro
... in send_unsubscription_reminder.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<override_macro name="send_unsubscription_reminder" requires="subscription,node_page,servlet">
    <n.set_local_subscription
Macro
Parameters: subscription
.this_subscription
Binary
Namespace: SubscriptionNamespace
Parameters: do
 />
    <n.comment
Macro
Parameters: text
.>Removed option to resubscribe if it was a mistake.</n.comment.>
    <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><n.user
Binary
Namespace: SubscriptionNamespace
Parameters: do
.user_email
Binary
Namespace: UserNamespace
/></to>
            <subject><t>Your email delivery for <t.location.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/> has been removed.</t></subject>
            <text_part>
                <t>Dear User,</t>
 
                <t>Your email delivery for <t.location.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/> has been removed.</t>
                <t>This does not effect your overall SUDSOL membership.  You will just no longer receive emails for the <t.location.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/> category.</t>
                
                <t>Sincerely,</t>
                <t>The SUDSOL Leadership Board</t>
                ________________________________________
                <t>Free Embeddable <t.app.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.view_name
Macro
Requires: node
/></t> powered by Nabble
                <n.nabble_homepage
Binary
Namespace: NabbleNamespace
/>
            </text_part>
            <html_part>
                <t>Dear User,</t><br/>
                <br/>
                <t>Your email delivery for <t.location.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/> has been removed.</t>
                <t>This does not effect your overall SUDSOL membership.  You will just no longer receive emails for the <t.location.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/> category.</t>
                <br/>
                <t>Sincerely,</t><br/>
                <t>The SUDSOL Leadership Board</t><br/>
                ________________________________________<br/>
                <t>Free Embeddable <t.app.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.view_name
Macro
Requires: node
/></t> powered by Nabble<br/>
                <n.nabble_homepage
Binary
Namespace: NabbleNamespace
/><br/><br/>
            </html_part>
        </n.send>
    </n.new_email.>
</override_macro>
Overrides default macro
... in unsubscribe.naml
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<macro name="send_unsubscription_reminder" requires="subscription,node_page,servlet">
    <n.set_local_subscription.this_subscription />
    <n.new_email.>
        <n.send>
            <to><n.user.user_email/></to>
            <subject><t>You have been unsubscribed from <t.location.page_node.subject/></t></subject>
            <text_part>
                <t>Dear user,</t>
 
                <t>Your subscription to <t.location.page_node.subject/> has been removed.
                If this was a mistake, you can re-subscribe by following the link below:</t>
                <n.local_subscription.subscribe_by_code_url subscription_to="[n.to/]"/>
 
                <t>Sincerely,</t>
                <t>The Nabble team</t>
                ________________________________________
                <t>Free Embeddable <t.app.page_node.view_name/></t> powered by Nabble
                <n.nabble_homepage/>
            </text_part>
            <html_part>
                <t>Dear user,</t><br/>
                <br/>
                <t>Your subscription to <t.location.page_node.subject/> has been removed.
                If this was a mistake, you can re-subscribe by following the link below:</t><br/>
                <n.local_subscription.subscribe_by_code_url subscription_to="[n.to/]"/><br/>
                <br/>
                <t>Sincerely,</t><br/>
                <t>The Nabble team</t><br/>
                ________________________________________<br/>
                <t>Free Embeddable <t.app.page_node.view_name/></t> powered by Nabble<br/>
                <n.nabble_homepage/><br/><br/>
            </html_part>
        </n.send>
    </n.new_email.>
</macro>