docs

Home All functions Legacy functions Categories

vuSetMailServerOAuth()

Clarion prototype

Prototype: vuSetMailServerOAuth(*CSTRING InServer, LONG InPort), SIGNED, PROC, PASCAL, RAW, NAME(‘vuSetMailServerOAuth’)

Purpose

Stores OAuth-specific SMTP host/port settings in the active runtime configuration.

Parameters

| Parameter | Type | Description | |—|—|—| | InServer | *CSTRING | OAuth SMTP server host name. | | InPort | LONG | OAuth SMTP server port. |

Return value / error codes

| Value | Meaning | |—|—| | 1 | Settings saved in runtime state. |

Example (Clarion)

rc      LONG
server  CSTRING(256)
port    LONG

server = 'smtp.office365.com'
port = 587
rc = vuSetMailServerOAuth(server, port)
MESSAGE('vuSetMailServerOAuth rc=' & rc)

Notes

Home All functions Legacy functions Categories