Hunny Software Library Reference

Pop3Client.Capa Method 

Sends the CAPA command.

[Visual Basic]
Public Sub Capa( _
   ByVal lines As LineSink _
)
[C#]
public void Capa(
   LineSink lines
);

Parameters

lines
A delegate for a method that the library calls for each line of the capabilities list.

Remarks

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.

Exceptions

Exception TypeCondition
ExceptionIf a network or protocol error occurs.

See Also

Pop3Client Class | Hunny.Mail Namespace | POP3 CAPA command