Title: Test Email errors
Last modified: January 18, 2018

---

# Test Email errors

 *  Resolved [dt123](https://wordpress.org/support/users/dt123/)
 * (@dt123)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/test-email-errors/)
 * Hi. I am getting the following error. I am using other and have tried with both
   office365.com and smtp-mail.outlook.com smtp user accounts – using kb setup settings.
   Error seems to be consistent in pointing to “password command failed”. Ideas 
   to try next? Thanks
 * Versions:
    WordPress: 4.9.2 WordPress MS: No PHP: 7.0.27 WP Mail SMTP: 1.2.2
 * Params:
    Mailer: smtp Constants: No ErrorInfo: SMTP connect() failed. [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
   Host: smtp-mail.outlook.com Port: 587 SMTPSecure: tls SMTPAutoTLS: bool(true)
   SMTPAuth: bool(true)
 * Server:
    OpenSSL: Yes SMTP Debug: 2018-01-18 21:05:01 Connection: opening to 
   smtp-mail.outlook.com:587, timeout=300, options=array ( ) 2018-01-18 21:05:01
   Connection: opened 2018-01-18 21:05:01 SERVER -> CLIENT: 220 DM5PR2201CA0034.
   outlook.office365.com Microsoft ESMTP MAIL Service ready at Thu, 18 Jan 2018 
   21:05:00 +0000 2018-01-18 21:05:01 CLIENT -> SERVER: EHLO [http://www.mysalus.org](http://www.mysalus.org)
   2018-01-18 21:05:01 SERVER -> CLIENT: 250-DM5PR2201CA0034.outlook.office365.com
   Hello [77.104.136.213] 250-SIZE 157286400 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES
   250-STARTTLS 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250 SMTPUTF8 2018-01-18
   21:05:01 CLIENT -> SERVER: STARTTLS 2018-01-18 21:05:01 SERVER -> CLIENT: 220
   2.0.0 SMTP server ready 2018-01-18 21:05:01 CLIENT -> SERVER: EHLO [http://www.mysalus.org](http://www.mysalus.org)
   2018-01-18 21:05:01 SERVER -> CLIENT: 250-DM5PR2201CA0034.outlook.office365.com
   Hello [77.104.136.213] 250-SIZE 157286400 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES
   250-AUTH LOGIN XOAUTH2 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250 SMTPUTF8 
   2018-01-18 21:05:01 CLIENT -> SERVER: AUTH LOGIN 2018-01-18 21:05:01 SERVER -
   > CLIENT: 334 VXNlcm5hbWU6 2018-01-18 21:05:01 CLIENT -> SERVER: ZHMudGhvbUBvdXRsb29rLmNvbQ
   == 2018-01-18 21:05:01 SERVER -> CLIENT: 334 UGFzc3dvcmQ6 2018-01-18 21:05:01
   CLIENT -> SERVER: S2VlcG1lMHV0IQ== 2018-01-18 21:05:07 SERVER -> CLIENT: 535 
   5.7.3 Authentication unsuccessful [DM5PR2201CA0034.namprd22.prod.outlook.com]
   2018-01-18 21:05:07 SMTP ERROR: Password command failed: 535 5.7.3 Authentication
   unsuccessful [DM5PR2201CA0034.namprd22.prod.outlook.com] 2018-01-18 21:05:07 
   SMTP Error: Could not authenticate. 2018-01-18 21:05:07 CLIENT -> SERVER: QUIT
   2018-01-18 21:05:07 SERVER -> CLIENT: 221 2.0.0 Service closing transmission 
   channel 2018-01-18 21:05:07 Connection: closed 2018-01-18 21:05:07 SMTP connect()
   failed. [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [dt123](https://wordpress.org/support/users/dt123/)
 * (@dt123)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/test-email-errors/#post-9879585)
 * Mystery solved. Hosting issue. They (siteground) had to open port for office 
   365.
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/test-email-errors/#post-9880738)
 * Awesome, thanks for sharing.
 *  [tom4fortis](https://wordpress.org/support/users/tom4fortis/)
 * (@tom4fortis)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/test-email-errors/#post-10089861)
 * Hi, i’m having some weird issues with sending mail as well, although SiteGround
   is saying they’re not sure why it’s not working. What did you say to them?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Test Email errors’ 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [tom4fortis](https://wordpress.org/support/users/tom4fortis/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/test-email-errors/#post-10089861)
 * Status: resolved