| Home | All functions | Legacy functions | Categories |
Gets the outbound SMTP server name and port. (legacy name: vuGetMailServer()).
Previously exported as (legacy name, still supported):
xServer (CSTRING) - Receives the SMTP server host name.xPort (LONG) - Receives the SMTP server port.A LONG value indicating the result.
Values are read from the current vuMailKit session. Call vuGlobalsLoad() first if you want values loaded from the registry.
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 |