docs

Home All functions Legacy functions Categories

vuMailImportHeader(xName)

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

Example (Clarion)

MAP
  MODULE('vuMail.dll')
    vuMailImportHeader(*CSTRING InFileName),SIGNED,PROC,PASCAL,RAW,NAME('vuMailImportHeader')
  END
END

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