mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-04-05 18:09:04 +00:00
* Add email functionality * Add email template project and rendering service * Update email template dir structure * Add email header and footer components for user registration template * update example env * Refactor email templates namespace and components * Format email dir
19 lines
616 B
C#
19 lines
616 B
C#
namespace Infrastructure.Email.Templates.Rendering;
|
|
|
|
/// <summary>
|
|
/// Service for rendering Razor email templates to HTML.
|
|
/// </summary>
|
|
public interface IEmailTemplateProvider
|
|
{
|
|
/// <summary>
|
|
/// Renders the UserRegisteredEmail template with the specified parameters.
|
|
/// </summary>
|
|
/// <param name="username">The username to include in the email</param>
|
|
/// <param name="confirmationLink">The email confirmation link</param>
|
|
/// <returns>The rendered HTML string</returns>
|
|
Task<string> RenderUserRegisteredEmailAsync(
|
|
string username,
|
|
string confirmationLink
|
|
);
|
|
}
|