• Resolved samuelng527

    (@samuelng527)


    Hi,

    I need your advice on this error, Could not authenticate your SMTP account.

    Please refer to the error log below.

    Versions:
    WordPress: 6.2.2
    WordPress MS: No
    PHP: 7.4.30
    WP Mail SMTP: 3.8.0

    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.1.1d 10 Sep 2019
    Apache.mod_security: No

    Debug:
    Email Source: WP Mail SMTP Mailer: Other SMTP SMTP Error: Could not authenticate.

    SMTP Debug:

    2023-06-14 01:07:04 Connection: opening to smtp.office365.com:587, timeout=300, options=array()

    2023-06-14 01:07:04 Connection: opened

    2023-06-14 01:07:04 SERVER -> CLIENT: 220 SI2PR02CA0007.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 14 Jun 2023 01:07:16 +0000

    2023-06-14 01:07:04 CLIENT -> SERVER: EHLO www.sfda.com.sg

    2023-06-14 01:07:04 SERVER -> CLIENT: 250-SI2PR02CA0007.outlook.office365.com Hello [101.100.204.16]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8

    2023-06-14 01:07:04 CLIENT -> SERVER: STARTTLS

    2023-06-14 01:07:04 SERVER -> CLIENT: 220 2.0.0 SMTP server ready

    2023-06-14 01:07:04 CLIENT -> SERVER: EHLO www.sfda.com.sg

    2023-06-14 01:07:04 SERVER -> CLIENT: 250-SI2PR02CA0007.outlook.office365.com Hello [101.100.204.16]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8

    2023-06-14 01:07:04 CLIENT -> SERVER: AUTH LOGIN

    2023-06-14 01:07:04 SERVER -> CLIENT: 334 VXNlcm5hbWU6

    2023-06-14 01:07:04 CLIENT -> SERVER: [credentials hidden]

    2023-06-14 01:07:04 SERVER -> CLIENT: 334 UGFzc3dvcmQ6

    2023-06-14 01:07:04 CLIENT -> SERVER: [credentials hidden]

    2023-06-14 01:07:09 SERVER -> CLIENT: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [SI2PR02CA0007.apcprd02.prod.outlook.com 2023-06-14T01:07:23.150Z 08DB6C093D074E40]

    2023-06-14 01:07:09 SMTP ERROR: Password command failed: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [SI2PR02CA0007.apcprd02.prod.outlook.com 2023-06-14T01:07:23.150Z 08DB6C093D074E40]

    SMTP Error: Could not authenticate.

    2023-06-14 01:07:09 CLIENT -> SERVER: QUIT

    2023-06-14 01:07:09 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel

    2023-06-14 01:07:09 Connection: closed

    SMTP Error: Could not authenticate.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @samuelng527,

    Thanks for reaching out! Please note that you need to use an App Password with your connection. When connecting to Microsoft 365 or Outlook SMTP servers, you’re no longer able to use your regular email account password. Instead, Microsoft requires an App Password.

    Please check this guide on how you can generate an App Password to use with your connection.

    I hope that helps, Thanks!

    Thread Starter samuelng527

    (@samuelng527)

    Hi @darshanaw ,

    Thank you for your advise. I managed to resolved this issue. You may closed this ticket.

    Thank you once again.

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