@extends('admin.layouts.app', ['title' => __('Email Log')]) @section('content')

{{ __('Email Details') }}

@if ($emailLog->status === 'failed') Failed @else Sent @endif
@if ($emailLog->error_message) @endif
Date {{ $emailLog->created_at ? $emailLog->created_at->format('M d, Y h:i A') : '' }}
Status {{ ucfirst($emailLog->status) }}
Type {{ $emailLog->mailable ?: $emailLog->mailableName() }}
Source {{ $emailLog->source ?: '—' }}
Mailer {{ $emailLog->mailer }}
From {{ $emailLog->from }}
To {{ $emailLog->to }}
CC {{ $emailLog->cc ?: '—' }}
BCC {{ $emailLog->bcc ?: '—' }}
Subject {{ $emailLog->subject }}
Error {{ $emailLog->error_message }}

Body

@include('admin.layouts.footers.auth')
@endsection