Randomly some Emails are not being sent to the users using Send Email Smart service

In my application I have used Send Email Smart Service to send Emails to users but for some random requests that node is breaking and mail is not being sent to the users and If the node is restarted then it proceeds ahead without any error in Monitoring mode.

SMTP server configurations also looks fine in custom.properties file.

I have gone through the Server logs and below is the error for one of the such stuck request.

Fullscreen
1
2
3
4
5
6
7
8
9
aused by: com.sun.mail.smtp.SMTPSendFailedException: [EOF]
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2114) [mail-1.4.5.redhat-2.jar:1.4.5.redhat-2]
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1618) [mail-1.4.5.redhat-2.jar:1.4.5.redhat-2]
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1119) [mail-1.4.5.redhat-2.jar:1.4.5.redhat-2]
at com.appiancorp.ap2.mail.Mail.sendMessage(Mail.java:349) [appian-ap.jar:]
at com.appiancorp.ap2.mail.Mail.sendMessage(Mail.java:133) [appian-ap.jar:]
at com.appiancorp.ap2.mail.Mail.sendMailWithAttachment(Mail.java:200) [appian-ap.jar:]
at com.appiancorp.ap2.mail.Mail.sendMail(Mail.java:162) [appian-ap.jar:]
at com.appiancorp.process.engine.AbstractMailRequest.sendEmail(AbstractMailRequest.java:227) [appian-process.jar:]
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
16:10:42,670 INFO [stdout] (ajp-/0.0.0.0:8009-5) 402848 46
16:11:30,903 INFO [stdout] (Appian Work Item - 6837978 - ProcessExec04 : UnattendedJavaActivityRequest) 2018-08-23 16:11:30,903 [Appian Work Item -
    6837978 - ProcessExec04 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ap2.mail.Mail - Could not send mail via eudsmtp.kxxxnet.com:25 to
16:11:30,904 INFO [stdout] (Appian Work Item - 6837978 - ProcessExec04 : UnattendedJavaActivityRequest) 2018-08-23 16:11:30,903 [Appian Work Item -
    6837978 - ProcessExec04 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.runtime.activities.SendEmailActivity - com.sun.mail.smtp
    .SMTPSendFailedException: [EOF]
16:11:30,904 INFO [stdout] (Appian Work Item - 6837978 - ProcessExec04 : UnattendedJavaActivityRequest) com.sun.mail.smtp.SMTPSendFailedException:
    [EOF]
16:11:30,904 INFO [stdout] (Appian Work Item - 6837978 - ProcessExec04 : UnattendedJavaActivityRequest) at com.sun.mail.smtp.SMTPTransport
    .issueSendCommand(SMTPTransport.java:2114)
16:11:30,904 INFO [stdout] (Appian Work Item - 6837978 - ProcessExec04 : UnattendedJavaActivityRequest) at com.sun.mail.smtp.SMTPTransport
    .mailFrom(SMTPTransport.java:1618)
16:11:30,904 INFO [stdout] (Appian Work Item - 6837978 - ProcessExec04 : UnattendedJavaActivityRequest) at com.sun.mail.smtp.SMTPTransport
    .sendMessage(SMTPTransport.java:1119)
16:11:30,904 INFO [stdout] (Appian Work Item - 6837978 - ProcessExec04 : UnattendedJavaActivityRequest) at com.appiancorp.ap2.mail.Mail
    .sendMessage(Mail.java:349)
16:11:30,904 INFO [stdout] (Appian Work Item - 6837978 - ProcessExec04 : UnattendedJavaActivityRequest) at com.appiancorp.ap2.mail.Mail
    .sendMessage(Mail.java:220)
16:11:30,904 INFO [stdout] (Appian Work Item - 6837978 - ProcessExec04 : UnattendedJavaActivityRequest) at com.appiancorp.ap2.mail.Emailer.send
    (Emailer.java:124)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

 

Not sure why it is happening randomly. Please find the complete server log for this error in attachment.

 

Any suggestion is appreciated!!

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data