LumiSoft Mail Server User API
AddressList Class
Namespaces > LumiSoft.Net.Mime > AddressList
Rfc 2822 3.4 address-list. Rfc defines two types of addresses mailbox and group.

address-list syntax: address *("," address).

address syntax: mailbox / group.

mailbox syntax: ['"'dispaly-name'"' ]<localpart@domain>.

group syntax: '"'dispaly-name'":' [mailbox *(',' mailbox)]';'.
Syntax

C# | Visual Basic | Managed C++

    public class AddressList : IEnumerable

    Public Class AddressList _
    	Implements IEnumerable

    public ref class AddressList : IEnumerable

Members

All Members | Constructors | Methods | Properties | Fields | Events
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| AddressList New() | Default constructor.
| Add(Address) | Adds a new address to the end of the collection.
| Clear() | Clears the collection of all addresses.
| Count | Gets address count in the collection.
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetEnumerator() | Gets enumerator.
| GetHashCode() | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
| GetType() | Gets the Type of the current instance. (Inherited from Object.)
| Insert(Int32, Address) | Inserts a new address into the collection at the specified location.
| Item(Int32) | Gets address from specified index.
| Mailboxes | Gets all mailbox addresses. Note: group address mailbox addresses are also included.
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.)
| Parse(String) | Parses address-list from string.
| Remove(Int32) | Removes address at the specified index from the collection.
| Remove(Address) | Removes specified address from the collection.
| ToAddressListString() | Convert addresses to Rfc 2822 address-list string.
| ToString() | Returns a String that represents the current Object. (Inherited from Object.)

Inheritance Hierarchy

Object
| AddressList

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)