0 votes

Hi,

I am using POP3 and IMap in one application.

The IMap and Pop3 class both implement the Close method, but this is not available from the ClientBase class.

Would it be possible to make it available from the ClientBase class so that it will be client independed. The Client.Dispose is already available in the ClientBase class or does the Client.Dispose already perform a Client.Close?

Also the method ConnectSSL is available in ClientBase but not Connect and UseBestLogin is that also possible to make them available from the ClientBase?

Thanks in advance.
Martijn

by (750 points)

1 Answer

0 votes

Dispose doesn't perform Close. This is because Close sends QUIT or CLOSE command to the server and may not return immediately. There are situations where user might close the connection and dispose the class without issuing quit command. Close performs Dispose however.

The IMap and Pop3 class both implement the Close method, but this is not available from the ClientBase class. Would it be possible to make it available from the ClientBase class so that it will be client independed.

Also the method ConnectSSL is available in ClientBase but not Connect and UseBestLogin is that also possible to make them available from the ClientBase?

At this point we don't have plans to change that, but we'll think about it in future releases.

by (297k points)
...