docs

Home All functions Legacy functions Categories

vuMailImport(xFilePath)

Clarion prototype

Prototype: vuMailImport(*CSTRING InFileName), SIGNED, PROC, PASCAL, RAW, NAME(‘vuMailImport’)

Purpose

Loads an RFC822 message file and stores it as the current legacy in-process message.

Parameters

Return value / error codes

Value Meaning
0 Success.
-1 Blank file path.
-2 File not found or read/parse error.
-3 File exists but is empty.

Example (Clarion)

rc LONG
src CSTRING(260)
src = 'C:\Temp\inbound.eml'
rc = vuMailImport(src)
IF rc <> 0
  MESSAGE('Import failed code ' & rc & ': ' & vuMailLastError())
END

Notes

Home All functions Legacy functions Categories