@extends('layouts.admin')
@section('styles')
@endsection
@section('content')
@php
$smtpOn = (int) ($data->is_smtp ?? 0) === 1;
$hostDisplay = $data->smtp_host ?: __('Not configured');
$fromDisplay = $data->from_email ?: __('Not set');
@endphp
@include('admin.partials.pro-hero', [
'icon' => 'fas fa-envelope-open-text',
'title' => __('Email Configuration'),
'subtitle' => __('SMTP সার্ভার, অথেন্টিকেশন ও সেন্ডার তথ্য সেট করুন'),
'breadcrumbs' => [
['label' => __('Dashboard'), 'url' => route('admin.dashboard')],
['label' => __('Email Settings'), 'url' => null],
['label' => __('Email Configuration'), 'url' => null],
],
])
@include('includes.admin.form-success')
@include('includes.admin.flash-message')
{{ __('SMTP Status') }}
{{ $smtpOn ? __('Active') : __('Inactive') }}
{{ __('SMTP Host') }}
{{ $hostDisplay }}
{{ __('From Email') }}
{{ $fromDisplay }}
{{ __('SMTP Settings') }}
{{ $smtpOn ? __('Sending enabled') : __('Sending disabled') }}
@endsection
@section('scripts')
@endsection