• Resolved Alex

    (@alexmastermind)


    Hi, I am following the documentation to setup the SMTP with the Office 365 settings, but I’m having the error “Could not authenticate your SMTP account”. I’ve checked my password and everything, and still can’t make it work. Is Office 365 provider not available to Lite users? Or what am I doing wrong? Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @alexmastermind,

    When you get a chance, could you please share the full details of the error? You might require an application-specific password. Yes, our ‘Outlook’ mailer is only available with our Pro version. If you’d like to know more about the mailer, please contact us at: https://wpmailsmtp.com/contact/

    Thanks, and please let me know.

    Hi @alexmastermind – 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.

    Hi Sanjeev

    Having similar issue

    we migrated our servers and now office 365 credentials not working. i have to switch to google and it works but we really need office365 to work

    any suggestion??

    Versions:
    WordPress: 5.3
    WordPress MS: No
    PHP: 7.3.11
    WP Mail SMTP: 1.7.1

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

    Server:
    OpenSSL: OpenSSL 1.0.2t 10 Sep 2019
    SMTP Debug:

    2019-11-22 12:11:46 Connection: opening to smtp.office365.com:587, timeout=300, options=array ()

    2019-11-22 12:11:46 Connection: opened

    2019-11-22 12:11:46 SERVER -> CLIENT: 220-vps.intechcentre.net ESMTP Exim 4.92 #2 Fri, 22 Nov 2019 07:11:46 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.

    2019-11-22 12:11:46 CLIENT -> SERVER: EHLO https://www.intechcentre.com

    2019-11-22 12:11:46 SERVER -> CLIENT: 250-vps.intechcentre.net Hello https://www.intechcentre.com [162.241.71.29]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS250 HELP

    2019-11-22 12:11:46 CLIENT -> SERVER: AUTH LOGIN

    2019-11-22 12:11:46 SERVER -> CLIENT: 334 xxxx

    2019-11-22 12:11:46 CLIENT -> SERVER: xxxx

    2019-11-22 12:11:46 SERVER -> CLIENT: 334 xxxx

    2019-11-22 12:11:46 CLIENT -> SERVER: xxxx

    2019-11-22 12:11:48 SERVER -> CLIENT: 535 Incorrect authentication data

    2019-11-22 12:11:48 SMTP ERROR: Password command failed: 535 Incorrect authentication data

    SMTP Error: Could not authenticate.

    2019-11-22 12:11:48 CLIENT -> SERVER: QUIT

    2019-11-22 12:11:48 SERVER -> CLIENT: 221 vps.intechcentre.net closing connection

    2019-11-22 12:11:48 Connection: closed

    SMTP Error: Could not authenticate.

    • This reply was modified 4 years, 11 months ago by Steven Stern (sterndata). Reason: removed hashes -- maybe a security thing

    my password works on office365 login but when i put it on the SMTP Other, it doesnt work and give the error.

    i am thinking somehow somewhere it is taking a password from somewhere else

    Hi @salihylmz,

    The authentication error can have lot of potential issues, even when the SMTP username/password are correct. From the error log, it seems you’ve SMTP port 587 without encryption. Set encryption to TLS, and try sending the email again.

    I hope this helps!

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