AnsweredAssumed Answered

How to configure Output Actions to use SMTP with TLS?

Question asked by RSA Admin Employee on Sep 1, 2015

I'm trying to configure the SMTP with TLS on port 587 or even with STARTTLS on port 25, but it's not working.

 

The logs are below:

 

Failed to execute Report Output Action

com.rsa.soc.re.exception.ReportingException: Sending email failed.Please check SMTP Output Action configuration

  at com.rsa.soc.re.outputaction.email.EmailOutputActionHandler.execute(EmailOutputActionHandler.java:195)

  at com.rsa.soc.re.outputaction.report.ReportOutputActionExecutor.execute(ReportOutputActionExecutor.java:229)

  at com.rsa.soc.re.outputaction.report.ReportOutputActionExecutor.run(ReportOutputActionExecutor.java:131)

  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

  at java.util.concurrent.FutureTask.run(FutureTask.java:266)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

  at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.IOException: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first

 

 

  at com.rsa.soc.re.utils.JavaMailUtils.sendMultipleAttachments(JavaMailUtils.java:465)

  at com.rsa.soc.re.outputaction.email.EmailOutputActionHandler.execute(EmailOutputActionHandler.java:182)

  ... 7 more

Caused by: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first

 

 

  at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2108)

  at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1609)

  at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1117)

  at javax.mail.Transport.send0(Transport.java:195)

  at javax.mail.Transport.send(Transport.java:124)

  at com.rsa.soc.re.utils.JavaMailUtils.sendMultipleAttachments(JavaMailUtils.java:459)

  ... 8 more

Outcomes