Question

8
Replies
7991
Views
John Paul Raja Christu Raja (JohnPaulRaja,C)
PerseusX Incorporated
Consultant
PerseusX Incorporated
US
JohnPaulRaja,C Member since 2011 262 posts
PerseusX Incorporated
Posted: December 26, 2017
Last activity: August 28, 2019
Posted: 26 Dec 2017 8:58 EST
Last activity: 28 Aug 2019 11:11 EDT
Closed
Solved

javax.mail.MessagingException: Could not convert socket to TLS;

Hi,


System generates sporadically error when send email through scheduler.



Log


ERROR - Unexpected exception caught while trying to send an email message with sender ID of XXXXXXXXXXX

Hi,

System generates sporadically error when send email through scheduler.

Log

ERROR - Unexpected exception caught while trying to send an email message with sender ID of XXXXXXXXXXX

javax.mail.MessagingException: Could not convert socket to TLS;
nested exception is:
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:2046)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:711)
at javax.mail.Service.connect(Service.java:366)
at javax.mail.Service.connect(Service.java:246)
at com.pegarules.generated.SendEmailMessage_071025_BlRMk6UdYGJBle4Q9qA_kg.SendEmailMessage07_10_25(SendEmailMessage_071025_BlRMk6UdYGJBle4Q9qA_kg.java:362)
at com.pegarules.generated.SendEmailMessage_071025_BlRMk6UdYGJBle4Q9qA_kg.invoke(SendEmailMessage_071025_BlRMk6UdYGJBle4Q9qA_kg.java:90)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:221)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9073)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275)
at java.lang.invoke.DirectHandle.invokeExact_thunkArchetype_L(DirectHandle.java:235)
at java.lang.invoke.BruteArgumentMoverHandle.invokeExact_thunkArchetype_X(ArgumentMoverHandle.java:390)
at java.lang.invoke.CollectHandle.invokeExact_thunkArchetype_X(CollectHandle.java:99)
at java.lang.invoke.FilterReturnHandle.invokeExact_thunkArchetype_X(FilterReturnHandle.java:42)
at java.lang.invoke.AsTypeHandle.invokeExact_thunkArchetype_X(AsTypeHandle.java:34)
at com.pegarules.generated.activity.ra_action_sendemailnotification_71749bf75123085c922415ea17ed816b$$dtt.dt_62_step6_circum0_357(Unknown Source)
at com.pegarules.generated.activity.ra_action_sendemailnotification_71749bf75123085c922415ea17ed816b.step6_circum0(ra_action_sendemailnotification_71749bf75123085c922415ea17ed816b.java)

Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.