Unit mimeinln

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Utilities for inline MIME

Support for Inline MIME encoding and decoding.

Used RFC: RFC-2047, RFC-2231

uses

Overview

Functions and Procedures

function InlineDecode(const Value: string; CP: TMimeChar): string;
function InlineEncode(const Value: string; CP, MimeP: TMimeChar): string;
function NeedInline(const Value: AnsiString): boolean;
function InlineCodeEx(const Value: string; FromCP: TMimeChar): string;
function InlineCode(const Value: string): string;
function InlineEmailEx(const Value: string; FromCP: TMimeChar): string;
function InlineEmail(const Value: string): string;

Description

Functions and Procedures

function InlineDecode(const Value: string; CP: TMimeChar): string;

Decodes mime inline encoding (i.e. in headers) uses target characterset "CP".

function InlineEncode(const Value: string; CP, MimeP: TMimeChar): string;

Encodes string to MIME inline encoding. The source characterset is "CP", and the target charset is "MimeP".

function NeedInline(const Value: AnsiString): boolean;

Returns True, if "Value" contains characters needed for inline coding.

function InlineCodeEx(const Value: string; FromCP: TMimeChar): string;

Inline mime encoding similar to InlineEncode, but you can specify source charset, and the target characterset is automatically assigned.

function InlineCode(const Value: string): string;

Inline MIME encoding similar to InlineEncode, but the source charset is automatically set to the system default charset, and the target charset is automatically assigned from set of allowed encoding for MIME.

function InlineEmailEx(const Value: string; FromCP: TMimeChar): string;

Converts e-mail address to canonical mime form. You can specify source charset.

function InlineEmail(const Value: string): string;

Converts e-mail address to canonical mime form. Source charser it system default charset.


Generated by PasDoc 0.9.0 on 2012-04-23 21:38:51