namespace FoodsharingSiegen.Contracts.Model
{
///
/// Configuration settings for the mail service.
///
public class MailSettings
{
///
/// Gets or sets the SMTP server host.
///
public string Host { get; set; } = string.Empty;
///
/// Gets or sets the SMTP port.
///
public int Port { get; set; } = 587;
///
/// Gets or sets the username for SMTP authentication.
///
public string Username { get; set; } = string.Empty;
///
/// Gets or sets the password for SMTP authentication.
///
public string Password { get; set; } = string.Empty;
///
/// Gets or sets the sender address.
///
public string FromAddress { get; set; } = string.Empty;
///
/// Gets or sets whether to use SSL/TLS connection.
///
public bool UseSsl { get; set; } = true;
}
}