Dacons LLP Mailit for C/C++ | Version 1.0.8 |
Emai::ContactList Class ReferenceEmaiContactList wrapper class.ContactList is an object which simplifies operations with contacts (From, To, Cc etc) in message object. More...
Inheritance diagram for Emai::ContactList: ![]()
Detailed DescriptionEmaiContactList wrapper class.ContactList is an object which simplifies operations with contacts (From, To, Cc etc) in message object.
Definition at line 82 of file EmaiMessage.hpp. Member Function Documentation
Adds a contact to the contact list.
Definition at line 623 of file EmaiMessage.hpp. References Emai::CheckErrorCode(), EmaiContactListAddContact(), and Emai::Object< EmaiContactList >::mObject. Referenced by Emai::MessagePartEnumerator::ProcessContacts(). 00628 { 00629 CheckErrorCode(EmaiContactListAddContact(mObject, inName, inAddress, 00630 NULL, inOptions)); 00631 }
Retrieves the number of records in contact list.
Definition at line 634 of file EmaiMessage.hpp. References Emai::CheckErrorCode(), EmaiContactListGetCount(), and Emai::Object< EmaiContactList >::mObject. 00637 { 00638 EmaiUint32 count = 0; 00639 CheckErrorCode(EmaiContactListGetCount(mObject, &count, inOptions)); 00640 return count; 00641 }
Extracts friendly contact name from the contact list, at the specified index.
Definition at line 644 of file EmaiMessage.hpp. References Emai::CheckErrorCode(), EmaiContactListGetContactName(), EmaiErrIncorrectParameter, and Emai::Object< EmaiContactList >::mObject. 00648 { 00649 EmaiConstUniCharPtr name = EmaiContactListGetContactName(mObject, 00650 inIndex, inOptions); 00651 if (name == NULL) 00652 CheckErrorCode(EmaiErrIncorrectParameter); 00653 00654 return name; 00655 }
Extracts e-mail address from the contact list, at the specified index.
Definition at line 658 of file EmaiMessage.hpp. References Emai::CheckErrorCode(), EmaiContactListGetContactAddress(), EmaiErrIncorrectParameter, and Emai::Object< EmaiContactList >::mObject. 00662 { 00663 EmaiConstUniCharPtr address = EmaiContactListGetContactAddress(mObject, 00664 inIndex, inOptions); 00665 if (address == NULL) 00666 CheckErrorCode(EmaiErrIncorrectParameter); 00667 00668 return address; 00669 }
The documentation for this class was generated from the following file: |