jjzjj

CTConnectionTypeStartTLS

全部标签

ios - 通过 MailCore 连接到谷歌应用程序服务器时遇到问题

我正在尝试通过IMAP连接到GoogleApps电子邮件服务器。我在下面使用的代码,每次尝试连接时都会出现错误:Parseerror有人知道这个错误的来源吗?intport=993;CTCoreAccount*account=[[CTCoreAccountalloc]init];BOOLsuccess=[accountconnectToServer:@"imap.gmail.com"port:portconnectionType:CTConnectionTypeStartTLSauthType:CTImapAuthTypePlainlogin:loginpassword:passwor