| Home | All functions | Legacy functions | Categories |
Prototype: vuSmtpSetSecurity(*CSTRING InUser, *CSTRING InPassword, LONG InSecurityMode, LONG InUseSsl), SIGNED, PROC, PASCAL, RAW, NAME(‘vuSmtpSetSecurity’)
Sets SMTP credentials and security flags used by vuMailKit send operations.
| Parameter | Type | Description | |—|—|—| | InUser | *CSTRING | SMTP login/user ID. | | InPassword | *CSTRING | SMTP password. | | InSecurityMode | LONG | Legacy SMTP security type value. | | InUseSsl | LONG | SSL flag (0 off, non-zero on). |
| Value | Meaning | |—|—| | 1 | Success. |
rc LONG
userId CSTRING(260)
passwd CSTRING(260)
secType LONG
useSSL LONG
userId = 'user@example.com'
passwd = 'app-password'
secType = 1
useSSL = 1
rc = vuSmtpSetSecurity(userId, passwd, secType, useSSL)
IF rc <> 1
MESSAGE('vuSmtpSetSecurity failed: ' & rc)
END
| Home | All functions | Legacy functions | Categories |