MailAddress Class

Represents the address of a message.
Inheritance Hierarchy

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
[SerializableAttribute]
public class MailAddress : IMailAddress

The MailAddress type exposes the following members.

Constructors
  NameDescription
Public methodMailAddress(String)
Initializes a new instance of the MailAddress class.
Public methodMailAddress(String, Boolean)
Initializes a new instance of the MailAddress class.
Public methodMailAddress(String, String)
Initializes a new instance of the MailAddress class.
Public methodMailAddress(String, String, Boolean)
Initializes a new instance of the MailAddress class.
Public methodMailAddress(String, String, Encoding)
Initializes a new instance of the MailAddress class.
Public methodMailAddress(String, String, Encoding, Boolean)
Initializes a new instance of the MailAddress class.
Properties
  NameDescription
Public propertyAddress
Gets or sets the e-mail address.
Public propertyCount
Contains count of mail addresses.
Public propertyDisplayName
Gets or sets a display name.
Public propertyHost
Gets the host portion of the address.
Public propertyId
Gets object identification information
Public propertyItem
Gets the element at the specified index.
Public propertyOriginalAddressString
Gets or sets the original e-mail address string.
Public propertyParticipationStatus
Gets or sets the participation status for the calendar user.
Public propertyUser
Gets the username.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Operators
See Also