2017-09-27 14:18:09 +09:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2020-06-28 17:55:27 +09:00
|
|
|
using BTCPayServer.Services.Mails;
|
2017-09-27 14:18:09 +09:00
|
|
|
|
2024-02-21 14:43:44 +01:00
|
|
|
namespace BTCPayServer.Models.ServerViewModels;
|
|
|
|
|
|
|
|
public class ServerEmailsViewModel : EmailsViewModel
|
2017-09-27 14:18:09 +09:00
|
|
|
{
|
2024-02-21 14:43:44 +01:00
|
|
|
[Display(Name = "Allow Stores use the Server's SMTP email settings as their default")]
|
|
|
|
public bool EnableStoresToUseServerEmailSettings { get; set; }
|
2024-01-26 10:28:50 +01:00
|
|
|
|
2024-02-21 14:43:44 +01:00
|
|
|
public ServerEmailsViewModel()
|
|
|
|
{
|
|
|
|
}
|
2024-01-26 10:28:50 +01:00
|
|
|
|
2024-02-21 14:43:44 +01:00
|
|
|
public ServerEmailsViewModel(EmailSettings settings) : base(settings)
|
|
|
|
{
|
2017-10-27 17:53:04 +09:00
|
|
|
}
|
2017-09-27 14:18:09 +09:00
|
|
|
}
|