Skip to main content
Solved

SMTP Fails to send a notification email


Forum|alt.badge.img+4

Hello i am working in a IFS cloud instance version 23.2.5. I am trying to configure the mail sender. I have received the mail token and secret from our messaging team at my company.

 

I have created a test event that generates an email when i create a new unit of measure within the app itself. Here is my current configuration of my mail sender and error i get when i generate a event.

 

Host: 

smtp.office365.com

Port

587

Timeout

60 

Authentication type 

Client Credentials

User

Noreply@mydomain.com

Access Token URL

Provided token from my company

Client ID 

Provided Client ID

Client Secret

provided secret 

Mail Scope

https://outlook.office365.com/.default

Default Mail Sender

noreply@mydomain.com

Content Type

text/html

 

(Notification error)

ExecutionException from Sender thread 
Caused by: ifs.fnd.connect.senders.ConnectSender$PermanentFailureException: Fatal error while sending data... 
Caused by: ifs.fnd.connect.senders.ConnectSender$TemporaryFailureException: Error while trying to get the Oauth2 Mail token 
Caused by: java.io.FileNotFoundException: https://login.microsoftonline.com/600d01fc-055f-49c6-868f-3ecfcc791773

 

Questions:

 

Does IFS Cloud support a shared mailbox

how does ifs protect the client credentials and Tokens?

 

 

Best answer by AQWSBOY

HI ​@Asela Munasinghe 

 

Yes, we managed to get this resolved, with MUCH trial, error and head scratching

 

Once you have the Email account and OAuth end configured you need the following items from your config

 

Secret

Application ID

OAuth 2.0 Token Endpoint (v2)

 

 

I hope this helps. feel free to message me.

 

Steve

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+1
  • Do Gooder (Customer)
  • May 15, 2024

Yes, that would be nice to know! Same problem here!


maheshmuz
Hero (Partner)
Forum|alt.badge.img+8
  • Hero (Partner)
  • May 22, 2024

I found the following document in the IFS community discussion related to SMTP setup. I hope this will help you resolve the issue.


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • June 5, 2024

Did anyone manage to get this resolved as I am having the same issues?


Asela Munasinghe
Superhero (Customer)
Forum|alt.badge.img+23

Thanks ​@maheshmuz , that document you shared is pretty useful. I started setting it up for IFS 24.1.9 that we are using. However I keep getting the same error on the application messages mentioned by ​@bdawson, ​@FlorianHKT and ​@AQWSBOY might be facing mainly because of this. 

Missing OAuth2 Authentication Client UI

 

 

Logging in as Application Manager, I don't have access to the Authentication Client I believe. Any of you managed to sort this out? 

Thanks,
Asela 


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • August 7, 2025

HI ​@Asela Munasinghe 

 

Yes, we managed to get this resolved, with MUCH trial, error and head scratching

 

Once you have the Email account and OAuth end configured you need the following items from your config

 

Secret

Application ID

OAuth 2.0 Token Endpoint (v2)

 

 

I hope this helps. feel free to message me.

 

Steve


Asela Munasinghe
Superhero (Customer)
Forum|alt.badge.img+23

Thanks Steve

We managed to set it up with the 3 items you mentioned. However, still getting the following error: 

 

 


Asela Munasinghe
Superhero (Customer)
Forum|alt.badge.img+23
AQWSBOY wrote:

HI ​@Asela Munasinghe 

 

Yes, we managed to get this resolved, with MUCH trial, error and head scratching

 

@AQWSBOY this is exactly how we managed to get it working. Thank you so much. 

@maheshmuz thank you so much for the document you shared as well. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings