# Unit mimepart

Description | uses | Classes, Interfaces and Objects | Functions and Procedures | Types | Constants | Variables

## Description

MIME part handling

Handling with MIME parts.

Used RFC: RFC-2045

## Classes, Interfaces and Objects

Name | Description
--- | ---
Class `TMimePart` | Object for working with parts of MIME e-mail.

## Functions and Procedures

### Overview

`function NormalizeHeader(Value: TStrings; var Index: Integer): string;`
`function GenerateBoundary: string;`

### Description

`function GenerateBoundary: string;`

Generates a unique boundary string.

`function NormalizeHeader(Value: TStrings; var Index: Integer): string;`

Read header from "Value" stringlist beginning at "Index" position. If header is Splitted into multiple lines, then this procedure de-split it into one line.

## Types

Name | Description
--- | ---
THookWalkPart | Procedural type for WalkPart hook . This hook is used for easy walking through MIME subparts.
TMimePrimary`` | The four types of MIME parts. (textual, multipart, message or any other binary data.) MP_TEXT: MP_MULTIPART: MP_MESSAGE: MP_BINARY:
TMimeEncoding`` | The various types of possible part encodings. ME_7BIT: ME_8BIT: ME_QUOTED_PRINTABLE: ME_BASE64: ME_UU: ME_XX:

## Constants

Name | Description
--- | ---
MaxMimeType`= 25;` |
MimeType`: array[0..MaxMimeType, 0..2] of string = ( ('AU', 'audio', 'basic'), ('AVI', 'video', 'x-msvideo'), ('BMP', 'image', 'BMP'), ('DOC', 'application', 'MSWord'), ('EPS', 'application', 'Postscript'), ('GIF', 'image', 'GIF'), ('JPEG', 'image', 'JPEG'), ('JPG', 'image', 'JPEG'), ('MID', 'audio', 'midi'), ('MOV', 'video', 'quicktime'), ('MPEG', 'video', 'MPEG'), ('MPG', 'video', 'MPEG'), ('MP2', 'audio', 'mpeg'), ('MP3', 'audio', 'mpeg'), ('PDF', 'application', 'PDF'), ('PNG', 'image', 'PNG'), ('PS', 'application', 'Postscript'), ('QT', 'video', 'quicktime'), ('RA', 'audio', 'x-realaudio'), ('RTF', 'application', 'RTF'), ('SND', 'audio', 'basic'), ('TIF', 'image', 'TIFF'), ('TIFF', 'image', 'TIFF'), ('WAV', 'audio', 'x-wav'), ('WPD', 'application', 'Wordperfect5.1'), ('ZIP', 'application', 'ZIP') );` |

Generated by PasDoc 0.8.8.2 on 2005-01-19 20:01:18