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) {
|
||||
try {
|
||||
String template = loadTemplate("email/registration.html");
|
||||
String template = loadTemplate("email/welcome.html");
|
||||
String htmlContent = template
|
||||
.replace("${username}", user.getUsername())
|
||||
.replace("${feUrl}", feUrl);
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
}
|
||||
h2 {
|
||||
color: #ffffff;
|
||||
border-bottom: 2px solid #34d399;
|
||||
padding-bottom: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
@ -75,7 +74,7 @@
|
|||
color: #34d399;
|
||||
}
|
||||
.highlight {
|
||||
color: #fbbf24;
|
||||
color: #10b981;
|
||||
font-weight: bold;
|
||||
}
|
||||
.divider {
|
||||
|
@ -91,12 +90,12 @@
|
|||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>Trustworthy Casino<span style="color: #10b981">©</span></h1>
|
||||
<h1>Trustworthy Casino</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
<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>
|
||||
|
||||
|
@ -118,10 +117,10 @@
|
|||
<p>Bei Fragen stehen wir Ihnen jederzeit zur Verfügung.</p>
|
||||
|
||||
<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 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>
|
||||
</div>
|
||||
</div>
|
Reference in a new issue