@model digioz.Portal.Domain.DomainModel.MailingListCampaign @{ ViewBag.Title = "Index"; Layout = null; } @{ var request = HttpContext.Current.Request; var address = string.Format("{0}://{1}", request.Url.Scheme, request.Url.Authority); string emailDisplayUrl = address + "/MailingList/EmailDisplay/" + Model.ID; string unsubscribeUrl = address + "/MailingList/Unsubscribe"; string bannerUrl = string.Empty; if (!string.IsNullOrEmpty(Model.Banner)) { bannerUrl = address + "/Content/Emails/uploads/Full/" + Model.Banner; } } @Model.Subject @if (!string.IsNullOrEmpty(bannerUrl)) { }
@Model.Subject View in Browser
@Html.Raw(Model.Body)
Getting too many emails? Click Here to UNSUBSCRIBE