• Resolved zest0adam

    (@zest0adam)


    Hi,

    Today and possible yesterday I’ve not been able to send emails via SMTP with Office 365. Before now it was working flawlessly for about two months, in which time the password and account details haven’t changed. It’s just suddenly stopped working. Any thoughts?

    Versions:
    WordPress: 5.3.2
    WordPress MS: No
    PHP: 7.3.14-5+0~20200202.52+debian9~1.gbpa71879
    WP Mail SMTP: 1.8.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.1.1d 10 Sep 2019
    SMTP Debug:
    2020-02-10 16:27:18 Connection: opening to smtp.office365.com:587, timeout=300, options=array ()
    
    2020-02-10 16:27:18 Connection: opened
    
    2020-02-10 16:27:18 SERVER -> CLIENT: 220 LO2P265CA0235.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 10 Feb 2020 16:27:17 +0000
    
    2020-02-10 16:27:18 CLIENT -> SERVER: EHLO www.zestpromotional.com
    
    2020-02-10 16:27:18 SERVER -> CLIENT: 250-LO2P265CA0235.outlook.office365.com Hello [178.62.67.153]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
    
    2020-02-10 16:27:18 CLIENT -> SERVER: STARTTLS
    
    2020-02-10 16:27:18 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
    
    2020-02-10 16:27:18 CLIENT -> SERVER: EHLO www.zestpromotional.com
    
    2020-02-10 16:27:18 SERVER -> CLIENT: 250-LO2P265CA0235.outlook.office365.com Hello [178.62.67.153]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
    
    2020-02-10 16:27:18 CLIENT -> SERVER: AUTH LOGIN
    
    2020-02-10 16:27:18 SERVER -> CLIENT: 334 VXNlcm5hbWU6
    
    2020-02-10 16:27:18 CLIENT -> SERVER: c2FsZXNAemVzdHByb21vdGlvbmFsLmNvbQ==
    
    2020-02-10 16:27:18 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
    
    2020-02-10 16:27:18 CLIENT -> SERVER: QmFkMzM4MzA=
    
    2020-02-10 16:27:24 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [LO2P265CA0235.GBRP265.PROD.OUTLOOK.COM]
    
    2020-02-10 16:27:24 SMTP ERROR: Password command failed: 535 5.7.3 Authentication unsuccessful [LO2P265CA0235.GBRP265.PROD.OUTLOOK.COM]
    
    SMTP Error: Could not authenticate.
    
    2020-02-10 16:27:24 CLIENT -> SERVER: QUIT
    
    2020-02-10 16:27:24 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
    
    2020-02-10 16:27:24 Connection: closed
    
    SMTP Error: Could not authenticate.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @zest0adam,

    Since it was working previously, possibly you’ve changed some settings within your Microsoft account. Make sure SMTP access is not enabled for your email account, you can check here. Also, note that Office 365 requires the username in your SMTP configuration to be your full email address, which includes the domain. You could also try resetting your password and updating that in the Authentication settings.

    I hope this helps!

    Hi @zest0adam – 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 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Authentication Error with Office 365’ is closed to new replies.