OpenSecurePop3Account (open)
This function will try to login to a secure POP3 server
Syntax
LOADLIB "wh::internet/pop3.whlib";
INTEGER FUNCTION OpenSecurePop3Account(STRING server, INTEGER serverport, STRING username, STRING passwd)Parameters
STRING serverString containing the IP address or hostname of the POP3 mail server
INTEGER serverportInteger of the port of the POP3 mail server
STRING usernameUsername of the account
STRING passwdPassword of the account
Return value
INTEGERID or error code
Description
This function tries to login on a secure POP3 server with a user name and password. When the login is succesful the ID (>0) of the connection is returned. If -1 is returned by the function a wrong password was received. IF -2 is returned there was no connection with the POP3 server.