EmailAddress

Namespace: Proffer.Email.Internal

A simple email address with its optional display name.

public class EmailAddress : Proffer.Email.IEmailAddress

Inheritance ObjectEmailAddress
Implements IEmailAddress

Properties

Email

Gets or sets the email.

public string Email { get; set; }

Property Value

String

DisplayName

Gets or sets the display name.

public string DisplayName { get; set; }

Property Value

String

Constructors

EmailAddress()

Initializes a new instance of the EmailAddress class.

public EmailAddress()

EmailAddress(String, String)

Initializes a new instance of the EmailAddress class.

public EmailAddress(string email, string displayName)

Parameters

email String
The email.

displayName String
The display name.