Hi Sunil, you need to share more details in order to identify the root cause of the issue.
I have created a simple application to test email output and it's working fine and test smtp server is able to receive the email. Can you share the environment details along with the output of the following command from where you are deploying the application to Integration Server. Execute command: java -version and compare it to the attached snapshot.
As par my understanding, ACE should be using legacy javax.mail.* package rather new jakarta.mail.* package as shown in your exception trace.
------------------------------
Irfan Shahzad
Integration Architect
------------------------------
Original Message:
Sent: Fri December 08, 2023 10:57 AM
From: Sunil kumar Sure
Subject: IBM ACE v12 getting error while using EmailOutput node with NoSuchProviderException error
Hi Team,
We are doing migration from IBM v10 to ACE v12, we are not sure about configurations we done in IIB v10 for SMTP server. We are not using Security Identity in EmailOutput node to connect to SMTP server. I am getting below error while testing in ACE v12 where as in IIB v10 no error getting email.
ACE[4307]: IBM App Connect Enterprise v120100 (TEST.DEBUG_EG) [Thread 24093] (Msg 3/4) BIP4459E: The EmailOutput node received a Java exception when it tried to create an e-mail and send it to the SMTP server. The stack trace from the exception is com.ibm.broker.emailnodes.EmailOutputNode : jakarta.mail.NoSuchProviderException: smtp #011at jakarta.mail.Session.getService(Session.java:858) #011at jakarta.mail.Session.getTransport(Session.java:790) #011at jakarta.mail.Session.getTransport(Session.java:735) #011at jakarta.mail.Session.getTransport(Session.java:715) #011at com.ibm.broker.emailnodes.EmailOutputNode.sendMail(EmailOutputNode.java:463) #011at com.ibm.broker.emailnodes.EmailOutputNode.sendBasicEmail(EmailOutputNode.java:515) #011at com.ibm.broker.emailnodes.EmailOutputNode.sendData(EmailOutputNode.java:384) #011at com.ibm.broker.plugin.MbOutputTemplateNode.sendData(MbOutputTemplateNode.java:53) .
------------------------------
Sunil Kumar Sure
------------------------------