Add email notification service for appeals using Spring Mail and Thymeleaf templates.

This commit is contained in:
2025-08-16 20:23:35 +02:00
parent f026f24263
commit db642103ed
6 changed files with 100 additions and 1 deletions
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
<meta charset="UTF-8">
<title>Appeal Notification</title>
<style>
ul {
list-style-type: none;
padding-left: 20px;
}
</style>
</head>
<body>
<h2 th:text="'Appeal by ' + ${appeal.username}">Appeal by Username</h2>
<p>Punishment information</p>
<ul>
<li><strong>Username:</strong> <span th:text="${appeal.username}">username</span></li>
<li><strong>UUID:</strong> <span th:text="${appeal.uuid}">uuid</span></li>
<li><strong>Email:</strong> <span th:text="${appeal.email}">email</span></li>
<li><strong>Submitted:</strong> <span th:text="${appeal.createdAt}">date</span></li>
</ul>
<h3>Appeal:</h3>
<p th:text="${appeal.reason}">Reason text</p>
</body>
</html>