E-mails du compte aux couleurs de Bobinoo, envoi depuis bobinoo.org
deploy / deploy (push) Successful in 1m7s

- docs/emails : confirmation, mot de passe oublié, changement d'adresse (FR + EN) et réglages OVH
- Confidentialité : OVH envoie aussi les e-mails du compte

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-11-28 15:09:26 +00:00
1 parent b501e0b8f6
commit fbc4fcab6a
5 files changed
+120 -2

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# E-mails du compte (Supabase Auth)
À coller dans Supabase → Authentication → Emails → Templates. Le lien `{{ .ConfirmationURL }}` est celui de Supabase : ne pas le modifier.
| Modèle Supabase | Objet | Fichier |
| --- | --- | --- |
| Confirm signup | Confirme ton adresse · Bobinoo | `confirmation.html` |
| Reset password | Ton nouveau mot de passe · Bobinoo | `recovery.html` |
| Change email address | Confirme ta nouvelle adresse · Bobinoo | `email-change.html` |
## Envoi depuis bobinoo.org (OVH, boîte Zimbra Starter)
SMTP personnalisé (Authentication → Emails → SMTP Settings) :
- Hôte `ssl0.ovh.net`, port `465`
- Utilisateur : l'adresse complète de la boîte, mot de passe : celui de la boîte (jamais dans le dépôt)
- Expéditeur : `Bobinoo` · adresse de la boîte
DNS de bobinoo.org (zone OVH) : MX OVH (automatique), SPF `v=spf1 include:mx.ovh.com ~all`, DKIM activé dans l'espace client (Emails → DKIM),
DMARC `_dmarc` TXT `v=DMARC1; p=none; rua=mailto:<adresse de la boîte>`.
+33
View File
@@ -0,0 +1,33 @@
<!doctype html>
<html lang="fr">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="color-scheme" content="light"><title>Bobinoo</title></head>
<body style="margin:0;padding:0;background:#f4f3f1;">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f4f3f1;padding:32px 16px;">
<tr><td align="center">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:480px;background:#fefdfb;border:1px solid #dbdbd8;border-radius:2px;font-family:Epilogue,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;color:#0d0d0d;">
<tr><td style="padding:28px 32px 0;">
<div style="font-size:22px;font-weight:800;letter-spacing:-0.02em;">Bobinoo</div>
<div style="height:3px;width:48px;background:#00746d;margin-top:10px;"></div>
</td></tr>
<tr><td style="padding:24px 32px 8px;">
<h1 style="margin:0 0 12px;font-size:20px;line-height:1.3;font-weight:700;">Bienvenue sur Bobinoo !</h1>
<p style="margin:0 0 24px;font-size:15px;line-height:1.6;color:#383838;">Il ne reste qu'une étape : confirme ton adresse e-mail pour activer ton compte.</p>
<table role="presentation" cellpadding="0" cellspacing="0"><tr><td style="background:#00746d;border-radius:2px;">
<a href="{{ .ConfirmationURL }}" style="display:inline-block;padding:13px 24px;font-size:15px;font-weight:700;color:#ffffff;text-decoration:none;">Confirmer mon adresse</a>
</td></tr></table>
<p style="margin:20px 0 0;font-size:13px;line-height:1.6;color:#525252;">Tu n'as pas créé de compte ? Ignore simplement cet e-mail, rien ne sera activé.</p>
</td></tr>
<tr><td style="padding:16px 32px 8px;"><div style="border-top:1px solid #dbdbd8;"></div></td></tr>
<tr><td style="padding:8px 32px 8px;">
<p style="margin:0 0 8px;font-size:14px;line-height:1.6;color:#383838;"><strong style="color:#0d0d0d;">Welcome to Bobinoo!</strong> Confirm your email address to activate your account: <a href="{{ .ConfirmationURL }}" style="color:#00746d;font-weight:700;">Confirm my email</a></p>
<p style="margin:0;font-size:13px;line-height:1.6;color:#525252;">Didn't sign up? Just ignore this email.</p>
</td></tr>
<tr><td style="padding:20px 32px 28px;">
<p style="margin:0;font-size:12px;line-height:1.6;color:#525252;">Le bouton ne marche pas ? Copie ce lien dans ton navigateur · Button not working? Copy this link:<br><a href="{{ .ConfirmationURL }}" style="color:#525252;word-break:break-all;">{{ .ConfirmationURL }}</a></p>
</td></tr>
</table>
<p style="margin:16px 0 0;font-family:-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12px;color:#525252;">Bobinoo · ton journal de films, séries, animes et dramas</p>
</td></tr>
</table>
</body>
</html>
+33
View File
@@ -0,0 +1,33 @@
<!doctype html>
<html lang="fr">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="color-scheme" content="light"><title>Bobinoo</title></head>
<body style="margin:0;padding:0;background:#f4f3f1;">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f4f3f1;padding:32px 16px;">
<tr><td align="center">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:480px;background:#fefdfb;border:1px solid #dbdbd8;border-radius:2px;font-family:Epilogue,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;color:#0d0d0d;">
<tr><td style="padding:28px 32px 0;">
<div style="font-size:22px;font-weight:800;letter-spacing:-0.02em;">Bobinoo</div>
<div style="height:3px;width:48px;background:#00746d;margin-top:10px;"></div>
</td></tr>
<tr><td style="padding:24px 32px 8px;">
<h1 style="margin:0 0 12px;font-size:20px;line-height:1.3;font-weight:700;">Confirme ta nouvelle adresse</h1>
<p style="margin:0 0 24px;font-size:15px;line-height:1.6;color:#383838;">Tu as demandé à changer l'adresse e-mail de ton compte Bobinoo pour {{ .NewEmail }}. Confirme ce changement :</p>
<table role="presentation" cellpadding="0" cellspacing="0"><tr><td style="background:#00746d;border-radius:2px;">
<a href="{{ .ConfirmationURL }}" style="display:inline-block;padding:13px 24px;font-size:15px;font-weight:700;color:#ffffff;text-decoration:none;">Confirmer le changement</a>
</td></tr></table>
<p style="margin:20px 0 0;font-size:13px;line-height:1.6;color:#525252;">Ce n'est pas toi ? Ignore cet e-mail et change ton mot de passe par précaution.</p>
</td></tr>
<tr><td style="padding:16px 32px 8px;"><div style="border-top:1px solid #dbdbd8;"></div></td></tr>
<tr><td style="padding:8px 32px 8px;">
<p style="margin:0 0 8px;font-size:14px;line-height:1.6;color:#383838;"><strong style="color:#0d0d0d;">Confirm your new email.</strong> You asked to change your Bobinoo email to {{ .NewEmail }}: <a href="{{ .ConfirmationURL }}" style="color:#00746d;font-weight:700;">Confirm the change</a></p>
<p style="margin:0;font-size:13px;line-height:1.6;color:#525252;">Not you? Ignore this email and change your password to be safe.</p>
</td></tr>
<tr><td style="padding:20px 32px 28px;">
<p style="margin:0;font-size:12px;line-height:1.6;color:#525252;">Le bouton ne marche pas ? Copie ce lien dans ton navigateur · Button not working? Copy this link:<br><a href="{{ .ConfirmationURL }}" style="color:#525252;word-break:break-all;">{{ .ConfirmationURL }}</a></p>
</td></tr>
</table>
<p style="margin:16px 0 0;font-family:-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12px;color:#525252;">Bobinoo · ton journal de films, séries, animes et dramas</p>
</td></tr>
</table>
</body>
</html>
+33
View File
@@ -0,0 +1,33 @@
<!doctype html>
<html lang="fr">
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="color-scheme" content="light"><title>Bobinoo</title></head>
<body style="margin:0;padding:0;background:#f4f3f1;">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background:#f4f3f1;padding:32px 16px;">
<tr><td align="center">
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:480px;background:#fefdfb;border:1px solid #dbdbd8;border-radius:2px;font-family:Epilogue,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;color:#0d0d0d;">
<tr><td style="padding:28px 32px 0;">
<div style="font-size:22px;font-weight:800;letter-spacing:-0.02em;">Bobinoo</div>
<div style="height:3px;width:48px;background:#00746d;margin-top:10px;"></div>
</td></tr>
<tr><td style="padding:24px 32px 8px;">
<h1 style="margin:0 0 12px;font-size:20px;line-height:1.3;font-weight:700;">Nouveau mot de passe</h1>
<p style="margin:0 0 24px;font-size:15px;line-height:1.6;color:#383838;">Tu as demandé à changer le mot de passe de ton compte Bobinoo. Ce lien est valable une heure.</p>
<table role="presentation" cellpadding="0" cellspacing="0"><tr><td style="background:#00746d;border-radius:2px;">
<a href="{{ .ConfirmationURL }}" style="display:inline-block;padding:13px 24px;font-size:15px;font-weight:700;color:#ffffff;text-decoration:none;">Choisir un nouveau mot de passe</a>
</td></tr></table>
<p style="margin:20px 0 0;font-size:13px;line-height:1.6;color:#525252;">Ce n'est pas toi ? Ignore cet e-mail : ton mot de passe actuel reste inchangé.</p>
</td></tr>
<tr><td style="padding:16px 32px 8px;"><div style="border-top:1px solid #dbdbd8;"></div></td></tr>
<tr><td style="padding:8px 32px 8px;">
<p style="margin:0 0 8px;font-size:14px;line-height:1.6;color:#383838;"><strong style="color:#0d0d0d;">Reset your password.</strong> You asked to change your Bobinoo password. This link is valid for one hour: <a href="{{ .ConfirmationURL }}" style="color:#00746d;font-weight:700;">Choose a new password</a></p>
<p style="margin:0;font-size:13px;line-height:1.6;color:#525252;">Not you? Ignore this email, your password stays the same.</p>
</td></tr>
<tr><td style="padding:20px 32px 28px;">
<p style="margin:0;font-size:12px;line-height:1.6;color:#525252;">Le bouton ne marche pas ? Copie ce lien dans ton navigateur · Button not working? Copy this link:<br><a href="{{ .ConfirmationURL }}" style="color:#525252;word-break:break-all;">{{ .ConfirmationURL }}</a></p>
</td></tr>
</table>
<p style="margin:16px 0 0;font-family:-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12px;color:#525252;">Bobinoo · ton journal de films, séries, animes et dramas</p>
</td></tr>
</table>
</body>
</html>