| Home | All functions | Legacy functions | Categories |
Sets the outbound SMTP server name and port. (legacy name: vuSetMailServer()).
Previously exported as (legacy name, still supported):
xServer (CSTRING) - SMTP server host name or IP.xPort (LONG) - SMTP server port.A LONG value indicating the result.
This sets the values stored in the current vuMailKit session. Use vuGlobalsSave() if you want to persist them to the registry.
ROUTINE:Test_vuSmtpSetServer ROUTINE
DATA
cServer CSTRING(256)
ThePort LONG
RC LONG
CODE
cServer = 'smtp.example.com'
ThePort = 587
RC = vuSmtpSetServer(cServer, ThePort)
STOP('RC=' & RC)
| Home | All functions | Legacy functions | Categories |