Internet Direct (Indy) Version 9.0.2 Beta
TIdMessageDecoder.Headers
Represents the RFC message headers in an RFC-822 compliant message part .

property Headers: TStrings;
Description
Headers is a read-only TStrings property that represents the RFC message headers in an RFC-822 compliant message part. Headers is used by TIdMessageDecoder descendants to store the header values parsed from the RFC message part.

Headers will contain a TStrings representation of header names and values that orignate in RFC-822 form. For example, the following RFC-822 message header is stored in a Headers in the following form:

    RFC-822 Message Header   Content-Transfer-Encoding: base64
    Header representation    Content-Transfer-Encoding=base64
  

Use TStrings methods and properties to access Header values in TIdMessageDecoder.