My Oracle Support Banner

OdiSendMail Tool Fails with "com.sun.mail.util.MailConnectException: Couldn't connect to host, port: [HOST], [PORT]; timeout -1" when Sending Second Email (Doc ID 2907096.1)

Last updated on JULY 25, 2024

Applies to:

Oracle Data Integrator on Marketplace - Version 12.2.1.4.200123 and later
Oracle Data Integrator - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

A package contains a "OdiSendMail" tool to send a status email. When executing this package, the email is sent successfully on the first execution. However, when this package is executed a second time, it fails with the following error:

After some time, an execution of this package again works fine for the first execution, and fails on the second.

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!


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