@php $is_forwarded = !empty($threads[0]) ? $threads[0]->isForwarded() : false; @endphp @foreach ($threads as $thread) @if ($loop->index == 1)
@endif
@if (!$loop->first)

{{ $thread->getFromName($mailbox) }}@if ($is_forwarded && $thread->from) <{{ $thread->from }}>@endif {{--if ($loop->last){!! __(':person sent a message', ['person' => ''.htmlspecialchars($thread->getFromName($mailbox)).'']) !!}@else {!! __(':person replied', ['person' => ''.htmlspecialchars($thread->getFromName($mailbox)).'']) !!}@endif--}}

@if ($thread->getCcArray())

Cc: {{ implode(', ', $thread->getCcArray() )}}

@endif
{{ App\Customer::dateFormat($thread->created_at, 'M j, H:i') }}
@endif
@if ($thread->source_via == App\Thread::PERSON_USER && $mailbox->before_reply && $loop->first) {{ $mailbox->before_reply }}

@endif {!! $thread->body !!} @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->count > 1 && $loop->last)@endif--}}
@endforeach @if (\App\Option::get('email_branding'))
{!! __('Support powered by :app_name — Free open source help desk & shared mailbox', ['app_name' => ''.\Config::get('app.name').'']) !!}
@endif
@if (\App\Option::get('open_tracking')) @endif {{-- Extra symbols not to show message marker in Gmail snippet preview --}} ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌{{-- In addition to Message-ID header to detect relies --}}{{ \MailHelper::getMessageMarker($headers['Message-ID']) }}