My Oracle Support Banner

OdiSendMail Tool Error "com.sun.mail.smtp.SMTPSendFailedException Must issue a STARTTLS command first" (Doc ID 2665267.1)

Last updated on MAY 07, 2020

Applies to:

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

Symptoms

When sending email in an ODI execution using "OdiSendMail" and a TLS-protected mail server, the following error (or similar message with the same error code) occurs:

com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. <CODE> - gsmtp
  at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2267)
  at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1758)
  ...

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
References


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