> Recently a client has migrated all email accounts to send mail > using office365 server. > Now my programs can't send email using that server. Always get > "Error=535 5.7.3 Authentication unsuccessful" > I tried many options but always get error 553.
The limited information in the log appears to show the server connects correctly with SSL, with authentication fails, which is most likely a bad login or password. The AUTH command has worked for many years, unlikely to be a problem with it. Exactly which version of ICS are you using? Anything related to SSL really needs the latest versions of everything since it changes so often. ICS will send email using Microsoft hotmail.com, live.com, outlook.com, although this appears to be more modern server than office365.com since it also supports XOAUTH2 (which we don't). < 220 BLU436-SMTP187.smtp.hotmail.com Microsoft ESMTP MAIL Service, Version: 8.0.9200.16384 ready at Fri, 6 May 2016 00:26:27 -0700 08:26:28 - SMTP Session Connected to 65.55.176.126:25 > EHLO PC20 < 250-BLU436-SMTP187.smtp.hotmail.com Hello [82.33.197.157] < 250-TURN < 250-SIZE 41943040 < 250-ETRN < 250-PIPELINING < 250-DSN < 250-ENHANCEDSTATUSCODES < 250-8bitmime < 250-BINARYMIME < 250-CHUNKING < 250-VRFY < 250-TLS < 250-STARTTLS < 250 OK > STARTTLS < 220 2.0.0 SMTP server ready Starting SSL handshake 08:26:28 - smtp.live.com 3 SSL Certificates in the verify chain: Depth #1 Verify Result: No error found for this certificate. Issued to: *.hotmail.com, Microsoft Corporation Alt Domains: *.hotmail.com, *.live.com, *.outlook.com, hotmail.com Issuer: GlobalSign Organization Validation CA - SHA256 - G2, GlobalSign nv-sa Expires: 15/12/2016, Signature: sha256WithRSAEncryption Public Key: rsaEncryption 2048 bits Depth #2 Verify Result: No error found for this certificate. Issued to: GlobalSign Organization Validation CA - SHA256 - G2, GlobalSign nv-sa Issuer: GlobalSign Root CA, GlobalSign nv-sa Expires: 20/02/2024, Signature: sha256WithRSAEncryption Public Key: rsaEncryption 2048 bits Depth #3 Verify Result: No error found for this certificate. Issued to: GlobalSign Root CA, GlobalSign nv-sa Issuer: Self Signed Expires: 28/01/2028, Signature: sha1WithRSAEncryption Public Key: rsaEncryption 2048 bits SSL Connected OK with TLSv1.2, cipher ECDHE-RSA-AES256-SHA384, key exchange ECDH, encryption AES(256), message authentication SHA384 > EHLO PC20 08:26:28 - New SSL Session < 250-BLU436-SMTP187.smtp.hotmail.com Hello [82.33.197.157] < 250-TURN < 250-SIZE 41943040 < 250-ETRN < 250-PIPELINING < 250-DSN < 250-ENHANCEDSTATUSCODES < 250-8bitmime < 250-BINARYMIME < 250-CHUNKING < 250-VRFY < 250-AUTH LOGIN PLAIN XOAUTH2 < 250 OK > AUTH LOGIN < 334 xXNlxm5xbWx6 > bWFnx3lzQxxpdmUxY29t < 334 Uxxzcxdxcmx6 > cxdxcxRxNw== < 235 2.7.0 Authentication succeeded Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
