ibec_MimeEncode

Encodes a string with MIME Base64.

Syntax

 function ibec_mime_Encode(Str : string) : string;

Description

Encodes a string with MIME Base64. The only difference between ibec_mime_Encode and ibec_mime_EncodeNoCRLF is that the first one adds line breaks (CRLF) during Mime encoding as required by RFC 2045.

Example

 ...
 s = 'My data';
 sBase64 = ibec_mime_Encode(s);
 ...
 s = ibec_mime_Decode(sBase64);
 ...

See also:
ibec_mime_EncodeNoCRLF
ibec_mime_Decode
ibec_mime_CreateMessage
ibec_mime_FreeMessage
ibec_mime_GetAttachmentCount
ibec_mime_GetAttachmentFileName
ibec_mime_GetAttachmentData

back to top of page
<< JSON namespace | IBEBlock | ibec_mime_EncodeNoCRLF >>