Indy 9 | Content | Index | Reference

TIdStreamType
See Also, Unit: IdSMTPServer
Indicates the class type for an associated TStream descendant.

    TIdStreamType = (stFileStream, stMemoryStream);

Unit
IdSMTPServer
Description
TIdStreamType is an enumerated type that indicates the TStream descendant class type to be used in procedures, functions, and methods that allow use of file- or memory-based streams when reading or writing stream content. TIdStreamType may contain one of the following values and associated meanings:

- stFileStream - The associated stream is a TFileStream instance.

- stMemoryStream - The associated stream is a TMemoryStream instance.

TIdStreamType is the type used to represent the TIdSMTPServer.RawStreamType property, and allows the TIdSMTPServer to determine the stream class type to create when capturing mail data from a threaded SMTP client connection.

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