docs

Home All functions Legacy functions Categories

vuClearMailLog()

Clarion prototype

Prototype: vuClearMailLog(), SIGNED, PROC, PASCAL, RAW, NAME(‘vuClearMailLog’)

Description

Clears the current legacy sent-mail CSV log file.

The file cleared is the mail log selected by:

This function is intentionally separate from diagnostics logging. It does not clear the diagnostics log or diagnostics log.

Parameters

This function takes no parameters.

Return value

Value Meaning
1 if the mail log was cleared, or if no mail log file is currently configured.
0 if the log file could not be cleared. Call vuMailLastError() for details.

Notes

Date,Time,From,To,Subject,SavedEmailPath,ResultText

Example (Clarion)

Result SIGNED

Result = vuClearMailLog()
IF Result = 0
  MESSAGE('Could not clear mail log: ' & vuMailLastError())
END
Home All functions Legacy functions Categories