MIME Library

Typelibrary
Dictionarylibrary.mime
LibraryMIME Library
Associationscom.livecode.library.mime
Description

This script library implements portions of Multipurpose Internet Mail Extensions (MIME) as described in RFCs 2045 - 2049. Use this library to implement common data formats such as email message bodies and form encoding in HTTP.

TypeNameSummarySyntax
commandmimeEncodeAsMIMEEmail

Create data to be sent as an email

mimeEncodeAsMIMEEmail <pBody>,<pFrom>,<pTo>,<pCc>,<pSubject>,<pAttachmentA>

functionmimeEncodeAsMIMEMultipartDocument

Build a multipart mime content type from an array of pre-encoded content

mimeEncodeAsMIMEMultipartDocument(<pContentA>,<pMultipartType>,<pParamA>)

- - -mimeEncodeFieldAsMIMEMultipartDocument

Generate multipart content from a field control

mimeEncodeFieldAsMIMEMultipartDocument(<pField>)

- - -mimeEncodeForMIMETransfer

Encode data in content transfer encoding

mimeEncodeForMIMETransfer(<pData>,<pEncoding>)

- - -mimeTheExtensionsOfMIMEType

List extensions that match a MIME type or MIME type wildcard pattern

mimeTheExtensionsOfMIMEType(<pMimeType>)

- - -mimeTheMIMETypeOfExtension

Determine the MIME type for a file extension

mimeTheMIMETypeOfExtension(<pExtension>)

- - -mimeTheMIMEVersion

The MIME version this implemented in the library

mimeTheMIMEVersion()

libraryMIME Library

mimeTheMIMEVersion()