iphone - MailCore SMTP Invalid Server Certificate -


i have issue mailcore2 (ios) connection smtp.live.com smtp server.
there not problems connecting pop3.live.com, smtp.gmail.com or smtp.mail.yahoo.com.

here settings

[_sessionsmtp sethostname:@"smtp.live.com"]; [_sessionsmtp setusername:@"mytestmail@outlook.com"]; [_sessionsmtp setpassword:@"mytestpassword1"]; [_sessionsmtp setport:587]; [_sessionsmtp setconnectiontype:mcoconnectiontypestarttls]; [_sessionsmtp setauthtype:mcoauthtypesaslplain]; [_sessionsmtp setuseheloipenabled:yes];  mcosmtpoperation *op = [_sessionsmtp checkaccountoperationwithfrom:                        [mcoaddress addresswithmailbox:@"mytestmail@outlook.com"]];     [op start:^(nserror *error) {         nslog(@"error = %@",error);     }]; 

i get:

error domain=mcoerrordomain code=4 "the certificate server invalid."  

are there special requirements live mail ? know mailcore can use live's smtp server since sparrow doing this.

kind regards,
john

you can use openssl connect smtp.live.com:587, proceed smtp, issue starttls, , view certificate chain: openssl s_client -starttls smtp -crlf -connect smtp.live.com:587 certificate chain looks fine me: . looks certificate using signed globalsign. i'm wondering if there setting needs made in mailcore specify globalsign trusted ca.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -