Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An asynchronous IMAP client for iOS.
Objective-C Ruby
branch: master

README.markdown

IMAPClient

An asynchrounous IMAP client for iOS.

Usage

IMAP* imap = [[IMAP alloc] init];
[imap connect: @"imap.gmail.com" port: 993 callback: ^(bool connected, NSError *error){
    [imap login: @"fakeuser@gmail.com" password: @"fakepass" callback: ^(NSString* response){
        [imap select: @"[Gmail]/All Mail" callback: ^(NSString* response){
            [imap fetch: @"200" fields: @"(body[header.fields (from to subject date)])" callback: ^(NSString* message){
                NSLog(@"%@", message);
            }];
        }];
    }];
}];
Something went wrong with that request. Please try again.