{{-- resources/views/email-bulk/index.blade.php --}} @extends('layout.mainlayout') @section('content')
@component('components.breadcrumb') @slot('title') Bulk Emails @endslot @endcomponent
Create Bulk Email
Use placeholders: {{ '{' }}{name}{{ '}' }}, {{ '{' }}{designation}{{ '}' }}, {{ '{' }}{department}{{ '}' }},
@if (session('status'))
{{ session('status') }}
@elseif(session('error'))
{{ session('error') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
Leave empty for all.
{{-- Simple preview area --}}
Preview (Sample Data)
{{-- Batches list --}}
Previous Email Batches
@foreach($batches as $b) @php $sent = $b->recipients_sent_count ?? ($b->recipients->where('status','sent')->count() ?? 0); $failed = $b->recipients_failed_count ?? ($b->recipients->where('status','failed')->count() ?? 0); $total = $b->recipients_total_count ?? ($b->recipients->count() ?? 0); @endphp @endforeach
# Title Subject Filters Queued Completed Recipients Sent Failed Created By Created At
{{ $loop->iteration }} {{ $b->title }} {{ $b->subject }} @if(empty($b->filters)) All Users @else {{ json_encode($b->filters) }} @endif {{ $b->queued_at ? $b->queued_at->format('d M Y, h:i A') : '-' }} {{ $b->completed_at ? $b->completed_at->format('d M Y, h:i A') : '-' }} {{ $total }} {{ $sent }} {{ $failed }} {{ optional($b->creator)->name ?? 'N/A' }} {{ $b->created_at->format('d M Y, h:i A') }}
@endsection @push('scripts') @verbatim {{-- TinyMCE --}} @endverbatim @endpush