Email smtp fails in v6.0?

(5 posts) (2 voices)

Tags:

  1. duane, Member

    Hi,

    After upgrading the myDBR version 6, my email sending reports seem to fail with the following message (with debugging):
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingSMTP server error: Called RSET without being connected

    Since PHPMailer was upgraded - could there be an issue there or is there something I need to re-configure? The username and password are unchanged and valid. It uses gmail to send via SMTP using TLS.

    The debug message says:
    2021-07-28 13:32:06 CLIENT -> SERVER: EHLO mydomain.com 2021-07-28 13:32:06 CLIENT -> SERVER: STARTTLS 2021-07-28 13:32:06 CLIENT -> SERVER: EHLO mydomain.com 2021-07-28 13:32:06 CLIENT -> SERVER: AUTH LOGIN 2021-07-28 13:32:06 CLIENT -> SERVER: [credentials hidden] 2021-07-28 13:32:06 CLIENT -> SERVER: [credentials hidden] 2021-07-28 13:32:06 SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. Learn more at535 5.7.8 https://support.google.com/mail/?p=BadCredentials da23sm2673805edb.34 - gsmtp SMTP Error: Could not authenticate. 2021-07-28 13:32:06 CLIENT -> SERVER: QUIT SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

  2. myDBR Team, Key Master

    You are using gmail? Could be that the Google's mail server treats the connection as suspicious and blocks the connection. You may have to enable the "Less Secure App" in Google settings or create an app specific password.

    --
    myDBR Team

  3. duane, Member

    I to have "Less secure app" set (has been for a while)...so unless Google did something simultaneously with the 6.0 version then the cause is a mystery!

    I'll keep checking on my end but thought it too much of a coincidence that there was a major update on myDBR and things stopped working (these things happen with upgrades).

  4. myDBR Team, Key Master

    You can increase the mail debugging level to see what the full conversation with your server and gmail is.

    --
    myDBR Team

  5. duane, Member

    This might have been a gmail problem as I tried it again 8 hours later (with no changes) and it worked!


Reply

You must log in to post.