send_registration_email.naml
<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 with the <t.app.root_node.subject/>!</t>
*<t>Email Confirmation</t>*
<t>Please click on the confirmation link below to activate your account.</t>
<t>After clicking you will be taken to a screen where you can log in with your new ID and password.</t>
<t>Once you've logged in you will be taken to a screen where you can post an introduction about yourself and your truck.</t>
<t>An admin will then make you a member and will post in your thread to confirm that you are a member.</t>
<t>Since that is a manual process it may take a while, but after that you are free to post elsewhere in the forum.</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>
<t>After clicking you will be taken to a screen where you can log in with your new ID and password.</t>
<t>Once you've logged in you will be taken to a screen where you can post an introduction about yourself and your truck.</t>
<t>An admin will then make you a member and will post in your thread to confirm that you are a member.</t>
<t>Since that is a manual process it may take a while, but after that you are free to post elsewhere in the forum.</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>
<t>After clicking you will be taken to a screen where you can log in with your new ID and password.</t>
<t>Once you've logged in you will be taken to a screen where you can post an introduction about yourself and your truck.</t>
<t>An admin will then make you a member and will post in your thread to confirm that you are a member.</t>
<t>Since that is a manual process it may take a while, but after that you are free to post elsewhere in the forum.</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.>
</override_macro>