{{-- Starter template — copy and customize for new transactional emails. Usage in a Notification: return (new MailMessage) ->subject('Your subject line') ->view('emails.your-template', [ 'appName' => config('app.name'), // ... ]); --}} @extends('emails.layouts.app', [ 'emailTitle' => $subject ?? config('app.name'), 'preheader' => $preheader ?? '', 'heading' => $heading ?? 'Email subject line', 'subheading' => $subheading ?? null, 'footerEmail' => $recipientEmail ?? null, ]) @section('content')
{{ __('emails.starter.hello') }}{{ isset($name) ? ", {$name}" : '' }}!
{{ __('emails.starter.main_message') }}
{{-- Unordered list example --}}|
• First item • Second item • Third item |
| @include('emails.components.button', [ 'url' => $actionUrl, 'label' => $actionLabel ?? 'Get Started', ]) |
{{ __('emails.starter.ignore_notice') }}
@endsection