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

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

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

            client.DeleteAll();
        }