@php $reply_separator = \MailHelper::getHashedReplySeparator($headers['Message-ID']); $is_rtl = \Helper::isLocaleRtl(); $is_forwarded = !empty($threads[0]) ? $threads[0]->isForwarded() : false; @endphp {{-- Outer background table --}}
{{-- Email card --}} {{-- HEADER BAR --}} {{-- CONTENT with reply separator --}} {{-- FOOTER --}} @if (\App\Option::get('email_branding')) @endif
{{ $mailbox->name }} Ticket #{{ $conversation->number }}
@foreach ($threads as $thread) @if ($loop->index == 1) {{-- Gmail quoted-message marker --}}
@endif @if (!$loop->first) {{-- Quoted thread header --}}
{{ $thread->getFromName($mailbox) }}@if ($is_forwarded && $thread->from) <{{ $thread->from }}>@endif @if ($thread->getCcArray())  · Cc: {{ implode(', ', $thread->getCcArray()) }} @endif {{ App\Customer::dateFormat($thread->created_at, 'M j, H:i') }}
@endif {{-- Thread body --}}
@if ($thread->source_via == App\Thread::PERSON_USER && $mailbox->before_reply && $loop->first) {{ $mailbox->before_reply }}

@endif {!! $thread->getCleanBody() !!} @action('reply_email.before_signature', $thread, $loop, $threads, $conversation, $mailbox, $threads_count) @if ($thread->source_via == App\Thread::PERSON_USER && \Eventy::filter('reply_email.include_signature', true, $thread))
{!! $conversation->getSignatureProcessed(['thread' => $thread]) !!} @endif @action('reply_email.after_signature', $thread, $loop, $threads, $conversation, $mailbox, $threads_count)

@if (!$loop->last)
@endif @endforeach {{-- Tracking pixel and message marker (hidden) --}}
@if (\App\Option::get('open_tracking')) @endif ‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌‌{{ \MailHelper::getMessageMarker($headers['Message-ID']) }}
{{-- /reply_separator --}}
{{ $mailbox->name }} • {{ $mailbox->email }}
{!! __('Support powered by :app_name — Free open source help desk & shared mailbox', ['app_name' => ''.\Config::get('app.name').'']) !!}
{{-- /email card --}}
{{-- /outer --}}