List of Address.
AddressList class is a container class that holds Address objects which, in turn can be a Group or a Mailbox.
const char* str = "dest@domain.com, friends: one@friends.net, "
"two@friends.net;, last@users.com";
AddressList::const_iterator bit(aList.begin()), eit(aList.end());
for(; bit != eit; ++bit)
{
if(adr.isGroup())
cout << *adr.group();
else
cout << *adr.mailbox();
}
List of Address.
Definition addresslist.h:39
Address class as defined by RFC822.
Definition address.h:33
- See also
- RFC822