An asynchronous IMAP client for iOS.
Objective-C Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Classes
Imap.xcodeproj
.gitignore
IMAPClient.podspec
IMAP_Prefix.pch
README.markdown

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);
			}];
		}];
	}];
}];