Hi @chandersbs.
There was a bug with using constants. Could you please update to 1.4.0 and check again?
We were not properly processing settings, when you enabled constants and the password before actually saving anything in the database using plugin options page.
Should be resolved in the newest version.
Let me know.
Thread Starter
Navin
(@chandersbs)
Still getting this error, I removed the password from the wp-config file and tested, still nothing :/
Versions:
WordPress: 4.9.8
WordPress MS: No
PHP: 7.2.10-0ubuntu0.18.04.1
WP Mail SMTP: 1.4.0
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: domain.xyz
Port: 25
SMTPSecure: string(0) “”
SMTPAutoTLS: bool(false)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.1.0g 2 Nov 2017
Apache.mod_security: No
SMTP Debug:
2018-11-30 12:13:38 Connection: opening to domain.xyz:25, timeout=300, options=array (
)
2018-11-30 12:15:48 Connection: opened
2018-11-30 12:15:48 SERVER -> CLIENT: 220 domain.xyz ESMTP Postal/CUI4IX
2018-11-30 12:15:48 CLIENT -> SERVER: EHLO domain.app
2018-11-30 12:15:48 SERVER -> CLIENT: 250-My capabilities are
250 AUTH CRAM-MD5 PLAIN LOGIN
2018-11-30 12:15:48 CLIENT -> SERVER: AUTH CRAM-MD5
2018-11-30 12:15:48 SERVER -> CLIENT: 334 PDIxMTQzYjNkYmIwZmViODViZDM0QGJrbWxyLnh5ej4=
2018-11-30 12:15:48 CLIENT -> SERVER: YmttbHIva21scmFwcCA0YjYyMWMyZGU1NTcxNTU4MWRkODYyYTEwMGJkZjgwNQ==
2018-11-30 12:15:48 SERVER -> CLIENT: 535 Denied
2018-11-30 12:15:48 SMTP ERROR: Username command failed: 535 Denied
2018-11-30 12:15:48 SMTP Error: Could not authenticate.
2018-11-30 12:15:48 CLIENT -> SERVER: QUIT
2018-11-30 12:15:48 SERVER -> CLIENT: 221 Closing Connection
2018-11-30 12:15:48 Connection: closed
2018-11-30 12:15:48 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Does your password have a backslash \ or any other special (non-aplhanumeric) characters?
1.4.0 has an issue with it, will be fixed next week.
Thread Starter
Navin
(@chandersbs)
Hello,
The username has a / (forward slash).
I tried this today again using the latest version (1.4.1), not working.
The password has numbers and letters (some of the letters are in caps).
This is before I hardcoded the pw in the wp-config file:
Versions:
WordPress: 4.9.8
WordPress MS: No
PHP: 7.2.10-0ubuntu0.18.04.1
WP Mail SMTP: 1.4.1
Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: domain.xyz
Port: 25
SMTPSecure: string(0) “”
SMTPAutoTLS: bool(false)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.1.0g 2 Nov 2017
Apache.mod_security: No
SMTP Debug:
2018-12-05 16:29:40 Connection: opening to domain.xyz:25, timeout=300, options=array (
)
2018-12-05 16:31:51 Connection: opened
2018-12-05 16:31:51 SERVER -> CLIENT: 220 domain.xyz ESMTP Postal/YOFSVD
2018-12-05 16:31:51 CLIENT -> SERVER: EHLO domain.app
2018-12-05 16:31:52 SERVER -> CLIENT: 250-My capabilities are
250 AUTH CRAM-MD5 PLAIN LOGIN
2018-12-05 16:31:52 CLIENT -> SERVER: AUTH CRAM-MD5
2018-12-05 16:31:52 SERVER -> CLIENT: 334 PDQ3MTMwZmY3MjU5ZWFjNDY2OWQwQGJrbWxyLnh5ej4=
2018-12-05 16:31:52 CLIENT -> SERVER: YmttbHIva21scmFwcCA1ZWZiNjMzM2ZjMzA3MzVjZGY2NzRkZjY0MTU2NGQ2ZA==
2018-12-05 16:31:52 SERVER -> CLIENT: 535 Denied
2018-12-05 16:31:52 SMTP ERROR: Username command failed: 535 Denied
2018-12-05 16:31:52 SMTP Error: Could not authenticate.
2018-12-05 16:31:52 CLIENT -> SERVER: QUIT
2018-12-05 16:31:52 SERVER -> CLIENT: 221 Closing Connection
2018-12-05 16:31:52 Connection: closed
2018-12-05 16:31:52 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
And this is after I hardcoded the pw in the wp-config file:
Versions:
WordPress: 4.9.8
WordPress MS: No
PHP: 7.2.10-0ubuntu0.18.04.1
WP Mail SMTP: 1.4.1
Params:
Mailer: smtp
Constants: Yes
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: domain.xyz
Port: 25
SMTPSecure: string(0) “”
SMTPAutoTLS: bool(false)
SMTPAuth: bool(true)
Server:
OpenSSL: OpenSSL 1.1.0g 2 Nov 2017
Apache.mod_security: No
SMTP Debug:
2018-12-05 20:10:11 Connection: opening to domain.xyz:25, timeout=300, options=array (
)
2018-12-05 20:12:21 Connection: opened
2018-12-05 20:12:21 SERVER -> CLIENT: 220 domain.xyz ESMTP Postal/ZXEBMI
2018-12-05 20:12:21 CLIENT -> SERVER: EHLO domain.app
2018-12-05 20:12:21 SERVER -> CLIENT: 250-My capabilities are
250 AUTH CRAM-MD5 PLAIN LOGIN
2018-12-05 20:12:21 CLIENT -> SERVER: AUTH CRAM-MD5
2018-12-05 20:12:21 SERVER -> CLIENT: 334 PDQ0ZTQzNmY3YzA3NTcyOWNiNmMzQGJrbWxyLnh5ej4=
2018-12-05 20:12:21 CLIENT -> SERVER: YmttbHIva21scmFwcCA1MjRmOTAxMjRkMjU2ZDRhOTBmYmRkNGUyNDgyODUzNg==
2018-12-05 20:12:21 SERVER -> CLIENT: 535 Denied
2018-12-05 20:12:21 SMTP ERROR: Username command failed: 535 Denied
2018-12-05 20:12:21 SMTP Error: Could not authenticate.
2018-12-05 20:12:21 CLIENT -> SERVER: QUIT
2018-12-05 20:12:21 SERVER -> CLIENT: 221 Closing Connection
2018-12-05 20:12:21 Connection: closed
2018-12-05 20:12:21 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Thread Starter
Navin
(@chandersbs)
I have a different website, runs on WordPress 4.3.1 and this plugin version 1.3.3 and it works fine…
Can you scramble all the letter/numbers in your username, but provide its structure?
Example:
Let you login being: Super/login!
I need from you: Teddy/bear!, or aaaa/bbb!, or a/b! etc.
So special characters are on the same place, but all letters and numbers are wrong. Length of letters and numbers doesn’t matter, only the order and exact placement of the special characters.
Thank you in advance.
Thread Starter
Navin
(@chandersbs)
Hello,
My SMTP username is like this:
abcde/fghujkl
Thread Starter
Navin
(@chandersbs)
Hello,
Will do some more testing on my end, and let you know.
Thread Starter
Navin
(@chandersbs)
We did a test on a different VPS and it worked, so we believe the problem is on our end. Thanks for the quick responses.