My Oracle Support Banner

"Could not connect to SMTP host: <MAILSERVER_HOSTNAME>, port: 25, response: 554" when Sending Email from ODI Package (Doc ID 2657024.1)

Last updated on APRIL 08, 2020

Applies to:

Oracle Data Integrator - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

After moving from OCI-Classic to OCI Infrastructure, an Oracle Data Integrator (ODI) package that previously was able to send mail using OdiSendMail is no longer able to send email. The following error is reported:

ODI-1226: Step OdiSendMail 1 fails after 1 attempt(s).
ODI-1241: Oracle Data Integrator tool execution fails.
Caused By: javax.mail.MessagingException: Could not connect to SMTP host: <MAILSERVER_HOSTNAME>, port: 25, response: 554
  at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2106)
  at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712)
  at javax.mail.Service.connect(Service.java:366)
  at com.sunopsis.dwg.tools.SendMail.actionExecute(SendMail.java:205)
  at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:235)
  at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(SessionTask.java:902)
  at oracle.odi.runtime.agent.execution.SessionTask.executeOdiCommand(SessionTask.java:583)
  at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:32)
  ...

Changes

Any number of changes related to the email request could trigger this error, including a change of hostname/IP or email header information.

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
Changes
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.