feat: update email template

This commit is contained in:
Maël Gangloff
2024-07-24 13:46:10 +02:00
parent 543a8a495e
commit 0dfc0cdd58
10 changed files with 308 additions and 33 deletions

View File

@@ -1,14 +1,66 @@
<p>
Hello,<br />
<br />
We are pleased to inform you that a new action has been detected on a domain name in your watchlist.<br />
Domain name : <b>{{ event.domain.ldhName }}</b><br />
Action : <b>{{ event.action.value }}</b><br />
Effective Date : <b>{{ event.date | date("c") }}</b><br />
<br />
<br />
Thank you for your understanding,<br />
Sincerely<br />
<br />
Domain Watchdog
</p>
<!DOCTYPE html>
<html lang="en">
<head>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #f9f9f9;
}
.header {
text-align: center;
margin-bottom: 20px;
}
.header h1 {
font-size: 24px;
color: #0056b3;
}
.content {
margin-bottom: 20px;
}
.content p {
margin: 0 0 10px;
}
.footer {
text-align: center;
color: #777;
}
</style>
<title>Domain Watchdog Alert</title>
</head>
<body>
<div class="container">
<div class="header">
<h1>Domain Watchdog Alert</h1>
</div>
<div class="content">
<p>Hello,</p>
<p>We are pleased to inform you that a new action has been detected on a domain name in your watchlist.</p>
<p><strong>Domain name:</strong> {{ event.domain.ldhName }}</p>
<p><strong>Action:</strong> {{ event.action.value }}</p>
<p><strong>Effective Date:</strong> {{ event.date | date("c") }}</p>
<br/>
<p>Thank you for your understanding,</p>
<p>Sincerely,</p>
<p>Domain Watchdog</p>
</div>
<div class="footer">
<p>&copy; Domain Watchdog</p>
</div>
</div>
</body>
</html>

View File

@@ -1,17 +1,77 @@
<p>
Hello,<br />
<br />
We would like to inform you that an error occurred while updating the information for the following domain name.
<br/>
Domain name : <b>{{ domain.ldhName }}</b><br/>
<br/>
Here are some possible explanations:<br/>
* It is likely that the domain will be available for registration again.<br/>
* A temporary outage affects the provision of domain name information.<br/>
<br/>
<br/>
Thank you for your understanding,<br/>
Sincerely<br/>
<br/>
Domain Watchdog
</p>
<!DOCTYPE html>
<html lang="en">
<head>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ddd;
border-radius: 5px;
background-color: #f9f9f9;
}
.header {
text-align: center;
margin-bottom: 20px;
}
.header h1 {
font-size: 24px;
color: #d9534f;
}
.content {
margin-bottom: 20px;
}
.content p {
margin: 0 0 10px;
}
.footer {
text-align: center;
color: #777;
}
ul {
padding-left: 20px;
}
ul li {
margin-bottom: 10px;
}
</style>
<title>Domain Watchdog Error</title>
</head>
<body>
<div class="container">
<div class="header">
<h1>Domain Watchdog Error</h1>
</div>
<div class="content">
<p>Hello,</p>
<p>We would like to inform you that an error occurred while updating the information for the following domain
name:</p>
<p><strong>Domain name:</strong> {{ domain.ldhName }}</p>
<p>Here are some possible explanations:</p>
<ul>
<li>It is likely that the domain will be available for registration again.</li>
<li>A temporary outage affects the provision of domain name information.</li>
</ul>
<p>Thank you for your understanding,</p>
<p>Sincerely,</p>
<p>Domain Watchdog</p>
</div>
<div class="footer">
<p>&copy; Domain Watchdog</p>
</div>
</div>
</body>
</html>