TMimePart.DecomposeParts
TMimePart     

procedure DecomposeParts;

Unit
MIMEpart

Description
E-mail message in Lines property is parsed into this object.

E-mail headers is stored in Headers property and is parsed into another properties automaticly. Not need call DecodePartHeader! Content of message (part) is stored into PartBody property. This part is in undecoded form! If you need decode it, then you must call DecodePart method. Lot of another properties is filled also.

Decoding of parts you must call separately due performance reasons. (Not need decode all parts in all reasons.)

For each MIME subpart is created new TMimepart object (accessible via methods GetSubPart).



See also:
Boundary, ComposeParts, ContentID, DecodePartHeader, Description, Disposition, Encoding, EncodingCode, FileName, Headers, Charset, CharsetCode, Lines, PartBody, PostPart, PrePart, Primary, PrimaryCode, Secondary