docs

Home All functions Legacy functions Categories

vuSetMailServerOAuth()

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

Example (Clarion)

MAP
  MODULE('vuMail.dll')
    vuSetMailServerOAuth(*CSTRING InServer,LONG InPort),SIGNED,PROC,PASCAL,RAW,NAME('vuSetMailServerOAuth')
  END
END

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