@extends('layouts.app') @section('title', 'SMTP Config') @section('content') @php $config = $configs->first(); // since only one record per company @endphp
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

SMTP Configuration

Configure your SMTP server settings to enable the system to send outgoing emails using your own email provider.

@if(($config->smtp_works ?? '') == 'Yes')

Connection Verified

Your SMTP settings are correctly configured and the system can send emails.

@elseif(($config->smtp_works ?? '') == 'No')

Connection Failed

The last test attempt failed. Please check your credentials and port settings.

@else

Not Verified

Configuration hasn't been tested yet. Save settings to trigger a test.

@endif
@csrf

Test SMTP Connection

@csrf
@endsection