| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| External commands | YES | NO | NO | All |
Note: The flag is set according to whether Omnis was able to make a call to this external command.
This Web command is multi-threaded,allowing another thread to execute in the multi-threaded server while it runs. Note that the same socket cannot safely be used concurrently by more than one thread.
If you are using, or attempting to use, a secure connection to a server, the secure socket layer may return useful error text. When this occurs, the Web command returns the error code -1021. You can use WebDevGetSecureError to return this error text.
Omnis maintains a separate copy of the secure error text, for each thread in the multi-threaded server.
CalculatelServeras'my.pop3.server'
CalculatelUserNameas'myusername'
CalculatelPasswordas'mypassword'
POP3Connect(lServer,lUserName,lPassword,"",)ReturnsiSocket
IfiSocket=-1021WebDevGetSecureErrorReturnslSecureErrorText
End If