@extends('layouts.admin') @section('title', 'Email Settings') @section('page-title', 'Email Settings') @section('breadcrumbs') Settings chevron_right Email Settings @endsection @section('content')

Email Settings

Configure email server settings for sending notifications

@if (session('success'))
check_circle {{ session('success') }}
@endif @if (session('error'))
error {{ session('error') }}
@endif @if ($errors->any())
error

Please correct the following errors:

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf

Select the mail driver you want to use

SMTP Configuration

info

How to Configure SMTP

  1. Get SMTP credentials from your email provider (Gmail, Outlook, custom SMTP server, etc.)
  2. Mail Host: SMTP server address (e.g., smtp.gmail.com, smtp.mailtrap.io)
  3. Mail Port: Usually 587 (TLS) or 465 (SSL) for secure connections, 25 for unencrypted
  4. Mail Username: Your email address or SMTP username
  5. Mail Password: Your email password or app-specific password
  6. Mail Encryption: Choose TLS (recommended) or SSL based on your provider
Common SMTP Settings:
  • Gmail: smtp.gmail.com, Port 587, TLS
  • Outlook: smtp-mail.outlook.com, Port 587, TLS
  • Mailtrap (Testing): smtp.mailtrap.io, Port 2525, TLS
  • SendGrid: smtp.sendgrid.net, Port 587, TLS

Note: For Gmail, you may need to enable "Less secure app access" or use an App Password. For production, use a dedicated SMTP service.

From Address

@endsection