docs

Home All functions Legacy functions Categories

vuSetMailServer()

Clarion prototype

Prototype: vuSetMailServer(*CSTRING InServer, LONG InPort), SIGNED, PROC, PASCAL, RAW, NAME(‘vuSetMailServer’)

Description

This is the legacy vuMail function name for vuSmtpSetServer().

Preferred function name:

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

Example (Clarion)

rc     LONG
server CSTRING(256)

server = 'smtp.example.com'
rc = vuSetMailServer(server, 587)

IF rc = 0
  MESSAGE('SMTP server was not accepted: ' & vuMailLastError())
END
Home All functions Legacy functions Categories