docs

Home All functions Legacy functions Categories

vuSetMailSecurity()

Clarion prototype

Prototype: vuSetMailSecurity(*CSTRING InUser, *CSTRING InPassword, LONG InSecurityMode, LONG InUseSsl), SIGNED, PROC, PASCAL, RAW, NAME(‘vuSetMailSecurity’)

Description

This is the legacy vuMail function name.

Preferred function name:

This function is exported for backward compatibility and behaves identically to vuSmtpSetSecurity().

Example (Clarion)

rc       LONG
userName CSTRING(256)
password CSTRING(256)

userName = 'sender@example.com'
password = 'app-password-or-smtp-password'

rc = vuSetMailSecurity(userName, password, 1, 1)
IF rc = 0
  MESSAGE('SMTP security was not accepted: ' & vuMailLastError())
END
Home All functions Legacy functions Categories