Title: Cannot connect client outlook email
Last modified: August 11, 2021

---

# Cannot connect client outlook email

 *  Resolved [sfblack](https://wordpress.org/support/users/sfblack/)
 * (@sfblack)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/cannot-connect-client-outlook-email/)
 * Hi
    Trying to set up the plug in for a client using the other SMTP setting. They
   don’t want to go for the pro version that handles Outlook. I have never had any
   issues setting up before when I use gmail accounts. We have use the correct email
   user and password and have authentication on at the email hosting.
 * This is the error I am getting. Can you tell me where we are going wrong?
 *     ```
       Versions:
       WordPress: 5.8
       WordPress MS: No
       PHP: 7.3.29
       WP Mail SMTP: 3.0.3
   
       Params:
       Mailer: smtp
       Constants: No
       ErrorInfo: SMTP Error: Could not authenticate.
       Host: SMTP.office365.com
       Port: 587
       SMTPSecure: tls
       SMTPAutoTLS: bool(true)
       SMTPAuth: bool(true)
   
       Server:
       OpenSSL: OpenSSL 1.1.1d 10 Sep 2019
       Apache.mod_security: No
   
       Debug:
       Email Source: WP Mail SMTP
       Mailer: Other SMTP
       SMTP Error: Could not authenticate.
   
       SMTP Debug:
       2021-08-11 10:26:24 Connection: opening to SMTP.office365.com:587, timeout=300, options=array()
   
       2021-08-11 10:26:24 Connection: opened
   
       2021-08-11 10:26:24 SERVER -> CLIENT: 220 LO2P265CA0209.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 11 Aug 2021 10:26:24 +0000
   
       2021-08-11 10:26:24 CLIENT -> SERVER: EHLO www.ic.bcmdev3.co.uk
   
       2021-08-11 10:26:24 SERVER -> CLIENT: 250-LO2P265CA0209.outlook.office365.com Hello [77.72.4.162]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
   
       2021-08-11 10:26:24 CLIENT -> SERVER: STARTTLS
   
       2021-08-11 10:26:24 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
   
       2021-08-11 10:26:24 CLIENT -> SERVER: EHLO www.ic.bcmdev3.co.uk
   
       2021-08-11 10:26:24 SERVER -> CLIENT: 250-LO2P265CA0209.outlook.office365.com Hello [77.72.4.162]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
   
       2021-08-11 10:26:24 CLIENT -> SERVER: AUTH LOGIN
   
       2021-08-11 10:26:24 SERVER -> CLIENT: 334 VXNlcm5hbWU6
   
       2021-08-11 10:26:24 CLIENT -> SERVER: [credentials hidden]
   
       2021-08-11 10:26:24 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
   
       2021-08-11 10:26:24 CLIENT -> SERVER: [credentials hidden]
   
       2021-08-11 10:26:29 SERVER -> CLIENT: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [LO2P265CA0209.GBRP265.PROD.OUTLOOK.COM]
   
       2021-08-11 10:26:29 SMTP ERROR: Password command failed: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [LO2P265CA0209.GBRP265.PROD.OUTLOOK.COM]
   
       SMTP Error: Could not authenticate.
   
       2021-08-11 10:26:29 CLIENT -> SERVER: QUIT
   
       2021-08-11 10:26:29 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
   
       2021-08-11 10:26:29 Connection: closed
   
       SMTP Error: Could not authenticate.
       ```
   

Viewing 1 replies (of 1 total)

 *  [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * (@sanzeeb3)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/cannot-connect-client-outlook-email/#post-14760379)
 * Hi [@sfblack](https://wordpress.org/support/users/sfblack/),
 * Thanks for reaching out. According to the log:
 * `2021-08-11 10:26:29 SMTP ERROR: Password command failed: 535 5.7.139 Authentication
   unsuccessful, the request did not meet the criteria to be authenticated successfully.
   Contact your administrator.`
 * There’s a security policy within your account that isn’t allowing you to authenticate.
   Probably your account has SMTP Authentication disabled, you can check this [tutorial to enable SMTP authentication](https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission#use-the-microsoft-365-admin-center-to-enable-or-disable-smtp-auth-on-specific-mailboxes)
   and/or contact your Office 365 administrator to look into your account issues.
 * Just a note, SMTP host is usually written as `smtp.office365.com`, you don’t 
   need to write SMTP in capital letters.
 * I hope this helps!

Viewing 1 replies (of 1 total)

The topic ‘Cannot connect client outlook email’ is closed to new replies.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sanjeev Aryal](https://wordpress.org/support/users/sanzeeb3/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/cannot-connect-client-outlook-email/#post-14760379)
 * Status: resolved