Sends the CAPA command.
The CAPA command queries the server for a list of its capabilities -- that is, a list of optional features that the server supports.
The server's response is a multiple line response. To get the listing of server capabilities, you must have a method that the library calls for each line of the server's response. You provide this method as a delegate in the lines parameter. Each line of the response contains a keyword that indicates an optional feature supported by the server.
Note: The CAPA command is an optional command that may not be implemented by all POP3 servers. If a server does not implement the CAPA command, it returns a failure reply code.
| Exception Type | Condition |
|---|---|
| Exception | If a network or protocol error occurs. |
Pop3Client Class | Hunny.Mail Namespace | POP3 CAPA command