0% found this document useful (0 votes)
12 views1 page

Send Email View

The document contains an HTML form with fields for email recipient and body. The form submits to a SendEmail action on a Students controller using POST.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views1 page

Send Email View

The document contains an HTML form with fields for email recipient and body. The form submits to a SendEmail action on a Students controller using POST.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

@*

For more information on enabling MVC for empty projects, visit


https://go.microsoft.com/fwlink/?LinkID=397860
*@
@model WebApplication1.Models.SendEmailViewModel
@{
}

<form method="post" asp-action="SendEmail" asp-controller="Students">

<div class="form-group">
<h2>Send Email</h2>
</div>
<div class="form-group">
<label asp-for="Recipient" class="control-label"></label>
<input asp-for="Recipient" class="form-control" />
<span asp-validation-for="Recipient" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="Body" class="control-label"></label>
<input asp-for="Body" class="form-control" />
<span asp-validation-for="Body" class="text-danger"></span>
</div>
</form>

You might also like