XML Gateway Fails To Send Workflow Message With Error javax.mail.MessagingException: Could Not Connect To SMTP Host

(Doc ID 863314.1)

Last updated on OCTOBER 12, 2016

Applies to:

Oracle XML Gateway - Version to 12.0.4 [Release 11.5.10 to 12]
Information in this document applies to any platform.
***Checked for relevance on 12-Oct-2016***


On 11i or 12.0.4 in Production:
When attempting to send a PO for XML Gateway delivery, the following errors appear in the transaction monitor:

1) Cannot Send E-mail
2) Incorrect E-mail Address Format
3) Incorrect URL Format

The following error is container in the Workflow Mailer log:

Sending failed; nested exception is:
javax.mail.MessagingException: Could not connect to SMTP host: yourhostname.oracle.com,
port: 25;
nested exception is: java.net.ConnectException: Connection refused




Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms