Hi,
We have a problem where some notification emails doesn't get sent from SDP and logged in the request conversation. The notifications are working 99% of the time, but everyday a couple of notficiation emails doesn't get sent. We have made exceptions in our AV and the mail settings are the same as in our Outlook client. SDP 9335 and MSSQL.
Checking the logs at the exact time of the error i find this:
[13:01:09:384]|[04-19-2018]|[com.adventnet.servicedesk.utils.WorkOrderUtil]|[SEVERE]|[176022]|: Exception while trying to send notification for the request.|com.adventnet.servicedesk.ServiceDeskException: Mail sending failed.
at com.adventnet.servicedesk.notification.util.NotificationFactory.sendMailNotification(NotificationFactory.java:1366)
at com.adventnet.servicedesk.notification.util.NotificationFactory.sendMailNotification(NotificationFactory.java:883)
at com.adventnet.servicedesk.notification.util.NotificationFactory.sendMailNotification(NotificationFactory.java:879)
at com.adventnet.servicedesk.notification.util.NotificationFactory.sendMailNotificationAsHtml(NotificationFactory.java:847)
at com.adventnet.servicedesk.utils.WorkOrderUtil.notifyOnRequestSynchronous(WorkOrderUtil.java:2933)
at com.manageengine.servicedesk.jobexecutors.MailNotificationJobExecutor.execute(MailNotificationJobExecutor.java:86)
at com.manageengine.jobscheduler.JobExecutorImpl.call(JobExecutorImpl.java:95)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: javax.mail.MessagingException: Exception reading response;
nested exception is:
java.net.SocketException: Connection reset
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
at com.sun.mail.smtp.SMTPTransport.close(SMTPTransport.java:645)
at javax.mail.Transport.send0(Transport.java:171)
at javax.mail.Transport.send(Transport.java:98)
at com.adventnet.servicedesk.notification.util.NotificationFactory.sendMailNotification(NotificationFactory.java:1314)
... 10 more
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)