Indy 9
TIdMessageItem
Hierarchy, Properties, Methods, See Also, Unit: IdMessageCollection
Represents a message item in a message collection.
TIdMessageItem = class(TCollectionItem)
Unit
IdMessageCollection
Description
TIdMessageItem is a TCollectionItem descendant that implements properties and methods needed to represent message items in a TIdMessageCollection container.

TIdMessageItem.Attempt
TIdMessageItem, See Also
Indicates the number of attempts allowed when sending or updating a message item.
property Attempt: Integer;
Description
Attempt is an Integer property that indicates the number of attempts allowed when trying to send or update a message item in the mailbox. Attempt is used when the message item is Queued.

TIdMessageItem.Queued
TIdMessageItem, See Also
Indicates that the message item is queued fro transmission.
property Queued: Boolean;
Description
Queued is a Boolean property that indicates if the message item in the collection has been queued for transmission to a server. Set Attempt to indicate the number of retries allowed during transmission.

TIdMessageItem.Create
TIdMessageItem, See Also
Constructor for the object instance.
constructor Create(Collection: TCollection); override;
Parameters
Collection: TCollection
Collection that owns a message item.
Description
Create is the constructor for the object instance, and relies on the inherited Create method to initialize properties and values. Create also initializes the TIdMessage used in the IdMessage property.

TIdMessageItem.Destroy
TIdMessageItem, See Also
Frees the collection item.
destructor Destroy; override;
Description
Destroy is the destructor for the object instance, and frees resources allocated for the IdMessage property. Destroy calls the inherited Destroy method prior to exiting the method.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.