| Home | All functions | Legacy functions | Categories |
Prototype: vuPOP3Connect(*CSTRING InServer, *CSTRING InUser, *CSTRING InPassword), LONG, PROC, PASCAL, RAW, NAME(‘vuPOP3Connect’)
Connects and authenticates to a POP3 server for subsequent POP3 receive operations.
| Parameter | Type | Description | |—|—|—| | InServer | *CSTRING | POP3 server host name (or IP). | | InUser | *CSTRING | POP3 user/login name. | | InPassword | *CSTRING | POP3 password. |
| Value | Meaning | |—|—| | 0 | Connected successfully. |
rc LONG
host CSTRING(128)
userId CSTRING(128)
password CSTRING(128)
host = 'pop.example.com'
userId = 'user@example.com'
password = 'secret'
rc = vuPOP3Connect(host, userId, password)
IF rc < 0
MESSAGE('POP3 connect failed: ' & rc)
END
| Home | All functions | Legacy functions | Categories |