Skip to content

kevingibbon/IMAPClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An asynchronous IMAP client for iOS.

Resources

Stars

Watchers

Forks

Packages

No packages published