docs

Home All functions Legacy functions Categories

vuMailImport(xFilePath)

Purpose

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

Parameters

Return value / error codes

Example (Clarion)

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

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