Question

It may not be a question per se, but anyhow, here is the problem:

I read that:

iOS7 connects fine on ports 25, 366, 110, and 143. It does not connect on ports 465, 993, and 995. discussed here

So my emailing app that uses MailCore 1.0 to check gmail, a Mac/iOS framework for working with the e-mail protocols IMAP and SMTP link to mailcore stopped working since gmail imap is on 993 port.

Any workarounds? I would really appreciate.

CTCoreAccount *account = [[CTCoreAccount alloc] init];
BOOL success = [account connectToServer:@"imap.gmail.com"
                                   port:993
                         connectionType:CTConnectionTypeTLS
                               authType:CTImapAuthTypePlain
                                  login:appDelegate.delMyEmail
                               password:appDelegate.delPassword
                ];

this is what I use to connect to gmail imap, it does not connect, it returns success=NO;

account last error returns: domain:@"mailcore" - code:9

SOLVED by recompiling my app on XCode5.1

Was it helpful?

Solution

SOLVED by recompiling my app on XCode5.1

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top