| Home | All functions | Legacy functions | Categories |
vuSetMailServerOAuth(*CSTRING InServer,LONG InPort),SIGNED,PROC,PASCAL,RAW,NAME('vuSetMailServerOAuth')
Stores OAuth-specific SMTP host/port settings in the active runtime configuration.
| Parameter | Type | Description | |—|—|—| | InServer | *CSTRING | OAuth SMTP server host name. | | InPort | LONG | OAuth SMTP server port. |
1: Settings saved in runtime state.MAP
MODULE('vuMail.dll')
vuSetMailServerOAuth(*CSTRING InServer,LONG InPort),SIGNED,PROC,PASCAL,RAW,NAME('vuSetMailServerOAuth')
END
END
rc LONG
server CSTRING(256)
port LONG
server = 'smtp.office365.com'
port = 587
rc = vuSetMailServerOAuth(server, port)
MESSAGE('vuSetMailServerOAuth rc=' & rc)
1.vuSmtpSetAuthMode(1)) when routing SMTP sends through OAuth settings.| Home | All functions | Legacy functions | Categories |