Title: Incorrect authentication data
Last modified: September 2, 2021

---

# Incorrect authentication data

 *  Resolved [Bojan](https://wordpress.org/support/users/bojanbecin/)
 * (@bojanbecin)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-13/)
 * Hello,
 * We are using office365. Everything worked fine, but now emails are not sent. 
   Error is Incorrect authentication data.
    When we run the connectivity test we
   get the following results:
 *     ```
       ✅ Port 25 can be used for SMTP to smtp.office365.com. Warning: connected to hosting instead of office365.com.
       ✅ Port 587 can be used for SMTP to smtp.office365.com. Warning: connected to hosting instead of office365.com.
       ✅ 🔒 Port 443 can be used with the SendGrid API.
       ✅ 🔒 Port 443 can be used with the Mandrill API.
       ✅ 🔒 Port 443 can be used with the Mailgun API.
       ❌ No outbound route between this site and the Internet on Port 465.
       ```
   
    -  This topic was modified 4 years, 9 months ago by [Bojan](https://wordpress.org/support/users/bojanbecin/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [Bojan](https://wordpress.org/support/users/bojanbecin/)
 * (@bojanbecin)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-13/#post-14831606)
 * We have resolved the issue, the firewall on the server was blocking emails.

Viewing 1 replies (of 1 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/)

 * 1 reply
 * 1 participant
 * Last reply from: [Bojan](https://wordpress.org/support/users/bojanbecin/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/incorrect-authentication-data-13/#post-14831606)
 * Status: resolved