docs

Home All functions Legacy functions Categories

vuGlobalsGetEmailFolder(xFolder)

Clarion prototype

Prototype: vuGlobalsGetEmailFolder(*CSTRING OutFolder), SIGNED, PROC, PASCAL, RAW, NAME(‘vuGlobalsGetEmailFolder’)

Purpose

Copies the current runtime EmailFolder (save folder) path into a caller-provided buffer.

Parameters

| Parameter | Type | Description | |—|—|—| | OutFolder | *CSTRING | Caller-provided output buffer that receives the current folder path. |

Return value / error codes

| Value | Meaning | |—|—| | 1 | Success. |

Example (Clarion)

folder CSTRING(520)
rc     LONG

CLEAR(folder)
rc = vuGlobalsGetEmailFolder(folder)
IF rc = 1
  MESSAGE('Email folder=' & folder)
ELSE
  MESSAGE('vuGlobalsGetEmailFolder failed: ' & vuMailLastError())
END

Notes

Home All functions Legacy functions Categories