docs

Home All functions Legacy functions Categories

vuSmtpGetAuthMode()

Clarion prototype

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

Purpose

Reads the current SMTP authentication mode from runtime globals.

Return value / error codes

| Value | Meaning | |—|—| | 0 | Password-based SMTP mode. | | 1 | OAuth SMTP mode. |

Example (Clarion)

mode LONG
mode = vuSmtpGetAuthMode()
IF mode = 1
  MESSAGE('SMTP auth mode is OAuth')
ELSE
  MESSAGE('SMTP auth mode is password')
END

Notes

Home All functions Legacy functions Categories