Class EmailMessage.EmailAddress
Represents an email address.
Inherited Members
Namespace: DataWeb.Email
Assembly: DataWeb.Core.dll
Syntax
public class EmailMessage.EmailAddress
Constructors
EmailAddress()
Initializes a new instance of the EmailAddress class.
Declaration
public EmailAddress()
EmailAddress(string, string)
Initializes a new instance of the EmailAddress class with the specified email and display name.
Declaration
public EmailAddress(string email, string displayName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | The email address. |
|
| string | displayName | The display name associated with the email address. |
Properties
DisplayName
Gets or sets the display name associated with the email address.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Gets or sets the email address.
Declaration
public string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| string |