Email is now Built-in! (#2635)

This commit is contained in:
Joe Milazzo 2024-01-20 11:16:54 -06:00 committed by GitHub
parent 2a539da24c
commit a85644fb6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 5129 additions and 1047 deletions

View file

@ -0,0 +1,10 @@
namespace Skeleton.DTOs;
public record ConfirmationEmailDto
{
public string InvitingUser { get; init; }
public string EmailAddress { get; init; }
public string ServerConfirmationLink { get; init; }
public string InstallId { get; init; }
}

View file

@ -0,0 +1,9 @@
namespace Skeleton.DTOs;
public class EmailMigrationDto
{
public string EmailAddress { get; init; }
public string ServerConfirmationLink { get; init; }
public string Username { get; init; }
public string InstallId { get; init; }
}

View file

@ -0,0 +1,15 @@
using System.Collections.Generic;
namespace Skeleton.DTOs;
public class EmailOptionsDto
{
public IList<string> ToEmails { get; set; }
public string Subject { get; set; }
public string Body { get; set; }
public IList<KeyValuePair<string, string>> PlaceHolders { get; set; }
/// <summary>
/// Filenames to attach
/// </summary>
public IList<string> Attachments { get; set; }
}

View file

@ -0,0 +1,8 @@
namespace Skeleton.DTOs;
public class PasswordResetDto
{
public string EmailAddress { get; init; }
public string ServerConfirmationLink { get; init; }
public string InstallId { get; init; }
}