Permalink
Browse files

Add Confirm Account Email

  • Loading branch information...
scottsauber committed Jul 6, 2018
1 parent e56dff2 commit c9febaf74fe8811c7625107ad9f73e4e71603c3b
@@ -0,0 +1,27 @@
@using RazorHtmlEmails.RazorClassLib.Views.Emails.ConfirmAccount
@using RazorHtmlEmails.RazorClassLib.Views.Shared
@model ConfirmAccountEmailViewModel
@{
ViewData["EmailTitle"] = "Welcome!";
}
<p>
We're excited to have you get started. First, you need to confirm your account. Just press the button below.
</p>
<br />
@await Html.PartialAsync("EmailButton", new EmailButtonViewModel("Confirm Account", Model.ConfirmEmailUrl))
<br />
<p>
If you have any questions, just reply to this email—we're always happy to help out.
</p>
<br />
<p>
The Contoso Team
</p>
@@ -0,0 +1,12 @@
namespace RazorHtmlEmails.RazorClassLib.Views.Emails.ConfirmAccount
{
public class ConfirmAccountEmailViewModel
{
public ConfirmAccountEmailViewModel(string confirmEmailUrl)
{
ConfirmEmailUrl = confirmEmailUrl;
}
public string ConfirmEmailUrl { get; set; }
}
}
@@ -0,0 +1,3 @@
@{
Layout = "EmailLayout";
}

0 comments on commit c9febaf

Please sign in to comment.