# SMTP settings for Office 365?

**URL:** <https://community.auth0.com/t/smtp-settings-for-office-365/37319>\
**Category:** Get Help\
**Tags:** smtp\
**Created:** [February 3, 2020, 8:01pm UTC](https://community.auth0.com/t/smtp-settings-for-office-365/37319 "2020-02-03T20:01:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mossywell](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mossywell/32/12776_2.png) [@mossywell](https://community.auth0.com/u/mossywell)\
**Post date:** [February 3, 2020, 8:01pm UTC](https://community.auth0.com/t/smtp-settings-for-office-365/37319/1 "2020-02-03T20:01:04Z")

</div>

Hi, I’m trying to set up Auth0 to use Office 365 as a low volume Custom SMTP Provider. I don’t want to use SendGrid as it’s an additional layer (and cost) I don’t need. I’m following these instructions: [SMTP Email Provider Overview - Auth0 Docs](https://auth0.com/docs/email/providers#configure-a-custom-smtp-server)

Office 365 supports these pre-reqs:

- support LOGIN [authentication](https://en.wikipedia.org/wiki/SMTP_Authentication).
- support [TLS](https://en.wikipedia.org/wiki/STARTTLS) 1.0 or higher.
- use a certificate signed by a public certificate authority (CA).

I enter the details into the form for a valid mailbox (mine) but every time I try a test email, it says “Invalid login: 535 5.7.3 Authentication unsuccessful”. My account doesn’t use MFA.

I’m either doing it wrong, or these some undocumented pre-requisite that I’m not aware of. So, has anyone ever got this combination work? I Googled, but unfortunately all the references are at the mailbox level rather that trying to set up an SMTP connection.

TIA

---

<div class="post-metadata">

**Author:** ![mossywell](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mossywell/32/12776_2.png) [@mossywell](https://community.auth0.com/u/mossywell)\
**Post date:** [February 5, 2020, 12:07pm UTC](https://community.auth0.com/t/smtp-settings-for-office-365/37319/2 "2020-02-05T12:07:36Z")

</div>

Ignore - password had expired. D’oh! I change it and it all worked.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 5, 2020, 12:14pm UTC](https://community.auth0.com/t/smtp-settings-for-office-365/37319/3 "2020-02-05T12:14:08Z")

</div>

Perfect! Glad you have it working!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 20, 2020, 12:14pm UTC](https://community.auth0.com/t/smtp-settings-for-office-365/37319/4 "2020-02-20T12:14:09Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
