17 lines
590 B
C#
17 lines
590 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
namespace InnovEnergy.Lib.Mailer;
|
|
|
|
|
|
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
|
|
public class MailerConfig
|
|
{
|
|
public required String SmtpServerUrl { get; init; }
|
|
public required String SmtpUsername { get; init; }
|
|
public required String SmtpPassword { get; init; }
|
|
public UInt16 SmtpPort { get; init; } = 587;
|
|
|
|
public required String SenderName { get; init; }
|
|
public required String SenderAddress { get; init; }
|
|
|
|
public const String DefaultFile = $"{nameof(MailerConfig)}.json";
|
|
} |