Modèle email

This commit is contained in:
2024-08-22 18:59:08 +02:00
parent 309cfec3a4
commit c9b79e7645

110
template.html Normal file
View File

@@ -0,0 +1,110 @@
<html>
<head>
<style>
body {
font-family: 'Open Sans', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.email-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
background-color: #ffffff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.header {
background-color: #F5821F;
padding: 20px;
text-align: center;
color: #ffffff;
}
.header h1 {
margin: 0;
font-size: 24px;
}
.content {
padding: 20px;
color: #333333;
}
.content h2 {
color: #F5821F;
font-size: 20px;
margin-bottom: 10px;
}
.content p {
font-size: 16px;
line-height: 1.5;
margin-bottom: 20px;
/*text-align: justify;*/
}
.cta-button {
display: block;
width: 200px;
margin: 0 auto;
padding: 15px 0;
text-align: center;
background-color: #F5821F;
color: #ffffff;
text-decoration: none;
border-radius: 5px;
font-size: 16px;
}
.footer {
background-color: #f4f4f4;
padding: 10px;
text-align: center;
font-size: 12px;
color: #666666;
}
span.key {
background-color: #F5821F;
border-radius: 5px;
padding: 5px;
font-weight: bold;
color: white;
}
ol {
margin-bottom: 40px;
}
li {
margin-bottom: 15px;
}
a {
color: #F5821F;
}
</style>
</head>
<body>
<div class="email-container">
<div class="header">
<h1>
Notification de sécurité
<br/>
<span style="font-size: 12pt">{userUPN}</span>
</h1>
</div>
<div class="content">
<h2>Changement de mot de passe requis</h2>
<p>Bonjour {userGivenName},<br />Votre mot de passe expire bientôt !</p>
<p>Vous avez sûrement déjà reçu une notification dans le coin inférieur droit de votre bureau Windows, mais nous vous envoyons ce rappel !</p>
<p><b>Pour changer votre mot de passe</b>, veuillez suivre les instructions suivantes :</p>
<ol>
<li>Effectuez la combinaison de touches <span class="key">CTRL</span> + <span class="key">Alt</span> + <span class="key">Suppr</span> sur votre clavier. <br/></li>
<li>Choisissez <b>Modifier un mot de passe</b></li>
<li>Modifiez le mot de passe à votre guise, puis validez. <br/></li>
</ol>
<p><b>Si vous ne modifiez pas votre mot de passe avant le {expirationDate}, votre compte sera bloqué et nécessitera l'intervention d'un administrateur.</b></p>
<p>Bien à vous,<br/>L'équipe informatique</p>
</div>
<div class="footer">
<p>Un problème ? <a href="mailto:informatique@example.com">Contacter le service informatique</a>.</p>
<p></p>
<p>Ceci est un mail automatique, merci de ne pas répondre</p>
</div>
</div>
</body>
</html>