add SMTP sender
This commit is contained in:
@@ -12,6 +12,19 @@
|
||||
<form action="<?php echo e(route('mailing.invia')); ?>" method="POST" enctype="multipart/form-data">
|
||||
<?php echo csrf_field(); ?>
|
||||
|
||||
<?php 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>
|
||||
<?php $__currentLoopData = $senderAccounts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sender): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||||
<option value="<?php echo e($sender->id); ?>"><?php echo e($sender->email_name ?: $sender->email_address); ?> <<?php echo e($sender->email_address); ?>></option>
|
||||
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
|
||||
</select>
|
||||
<small class="text-muted">Seleziona un mittente per l'invio. Usa "Sistema predefinito" per inviare con l'account email principale.</small>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if($individui->count() > 0): ?>
|
||||
<div class="form-group" id="destinatari-form-group">
|
||||
<label>Destinatari selezionati</label>
|
||||
|
||||
Reference in New Issue
Block a user