Hunny Software Library Reference

Pop3Client.Disconnect Method 

Closes the connection to the POP3 server.

[Visual Basic]
Public Sub Disconnect()
[C#]
public void Disconnect();

Remarks

This method closes the connection to the POP3 server.

The correct way to end a POP3 session is to send a QUIT command, which causes the server to perform any necessary closing operations and close the connection. Therefore you should almost always call Quit immediately before you call Disconnect.

You may safely call this method even if the client is not connected.

See Also

Pop3Client Class | Hunny.Mail Namespace | Pop3Client.Quit method