Esempio n. 1
0
 private static void CheckConnection(ConnectionSettings settings, PluginProfileErrorCollection errors)
 {
     using (IEmailClient client = new MailBeePop3EmailClient(settings))
     {
         client.CheckConnection(errors);
         client.Disconnect();
     }
 }
Esempio n. 2
0
        public void CheckConnection()
        {
            var client = new MailBeePop3EmailClient(_settings);

            client.CheckConnection(_errors);
        }