﻿@model PickupMailViewer.Models.MailModel

<div>
    <div>From: @Model.FromAddress</div>
    <div>To: @Model.ToAddress</div>
    <div>Sent date: @Html.DisplayFor(m => m.SentOn)</div>
    <div>Subject: @Model.Subject</div>
    <hr />
    <div class="mail-body">@Model.Body</div>
    <hr />
    @Html.ActionLink("Download mail", "DownloadMail", new { mailId = @Model.MailId })
</div>
﻿@model PickupMailViewer.Models.MailModel

<div>
    @Html.ActionLink("Download mail", "DownloadMail", new { mailId = @Model.MailId })
    <hr />
    <div>From: @Model.FromAddress</div>
    <div>To: @Model.ToAddress</div>
    <div>Sent date: @Html.DisplayFor(m => m.SentOn)</div>
    <div>Subject: @Model.Subject</div>
    <hr />
    <div class="mail-body">@Model.Body</div>
</div>
Move the download link to the top
Move the download link to the top

This has the desired side effect that the mail display is not initially scrolled to the bottom, but to the top instead
