@extends('backend.layouts.app') @section('title', 'Send Email') @section('content') @php $pageTitle = 'Send Email'; $indexRoute = 'email-template.index'; $indexLabel = 'Email Templates'; @endphp @include('backend.layouts.partials._page_header')

Manual Email

Choose any active template, fill its variables, then send it to one recipient.

@if ($selected)

{{ $selected->template_name }}

Subject: {{ $selected->subject }}

@csrf
@error('recipient')

{{ $message }}

@enderror
@if ($tokens !== [])
@foreach ($tokens as $token)
@if ($token === 'message') @else @endif
@endforeach
@else

This template has no extra variables. It will use the application name and site URL automatically.

@endif @error('variables')

{{ $message }}

@enderror
Cancel
@endif
@endsection @push('styles') @endpush @push('scripts') @endpush