Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter SixFile Functions (continued)

MIMEGetProperties Function

Overview

The MIMEGetProperties function returns a string table containing parameter names and values from the object’s header.

Syntax/Parameters

Syntax

string[][] = MIMEGetProperties ( handle hMIME );

Parameters

hMIME

A handle for a MIME Object created with the MIMEOpen function.

Return Value

Returns a string table containing a name for each entry within the MIME Object or an empty array on failure. Use the GetLastError function to retrieve error information.

Remarks

The parameters are loaded in the table in the order they are read from the MIME Object. Parameter names are not unique and in the case of an email message it is not uncommon to have multiples of fields such as ‘Received’.

The table consists of a row for each entry and a column 0 as the key ‘Name’ and column 1 and the key ‘Value’.

Each type of parameter may have addition encoding and parameters within the data.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic