Title: Incorrect authentication data
Last modified: November 12, 2020

---

# Incorrect authentication data

 *  Resolved [Mart Rauhe](https://wordpress.org/support/users/ikbenmartrauhe/)
 * (@ikbenmartrauhe)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-11/)
 * I get the following notification while trying to send a test mail:
    Failed – 
   Check the plugin email log for more info: Here
 * The first solution it offers is to check up on the SPF record.
 * I contacted the registrar and we sat on the phone for over an hour to try all
   DNS and server related issues. We can neither setup an office 365 account and
   my own SMTP server address.
 * We’d like to use the plugin with an office365 mail account which is the same 
   as the domain.
 * I’d love to hear suggestions on how to fix this
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fincorrect-authentication-data-11%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Tim](https://wordpress.org/support/users/tneville/)
 * (@tneville)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-11/#post-13665714)
 * Hi [@ikbenmartrauhe](https://wordpress.org/support/users/ikbenmartrauhe/),
 * Your SPF looks fine. Please try the below settings for Office 365, as we have
   them working here.
 * Server: smtp.office365.com
    Port: 587 Security: STARTTLS Authentication: Login
 * Do ensure that you are connecting to a licensed Office 365 user. Shared Mailboxes
   and Aliases will not work.
 * Kind Regards,
    Tim
 *  Thread Starter [Mart Rauhe](https://wordpress.org/support/users/ikbenmartrauhe/)
 * (@ikbenmartrauhe)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-11/#post-13686942)
 * Hi Tim,
 * Thanks for your reply,
 * This doesn’t seem to be the problem. This is a website we are making for a customer
   and neither their smtp and our smtp doesn’t word. We have tried the settings 
   as you send above but that didn’t help either.
 * With kind regards,
    Mart Rauhe
 *  [Tim](https://wordpress.org/support/users/tneville/)
 * (@tneville)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-11/#post-13687796)
 * Hi Mart Rauhe,
 * Have you run a connectivity test from within Post SMTP? What’s the results from
   that? If Office 365 and your own SMTP is not working – it sounds like you have
   a firewalling issue on the web hosting server.
 * Kind Regards,
    Tim
 *  Thread Starter [Mart Rauhe](https://wordpress.org/support/users/ikbenmartrauhe/)
 * (@ikbenmartrauhe)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-11/#post-13696843)
 * Hi, this connectivity test gives multiple errors. The complete story is:
 * We have a customer that has 3 companies. We build one website and cloned it for
   all 3 of them and only changed some colors and logo’s. The domain name is registered
   with another company but we do host the website.
 * The first website we just filled in our own office365 account just to send the
   mails from the website to our customer self. That went without problems.
 * The second website doesn’t accept our own office365 account, also it doesn’t 
   accept the office365 of our customer. We can not get it to work, the connectivity
   test only returns:
    Failed – Check the plugin email log for more info
 * The third website was giving an ajax error, but now that I try again it seems
   to work at least with our own SMTP credentials so that seems to be fixed now.
 *  [Tim](https://wordpress.org/support/users/tneville/)
 * (@tneville)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-11/#post-13749165)
 * Hi [@ikbenmartrauhe](https://wordpress.org/support/users/ikbenmartrauhe/),
 * That is weird! Office 365 can be a bit tricky to get working, and does seem to
   throw errors more regularly on PostSMTP than other providers.
 * As you have one working, we can only assume that your settings **must** be correct
   as they have been cloned.
 * The only thing I could really suggest here would be to try it with another SMTP
   provider, even if it is a temporary measure.
 * Kind Regards,
    Tim
 *  [Tim](https://wordpress.org/support/users/tneville/)
 * (@tneville)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-11/#post-13867655)
 * Hi [@ikbenmartrauhe](https://wordpress.org/support/users/ikbenmartrauhe/),
 * We haven’t heard from you in a while, so I’ll mark this thread as resolved. If
   you have any further questions please feel free to open a new thread, and link
   to this one.
 * Kind Regards,
    Tim

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Incorrect authentication data’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

## Tags

 * [authentication](https://wordpress.org/support/topic-tag/authentication/)
 * [office 365](https://wordpress.org/support/topic-tag/office-365/)

 * 6 replies
 * 2 participants
 * Last reply from: [Tim](https://wordpress.org/support/users/tneville/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-11/#post-13867655)
 * Status: resolved