@extends('layouts.admin') @section('title', 'Campaign Delivery Logs') @section('content')

Delivery Logs

Tracking logs for campaign: {{ $campaign->subject }}

Back to Campaigns
@csrf

Total Attempts

{{ $logs->total() }}

Sent / Delivered

{{ $campaign->logs()->where('status', 'sent')->count() }}

Bounced / Failed

{{ $campaign->logs()->where('status', 'failed')->count() }}

Last Activity

@if($campaign->logs()->latest('created_at')->first()) {{ $campaign->logs()->latest('created_at')->first()->created_at->diffForHumans() }} @else None @endif
@forelse($logs as $log) @empty @endforelse
Recipient Email Status Message ID Time Error Details
{{ $log->recipient_email }} {{ ucfirst($log->status) }} {{ $log->message_id ?? '-' }} {{ $log->created_at->format('M d, H:i:s') }} {{ $log->error_details ?? '-' }}
No logs found for this campaign.
@if($logs->hasPages())
{{ $logs->links() }}
@endif
@endsection