My Oracle Support Banner

Unable To Send Email As Email Step In Workflow Manager - javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; (Doc ID 780349.1)

Last updated on MARCH 12, 2021

Applies to:

Oracle Demantra Demand Management - Version 7.2 and later
Information in this document applies to any platform.

Symptoms

Created a workflow with an email step. However, that process fails with the following error:

javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at com.demantra.common.mail.MailUtil.sendMailSynchronically(MailUtil.java:158)
at com.demantra.workflow.step.EmailStep.doExecute(EmailStep.java:115)
at com.demantra.workflow.step.LinkedStep.execute(LinkedStep.java:464)
at com.demantra.workflow.process.WFProcess.mainLoop(WFProcess.java:455)
at com.demantra.workflow.process.WFProcess.run(WFProcess.java:261)
at java.lang.Thread.run(Thread.java:595)


STEPS
1. Login to Demantra Workflow
2. Create a new schema with one step for Email step

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.