Exemple #1
0
        public static GMailClient Connect(string email, string password)
        {
            var gMailClient = new GMailClient();

            ((MailClient)gMailClient).Connect(email, password);
            return(gMailClient);
        }
Exemple #2
0
        private static GMailClient CreateClient(string email, string password)
        {
            var client = GMailClient.Connect(email, password);

            return(client);
        }
Exemple #3
0
        public static void DeleteMessages(string email, string password)
        {
            var client = GMailClient.Connect(email, password);

            client.DeleteAll();
        }