Unit mimepart
Variáveis
Descrição
MIME part handling
Handling with MIME parts.
Used RFC: RFC-2045
Uses
Visão Geral
Classes, Interfaces, Objetos e Registros
Nome | Descrição |
---|---|
Classe TMimePart |
Object for working with parts of MIME e-mail. |
Funções e Procedimentos
function GenerateBoundary: string; |
Function CreateStringList: TStringList; |
Tipos
THookWalkPart = procedure(const Sender: TMimePart) of object; |
TMimePrimary = (...); |
TMimeEncoding = (...); |
Constantes
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')
); |
Descrição
Funções e Procedimentos
function GenerateBoundary: string; |
Generates a unique boundary string. |
Function CreateStringList: TStringList; |
Generates a stringlist that does not write a BOM character. |
Tipos
THookWalkPart = procedure(const Sender: TMimePart) of object; |
Procedural type for TMimepart.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.) Valores
|
TMimeEncoding = (...); |
The various types of possible part encodings. Valores
|
Constantes
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')
); |
Gerado por PasDoc 0.16.0.