send_registration_email

NAML documentation   Watch a video
   Usages of this macro
... in register.naml
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
<macro name="send_registration_email" parameters="email, next_url, key" unindent="true">
    <n.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
. name='confirm_url'>
        <n.remove_spaces
Macro
Parameters: text
.>
            <n.base_url
Binary
Namespace: NabbleNamespace
/>
            <n.encode_url
Macro
Parameters: text
.>
                /template/NamlServlet.jtp?macro=finish_registration_page
                &email=<n.email/>
                &key=<n.key/>
                &date=<n.now
Binary
Namespace: BasicNamespace
Parameters: do
.raw_time
Binary
Namespace: DateNamespace
/>
            </n.encode_url.>
        </n.remove_spaces.>
    </n.set_var.>
    <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.email/></to>
            <subject><t><t.app.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/> Registration</t></subject>
            <text_part>
                <t>Dear user,</t>
 
                <t>Thank you for registering with <t.app.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/>!</t>
 
                *<t>Email Confirmation</t>*
                <t>Please click on the confirmation link below to activate your account:</t>
 
                <n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='confirm_url'/>
 
                <t>If you didn't request this email or have no idea why you received it, please ignore it. It might have been a mistake from someone else.</t>
 
                <t>Sincerely,</t>
                <n.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/>
                <n.base_url
Binary
Namespace: NabbleNamespace
/>
            </text_part>
            <aol_part>
                <t>Dear user,</t>
 
                <t>Thank you for registering with <t.app.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/>!</t>
 
                *<t>Email Confirmation</t>*
                <t>Please click on the confirmation link below to activate your account:</t>
 
                <n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='confirm_url'/>
 
                <t>If you didn't request this email or have no idea why you received it, please ignore it. It might have been a mistake from someone else.</t>
 
                <t>Sincerely,</t>
                <n.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/>
                <n.base_url
Binary
Namespace: NabbleNamespace
/>
            </aol_part>
            <html_part>
                <t>Dear user,</t><br/>
                <br/>
                <t>Thank you for registering with <t.app.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/>!</t><br/>
                <br/>
                <div style="font-weight:bold;margin-bottom:.25em">
                    <t>Email Confirmation</t>
                </div>
                <t>Please click on the confirmation link below to activate your account:</t>
                <div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
                    <a href="[n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='confirm_url'/]"><n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='confirm_url'/></a>
                </div>
                <div style="margin:.3em 0 1.2em">
                    <t>If you didn't request this email or have no idea why you received it, please ignore it.
                        It might have been a mistake from someone else.</t>
                </div>
                <t>Sincerely,</t><br/>
                <n.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/><br/>
                <a href="[n.base_url
Binary
Namespace: NabbleNamespace
/]"><n.base_url
Binary
Namespace: NabbleNamespace
/></a>
                <div style="margin:1.5em 0;color:#666666;font: 11px tahoma,geneva,helvetica,arial,sans-serif;">
                    <n.macro_viewer_email_link
Macro
Parameters: macro
 macro="send_registration_email"/>
                </div>
            </html_part>
        </n.send>
    </n.new_email.>
</macro>