mimeEncodeForMIMETransfer

Typefunction
Dictionarylibrary.mime
LibraryMIME Library
Syntax
mimeEncodeForMIMETransfer(<pData>,<pEncoding>)
Associationscom.livecode.library.mime
Summary

Encode data in content transfer encoding

Parameters
NameTypeDescription
pData

The data to be encoded. If the parameter is not binary data then it will be encoded to binary as UTF-8 encoded text before encoding with the requested form.

pEncoding

The encoding to return the data in - "quoted-printable": Quoted printable encoding. Most likely used for text with many ASCII characters - "base64": Base 64 encoding

Example
put tHeaders & crlf & crlf & \
      mimeEncodeForMIMETransfer(tEmailBody, "quoted-printable") into tContentA[1]
Values
NameTypeDescription
return

The encoded data

RelatedFunction: textEncode
Description

Use the mimeEncodeForMIMETransfer function to encode data for transfer