An ENVELOPE structure is an optional data item in an IMAP4 FETCH response. The structure contains information obtained from the header fields of a message stored on the server. EnvelopeData contains accessor functions to access the fields of the ENVELOPE structure.
Public Member Functions | |
| EnvelopeData () | |
| Default constructor. | |
| EnvelopeData (const EnvelopeData &other) | |
| Copy constructor. | |
| virtual | ~EnvelopeData () |
| Destructor. | |
| EnvelopeData & | operator= (const EnvelopeData &other) |
| Assignment operator. | |
| const char * | Date () const |
| Gets the value of the Date header field. | |
| const char * | Subject () const |
| Gets the value of the Subject header field. | |
| const char * | InReplyTo () const |
| Gets the value of the In-Reply-To header field. | |
| const char * | MessageId () const |
| Gets the value of the Message-ID header field. | |
| unsigned | NumFrom () const |
| Gets the number of From addresses. | |
| const AddressData & | From (unsigned index) const |
| Gets the From address at the specified position. | |
| unsigned | NumSender () const |
| Gets the number of Sender addresses. | |
| const AddressData & | Sender (unsigned index) const |
| Gets the Sender address at the specified position. | |
| unsigned | NumReplyTo () const |
| Gets the number of Reply-To addresses. | |
| const AddressData & | ReplyTo (unsigned index) const |
| Gets the Reply-To address at the specified position. | |
| unsigned | NumTo () const |
| Gets the number of To addresses. | |
| const AddressData & | To (unsigned index) const |
| Gets the To address at the specified position. | |
| unsigned | NumCc () const |
| Gets the number of Cc addresses. | |
| const AddressData & | Cc (unsigned index) const |
| Gets the Cc address at the specified position. | |
| unsigned | NumBcc () const |
| Gets the number of Bcc addresses. | |
| const AddressData & | Bcc (unsigned index) const |
| Gets the Bcc address at the specified position. | |
| void | ImportData (const ListItem *root) |
| Called by the parser to set the data for this object. | |
|
|
Default constructor. |
|
|
Copy constructor.
|
|
|
Destructor. |
|
|
Gets the Bcc address at the specified position. The parameter index must satisfy the constraint index < NumBcc().
|
|
|
Gets the Cc address at the specified position. The parameter index must satisfy the constraint index < NumCc().
|
|
|
Gets the value of the Date header field.
|
|
|
Gets the From address at the specified position. The parameter index must satisfy the constraint index < NumFrom().
|
|
|
Called by the parser to set the data for this object. Only the parser should call this function.
|
|
|
Gets the value of the In-Reply-To header field.
|
|
|
Gets the value of the Message-ID header field.
|
|
|
Gets the number of addresses in the Bcc header field.
|
|
|
Gets the number of addresses in the Cc header field.
|
|
|
Gets the number of addresses in the From header field.
|
|
|
Gets the number of addresses in the Reply-To header field.
|
|
|
Gets the number of addresses in the Sender header field.
|
|
|
Gets the number of addresses in the To header field.
|
|
|
Assignment operator.
|
|
|
Gets the Reply-To address at the specified position. The parameter index must satisfy the constraint index < NumReplyTo().
|
|
|
Gets the Sender address at the specified position. The parameter index must satisfy the constraint index < NumSender().
|
|
|
Gets the value of the Subject header field.
|
|
|
Gets the To address at the specified position. The parameter index must satisfy the constraint index < NumTo().
|
Copyright © 2001-2005 Hunny Software, Inc. All rights reserved.