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, html_part, text_part, bcc, attachments, aol_part, to_name, subject, from, to, from_name
>
            <to><n.email/></to>
            <subject><t
Macro
Parameters: app
><t.app.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/> Registration</t></subject>
            <text_part>
                <t
Macro
>Dear user,</t>
 
                <t
Macro
Parameters: app
>Thank you for registering with <t.app.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/>!</t>
 
                *<t
Macro
>Email Confirmation</t>*
                <t
Macro
>Please click on the confirmation link below to activate your account:</t>
 
                <n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='confirm_url'/>
 
                <t
Macro
>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
Macro
>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
Macro
>Dear user,</t>
 
                <t
Macro
Parameters: app
>Thank you for registering with <t.app.root_node
Binary
Namespace: NabbleNamespace
Parameters: do
.subject
Macro
Requires: node
/>!</t>
 
                *<t
Macro
>Email Confirmation</t>*
                <t
Macro
>Please click on the confirmation link below to activate your account:</t>
 
                <n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='confirm_url'/>
 
                <t
Macro
>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
Macro
>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
Macro
>Dear user,</t><br/>
                <br/>
                <t
Macro
Parameters: app
>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
Macro
>Email Confirmation</t>
                </div>
                <t
Macro
>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
Macro
>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
Macro
>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>