My Oracle Support Banner

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 FEBRUARY 12, 2019

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: <hostname>.<domainname>.com,
port: 25;
nested exception is: Connection refused


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

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