• Resolved John Wesselman

    (@wesselman94)


    I am trying to setup office 365 for my e-mail. Whenever I try to insert the server settings, it says that my login codes cannot authenticate. I have tried to insert the server settings as explained by Microsoft and to this forum. None of it has worked. My login codes are valid, I have checked multiple times. See error message down below:

    Versions:
    WordPress: 5.4.2
    WordPress MS: No
    PHP: 7.4.6
    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.1.0l 10 Sep 2019

    Debug:
    Mailer: Andere SMTP-server SMTP Error: Could not authenticate.

    SMTP Debug:
    2020-06-21 20:06:00 Connection: opening to smtp.office365.com:587, timeout=300, options=array ()
    2020-06-21 20:06:00 Connection: opened
    2020-06-21 20:06:00 SERVER -> CLIENT: 220 AM4PR07CA0028.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 21 Jun 2020 20:05:59 +0000
    2020-06-21 20:06:00 CLIENT -> SERVER: EHLO bier-online.nl
    2020-06-21 20:06:00 SERVER -> CLIENT: 250-AM4PR07CA0028.outlook.office365.com Hello [149.210.170.59]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
    2020-06-21 20:06:00 CLIENT -> SERVER: STARTTLS
    2020-06-21 20:06:00 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
    2020-06-21 20:06:00 CLIENT -> SERVER: EHLO bier-online.nl
    2020-06-21 20:06:00 SERVER -> CLIENT: 250-AM4PR07CA0028.outlook.office365.com Hello [149.210.170.59]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
    2020-06-21 20:06:00 CLIENT -> SERVER: AUTH LOGIN
    2020-06-21 20:06:00 SERVER -> CLIENT: 334 VXNlcm5hbWU6
    2020-06-21 20:06:00 CLIENT -> SERVER: aW5mb0BiaWVyLW9ubGluZS5ubA==
    2020-06-21 20:06:00 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
    2020-06-21 20:06:00 CLIENT -> SERVER: R2V3NUYkNUYtIzRmY3NhIyQ=
    2020-06-21 20:06:05 SERVER -> CLIENT: 535 5.7.3 Authentication unsuccessful [AM4PR07CA0028.eurprd07.prod.outlook.com]
    2020-06-21 20:06:05 SMTP ERROR: Password command failed: 535 5.7.3 Authentication unsuccessful [AM4PR07CA0028.eurprd07.prod.outlook.com]
    SMTP Error: Could not authenticate.
    2020-06-21 20:06:05 CLIENT -> SERVER: QUIT
    2020-06-21 20:06:05 SERVER -> CLIENT: 221 2.0.0 Service closing transmission channel
    2020-06-21 20:06:05 Connection: closed
    SMTP Error: Could not authenticate.

    Could you please inform me what the problem is and how I can solve it?
    Kind regards,

    John

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

  • The topic ‘Office 365 cannot authenticate’ is closed to new replies.