# Sending Emails / configuring SMTP profile using OAuth

**URL:** <https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [March 21, 2022, 8:58pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435 "2022-03-21T20:58:36Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![RohanPalshikar](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@RohanPalshikar](https://forum.inductiveautomation.com/u/RohanPalshikar)\
**Post date:** [March 21, 2022, 8:58pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/1 "2022-03-21T20:58:36Z")

</div>

Hi Guys,

We had been using simple authentication in our SMTP profile for sending emails. But now the authentication method is changing to use Oauth 2.0. Unable to find a way to do this for SMTP in particular. Our perspective application uses AD for authentication.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 21, 2022, 9:03pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/2 "2022-03-21T21:03:21Z")

</div>

We don’t have any support for OAuth (“modern” as Office 365 calls it) authentication in SMTP profiles right now, but it’s on our radar and coming eventually. A spec document for it was finished recently, so progress is being made…

---

<div class="post-metadata">

**Author:** ![RohanPalshikar](https://avatars.discourse-cdn.com/v4/letter/r/7ba0ec/32.png) [@RohanPalshikar](https://forum.inductiveautomation.com/u/RohanPalshikar)\
**Post date:** [March 21, 2022, 9:22pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/3 "2022-03-21T21:22:37Z")

</div>

Thanks for your reply. By when do you think this will be available? And does it mean our email functionality will stop working till that time? How does the Identity Provider configuration work? will it help if we configure it there?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 21, 2022, 9:26pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/4 "2022-03-21T21:26:15Z")

</div>

> [@RohanPalshikar](#):
>
> By when do you think this will be available?

I don't know, it's too early to guess. It hasn't landed in any development team's sprint yet and it's a complicated set of changes that need to be introduced.

> [@RohanPalshikar](#):
>
> And does it mean our email functionality will stop working till that time?

That depends on your email provider and whether they do a hard cut off on classic SMTP auth. My understanding is that while Gmail and Office 365 have disabled it by default they still have some way of enabling "legacy access" or "insecure access" or whatever scary name they've given it.

> [@RohanPalshikar](#):
>
> How does the Identity Provider configuration work? will it help if we configure it there?

I'm not sure how Identity Providers have anything to do with this.

---

<div class="post-metadata">

**Author:** ![dcamp1](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@dcamp1](https://forum.inductiveautomation.com/u/dcamp1)\
**Post date:** [March 21, 2022, 9:36pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/5 "2022-03-21T21:36:55Z")

</div>

Can you use a different SMTP provider?

These people are the best I have ever seen.  
[Smtp Provider](https://www.socketlabs.com/)

---

<div class="post-metadata">

**Author:** ![First\_Last](https://avatars.discourse-cdn.com/v4/letter/f/a698b9/32.png) [@First\_Last](https://forum.inductiveautomation.com/u/First_Last)\
**Post date:** [June 22, 2022, 2:32pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/6 "2022-06-22T14:32:51Z")

</div>

To my knowledge, Gmail has now permanently disabled insecure access, and Office 365 plans to follow suit later this year. Is there still no solution for Ignition to use these popular email accounts? Still no plans to develop a solution in the near future?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 22, 2022, 2:36pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/7 "2022-06-22T14:36:16Z")

</div>

We have something in development right now but it’s not near done enough to give you a timeline.

AFAIK the you can still access both O365 and Gmail by jumping through some hoops about “insecure applications” and generating app-specific keys.

---

<div class="post-metadata">

**Author:** ![Sean\_Walling](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@Sean\_Walling](https://forum.inductiveautomation.com/u/Sean_Walling)\
**Post date:** [October 17, 2022, 2:22pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/8 "2022-10-17T14:22:42Z")

</div>

Hi Kevin,

Has there been progress on support for OAuth authentication?

Thanks  
Sean

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 17, 2022, 2:25pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/9 "2022-10-17T14:25:14Z")

</div>

Yes, the final stage of this work, the actual implementation of the new email profiles, is bouncing around in code review and QA right now.

---

<div class="post-metadata">

**Author:** ![Sean\_Walling](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@Sean\_Walling](https://forum.inductiveautomation.com/u/Sean_Walling)\
**Post date:** [October 17, 2022, 2:28pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/10 "2022-10-17T14:28:17Z")

</div>

That's great news. Thanks. Do you have an estimated release date for the change?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 17, 2022, 2:46pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/11 "2022-10-17T14:46:09Z")

</div>

8.1.22 is scheduled for Nov 1, 8.1.23 is scheduled for Dec 6.

I'd guess one of those versions, and it'll be available in the nightly whenever it is done. Can't provide a better estimate, it's done when it's done.

---

<div class="post-metadata">

**Author:** ![Sean\_Walling](https://avatars.discourse-cdn.com/v4/letter/s/977dab/32.png) [@Sean\_Walling](https://forum.inductiveautomation.com/u/Sean_Walling)\
**Post date:** [November 3, 2022, 1:00pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/12 "2022-11-03T13:00:23Z")

</div>

Hi - Do you know if the update for OAuth support was implemented in 8.1.22?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 3, 2022, 1:19pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/13 "2022-11-03T13:19:20Z")

</div>

Nope, it’s in QA right now though, so possibly 8.1.23.

---

<div class="post-metadata">

**Author:** ![ken.maze](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ken.maze/32/85876_2.png) [@ken.maze](https://forum.inductiveautomation.com/u/ken.maze)\
**Post date:** [November 11, 2022, 1:52pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/14 "2022-11-11T13:52:32Z")

</div>

You still can generate app-specific keys with gmail, I just did it for the first time last week at home on Maker. That was easy enough but I didn't have to go through an IT organization to get it cleared. When we have to transition to O365 at the company that just bought us, I don't know if it will be feasible to get app-specific keys.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 11, 2022, 1:55pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/15 "2022-11-11T13:55:06Z")

</div>

Yep, OAuth email support is coming soon.

---

<div class="post-metadata">

**Author:** ![jspecht](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jspecht/32/6465_2.png) [@jspecht](https://forum.inductiveautomation.com/u/jspecht)\
**Post date:** [November 21, 2022, 10:51pm UTC](https://forum.inductiveautomation.com/t/sending-emails-configuring-smtp-profile-using-oauth/57435/16 "2022-11-21T22:51:19Z")

</div>

Starting with tomorrow's early access build of `8.1.24-SNAPSHOT`, you will be able to configure SMTP Email Profiles which support OAuth 2.0. For more info, see: [New Features: OAuth2 Clients and OAuth SMTP Email Profiles](https://forum.inductiveautomation.com/t/new-features-oauth2-clients-and-oauth-smtp-email-profiles/66783)
