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)]';'.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("See LumiSoft.Net.MIME or LumiSoft.Net.Mail namepaces for replacement.")] public class AddressList : IEnumerable
<ObsoleteAttribute("See LumiSoft.Net.MIME or LumiSoft.Net.Mail namepaces for replacement.")> Public Class AddressList Implements IEnumerable
[ObsoleteAttribute(L"See LumiSoft.Net.MIME or LumiSoft.Net.Mail namepaces for replacement.")] public ref class AddressList : IEnumerable
[<ObsoleteAttribute("See LumiSoft.Net.MIME or LumiSoft.Net.Mail namepaces for replacement.")>] type AddressList = class interface IEnumerable end
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
AddressList()()()() |
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) | (Inherited from Object.) | |
Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator()()()() |
Gets enumerator.
| |
GetHashCode()()()() | Serves as a hash function for a particular type. (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 (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119