Using Apache FreeMarker for templates
Apache FreeMarker is used to generate the HTML body that will be embedded in the body of the email that will be sent when reset password requests are received. The following template, src/resources/templates/reset_password_en.html
, is used:
<!doctype html> <html> <head> <meta name="viewport" content="width=device-width" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Reset Password</title> <style> /** Styling Code **/ </style> </head> <body class=""> <table border="0" cellpadding="0" cellspacing="0" class="body"> <tr> <td> </td> <td class="container"> <div class="content"> <!-- START CENTERED WHITE CONTAINER --> <span class="preheader">This email is sent to reset the password of ${USERNAME}.</span> <table class="main"...