vuPOP3SetAuthMode()
Clarion prototype
Prototype: vuPOP3SetAuthMode(LONG InAuthMode), SIGNED, PROC, PASCAL, RAW, NAME(‘vuPOP3SetAuthMode’)
Purpose
Configures POP3 authentication mode used by subsequent POP3 connect operations.
Parameters
| Parameter |
Type |
Description |
| InAuthMode |
LONG |
0 = password authentication, non-zero = OAuth authentication. |
Return value / error codes
| Value |
Meaning |
| 1 |
Auth mode stored successfully. |
Example (Clarion)
mode LONG
rc LONG
mode = 1 ! OAuth
rc = vuPOP3SetAuthMode(mode)
IF rc = 1
MESSAGE('POP3 auth mode now ' & vuPOP3GetAuthMode())
END
Notes
- This setting controls whether POP3 uses password (0) or OAuth (non-zero) during vuPOP3Connect.