• Resolved amirmalka12

    (@amirmalka12)


    I got an error while trying to send a test email.
    I checked my username, password, host address and port – all are correct.
    Furthermore, no changes were done on the email side – is it an issue with the last update?

    See error details below:
    Versions:
    WordPress: 5.2.6
    WordPress MS: No
    PHP: 7.1.14
    WP Mail SMTP: 2.1.1

    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: SMTP Error: Could not authenticate.
    Host: smtp.office365.com
    Port: 587
    SMTPSecure: tls
    SMTPAutoTLS: bool(true)
    SMTPAuth: bool(true)

    Server:
    OpenSSL: OpenSSL 1.0.1e-fips 11 Feb 2013

    Debug:
    Mailer: Other SMTP
    SMTP Error: Could not authenticate.

    SMTP Debug:
    2020-06-10 15:44:40 Connection: opening to smtp.office365.com:587, timeout=300, options=array (
    )
    2020-06-10 15:44:40 Connection: opened
    2020-06-10 15:44:40 SERVER -> CLIENT: 220 SN6PR08CA0008.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 10 Jun 2020 15:44:40 +0000
    2020-06-10 15:44:40 CLIENT -> SERVER: EHLO jit4you.com
    2020-06-10 15:44:40 SERVER -> CLIENT: 250-SN6PR08CA0008.outlook.office365.com Hello [108.167.189.41]
    250-SIZE 157286400
    250-PIPELINING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-STARTTLS
    250-8BITMIME
    250-BINARYMIME
    250-CHUNKING
    250 SMTPUTF8
    2020-06-10 15:44:40 CLIENT -> SERVER: STARTTLS
    2020-06-10 15:44:40 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
    2020-06-10 15:44:40 CLIENT -> SERVER: EHLO jit4you.com
    2020-06-10 15:44:40 SERVER -> CLIENT: 250-SN6PR08CA0008.outlook.office365.com Hello [108.167.189.41]
    250-SIZE 157286400
    250-PIPELINING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-AUTH LOGIN XOAUTH2
    250-8BITMIME
    250-BINARYMIME
    250-CHUNKING
    250 SMTPUTF8
    2020-06-10 15:44:40 CLIENT -> SERVER: AUTH LOGIN
    2020-06-10 15:44:40 SERVER -> CLIENT: 334 VXNlcm5hbWU6
    2020-06-10 15:44:40 CLIENT -> SERVER: Q3VzdG9tZXJzdXBwb3J0QGppdDR5b3UuY29t
    2020-06-10 15:44:40 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
    2020-06-10 15:44:40 CLIENT -> SERVER: aml0NHlvdTIwMTMh
    2020-06-10 15:44:46 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [SN6PR08CA0008.namprd08.prod.outlook.com]
    2020-06-10 15:44:46 SMTP ERROR: Password command failed: 535 5.7.3 Authentication unsuccessful [SN6PR08CA0008.namprd08.prod.outlook.com]
    2020-06-10 15:44:46 SMTP Error: Could not authenticate.
    2020-06-10 15:44:46 CLIENT -> SERVER: QUIT
    2020-06-10 15:44:46 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
    2020-06-10 15:44:46 Connection: closed
    2020-06-10 15:44:46 SMTP Error: Could not authenticate.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter amirmalka12

    (@amirmalka12)

    Hi,
    Any idea why this happens? appreciate any help you can provide.

    Thx,
    Amir

    Hi @amirmalka12,

    When you get a chance, could you please let me know if you have two-factor authentication enabled for your account? In that case, you might need an App password from Account > Security Settings. If not, there might be some settings SMTP Authentication disabled within your account, you’ll need to enable that option.

    I hope this helps!

    Thread Starter amirmalka12

    (@amirmalka12)

    Thank you for your feedback.
    Yes, i do have 2 authentication protection to my email account.
    what should i do to enable STMP to access my email? Should i download a plugin to my website or add the app to my office365 account?

    Thanks,
    Amir

    Hi @amirmalka12,

    Thanks for the confirmation. If your account has two-factor authentication enabled, you’ll need to use App password rather than your general account password. To create an App password, please go to your Account Security Settings and create an app password. This is the password to use in the SMTP password field.

    Thanks!

    Hi @amirmalka12 – We haven’t heard from you in about a week, so I’m going to go ahead and mark this ticket resolved. If you still have questions, though, please feel welcome to continue the conversation.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error: Could not authenticate your SMTP account’ is closed to new replies.