07-05-2022 17:13:24 Failure sending mail. System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) 07-05-2022 17:24:41 The operation has timed out. System.Net.Mail.SmtpException: The operation has timed out. at EmailSender.sendnow(String EmailAddress, String TestID, String LedgerTransactionNo, String PName, String TestName, String Header, String typeOfCC, String BarcodeNo) in d:\EmailingApplication\Durga\AutoEmail\AutoEmail\ws_AutoMailService\BusinessLogin\EmailSender.cs:line 255 at EmailSender.sendmailnow() in d:\EmailingApplication\Durga\AutoEmail\AutoEmail\ws_AutoMailService\BusinessLogin\EmailSender.cs:line 90 07-05-2022 17:33:30 Failure sending mail. System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)