Internet |
public abstract class InternetAddress : IComparable<InternetAddress>, IEquatable<InternetAddress>
The InternetAddress type exposes the following members.
Name | Description | |
---|---|---|
InternetAddress | Initialize a new instance of the InternetAddress class. |
Name | Description | |
---|---|---|
Encoding | Get or set the character encoding to use when encoding the name of the address. | |
Name | Get or set the display name of the address. |
Name | Description | |
---|---|---|
Clone | Clone the address. | |
CompareTo | Compares two internet addresses. | |
Equals(InternetAddress) | Determine whether the specified InternetAddress is equal to the current InternetAddress. | |
Equals(Object) |
Determine whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object)) | |
Finalize | (Inherited from Object) | |
GetHashCode |
Return the hash code for this instance.
(Overrides ObjectGetHashCode) | |
GetType | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) | |
OnChanged | Raise the internal changed event used by MimeMessage to keep headers in sync. | |
Parse(Byte) | Parse the given input buffer into a new InternetAddress instance. | |
Parse(String) | Parse the given text into a new InternetAddress instance. | |
Parse(Byte, Int32) | Parse the given input buffer into a new InternetAddress instance. | |
Parse(ParserOptions, Byte) | Parse the given input buffer into a new InternetAddress instance. | |
Parse(ParserOptions, String) | Parse the given text into a new InternetAddress instance. | |
Parse(Byte, Int32, Int32) | Parse the given input buffer into a new InternetAddress instance. | |
Parse(ParserOptions, Byte, Int32) | Parse the given input buffer into a new InternetAddress instance. | |
Parse(ParserOptions, Byte, Int32, Int32) | Parse the given input buffer into a new InternetAddress instance. | |
ToString |
Serialize an InternetAddress to a string suitable for display.
(Overrides ObjectToString) | |
ToString(Boolean) | Serialize an InternetAddress to a string, optionally encoding it for transport. | |
ToString(FormatOptions, Boolean) | Serialize an InternetAddress to a string, optionally encoding it for transport. | |
TryParse(Byte, InternetAddress) | Try to parse the given input buffer into a new InternetAddress instance. | |
TryParse(String, InternetAddress) | Try to parse the given text into a new InternetAddress instance. | |
TryParse(Byte, Int32, InternetAddress) | Try to parse the given input buffer into a new InternetAddress instance. | |
TryParse(ParserOptions, Byte, InternetAddress) | Try to parse the given input buffer into a new InternetAddress instance. | |
TryParse(ParserOptions, String, InternetAddress) | Try to parse the given text into a new InternetAddress instance. | |
TryParse(Byte, Int32, Int32, InternetAddress) | Try to parse the given input buffer into a new InternetAddress instance. | |
TryParse(ParserOptions, Byte, Int32, InternetAddress) | Try to parse the given input buffer into a new InternetAddress instance. | |
TryParse(ParserOptions, Byte, Int32, Int32, InternetAddress) | Try to parse the given input buffer into a new InternetAddress instance. |
An InternetAddress can be any type of address defined by the original Internet Message specification.
There are effectively two (2) types of addresses: mailboxes and groups.
Mailbox addresses are what are most commonly known as email addresses and are represented by the MailboxAddress class.
Group addresses are themselves lists of addresses and are represented by the GroupAddress class. While rare, it is still important to handle these types of addresses. They typically only contain mailbox addresses, but may also contain other group addresses.