docs

Home All functions Legacy functions Categories

vuSmtpGetServer()

Description

Gets the outbound SMTP server name and port. (legacy name: vuGetMailServer()).

Previously exported as (legacy name, still supported):

Parameters

Returns

A LONG value indicating the result.

Notes

Values are read from the current vuMailKit session. Call vuGlobalsLoad() first if you want values loaded from the registry.

Example (Clarion)

ROUTINE:Test_vuSmtpGetServer   ROUTINE
  DATA
cServer   CSTRING(256)
ThePort   LONG
RC        LONG

  CODE
  cServer = ''
  ThePort = 0
  RC = vuSmtpGetServer(cServer, ThePort)
  STOP('RC=' & RC & '  Server=' & cServer & '  Port=' & ThePort)
Home All functions Legacy functions Categories