docs

Home All functions Legacy functions Categories

vuMailExport(xFilePath)

Clarion prototype

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

Purpose

Writes the currently loaded in-process message to an RFC822 .eml file.

Parameters

Return value / error codes

Value Meaning
0 Success.
-1 Blank file path or no message currently loaded.
-2 Write/open failure or other exception.

Example (Clarion)

rc LONG
path CSTRING(260)
path = 'C:\Temp\exported.eml'
rc = vuMailExport(path)
IF rc <> 0
  MESSAGE('Export failed code ' & rc & ': ' & vuMailLastError())
END

Notes

Home All functions Legacy functions Categories