Class NotificationEmailAddress
Represents an email address used for notifications. Contains both the address and its display name.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.Email
Assembly: Umbraco.Core.dll
Syntax
public class NotificationEmailAddress
Constructors
View SourceNotificationEmailAddress(string, string)
Initializes a new instance of the NotificationEmailAddress class.
Declaration
public NotificationEmailAddress(string address, string displayName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | address | The email address. |
| string | displayName | The display name for the email address. |
Properties
View SourceAddress
Gets the email address.
Declaration
public string Address { get; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Gets the display name for the email address.
Declaration
public string DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| string |