feat: email verification via smtp

This commit is contained in:
2026-03-06 20:10:07 -05:00
parent d21265f443
commit 95da3f9543
19 changed files with 773 additions and 3 deletions
@@ -0,0 +1,23 @@
using System.ComponentModel.DataAnnotations;
namespace SharpbinV3.Server.Settings
{
public class EmailSettings
{
[MaxLength(256)]
public string Host { get; set; } = string.Empty;
[Range(1, 65535)]
public int Port { get; set; } = 587;
[MaxLength(256)]
public string User { get; set; } = string.Empty;
[MaxLength(256)]
public string Password { get; set; } = string.Empty;
[EmailAddress]
public string From { get; set; } = string.Empty;
public string Verification_HMAC_Secret { get; set; } = string.Empty;
}
}