public void SignIn()
{
if (this.clientConnection == null)
return;
//Make sure the client connection's configuration is up to date
clientConnection.UseSSL = useSSL;
clientConnection.UseStartTLS = useTLS;
clientConnection.ConnectServer = connectServer;
clientConnection.AutoResolveConnectServer = autoResolveConnectServer;
clientConnection.Server = serverName;
clientConnection.Username = username;
clientConnection.Password = password;
clientConnection.Port = port;
//Open the connection
clientConnection.Open();
}