docs

Home All functions Legacy functions Categories

vuNetSetProxy()

vuNetSetProxy(*CSTRING InProxyHost,LONG InProxyPort),SIGNED,PROC,PASCAL,RAW,NAME('vuNetSetProxy')

Purpose

Sets the proxy host and proxy port used by vuMailKit network operations.

Parameters

| Parameter | Type | Description | |—|—|—| | InProxyHost | *CSTRING | Proxy server host name or IP. | | InProxyPort | LONG | Proxy server port number. |

Return value / error codes

Example (Clarion)

MAP
  MODULE('vuMail.dll')
    vuNetSetProxy(*CSTRING InProxyHost,LONG InProxyPort),SIGNED,PROC,PASCAL,RAW,NAME('vuNetSetProxy')
  END
END

rc      LONG
server  CSTRING(260)
port    LONG

server = 'proxy.example.com'
port = 8080
rc = vuNetSetProxy(server, port)
IF rc <> 1
  MESSAGE('vuNetSetProxy failed: ' & rc)
END

Notes

Home All functions Legacy functions Categories