Enable email sender to publish an event if smtp is not configured (#10352)
This commit is contained in:
11
src/Umbraco.Core/Notifications/SendEmailNotification.cs
Normal file
11
src/Umbraco.Core/Notifications/SendEmailNotification.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user