Class EmailMessage.EmailAddress
Represents an email address.
Inheritance
object
EmailMessage.EmailAddress
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 |
---|
string |
Gets or sets the email address.
Declaration
public string Email { get; set; }
Property Value
Type |
---|
string |