Class SendEmailNotification
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class SendEmailNotification : INotification
Constructors
View SourceSendEmailNotification(NotificationEmailModel, String)
Declaration
public SendEmailNotification(NotificationEmailModel message, string emailType)
Parameters
Type | Name | Description |
---|---|---|
NotificationEmailModel | message | |
System.String | emailType |
Properties
View SourceEmailType
Some metadata about the email which can be used by handlers to determine if they should handle the email or not
Declaration
public string EmailType { get; }
Property Value
Type | Description |
---|---|
System.String |
IsHandled
Returns true if the email sending is handled.
Declaration
public bool IsHandled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Message
Declaration
public NotificationEmailModel Message { get; }
Property Value
Type | Description |
---|---|
NotificationEmailModel |
Methods
View SourceHandleEmail()
Call to tell Umbraco that the email sending is handled.
Declaration
public void HandleEmail()