Enable email sender to publish an event if smtp is not configured (#10352)

This commit is contained in:
Mole
2021-06-01 06:41:56 +02:00
committed by GitHub
parent 6b6e16bdbb
commit 40c8bf62f7
6 changed files with 47 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
using Umbraco.Cms.Core.Models;
namespace Umbraco.Cms.Core.Notifications
{
public class SendEmailNotification : INotification
{
public SendEmailNotification(EmailMessage message) => Message = message;
public EmailMessage Message { get; set; }
}
}