2017-09-27 07:18:09 +02:00
|
|
|
|
using BTCPayServer.Services.Mails;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc.Rendering;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace BTCPayServer.Models.ServerViewModels
|
|
|
|
|
{
|
|
|
|
|
public class EmailsViewModel
|
|
|
|
|
{
|
2017-10-27 10:53:04 +02:00
|
|
|
|
public string StatusMessage
|
|
|
|
|
{
|
|
|
|
|
get; set;
|
|
|
|
|
}
|
|
|
|
|
public EmailSettings Settings
|
|
|
|
|
{
|
|
|
|
|
get; set;
|
|
|
|
|
}
|
2019-03-03 23:27:03 +01:00
|
|
|
|
|
2017-10-27 10:53:04 +02:00
|
|
|
|
[EmailAddress]
|
2019-03-03 23:27:03 +01:00
|
|
|
|
[Display(Name = "Test Email")]
|
2017-10-27 10:53:04 +02:00
|
|
|
|
public string TestEmail
|
|
|
|
|
{
|
|
|
|
|
get; set;
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-09-27 07:18:09 +02:00
|
|
|
|
}
|