Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter TwelveInternet Functions (continued)

POPGetMessageHeader Function

Overview

The POPGetMessageHeader function retrieves a message header from the POP server in the form of a string.

Syntax/Parameters

Syntax

string = POPGetMessageHeader ( handle hPOP, int position );

Parameters

hPOP

A handle to a POP3 connection established with the POPConnect function.

position

An int specifying the message position.

Return Value

Returns a string containing the MIME email message header or an empty string on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

POPGetMessageHeader retrieves only the message header from the server in the form of a MIME encoded string. The MIME Object can be used to extract property information from the message using the MIMEOpen function.

POPGetMessage can be used to retrieve the complete message.

The message position is used to download the message. The highest position will be the latest message.

Related Functions

Platform Support

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

Legato IDE, Legato Basic