Title: Mail problem
Last modified: January 3, 2019

---

# Mail problem

 *  Resolved [deepwhite](https://wordpress.org/support/users/deepwhite/)
 * (@deepwhite)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/mail-problem-6/)
 * Error message
 * Versions:
    WordPress: 5.0.2 WordPress MS: No PHP: 5.6.31 WP Mail SMTP: 1.4.1
 * Params:
    Mailer: smtp Constants: No ErrorInfo: SMTP connect() failed. [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
   Host: deep-white.com.tw Port: 465 SMTPSecure: ssl SMTPAutoTLS: bool(true) SMTPAuth:
   bool(true)
 * Server:
    OpenSSL: OpenSSL 1.0.1e-fips 11 Feb 2013 Apache.mod_security: No SMTP
   Debug: 2019-01-03 02:28:40 Connection: opening to ssl://deep-white.com.tw:465,
   timeout=300, options=array ( ) 2019-01-03 02:28:40 Connection: opened 2019-01-
   03 02:28:40 SERVER -> CLIENT: 220-spring.safesugar.net ESMTP Exim 4.91 #1 Thu,
   03 Jan 2019 02:28:40 +0000 220-We do not authorize the use of this system to 
   transport unsolicited, 220 and/or bulk e-mail. 2019-01-03 02:28:40 CLIENT -> 
   SERVER: EHLO [http://www.deep-white.com.tw](http://www.deep-white.com.tw) 2019-
   01-03 02:28:40 SERVER -> CLIENT: 250-spring.safesugar.net Hello [http://www.deep-white.com.tw](http://www.deep-white.com.tw)[
   198.177.127.2] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-AUTH PLAIN LOGIN
   250 HELP 2019-01-03 02:28:40 CLIENT -> SERVER: AUTH LOGIN 2019-01-03 02:28:40
   SERVER -> CLIENT: 334 VXNlcm5hbWU6 2019-01-03 02:28:40 CLIENT -> SERVER: c2VydmljZXNAZGVlcC13aGl0ZS5jb20udHc
   = 2019-01-03 02:28:40 SERVER -> CLIENT: 334 UGFzc3dvcmQ6 2019-01-03 02:28:40 
   CLIENT -> SERVER: X15fZjkhQH5LRm05 2019-01-03 02:28:42 SERVER -> CLIENT: 535 
   Incorrect authentication data 2019-01-03 02:28:42 SMTP ERROR: Password command
   failed: 535 Incorrect authentication data 2019-01-03 02:28:42 SMTP Error: Could
   not authenticate. 2019-01-03 02:28:42 CLIENT -> SERVER: QUIT 2019-01-03 02:28:
   42 SERVER -> CLIENT: 221 spring.safesugar.net closing connection 2019-01-03 02:
   28:42 Connection: closed 2019-01-03 02:28:42 SMTP connect() failed. [https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmail-problem-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/mail-problem-6/#post-11047601)
 * Hi,
 * From the output above:
 * > SMTP ERROR: Password command failed: Incorrect authentication data
 * Check your email/password pair.
    Consider using constants to set the password
   in `wp-config.php` instead of storing it in DB.
 *  [anugrahdimas](https://wordpress.org/support/users/anugrahdimas/)
 * (@anugrahdimas)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/mail-problem-6/#post-11216460)
 * Hi [@slaffik](https://wordpress.org/support/users/slaffik/) ,
 * I also have the same problem. Does the wp-config passsword also need to be replaced?
   What is the effect?
 * Thank’s

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

The topic ‘Mail problem’ 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [anugrahdimas](https://wordpress.org/support/users/anugrahdimas/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/mail-problem-6/#post-11216460)
 * Status: resolved