TO: {!! \App\Classes\FTN\Message::tr($msg->to) !!} @if ($msg instanceof \App\Models\Netmail)({{ $msg->tftn->ftn }})@endif
DATE: {{ $msg->datetime->format('Y-m-d H:i:s') }}
FROM: {!! \App\Classes\FTN\Message::tr($msg->from) !!} ({{ $msg->fftn->ftn }})
MSGID: {{ $msg->msgid }}@if($x=\App\Models\Echomail::where('replyid',$msg->msgid)->count()) ({{$x}} replies)@endif @if($msg->replyid)
REPLY: {{ $msg->replyid }}@endif
SUBJECT: {!! \App\Classes\FTN\Message::tr($msg->subject) !!}
@if ($msg instanceof \App\Models\Echomail)
ECHOAREA: {{ $msg->echoarea->name }} ({{ $msg->echoarea->domain->name }})
@endif
{!! \App\Classes\FTN\Message::tr($msg->msg).($msg->origin ? sprintf("\r * Origin: %s",$msg->origin) : '') !!}
@if ($msg instanceof \App\Models\Echomail)
SEENBY:
{!! optimize_path($msg->seenby->pluck('ftn2d'))->join(', ') !!}
@endif
@if ($msg->flags & \App\Classes\FTN\Message::FLAG_LOCAL)
@elseif ($msg->flags & (\App\Classes\FTN\Message::FLAG_INTRANSIT|\App\Classes\FTN\Message::FLAG_RECD))
PATH:
{!! optimize_path($msg->pathorder())->join(' -> ') !!}
RECEIVED:
@foreach ($msg->received as $path)
{{ $path->pivot->recv_pkt }} by {{ $path->ftn }} {{ $msg->created_at }}
@endforeach
@endif