Support Article

SendemailNotificationActivity Throws "[EOF]" Error

SA-28305

Summary



Using an SMTP server defined in an EmailAccount Test Connectivity works successfully.
However using the same details to send an email message via SendEmailNotification fails with the following error


Error Messages



Unexpected exception caught while trying to send an email message.
javax.mail.MessagingException: [EOF]


Steps to Reproduce



Not Applicable

Root Cause



A defect or configuration issue in the operating environment. Set the logger com.pegarules.generated.pega_integrationengine_default to debug to  generate this information:

[9/19/16 5:30:05:910 MST] 0000008a SystemOut O 250-024.your_email_server.com Hello [127.0.0.1]
250-SIZE 29360128
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250 CHUNKING
...

DEBUG SMTP: got response code 530, with response: 530 5.7.1 Client was not authenticated


The 530 can also mean that the client is black listed - so user must double check the PRPC server did not get black listed (the test connection does not behave the same as actually sending an email.


Resolution



Make the following change to the operating environment:

A different SMTP server was used and the email was sent successfully.

 

Published September 22, 2016 - Updated September 28, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.