Method POP3Client():setConnectionSecurity() Professional

Configures secure communication with the server.

Syntax
:setConnectionSecurity( <cSecurity> ) --> lSuccess
Parameters
<cSecurity>
The parameter <cSecurity> is a character string which determines how secure communication occurs between the POP3 server and the client. Valid security specifiers are "tls" and "none".
Return

The return value is .T. (true) if the connection security can be configured and .F. (false) in case of an error.

Description

With the method :setConnectionSecurity(), an encrypted connection to the POP3 server can be requested. This is done by assigning the string "tls" to the <cSecurity> parameter, in which case an SSL negotiation occurs right after the connection to the server. If the string "none" is assigned to <cSecurity>, SSL is not used and all communication is unencrypted.

By default, the connection security is determined by the port specified when calling the method :new(). This default can be overridden with the method :setConnectionSecurity(), for example, for using SSL with non-standard ports.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.