@extends('layouts.app') @section('title', 'Email Settings') @section('content')

Email Settings

Configure SMTP server, email templates, and notification settings

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
Please correct the following errors:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
SMTP Configuration Tips
  • Most SMTP servers require the SMTP Username to match the From Email Address
  • If you use different addresses, emails will be sent from the SMTP Username to avoid "Sender verify failed" errors
  • For cPanel/shared hosting, always use the same email address for both fields
  • Use the "Test Connection" button to verify your settings before saving
@csrf

SMTP Server Configuration

Common ports: 25 (plain), 587 (TLS), 465 (SSL)

⚠️ Important: Most SMTP servers require this to match the From Email Address below

Leave blank to keep existing password

Email From Details

⚠️ For best compatibility, use the same email as SMTP Username to avoid sender verification errors

Test Email Configuration

Optional: Specify an email address to receive test emails. If left blank, test emails will be sent to the site email (SMTP Username).

Back to Settings
@endsection