Indy 9
|
TIdMailBox = class(TIdBaseComponent)
TIdMailBox can also indicate dynamic information, such as message numbers found that meet some search criteria, or a list messages that have been marked for deletion in the mailbox.
TIdMailBox is the type used to represent the TIdIMAP4.MailBox property, and is updated when the IMAP4 client performs a Select, Examine, or Status operation using the IMAP4 protocol.
property Attributes: TIdMailBoxAttributes;
property ChangeableFlags: TIdMessageFlagsSet;
property FirstUnseenMsg: LongInt;
property Flags: TIdMessageFlagsSet;
property MessageList: TIdMessageCollection;
property Name: String;
property RecentMsgs: LongInt;
property State: TIdMailBoxState;
msReadWrite indicates that the currently selected mailbox allows creating new messages, updating message flags and attributes, and deletion of messasges.
msReadOnly indicates that the currently select mailbox will nbot allow updates to the IMAP mailbox.
property TotalMsgs: LongInt;
property UIDNext: String;
UIDNext is updatd when the IMAP4 client executes the TIdIMAP4.StatusMailBox method.
property UIDValidity: String;
UIDValidity is updatd when the IMAP4 client executes the TIdIMAP4.StatusMailBox method, or when a new mailbox is selected using TIdIMAP4.SelectMailBox.
property UnseenMsgs: LongInt;
procedure Clear; virtual;
Clear also removes the contents of the DeleteMsgs, SearchResult, and MessageList container properties.
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;