TIdMessageItem
Represents a message item in a message collection.
TIdMessageItem = class(TCollectionItem)
Unit
Description
TIdMessageItem is a TCollectionItem descendant that implements properties and methods needed to represent message items in a
TIdMessageCollection container.
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.
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.
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.
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.