docs

Home All functions Legacy functions Categories

vuGetMailServer()

Clarion prototype

Prototype: vuGetMailServer(*CSTRING OutServer, *LONG OutPort), SIGNED, PROC, PASCAL, RAW, NAME(‘vuGetMailServer’)

Description

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

Preferred function name:

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

Example (Clarion)

rc     LONG
server CSTRING(256)
port   LONG

server = ''
port = 0
rc = vuGetMailServer(server, port)

IF rc = 1
  MESSAGE('SMTP server=' & CLIP(server) & '|Port=' & port)
END
Home All functions Legacy functions Categories