@extends('central.super.layout') @section('title', __('central.MailSettings')) @section('content')
@csrf @method('PUT')
{{-- Mailer & Connection --}}

{{ __('central.MailDriver') }}

@error('mail_mailer')
{{ $message }}
@enderror
{{-- SMTP Settings --}}

{{ __('central.SmtpServer') }}

@error('mail_host')
{{ $message }}
@enderror
@error('mail_port')
{{ $message }}
@enderror
@foreach($encryptions as $key => $label) @endforeach
@error('mail_username')
{{ $message }}
@enderror
@if($setting->getDecryptedPassword())

{{ __('central.LeaveBlankToKeepPassword') }}

@endif @error('mail_password')
{{ $message }}
@enderror
{{-- From Address --}}

{{ __('central.SenderIdentity') }}

@error('mail_from_address')
{{ $message }}
@enderror
@error('mail_from_name')
{{ $message }}
@enderror
{{-- Save --}}
{{-- Sidebar --}}
{{-- Test email --}}
{{-- Separate form to avoid conflict with the main form --}}
{{-- Quick reference --}}

{{ __('central.CommonSmtpServers') }}

Gmail

Host: smtp.gmail.com
Port: 587 (TLS) / 465 (SSL)
{{ __('central.GmailAppPasswordHint') }}

Outlook / Office 365

Host: smtp.office365.com
Port: 587 (TLS)

Mailgun

Host: smtp.mailgun.org
Port: 587 (TLS)

SendGrid

Host: smtp.sendgrid.net
Port: 587 (TLS)
{{ __('central.SendGridUsernameHint') }}

{{-- Test email form (outside main form) --}}
@csrf
@error('test_email')
{{ $message }}
@enderror
@push('scripts') @endpush @endsection