Email Reports

Sender Name From Email
@php $emailCountSuccess = array("Total","Delivered","Opened"); $emailCountDanger = array("Failed","Dropped","Bounce","Unsubscribed"); $emailCountWarning = array("Spam"); $emailCountsMerged = array_merge($emailCountSuccess, $emailCountDanger, $emailCountWarning); @endphp @foreach ($emailCountsMerged as $email)
@php $color = "success"; if(in_array($email, $emailCountDanger)): $color = "danger"; elseif(in_array($email, $emailCountWarning)): $color = "warning"; endif; @endphp {{$email}} Email 0
@endforeach
@push('scripts') @endpush