Skip to content

Initial MCOIMAPSession

tomfriwel edited this page May 11, 2017 · 2 revisions
MCOIMAPSession *imapSession = [[MCOIMAPSession alloc] init];
[imapSession setHostname:HOST_NAME];    // imap.example.com
[imapSession setPort:IMAP_PORT];    // common:993
[imapSession setUsername:USERNAME];
[imapSession setPassword:PASSWORD];
[imapSession setConnectionType:CONNECTION_TYPE];    // MCOConnectionType
Clone this wiki locally