Symptom
After setting your Java Mail to use TLS the errors below are written into the logs:
defaultTrace*.trc
##0-400#Error#com.sap.aii.alert.consumer.job.AlertConsumerJob#
#BC-NWA-XPI#sap.com/com.sap.aii.af.service.alert.app#C0000A100C80398C000000010001966A#2499950000036452#sap.com/com.sap.aii.af.service.alert.app#com.sap.aii.alert.consumer.job.AlertConsumerJob.onJob(JobContex
t)#TANDOK#0#JTA Transaction : 21796#FEC682CEC02011E8CBC6005056AE777B#fec682cec02011e8cbc6005056ae777b#00000000000000000000000000000000#0#Thread[Managed_Application_Thread_50,5,Managed_Application_Thread]#Plain##
An exception occured.
javax.mail.MessagingException: 530 \#5.7.0 Must issue a STARTTLS command first
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1512)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
at com.sap.aii.alert.consumer.job.AlertConsumerJob.sendMail(AlertConsumerJob.java:201)
at com.sap.aii.alert.consumer.job.AlertConsumerJob.generateAndSendMailReports(AlertConsumerJob.java:686)
....
Read more...
Environment
SAP NetWeaver Application Server Java
Product
Keywords
tls; java mail; java; mail; jvm; mailing; ssl , KBA , BC-JAS-WEB , Web Container, HTTP, JavaMail, Servlets , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.