add SMTP sender

This commit is contained in:
2026-05-27 07:29:29 +02:00
parent 982d754857
commit b0865368c8
19 changed files with 1384 additions and 35 deletions
+13
View File
@@ -13,6 +13,19 @@
<form action="{{ route('mailing.invio.elabora') }}" method="POST" enctype="multipart/form-data">
@csrf
@if(isset($senderAccounts) && $senderAccounts->count() > 0)
<div class="form-group">
<label for="mittente_id">Mittente</label>
<select name="mittente_id" id="mittente_id" class="form-control">
<option value="">Sistema predefinito</option>
@foreach($senderAccounts as $sender)
<option value="{{ $sender->id }}">{{ $sender->email_name ?: $sender->email_address }} &lt;{{ $sender->email_address }}&gt;</option>
@endforeach
</select>
<small class="text-muted">Seleziona un mittente per l'invio massivo.</small>
</div>
@endif
<div class="form-group">
<label>Liste Destinatari *</label>
<select name="liste[]" id="liste" class="form-control" multiple required size="4">