• Resolved exactprobiorg

    (@exactprobiorg)


    Hi @capuderg

    I m having exact same issue with WP SMTP after WP upgrade, please help. Below is the error log

    Versions:
    WordPress: 5.4.2
    WordPress MS: No
    PHP: 7.3.16
    WP Mail SMTP: 2.0.1

    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not authenticate.
    Host: us2.smtp.mailhostbox.com
    Port: 587
    SMTPSecure: string(0) “”
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)

    Server:
    OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
    Apache.mod_security: No
    SMTP Debug:
    2020-06-12 22:07:25 Connection: opening to us2.smtp.mailhostbox.com:587, timeout=300, options=array ()

    2020-06-12 22:07:25 Connection: opened

    2020-06-12 22:07:25 SERVER -> CLIENT: 220 us2.outbound.mailhostbox.com ESMTP Postfix

    2020-06-12 22:07:25 CLIENT -> SERVER: EHLO https://www.exactprobi.org

    2020-06-12 22:07:25 SERVER -> CLIENT: 250-us2.outbound.mailhostbox.com250-PIPELINING250-SIZE 41648128250-VRFY250-ETRN250-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250-8BITMIME250 DSN

    2020-06-12 22:07:25 CLIENT -> SERVER: STARTTLS

    2020-06-12 22:07:25 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS

    2020-06-12 22:07:26 CLIENT -> SERVER: EHLO https://www.exactprobi.org

    2020-06-12 22:07:26 SERVER -> CLIENT: 250-us2.outbound.mailhostbox.com250-PIPELINING250-SIZE 41648128250-VRFY250-ETRN250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250-8BITMIME250 DSN

    2020-06-12 22:07:26 CLIENT -> SERVER: AUTH LOGIN

    2020-06-12 22:07:26 SERVER -> CLIENT: 334 VXNlcm5hbWU6

    2020-06-12 22:07:26 CLIENT -> SERVER: cHJhc2hhbnRAZXhhY3Rwcm9iaS5vcmc=

    2020-06-12 22:07:26 SERVER -> CLIENT: 334 UGFzc3dvcmQ6

    2020-06-12 22:07:26 CLIENT -> SERVER: UHJAc2hFeEBjdFByMEJpOTkwMA==

    2020-06-12 22:07:28 SERVER -> CLIENT: 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6

    2020-06-12 22:07:28 SMTP ERROR: Password command failed: 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6

    SMTP Error: Could not authenticate.

    2020-06-12 22:07:28 CLIENT -> SERVER: QUIT

    2020-06-12 22:07:28 SERVER -> CLIENT: 221 2.0.0 Bye

    2020-06-12 22:07:28 Connection: closed

    SMTP Error: Could not authenticate.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Are you using the “other smtp” Gmail config?

    Thread Starter exactprobiorg

    (@exactprobiorg)

    Other Smtp. I have a premium email from Hostinger

    Ya, I’m having the issue where this message pops up on every page, however when I click test email it always goes through.

    EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v2.1.1 logged this error during the last time it tried to send an email:
    
    Mailer: Other SMTP
    SMTP Error: Could not authenticate.
    Please review your WP Mail SMTP settings in plugin admin area. Consider running an email test after fixing it.
    Thread Starter exactprobiorg

    (@exactprobiorg)

    Elementor forms are showing message not sent or forms submission failure due to this, not a good sign if we are trying to generate leads from new users as they feel its a broken and unprofessional website!

    I have reached out to my hosting provider as well but still no response! will update here once I hear from them!

    • This reply was modified 4 years, 5 months ago by exactprobiorg.
    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @exactprobiorg,

    from the debug log, it looks like your have set Encryption as “None”. Is that really the correct setting for your SMTP server?

    Please verify the SMTP settings with your hosting.

    Are you maybe using constants in wp-config.php to set our plugin settings?

    @duecktimothy are you maybe using plugin constants as well? If yes, please verify the placement of these constants in the wp-config.php file. More info here.

    Take care!

    @capuderg Hey, I did have constants enabled because I thought I need to set that as true for the password. I have now disabled the constants line but left the password and my test email still went through. I’ll see if the issue keeps popping up.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @duecktimothy,

    yes, you should have the define( 'WPMS_ON', true ); line in wp-config.php as well as any additional plugin constants you want to set.

    But these lines should be above the /* That's all, stop editing! Happy publishing. */ line in the wp-config.php file.

    Please verify that. Once it’s configured correctly you should not experience this issue again.

    If you have questions, please view the support page I linked above.

    Take care!

    @capuderg Ok I did move up the code but the issue is still occurring, any chance it’s because my cron isn’t run through WordPress? And it is triggered by my server? I ask because I noticed that there is a cron job that is supposed to run every minute and my server cron runs every 15 minutes.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi Tim,

    I don’t think the cron is at fault here.

    Could you please try to remove any plugin constant lines from wp-config.php and use the plugin settings instead to configure the plugin? Just so we see if the issue is present with this setup as well.

    Take care!

    @capuderg So I wanted to say thank you for your help, before when you mentioned to put the code above the /*Happy blogging */ line, I had made this change but upon upload the file failed and I didn’t catch this. I have now put it in the correct place with the constant and password and it is working correctly. Thank you for the taking the time to assist me! I greatly appreciate it!

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi Tim,

    I’m glad you resolved the issue ??

    Have a nice day!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘SMTP Authentication error – WP 5.4.2’ is closed to new replies.