docs

Home All functions Legacy functions Categories

vuMailImportHeader(xName)

Clarion prototype

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

Purpose

Loads only the header block from an email file and stores those headers in the legacy in-process message state.

Parameters

Return value / error codes

| Value | Meaning | |—|—| | 0 | Success. | | -1 | Blank filename. | | -2 | File not found or parse/open error. | | -3 | File is empty. |

Example (Clarion)

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

Notes

Home All functions Legacy functions Categories