start (actual) email auth, add CancellationToken to most async methods
This commit is contained in:
parent
acc54a55bc
commit
344a0071e5
22 changed files with 325 additions and 152 deletions
15
Foxnouns.Backend/Views/Mail/Example.cshtml
Normal file
15
Foxnouns.Backend/Views/Mail/Example.cshtml
Normal file
|
@ -0,0 +1,15 @@
|
|||
@{
|
||||
ViewBag.Heading = "Welcome!";
|
||||
ViewBag.Preview = "Example Email";
|
||||
}
|
||||
|
||||
<p>
|
||||
Let's see what you can build!
|
||||
To render a button inside your email, use the EmailLinkButton component:
|
||||
@await Component.InvokeAsync("EmailLinkButton", new { text = "Click Me!", url = "https://www.google.com" })
|
||||
</p>
|
||||
|
||||
@section links
|
||||
{
|
||||
<a href="https://github.com/jamesmh/coravel">Coravel</a>
|
||||
}
|
3
Foxnouns.Backend/Views/Mail/_ViewImports.cshtml
Normal file
3
Foxnouns.Backend/Views/Mail/_ViewImports.cshtml
Normal file
|
@ -0,0 +1,3 @@
|
|||
@using Foxnouns.Backend
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@addTagHelper *, Coravel.Mailer.ViewComponents
|
3
Foxnouns.Backend/Views/Mail/_ViewStart.cshtml
Normal file
3
Foxnouns.Backend/Views/Mail/_ViewStart.cshtml
Normal file
|
@ -0,0 +1,3 @@
|
|||
@{
|
||||
Layout = "~/Areas/Coravel/Pages/Mail/Template.cshtml";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue