| Home | All functions | Legacy functions | Categories |
Prototype: vuSmtpGetSecurity(*CSTRING OutUser, *CSTRING OutPassword, *LONG OutSecurityMode, *LONG OutUseSsl), SIGNED, PROC, PASCAL, RAW, NAME(‘vuSmtpGetSecurity’)
Reads SMTP credentials and security flags from vuMailKit runtime globals.
| Parameter | Type | Description | |—|—|—| | OutUser | *CSTRING | Output buffer receiving SMTP login/user ID. | | OutPassword | *CSTRING | Output buffer receiving SMTP password. | | OutSecurityMode | *LONG | Receives legacy SMTP security type value. | | OutUseSsl | *LONG | Receives SSL flag (0 off, non-zero on). |
| Value | Meaning | |—|—| | 1 | Success. |
rc LONG
userId CSTRING(260)
passwd CSTRING(260)
secType LONG
useSSL LONG
CLEAR(userId)
CLEAR(passwd)
secType = 0
useSSL = 0
rc = vuSmtpGetSecurity(userId, passwd, secType, useSSL)
IF rc = 1
MESSAGE('User=' & userId & ' SecType=' & secType & ' SSL=' & useSSL)
ELSE
MESSAGE('vuSmtpGetSecurity failed: ' & rc)
END
| Home | All functions | Legacy functions | Categories |