@extends('layouts.admin') @section('title', 'Email / SMTP Settings') @section('content') @if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
@endif
@csrf @method('PUT')

Enable Email Notifications

Turn system email alerts on or off. Requires SMTP host to deliver.
Where admin alerts are sent. Leave blank to use the first super-admin's email.

SMTP Server

Leave blank to keep the saved password.

Sender Details

Incoming Email (IMAP) — auto-sync to Messages

Emails received in this mailbox are automatically imported into the admin Messages inbox. The sync runs every minute via the scheduler (php artisan schedule:work).

Incoming mail is delivered to the admin whose user account uses this email.
Leave blank to keep the saved password.

Admin Alert Events

Email admins when a new customer registers.
Email admins when a customer submits a withdrawal request.
Email admins when a customer submits a deposit request.
Email admins when a new support ticket is created.

Send Test Email

Send a test email to confirm the SMTP configuration works. If no SMTP host is saved, the message is written to the mail log instead.

@csrf
@endsection