Integrate the BlazorEmail library with AWS Simple Email Service (SES) to send templated emails easily.

Example

var emailRenderer = new BlazorEmailRenderer(serviceProvider);
var emailHtml = await emailRenderer.RenderEmail<EmailTemplate>(emailParams =>
    emailParams.Add(x => x.EmailTitle, "Your Subject Here"));

// Send the rendered email using AWS SES
await awsSesClient.SendEmailAsync(new SendEmailRequest
{
    Source = "your-email@example.com",
    Destination = new Destination { ToAddresses = new List<string> { "recipient@example.com" } },
    Message = new Message
    {
        Subject = new Content("Your Subject Here"),
        Body = new Body { Html = new Content(emailHtml) }
    }
});