Skip to content

Instantly share code, notes, and snippets.

@mikebrind
Created March 19, 2019 05:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikebrind/5edbc3ab97ac68975a3ac5a8c155f480 to your computer and use it in GitHub Desktop.
Save mikebrind/5edbc3ab97ac68975a3ac5a8c155f480 to your computer and use it in GitHub Desktop.
@model ContactForm
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<title>Contact Email</title>
<style>
body{font-family:Calibri, sans-serif;font-size: 11pt;color: #555;}
blockquote{border-left: 8px solid #cceeaa;font-size: 12pt;margin:0;padding: 30px 60px;}
</style>
</head>
<body>
<h1>Contact Form</h1>
<p>@Model.Name sent a message via the contact form at @DateTime.Now as follows:</p>
<blockquote>@Model.Message</blockquote>
<p>@Model.Name is using the email address @Model.Email and considers the message to
be @Model.Priority.ToString() priority.</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment