docs

Home All functions Legacy functions Categories

vuGlobalsSetEmailFolder()

vuGlobalsSetEmailFolder(*CSTRING InFolder),SIGNED,PROC,PASCAL,RAW,NAME('vuGlobalsSetEmailFolder')

Purpose

Sets the in-memory EmailFolder path used by vuMailKit.

Parameters

| Parameter | Type | Description | |—|—|—| | InFolder | *CSTRING | Folder path for message output/storage. |

Return value / error codes

Example (Clarion)

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

rc      LONG
folder  CSTRING(520)

folder = 'C:\\Temp\\vuMail'
rc = vuGlobalsSetEmailFolder(folder)
IF rc <> 1
  MESSAGE('vuGlobalsSetEmailFolder failed: ' & rc)
END

Notes

Home All functions Legacy functions Categories