C0ML: parameter email server, improve check for sendmail

This commit is contained in:
sparkyx 2026-05-08 12:04:24 +02:00
parent f406064cdb
commit c6a34abb3e
5 changed files with 90 additions and 7 deletions

View file

@ -80,7 +80,17 @@ $show=($this->smtp_type=="sendmail")?"none":"grid";
value="sendmail">Sendmail</option>
</select>
</div>
<?php $show2=($this->smtp_type == 'sendmail') ? "none" : "block" ;?>
<p id="info_snd" style="display:<?=$show2?>" class="text-muted">
<?php
if ( defined('ALLOWED_EMAIL_DOMAIN') )
{
printf("Domaine accepté %s:",ALLOWED_EMAIL_DOMAIN);
}
?>
</p>
<div>
<label for="smtp_from"><?= _("adresse par défaut email de l'expéditeur") ?></label>
</div>