2020-12-06 10:46:04 +01:00
|
|
|
// Copyright (c) Umbraco.
|
|
|
|
|
// See LICENSE for more details.
|
|
|
|
|
|
2021-07-05 14:27:49 +01:00
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
namespace Umbraco.Cms.Core.Configuration.Models
|
2020-08-20 08:24:23 +01:00
|
|
|
{
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Typed configuration options for content notification settings.
|
|
|
|
|
/// </summary>
|
2020-08-20 08:24:23 +01:00
|
|
|
public class ContentNotificationSettings
|
|
|
|
|
{
|
2021-07-05 14:27:49 +01:00
|
|
|
internal const bool StaticDisableHtmlEmail = false;
|
|
|
|
|
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value for the email address for notifications.
|
|
|
|
|
/// </summary>
|
2020-08-25 10:45:54 +02:00
|
|
|
public string Email { get; set; }
|
2020-08-20 08:24:23 +01:00
|
|
|
|
2020-12-06 10:46:04 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets a value indicating whether HTML email notifications should be disabled.
|
|
|
|
|
/// </summary>
|
2021-07-05 14:27:49 +01:00
|
|
|
[DefaultValue(StaticDisableHtmlEmail)]
|
|
|
|
|
public bool DisableHtmlEmail { get; set; } = StaticDisableHtmlEmail;
|
2020-08-20 08:24:23 +01:00
|
|
|
}
|
|
|
|
|
}
|