Internet Direct (Indy) Version 9.0.1 Beta
TIdMIMEBoundary
Represents MIME boundary markers from RFC message headers.

TIdMIMEBoundary = class
Description
TIdMIMEBoundary is a Class used to detect and handle MIME boundary markers in message headerd for an RFC 822-compliant message. In essence, TIdMIMEBoundary is used as a Stack-based container for MIME boundary markers detected in a "Content-Type" header.

New boundary markers are "added to the the top of the stack, using the Push method, when they are detected during header processing. Like any stack container, TIdMIMEBoundary also has mechanisms to Pop and Clear accumulated values in the boundary marker list.

TIdMIMEBoundary also provides a class function to locate a boundary marker in a given string, FindBoundary, without requiring a realized instance of the class.

An instance of TIdMIMEBoundary is used to represent the MIMEBoundary property in TIdMessage.