send_registration_email

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "send_registration_email".
... in send_registration_email.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<override_macro name="send_registration_email" parameters="email, next_url, key" unindent="true">
    <n.set_var. name='confirm_url'>
        <n.remove_spaces.>
            <n.base_url/>
            <n.encode_url.>
                /template/NamlServlet.jtp?macro=finish_registration_page
                &email=<n.email/>
                &key=<n.key/>
                &date=<n.now.raw_time/>
            </n.encode_url.>
        </n.remove_spaces.>
    </n.set_var.>
    <n.new_email.>
        <n.send>
            <to><n.email/></to>
            <subject><t><t.app.root_node.subject/> Registration</t></subject>
            <text_part>
                <t>Dear user,</t>
 
                <t>Thank you for registering for the <t.app.root_node.subject/> forum.</t>
 
                *<t>Email confirmation</t>*
                <t>Before clicking on the confirmation link below to activate your account, please read the <a href="https://www.thstofficial.com/forumrules.html">forum rules</a>.</t>
 
                <n.var name='confirm_url'/>
 
                <t>If you didn't request this email or have no idea why you received it, please ignore it.</t>
 
                <t>Sincerely,</t>
                <n.root_node.subject/>
                <n.base_url/>
            </text_part>
            <aol_part>
                <t>Dear user,</t>
 
                <t>Thank you for registering for the <t.app.root_node.subject/> forum.</t>
 
                *<t>Email Confirmation</t>*
                <t>Before clicking on the confirmation link below to activate your account, please read the <a href="https://www.thstofficial.com/forumrules.html">forum rules</a>.</t>
 
                <n.var name='confirm_url'/>
 
                <t>If you didn't request this email or have no idea why you received it, please ignore it. </t>
 
                <t>Sincerely,</t>
                <n.root_node.subject/>
                <n.base_url/>
            </aol_part>
            <html_part>
                <t>Dear user,</t><br/>
                <br/>
                <t>Thank you for registering for the <t.app.root_node.subject/> forum.</t>
                <br/>
                <div style="font-weight:bold;margin-bottom:.25em">
                    <t>Email Confirmation</t>
                </div>
                <t>Before clicking on the confirmation link below to activate your account, please read the <a href="#">forum rules</a>.</t>
                <div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
                    <a href="[n.var name='confirm_url'/]"><n.var 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.
                       </t>
                </div>
                <t>Sincerely,</t><br/>
                <n.root_node.subject/><br/>
                <a href="[n.base_url/]"><n.base_url/></a>
                <div style="margin:1.5em 0;color:#666666;font: 11px tahoma,geneva,helvetica,arial,sans-serif;">
                    <n.macro_viewer_email_link macro="send_registration_email"/>
                </div>
            </html_part>
        </n.send>
    </n.new_email.>
</override_macro>
Overrides default 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. name='confirm_url'>
        <n.remove_spaces.>
            <n.base_url/>
            <n.encode_url.>
                /template/NamlServlet.jtp?macro=finish_registration_page
                &email=<n.email/>
                &key=<n.key/>
                &date=<n.now.raw_time/>
            </n.encode_url.>
        </n.remove_spaces.>
    </n.set_var.>
    <n.new_email.>
        <n.send>
            <to><n.email/></to>
            <subject><t><t.app.root_node.subject/> Registration</t></subject>
            <text_part>
                <t>Dear user,</t>
 
                <t>Thank you for registering with <t.app.root_node.subject/>!</t>
 
                *<t>Email Confirmation</t>*
                <t>Please click on the confirmation link below to activate your account:</t>
 
                <n.var 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.subject/>
                <n.base_url/>
            </text_part>
            <aol_part>
                <t>Dear user,</t>
 
                <t>Thank you for registering with <t.app.root_node.subject/>!</t>
 
                *<t>Email Confirmation</t>*
                <t>Please click on the confirmation link below to activate your account:</t>
 
                <n.var 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.subject/>
                <n.base_url/>
            </aol_part>
            <html_part>
                <t>Dear user,</t><br/>
                <br/>
                <t>Thank you for registering with <t.app.root_node.subject/>!</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 name='confirm_url'/]"><n.var 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.subject/><br/>
                <a href="[n.base_url/]"><n.base_url/></a>
                <div style="margin:1.5em 0;color:#666666;font: 11px tahoma,geneva,helvetica,arial,sans-serif;">
                    <n.macro_viewer_email_link macro="send_registration_email"/>
                </div>
            </html_part>
        </n.send>
    </n.new_email.>
</macro>