docs

Home All functions Legacy functions Categories

vuSmtpSetAuthMode()

vuSmtpSetAuthMode(LONG InAuthMode),SIGNED,PROC,PASCAL,RAW,NAME('vuSmtpSetAuthMode')

Purpose

Sets SMTP auth mode (0 for password auth, non-zero for OAuth auth).

Parameters

| Parameter | Type | Description | |—|—|—| | InAuthMode | LONG | 0 = password mode, non-zero = OAuth mode. |

Return value / error codes

Example (Clarion)

MAP
  MODULE('vuMail.dll')
    vuSmtpSetAuthMode(LONG InAuthMode),SIGNED,PROC,PASCAL,RAW,NAME('vuSmtpSetAuthMode')
  END
END

rc LONG
rc = vuSmtpSetAuthMode(1)   ! switch to OAuth mode
MESSAGE('vuSmtpSetAuthMode rc=' & rc)

Notes

Home All functions Legacy functions Categories