@include('Partials.sidebar')
@include('Partials.header')
{{-- ── Page Title ── --}}

SMTP Configuration

  1. Settings
  2. SMTP
{{-- ── Alerts ── --}} @if(session('success')) @endif @if(session('error')) @endif @if(session('test_result')) @php $tr = session('test_result'); @endphp
{{ $tr['message'] }}
@endif {{-- ── Status Card ── --}}
SMTP is {{ $smtpSetting ? 'configured' : 'not configured' }}
@if($smtpSetting) Sending via {{ $smtpSetting->username }} through {{ $smtpSetting->host }}:{{ $smtpSetting->port }} @else Fill in the form below to enable email sending @endif
@if($smtpSetting)
● Active
@endif
{{-- ── Main Form Card ── --}}
SMTP Server Settings
@csrf {{-- ── Row 1: Host + Port ── --}}
@error('host')
{{ $message }}
@enderror
@error('port')
{{ $message }}
@enderror
TLS→587, SSL→465
{{-- ── Row 2: Username + Encryption ── --}}
@error('username')
{{ $message }}
@enderror
@error('encryption')
{{ $message }}
@enderror
{{-- ── Password ── --}}
@error('password')
{{ $message }}
@enderror
For Gmail, use an App Password, not your account password.
{{-- ── Divider ── --}}

Sender Identity

{{-- ── Row 3: From Address + From Name ── --}}
@error('from_address')
{{ $message }}
@enderror
@error('from_name')
{{ $message }}
@enderror
{{-- ── Actions ── --}}
@if($smtpSetting) @endif
{{-- ── Quick Reference Card ── --}}
Common SMTP Settings
Provider Host Port Encryption
Gmail smtp.gmail.com 587 TLS
Outlook smtp.office365.com 587 TLS
Yahoo smtp.mail.yahoo.com 465 SSL
Mailgun smtp.mailgun.org 587 TLS
{{-- ── Test Email Modal ── --}} @if($smtpSetting) @endif @include('Partials.footer')