namespace Koogle.Infrastructure.Configuration; /// /// SMTP configuration for email sending (global settings). /// public class SmtpSettings { public const string SectionName = "SmtpSettings"; /// /// Host name of the SMTP server. /// public string Host { get; set; } = string.Empty; /// /// Port number (default: 587 for TLS). /// public int Port { get; set; } = 587; /// /// Username for SMTP authentication. /// public string Username { get; set; } = string.Empty; /// /// Password for SMTP authentication. /// public string Password { get; set; } = string.Empty; /// /// Use SSL/TLS encryption. /// public bool UseSsl { get; set; } = true; /// /// Default sender email if club has none configured. /// public string DefaultSenderEmail { get; set; } = string.Empty; /// /// Default sender display name. /// public string DefaultSenderName { get; set; } = "KOOGLE"; /// /// Enable/disable email sending globally. /// public bool Enabled { get; set; } = true; }