diff --git a/BTCPayServer/Services/Mails/EmailSettings.cs b/BTCPayServer/Services/Mails/EmailSettings.cs index 07d77aef0..c3cdef8a3 100644 --- a/BTCPayServer/Services/Mails/EmailSettings.cs +++ b/BTCPayServer/Services/Mails/EmailSettings.cs @@ -10,6 +10,7 @@ namespace BTCPayServer.Services.Mails { public class EmailSettings { + [Display(Name = "SMTP Server")] public string Server { get; set; diff --git a/BTCPayServer/Views/Shared/EmailsBody.cshtml b/BTCPayServer/Views/Shared/EmailsBody.cshtml index 56dd5ceb4..c3a3913da 100644 --- a/BTCPayServer/Views/Shared/EmailsBody.cshtml +++ b/BTCPayServer/Views/Shared/EmailsBody.cshtml @@ -1,57 +1,114 @@ @model BTCPayServer.Models.ServerViewModels.EmailsViewModel - +
+ +
+
+ +

+
+
+ +
- +
- +
- + + + Some email providers (like Gmail) don't allow you to set your display name, so this setting may not have any effect. +
- +
- + + + For many email providers (like Gmail) your login is your email address. +
- +
- +
- + + + If you want to test your settings, enter an email address here and click "Send Test Email". Your settings won't be saved, only a test email will be sent. After a successful test, you can click "Save". +
- +