feat(email): update registration email template to welcome email
This commit is contained in:
parent
13b3443127
commit
e6c34ffe90
2 changed files with 6 additions and 7 deletions
|
@ -39,7 +39,7 @@ public class EmailService {
|
||||||
|
|
||||||
public void sendRegistrationEmail(UserEntity user) {
|
public void sendRegistrationEmail(UserEntity user) {
|
||||||
try {
|
try {
|
||||||
String template = loadTemplate("email/registration.html");
|
String template = loadTemplate("email/welcome.html");
|
||||||
String htmlContent = template
|
String htmlContent = template
|
||||||
.replace("${username}", user.getUsername())
|
.replace("${username}", user.getUsername())
|
||||||
.replace("${feUrl}", feUrl);
|
.replace("${feUrl}", feUrl);
|
||||||
|
|
|
@ -59,7 +59,6 @@
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
border-bottom: 2px solid #34d399;
|
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
@ -75,7 +74,7 @@
|
||||||
color: #34d399;
|
color: #34d399;
|
||||||
}
|
}
|
||||||
.highlight {
|
.highlight {
|
||||||
color: #fbbf24;
|
color: #10b981;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.divider {
|
.divider {
|
||||||
|
@ -91,12 +90,12 @@
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<h1>Trustworthy Casino<span style="color: #10b981">©</span></h1>
|
<h1>Trustworthy Casino</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<h2>Hallo <span class="highlight">${username}</span>,</h2>
|
<h2>Hallo <span class="highlight">${username}</span>,</h2>
|
||||||
|
|
||||||
<p>Herzlich willkommen bei Trustworthy Casino©! Wir freuen uns, Sie an Bord zu haben.</p>
|
<p>Herzlich willkommen bei Trustworthy Casino! Wir freuen uns, Sie an Bord zu haben.</p>
|
||||||
|
|
||||||
<div class="divider"></div>
|
<div class="divider"></div>
|
||||||
|
|
||||||
|
@ -118,10 +117,10 @@
|
||||||
<p>Bei Fragen stehen wir Ihnen jederzeit zur Verfügung.</p>
|
<p>Bei Fragen stehen wir Ihnen jederzeit zur Verfügung.</p>
|
||||||
|
|
||||||
<p>Mit freundlichen Grüßen,<br>
|
<p>Mit freundlichen Grüßen,<br>
|
||||||
Ihr <span style="color: #10b981;">Trustworthy Casino©</span> Team</p>
|
Ihr <span style="color: #10b981;">Trustworthy Casino</span> Team</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<p>© 2025 Trustworthy Casino© - Alle Rechte vorbehalten</p>
|
<p>2025 Trustworthy Casino - Alle Rechte vorbehalten</p>
|
||||||
<p>Diese E-Mail wurde automatisch generiert. Bitte antworten Sie nicht darauf.</p>
|
<p>Diese E-Mail wurde automatisch generiert. Bitte antworten Sie nicht darauf.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Reference in a new issue