mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
smtp: add notify_email field; fix admin notification sent to no-reply sender
This commit is contained in:
@@ -265,16 +265,24 @@
|
||||
<legend>Expéditeur par défaut</legend>
|
||||
<div class="param-grid">
|
||||
<div>
|
||||
<label for="smtp_from_email">Adresse e-mail</label>
|
||||
<label for="smtp_from_email">Adresse e-mail d'expédition</label>
|
||||
<input type="email" id="smtp_from_email" name="smtp_from_email"
|
||||
value="<?= htmlspecialchars($smtpSettings['from_email']) ?>"
|
||||
placeholder="noreply@example.com">
|
||||
<small>Adresse utilisée comme expéditeur (champ From:).</small>
|
||||
</div>
|
||||
<div>
|
||||
<label for="smtp_from_name">Nom d'expéditeur</label>
|
||||
<input type="text" id="smtp_from_name" name="smtp_from_name"
|
||||
value="<?= htmlspecialchars($smtpSettings['from_name']) ?>">
|
||||
</div>
|
||||
<div>
|
||||
<label for="smtp_notify_email">Adresse de notification admin</label>
|
||||
<input type="email" id="smtp_notify_email" name="smtp_notify_email"
|
||||
value="<?= htmlspecialchars($smtpSettings['notify_email'] ?? '') ?>"
|
||||
placeholder="admin@example.com">
|
||||
<small>Reçoit les notifications (demandes d’accès, etc.). Si vide, utilise l’adresse d’expédition.</small>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user