I like to use the DNN integrated SMTP functionality but I can't get it to work without errors. Tried Oauth SMTP but no luck...
Hopefully is Microsoft Graph API an option?
Is this integrated in DNN 9.13? Anyone tried this in DNN and got it working succesfully?
And what do you use for SMTP server in DNN? I keep getting "535: 5.7.3 Authentication unsuccessful [AM0PR02CA0223.eurprd02.prod.outlook.com 2025-01-03T12:59:36.344Z 08DD2AC3E9C1C2B2]"
My app registration has the permission you mention and I am now looking at these settings on the authentication tab of the app registration:
Select the tokens you would like to be issued by the authorization endpoint: [ ] Access tokens (used for implicit flows) [ ] ID tokens (used for implicit and hybrid flows)
But no luck so far in various combinations...
Related: https://dnncommunity.org/forums/aft/5331
Hi Stepan,
I hope this will help you:
https://[DOMAINNAME]/Providers/SmtpOAuthProviders/ExchangeOnline/Authorize.aspx
https://[DOMAINNAME]
Secret
API Permissions
Microsoft Graph
Delegated -> SMTP.Send (Send emails from mailboxes using SMTP AUTH)
In DNN
Servers - Seversettings - SMTP Server
SMTP Sever and Port = smtp.office365.com:587
SMTP Authentication= OAuth
Auth Provider = Exchange online
Tenant Id = [Directory (tenant) ID]
Client Id = [Application (client) ID]
Client Secret = [client secret value]
Save Settings
Authorize
Using the Microsoft Mailbox credentials
Test SMTP Settings
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.