{#if receivedChain && receivedChain.length > 0}

Email Path

{#each receivedChain as hop, i}
{receivedChain.length - i} {hop.reverse || "-"} {#if hop.ip}({hop.ip}){/if} → {hop.by || "Unknown"}
{hop.timestamp ? new Intl.DateTimeFormat("default", { dateStyle: "long", timeStyle: "short", }).format(new Date(hop.timestamp)) : "-"}
{#if hop.with || hop.id || hop.from}

{#if hop.with} Protocol: {hop.with} {/if} {#if hop.id} ID: {hop.id} {/if} {#if hop.from} Helo: {hop.from} {/if}

{/if}
{/each}
{/if}