• Resolved chandersbs

    (@chandersbs)


    Hello,

    Yes, there’s already a topic about this, but it didn’t help me solve my problem :/

    I tested the credentials using smtper.net and it works fine.

    I also added:
    define( 'WPMS_ON', true );
    define( 'WPMS_SMTP_PASS', 'password' );

    In the wp-config file, it didn’t help :/

    So I hope this will help:

    Versions:
    WordPress: 4.9.8
    WordPress MS: No
    PHP: 7.2.10-0ubuntu0.18.04.1
    WP Mail SMTP: 1.3.3

    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: Yes
    Apache.mod_security: No
    SMTP Debug:
    2018-11-29 01:49:13 Connection: opening to domain.xyz:25, timeout=300, options=array (
    )
    2018-11-29 01:51:23 Connection: opened
    2018-11-29 01:51:23 SERVER -> CLIENT: 220 domain.xyz ESMTP Postal/AQY3TM
    2018-11-29 01:51:23 CLIENT -> SERVER: EHLO domain.app
    2018-11-29 01:51:24 SERVER -> CLIENT: 250-My capabilities are
    250 AUTH CRAM-MD5 PLAIN LOGIN
    2018-11-29 01:51:24 CLIENT -> SERVER: AUTH CRAM-MD5
    2018-11-29 01:51:24 SERVER -> CLIENT: 334 PDRmNmE4NDYwMjI0OThiNWY4MTVkQGJrbWxyLnh5ej4=
    2018-11-29 01:51:24 CLIENT -> SERVER: YmttbHIva21scmFwcCA3ZWNmOTI2NDQyOWU2MzgwMjIxNGUxY2UxODJiMWNmYQ==
    2018-11-29 01:51:24 SERVER -> CLIENT: 535 Denied
    2018-11-29 01:51:24 SMTP ERROR: Username command failed: 535 Denied
    2018-11-29 01:51:24 SMTP Error: Could not authenticate.
    2018-11-29 01:51:24 CLIENT -> SERVER: QUIT
    2018-11-29 01:51:24 SERVER -> CLIENT: 221 Closing Connection
    2018-11-29 01:51:24 Connection: closed
    2018-11-29 01:51:24 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    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 chandersbs

    (@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

    Plugin Author Slava Abakumov

    (@slaffik)

    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 chandersbs

    (@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 chandersbs

    (@chandersbs)

    I have a different website, runs on WordPress 4.3.1 and this plugin version 1.3.3 and it works fine…

    Plugin Author Slava Abakumov

    (@slaffik)

    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 chandersbs

    (@chandersbs)

    Hello,

    My SMTP username is like this:

    abcde/fghujkl

    Thread Starter chandersbs

    (@chandersbs)

    Hello,

    Will do some more testing on my end, and let you know.

    Thread Starter chandersbs

    (@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.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘There was a problem while sending the test email.’ is closed to new replies.