10/23/2022 3:12:54 AM=>Info - Service Started
10/23/2022 3:12:54 AM=>Info - Service end
10/23/2022 3:14:54 AM=>Info - Check time Elapsed
10/23/2022 3:14:54 AM=>Info - Call callingService Method
10/23/2022 3:14:54 AM=>Info:- Call Both
10/23/2022 3:14:54 AM=>Info:- Start Executing SMS Method
10/23/2022 3:14:54 AM=>Info:- End Executing SMS Method
10/23/2022 3:14:54 AM=>Info:- Start Mailing Method
10/23/2022 3:14:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:14:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:14:54 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:14:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:14:54 AM=>Info:- Count = 3
10/23/2022 3:14:54 AM=>Info:- Count 3
10/23/2022 3:14:54 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:14:54 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:14:54 AM=>Info:- Start SenMail Method
10/23/2022 3:14:54 AM=>UseDefaultCredentials
10/23/2022 3:14:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:14:54 AM=>EnableSsl = true
10/23/2022 3:14:54 AM=>DeliveryMethod
10/23/2022 3:14:54 AM=>Before Send
10/23/2022 3:15:03 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:15:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net,zylemsupport@sapl.net
10/23/2022 3:15:03 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:15:03 AM=>(SenMail)Failure sending mail Body :Bayer Importing Processes Completed
10/23/2022 3:15:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\ImportingEXE_END.xml
10/23/2022 3:15:04 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:15:04 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:15:04 AM=>Info:- Start SenMail Method
10/23/2022 3:15:04 AM=>UseDefaultCredentials
10/23/2022 3:15:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:15:04 AM=>EnableSsl = true
10/23/2022 3:15:04 AM=>DeliveryMethod
10/23/2022 3:15:04 AM=>Before Send
10/23/2022 3:15:04 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:15:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net,zylemsupport@sapl.net
10/23/2022 3:15:04 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:15:04 AM=>(SenMail)Failure sending mail Body :Bayer Importing Processes STARTED
10/23/2022 3:15:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\ImportingEXE_START.xml
10/23/2022 3:15:04 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:15:04 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:15:04 AM=>Info:- Start SenMail Method
10/23/2022 3:15:04 AM=>UseDefaultCredentials
10/23/2022 3:15:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:15:04 AM=>EnableSsl = true
10/23/2022 3:15:04 AM=>DeliveryMethod
10/23/2022 3:15:04 AM=>Before Send
10/23/2022 3:15:04 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:15:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:15:04 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:15:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:15:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:15:04 AM=>Info:- END Mailing Method
10/23/2022 3:15:04 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:15:04 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:15:04 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:15:04 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:15:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:15:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:15:04 AM=>Info - End of callingService Method
10/23/2022 3:17:04 AM=>Info - Check time Elapsed
10/23/2022 3:17:04 AM=>Info - Call callingService Method
10/23/2022 3:17:04 AM=>Info:- Call Both
10/23/2022 3:17:04 AM=>Info:- Start Executing SMS Method
10/23/2022 3:17:04 AM=>Info:- End Executing SMS Method
10/23/2022 3:17:04 AM=>Info:- Start Mailing Method
10/23/2022 3:17:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:17:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:17:04 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:17:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:17:04 AM=>Info:- Count = 1
10/23/2022 3:17:04 AM=>Info:- Count 1
10/23/2022 3:17:04 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:17:04 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:17:04 AM=>Info:- Start SenMail Method
10/23/2022 3:17:04 AM=>UseDefaultCredentials
10/23/2022 3:17:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:17:04 AM=>EnableSsl = true
10/23/2022 3:17:04 AM=>DeliveryMethod
10/23/2022 3:17:04 AM=>Before Send
10/23/2022 3:17:13 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:17:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:17:14 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:17:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:17:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:17:14 AM=>Info:- END Mailing Method
10/23/2022 3:17:14 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:17:14 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:17:14 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:17:14 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:17:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:17:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:17:14 AM=>Info - End of callingService Method
10/23/2022 3:19:14 AM=>Info - Check time Elapsed
10/23/2022 3:19:14 AM=>Info - Call callingService Method
10/23/2022 3:19:14 AM=>Info:- Call Both
10/23/2022 3:19:14 AM=>Info:- Start Executing SMS Method
10/23/2022 3:19:14 AM=>Info:- End Executing SMS Method
10/23/2022 3:19:14 AM=>Info:- Start Mailing Method
10/23/2022 3:19:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:19:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:19:14 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:19:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:19:14 AM=>Info:- Count = 1
10/23/2022 3:19:14 AM=>Info:- Count 1
10/23/2022 3:19:14 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:19:14 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:19:14 AM=>Info:- Start SenMail Method
10/23/2022 3:19:14 AM=>UseDefaultCredentials
10/23/2022 3:19:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:19:14 AM=>EnableSsl = true
10/23/2022 3:19:14 AM=>DeliveryMethod
10/23/2022 3:19:14 AM=>Before Send
10/23/2022 3:19:23 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:19:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:19:23 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:19:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:19:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:19:23 AM=>Info:- END Mailing Method
10/23/2022 3:19:23 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:19:23 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:19:23 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:19:23 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:19:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:19:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:19:23 AM=>Info - End of callingService Method
10/23/2022 3:21:23 AM=>Info - Check time Elapsed
10/23/2022 3:21:23 AM=>Info - Call callingService Method
10/23/2022 3:21:23 AM=>Info:- Call Both
10/23/2022 3:21:23 AM=>Info:- Start Executing SMS Method
10/23/2022 3:21:23 AM=>Info:- End Executing SMS Method
10/23/2022 3:21:23 AM=>Info:- Start Mailing Method
10/23/2022 3:21:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:21:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:21:23 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:21:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:21:23 AM=>Info:- Count = 1
10/23/2022 3:21:23 AM=>Info:- Count 1
10/23/2022 3:21:23 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:21:23 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:21:23 AM=>Info:- Start SenMail Method
10/23/2022 3:21:23 AM=>UseDefaultCredentials
10/23/2022 3:21:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:21:23 AM=>EnableSsl = true
10/23/2022 3:21:23 AM=>DeliveryMethod
10/23/2022 3:21:23 AM=>Before Send
10/23/2022 3:21:32 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:21:32 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:21:32 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:21:32 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:21:32 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:21:33 AM=>Info:- END Mailing Method
10/23/2022 3:21:33 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:21:33 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:21:33 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:21:33 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:21:33 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:21:33 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:21:33 AM=>Info - End of callingService Method
10/23/2022 3:23:33 AM=>Info - Check time Elapsed
10/23/2022 3:23:33 AM=>Info - Call callingService Method
10/23/2022 3:23:33 AM=>Info:- Call Both
10/23/2022 3:23:33 AM=>Info:- Start Executing SMS Method
10/23/2022 3:23:33 AM=>Info:- End Executing SMS Method
10/23/2022 3:23:33 AM=>Info:- Start Mailing Method
10/23/2022 3:23:33 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:23:33 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:23:33 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:23:33 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:23:33 AM=>Info:- Count = 1
10/23/2022 3:23:33 AM=>Info:- Count 1
10/23/2022 3:23:33 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:23:33 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:23:33 AM=>Info:- Start SenMail Method
10/23/2022 3:23:33 AM=>UseDefaultCredentials
10/23/2022 3:23:33 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:23:33 AM=>EnableSsl = true
10/23/2022 3:23:33 AM=>DeliveryMethod
10/23/2022 3:23:33 AM=>Before Send
10/23/2022 3:23:36 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:23:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:23:36 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:23:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:23:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:23:36 AM=>Info:- END Mailing Method
10/23/2022 3:23:36 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:23:36 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:23:36 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:23:36 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:23:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:23:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:23:36 AM=>Info - End of callingService Method
10/23/2022 3:25:36 AM=>Info - Check time Elapsed
10/23/2022 3:25:36 AM=>Info - Call callingService Method
10/23/2022 3:25:36 AM=>Info:- Call Both
10/23/2022 3:25:36 AM=>Info:- Start Executing SMS Method
10/23/2022 3:25:36 AM=>Info:- End Executing SMS Method
10/23/2022 3:25:36 AM=>Info:- Start Mailing Method
10/23/2022 3:25:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:25:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:25:36 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:25:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:25:36 AM=>Info:- Count = 1
10/23/2022 3:25:36 AM=>Info:- Count 1
10/23/2022 3:25:36 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:25:36 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:25:36 AM=>Info:- Start SenMail Method
10/23/2022 3:25:36 AM=>UseDefaultCredentials
10/23/2022 3:25:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:25:36 AM=>EnableSsl = true
10/23/2022 3:25:36 AM=>DeliveryMethod
10/23/2022 3:25:36 AM=>Before Send
10/23/2022 3:25:45 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:25:45 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:25:45 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:25:45 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:25:45 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:25:45 AM=>Info:- END Mailing Method
10/23/2022 3:25:45 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:25:45 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:25:45 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:25:45 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:25:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:25:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:25:45 AM=>Info - End of callingService Method
10/23/2022 3:27:45 AM=>Info - Check time Elapsed
10/23/2022 3:27:45 AM=>Info - Call callingService Method
10/23/2022 3:27:45 AM=>Info:- Call Both
10/23/2022 3:27:45 AM=>Info:- Start Executing SMS Method
10/23/2022 3:27:45 AM=>Info:- End Executing SMS Method
10/23/2022 3:27:45 AM=>Info:- Start Mailing Method
10/23/2022 3:27:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:27:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:27:45 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:27:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:27:46 AM=>Info:- Count = 1
10/23/2022 3:27:46 AM=>Info:- Count 1
10/23/2022 3:27:46 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:27:46 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:27:46 AM=>Info:- Start SenMail Method
10/23/2022 3:27:46 AM=>UseDefaultCredentials
10/23/2022 3:27:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:27:46 AM=>EnableSsl = true
10/23/2022 3:27:46 AM=>DeliveryMethod
10/23/2022 3:27:46 AM=>Before Send
10/23/2022 3:27:55 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:27:55 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:27:55 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:27:55 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:27:55 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:27:55 AM=>Info:- END Mailing Method
10/23/2022 3:27:55 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:27:55 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:27:55 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:27:55 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:27:55 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:27:55 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:27:55 AM=>Info - End of callingService Method
10/23/2022 3:29:55 AM=>Info - Check time Elapsed
10/23/2022 3:29:55 AM=>Info - Call callingService Method
10/23/2022 3:29:55 AM=>Info:- Call Both
10/23/2022 3:29:55 AM=>Info:- Start Executing SMS Method
10/23/2022 3:29:55 AM=>Info:- End Executing SMS Method
10/23/2022 3:29:55 AM=>Info:- Start Mailing Method
10/23/2022 3:29:55 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:29:55 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:29:55 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:29:55 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:29:55 AM=>Info:- Count = 1
10/23/2022 3:29:55 AM=>Info:- Count 1
10/23/2022 3:29:55 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:29:55 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:29:55 AM=>Info:- Start SenMail Method
10/23/2022 3:29:55 AM=>UseDefaultCredentials
10/23/2022 3:29:55 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:29:55 AM=>EnableSsl = true
10/23/2022 3:29:55 AM=>DeliveryMethod
10/23/2022 3:29:55 AM=>Before Send
10/23/2022 3:30:04 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:30:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:30:04 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:30:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:30:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:30:04 AM=>Info:- END Mailing Method
10/23/2022 3:30:04 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:30:04 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:30:04 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:30:04 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:30:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:30:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:30:04 AM=>Info - End of callingService Method
10/23/2022 3:32:04 AM=>Info - Check time Elapsed
10/23/2022 3:32:04 AM=>Info - Call callingService Method
10/23/2022 3:32:04 AM=>Info:- Call Both
10/23/2022 3:32:04 AM=>Info:- Start Executing SMS Method
10/23/2022 3:32:04 AM=>Info:- End Executing SMS Method
10/23/2022 3:32:04 AM=>Info:- Start Mailing Method
10/23/2022 3:32:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:32:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:32:04 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:32:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:32:04 AM=>Info:- Count = 1
10/23/2022 3:32:04 AM=>Info:- Count 1
10/23/2022 3:32:04 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:32:04 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:32:04 AM=>Info:- Start SenMail Method
10/23/2022 3:32:04 AM=>UseDefaultCredentials
10/23/2022 3:32:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:32:04 AM=>EnableSsl = true
10/23/2022 3:32:04 AM=>DeliveryMethod
10/23/2022 3:32:04 AM=>Before Send
10/23/2022 3:32:07 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:32:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:32:07 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:32:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:32:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:32:08 AM=>Info:- END Mailing Method
10/23/2022 3:32:08 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:32:08 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:32:08 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:32:08 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:32:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:32:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:32:08 AM=>Info - End of callingService Method
10/23/2022 3:34:08 AM=>Info - Check time Elapsed
10/23/2022 3:34:08 AM=>Info - Call callingService Method
10/23/2022 3:34:08 AM=>Info:- Call Both
10/23/2022 3:34:08 AM=>Info:- Start Executing SMS Method
10/23/2022 3:34:08 AM=>Info:- End Executing SMS Method
10/23/2022 3:34:08 AM=>Info:- Start Mailing Method
10/23/2022 3:34:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:34:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:34:08 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:34:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:34:08 AM=>Info:- Count = 1
10/23/2022 3:34:08 AM=>Info:- Count 1
10/23/2022 3:34:08 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:34:08 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:34:08 AM=>Info:- Start SenMail Method
10/23/2022 3:34:08 AM=>UseDefaultCredentials
10/23/2022 3:34:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:34:08 AM=>EnableSsl = true
10/23/2022 3:34:08 AM=>DeliveryMethod
10/23/2022 3:34:08 AM=>Before Send
10/23/2022 3:34:17 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:34:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:34:17 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:34:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:34:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:34:17 AM=>Info:- END Mailing Method
10/23/2022 3:34:17 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:34:17 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:34:17 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:34:17 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:34:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:34:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:34:17 AM=>Info - End of callingService Method
10/23/2022 3:36:17 AM=>Info - Check time Elapsed
10/23/2022 3:36:17 AM=>Info - Call callingService Method
10/23/2022 3:36:17 AM=>Info:- Call Both
10/23/2022 3:36:18 AM=>Info:- Start Executing SMS Method
10/23/2022 3:36:18 AM=>Info:- End Executing SMS Method
10/23/2022 3:36:18 AM=>Info:- Start Mailing Method
10/23/2022 3:36:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:36:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:36:18 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:36:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:36:18 AM=>Info:- Count = 1
10/23/2022 3:36:18 AM=>Info:- Count 1
10/23/2022 3:36:18 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:36:18 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:36:18 AM=>Info:- Start SenMail Method
10/23/2022 3:36:18 AM=>UseDefaultCredentials
10/23/2022 3:36:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:36:18 AM=>EnableSsl = true
10/23/2022 3:36:18 AM=>DeliveryMethod
10/23/2022 3:36:18 AM=>Before Send
10/23/2022 3:36:39 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:36:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:36:39 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:36:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:36:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:36:39 AM=>Info:- END Mailing Method
10/23/2022 3:36:39 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:36:39 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:36:39 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:36:39 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:36:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:36:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:36:39 AM=>Info - End of callingService Method
10/23/2022 3:38:39 AM=>Info - Check time Elapsed
10/23/2022 3:38:39 AM=>Info - Call callingService Method
10/23/2022 3:38:39 AM=>Info:- Call Both
10/23/2022 3:38:39 AM=>Info:- Start Executing SMS Method
10/23/2022 3:38:39 AM=>Info:- End Executing SMS Method
10/23/2022 3:38:39 AM=>Info:- Start Mailing Method
10/23/2022 3:38:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:38:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:38:39 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:38:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:38:39 AM=>Info:- Count = 1
10/23/2022 3:38:39 AM=>Info:- Count 1
10/23/2022 3:38:39 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:38:39 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:38:39 AM=>Info:- Start SenMail Method
10/23/2022 3:38:39 AM=>UseDefaultCredentials
10/23/2022 3:38:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:38:39 AM=>EnableSsl = true
10/23/2022 3:38:39 AM=>DeliveryMethod
10/23/2022 3:38:39 AM=>Before Send
10/23/2022 3:40:03 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.181.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:40:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:40:03 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:40:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:40:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:40:03 AM=>Info:- END Mailing Method
10/23/2022 3:40:03 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:40:03 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:40:03 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:40:03 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:40:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:40:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:40:04 AM=>Info - End of callingService Method
10/23/2022 3:42:04 AM=>Info - Check time Elapsed
10/23/2022 3:42:04 AM=>Info - Call callingService Method
10/23/2022 3:42:04 AM=>Info:- Call Both
10/23/2022 3:42:04 AM=>Info:- Start Executing SMS Method
10/23/2022 3:42:04 AM=>Info:- End Executing SMS Method
10/23/2022 3:42:04 AM=>Info:- Start Mailing Method
10/23/2022 3:42:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:42:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:42:04 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:42:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:42:04 AM=>Info:- Count = 1
10/23/2022 3:42:04 AM=>Info:- Count 1
10/23/2022 3:42:04 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:42:04 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:42:04 AM=>Info:- Start SenMail Method
10/23/2022 3:42:04 AM=>UseDefaultCredentials
10/23/2022 3:42:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:42:04 AM=>EnableSsl = true
10/23/2022 3:42:04 AM=>DeliveryMethod
10/23/2022 3:42:04 AM=>Before Send
10/23/2022 3:43:28 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.181.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:43:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:43:28 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:43:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:43:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:43:28 AM=>Info:- END Mailing Method
10/23/2022 3:43:28 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:43:28 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:43:28 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:43:28 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:43:28 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:43:28 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:43:28 AM=>Info - End of callingService Method
10/23/2022 3:45:28 AM=>Info - Check time Elapsed
10/23/2022 3:45:28 AM=>Info - Call callingService Method
10/23/2022 3:45:28 AM=>Info:- Call Both
10/23/2022 3:45:28 AM=>Info:- Start Executing SMS Method
10/23/2022 3:45:28 AM=>Info:- End Executing SMS Method
10/23/2022 3:45:28 AM=>Info:- Start Mailing Method
10/23/2022 3:45:28 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:45:28 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:45:28 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:45:28 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:45:28 AM=>Info:- Count = 1
10/23/2022 3:45:28 AM=>Info:- Count 1
10/23/2022 3:45:28 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:45:28 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:45:28 AM=>Info:- Start SenMail Method
10/23/2022 3:45:28 AM=>UseDefaultCredentials
10/23/2022 3:45:28 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:45:28 AM=>EnableSsl = true
10/23/2022 3:45:28 AM=>DeliveryMethod
10/23/2022 3:45:28 AM=>Before Send
10/23/2022 3:45:28 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:45:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:45:28 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:45:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:45:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:45:28 AM=>Info:- END Mailing Method
10/23/2022 3:45:28 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:45:28 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:45:28 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:45:28 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:45:28 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:45:28 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:45:28 AM=>Info - End of callingService Method
10/23/2022 3:47:28 AM=>Info - Check time Elapsed
10/23/2022 3:47:28 AM=>Info - Call callingService Method
10/23/2022 3:47:28 AM=>Info:- Call Both
10/23/2022 3:47:28 AM=>Info:- Start Executing SMS Method
10/23/2022 3:47:28 AM=>Info:- End Executing SMS Method
10/23/2022 3:47:28 AM=>Info:- Start Mailing Method
10/23/2022 3:47:28 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:47:28 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:47:28 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:47:28 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:47:28 AM=>Info:- Count = 1
10/23/2022 3:47:28 AM=>Info:- Count 1
10/23/2022 3:47:28 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:47:28 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:47:28 AM=>Info:- Start SenMail Method
10/23/2022 3:47:28 AM=>UseDefaultCredentials
10/23/2022 3:47:28 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:47:28 AM=>EnableSsl = true
10/23/2022 3:47:28 AM=>DeliveryMethod
10/23/2022 3:47:28 AM=>Before Send
10/23/2022 3:48:52 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.50:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:48:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:48:52 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:48:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:48:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:48:53 AM=>Info:- END Mailing Method
10/23/2022 3:48:53 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:48:53 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:48:53 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:48:53 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:48:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:48:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:48:53 AM=>Info - End of callingService Method
10/23/2022 3:50:53 AM=>Info - Check time Elapsed
10/23/2022 3:50:53 AM=>Info - Call callingService Method
10/23/2022 3:50:53 AM=>Info:- Call Both
10/23/2022 3:50:53 AM=>Info:- Start Executing SMS Method
10/23/2022 3:50:53 AM=>Info:- End Executing SMS Method
10/23/2022 3:50:53 AM=>Info:- Start Mailing Method
10/23/2022 3:50:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:50:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:50:53 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:50:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:50:53 AM=>Info:- Count = 1
10/23/2022 3:50:53 AM=>Info:- Count 1
10/23/2022 3:50:53 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:50:53 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:50:53 AM=>Info:- Start SenMail Method
10/23/2022 3:50:53 AM=>UseDefaultCredentials
10/23/2022 3:50:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:50:53 AM=>EnableSsl = true
10/23/2022 3:50:53 AM=>DeliveryMethod
10/23/2022 3:50:53 AM=>Before Send
10/23/2022 3:51:14 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:51:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:51:14 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:51:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:51:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:51:14 AM=>Info:- END Mailing Method
10/23/2022 3:51:14 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:51:14 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:51:14 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:51:14 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:51:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:51:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:51:14 AM=>Info - End of callingService Method
10/23/2022 3:53:14 AM=>Info - Check time Elapsed
10/23/2022 3:53:14 AM=>Info - Call callingService Method
10/23/2022 3:53:14 AM=>Info:- Call Both
10/23/2022 3:53:14 AM=>Info:- Start Executing SMS Method
10/23/2022 3:53:14 AM=>Info:- End Executing SMS Method
10/23/2022 3:53:14 AM=>Info:- Start Mailing Method
10/23/2022 3:53:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:53:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:53:14 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:53:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:53:14 AM=>Info:- Count = 1
10/23/2022 3:53:14 AM=>Info:- Count 1
10/23/2022 3:53:14 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:53:14 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:53:14 AM=>Info:- Start SenMail Method
10/23/2022 3:53:14 AM=>UseDefaultCredentials
10/23/2022 3:53:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:53:14 AM=>EnableSsl = true
10/23/2022 3:53:14 AM=>DeliveryMethod
10/23/2022 3:53:14 AM=>Before Send
10/23/2022 3:54:38 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:54:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:54:38 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:54:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:54:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:54:39 AM=>Info:- END Mailing Method
10/23/2022 3:54:39 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:54:39 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:54:39 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:54:39 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:54:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:54:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:54:39 AM=>Info - End of callingService Method
10/23/2022 3:56:39 AM=>Info - Check time Elapsed
10/23/2022 3:56:39 AM=>Info - Call callingService Method
10/23/2022 3:56:39 AM=>Info:- Call Both
10/23/2022 3:56:39 AM=>Info:- Start Executing SMS Method
10/23/2022 3:56:39 AM=>Info:- End Executing SMS Method
10/23/2022 3:56:39 AM=>Info:- Start Mailing Method
10/23/2022 3:56:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:56:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:56:39 AM=>Info:- PendingMail.xml file read to list
10/23/2022 3:56:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:56:39 AM=>Info:- Count = 1
10/23/2022 3:56:39 AM=>Info:- Count 1
10/23/2022 3:56:39 AM=>Info - Fetching Data From MAIL XML
10/23/2022 3:56:39 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:56:39 AM=>Info:- Start SenMail Method
10/23/2022 3:56:39 AM=>UseDefaultCredentials
10/23/2022 3:56:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:56:39 AM=>EnableSsl = true
10/23/2022 3:56:39 AM=>DeliveryMethod
10/23/2022 3:56:39 AM=>Before Send
10/23/2022 3:58:03 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.114:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:58:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:58:03 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:58:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:58:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:58:03 AM=>Info:- END Mailing Method
10/23/2022 3:58:03 AM=>Info:- Start Executing Telegram Method
10/23/2022 3:58:03 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:58:03 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:58:03 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:58:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:58:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:58:03 AM=>Info - End of callingService Method
10/23/2022 4:00:03 AM=>Info - Check time Elapsed
10/23/2022 4:00:03 AM=>Info - Call callingService Method
10/23/2022 4:00:03 AM=>Info:- Call Both
10/23/2022 4:00:03 AM=>Info:- Start Executing SMS Method
10/23/2022 4:00:03 AM=>Info:- End Executing SMS Method
10/23/2022 4:00:03 AM=>Info:- Start Mailing Method
10/23/2022 4:00:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:00:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:00:03 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:00:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:00:03 AM=>Info:- Count = 1
10/23/2022 4:00:03 AM=>Info:- Count 1
10/23/2022 4:00:03 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:00:03 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:00:03 AM=>Info:- Start SenMail Method
10/23/2022 4:00:03 AM=>UseDefaultCredentials
10/23/2022 4:00:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:00:03 AM=>EnableSsl = true
10/23/2022 4:00:03 AM=>DeliveryMethod
10/23/2022 4:00:03 AM=>Before Send
10/23/2022 4:01:27 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.58.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:01:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:01:27 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:01:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:01:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:01:27 AM=>Info:- END Mailing Method
10/23/2022 4:01:27 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:01:27 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:01:27 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:01:27 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:01:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:01:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:01:27 AM=>Info - End of callingService Method
10/23/2022 4:03:27 AM=>Info - Check time Elapsed
10/23/2022 4:03:27 AM=>Info - Call callingService Method
10/23/2022 4:03:27 AM=>Info:- Call Both
10/23/2022 4:03:27 AM=>Info:- Start Executing SMS Method
10/23/2022 4:03:27 AM=>Info:- End Executing SMS Method
10/23/2022 4:03:27 AM=>Info:- Start Mailing Method
10/23/2022 4:03:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:03:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:03:27 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:03:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:03:27 AM=>Info:- Count = 1
10/23/2022 4:03:27 AM=>Info:- Count 1
10/23/2022 4:03:27 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:03:27 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:03:27 AM=>Info:- Start SenMail Method
10/23/2022 4:03:27 AM=>UseDefaultCredentials
10/23/2022 4:03:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:03:27 AM=>EnableSsl = true
10/23/2022 4:03:27 AM=>DeliveryMethod
10/23/2022 4:03:27 AM=>Before Send
10/23/2022 4:03:37 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:03:37 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:03:37 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:03:37 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:03:37 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:03:37 AM=>Info:- END Mailing Method
10/23/2022 4:03:37 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:03:37 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:03:37 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:03:37 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:03:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:03:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:03:37 AM=>Info - End of callingService Method
10/23/2022 4:05:37 AM=>Info - Check time Elapsed
10/23/2022 4:05:37 AM=>Info - Call callingService Method
10/23/2022 4:05:37 AM=>Info:- Call Both
10/23/2022 4:05:37 AM=>Info:- Start Executing SMS Method
10/23/2022 4:05:37 AM=>Info:- End Executing SMS Method
10/23/2022 4:05:37 AM=>Info:- Start Mailing Method
10/23/2022 4:05:37 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:05:37 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:05:37 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:05:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:05:37 AM=>Info:- Count = 1
10/23/2022 4:05:37 AM=>Info:- Count 1
10/23/2022 4:05:37 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:05:37 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:05:37 AM=>Info:- Start SenMail Method
10/23/2022 4:05:37 AM=>UseDefaultCredentials
10/23/2022 4:05:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:05:37 AM=>EnableSsl = true
10/23/2022 4:05:37 AM=>DeliveryMethod
10/23/2022 4:05:37 AM=>Before Send
10/23/2022 4:05:46 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:05:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:05:46 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:05:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:05:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:05:46 AM=>Info:- END Mailing Method
10/23/2022 4:05:46 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:05:46 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:05:46 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:05:46 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:05:46 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:05:46 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:05:46 AM=>Info - End of callingService Method
10/23/2022 4:07:46 AM=>Info - Check time Elapsed
10/23/2022 4:07:46 AM=>Info - Call callingService Method
10/23/2022 4:07:46 AM=>Info:- Call Both
10/23/2022 4:07:46 AM=>Info:- Start Executing SMS Method
10/23/2022 4:07:46 AM=>Info:- End Executing SMS Method
10/23/2022 4:07:46 AM=>Info:- Start Mailing Method
10/23/2022 4:07:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:07:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:07:46 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:07:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:07:46 AM=>Info:- Count = 1
10/23/2022 4:07:46 AM=>Info:- Count 1
10/23/2022 4:07:46 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:07:46 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:07:46 AM=>Info:- Start SenMail Method
10/23/2022 4:07:46 AM=>UseDefaultCredentials
10/23/2022 4:07:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:07:46 AM=>EnableSsl = true
10/23/2022 4:07:46 AM=>DeliveryMethod
10/23/2022 4:07:46 AM=>Before Send
10/23/2022 4:09:10 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.182.114:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:09:10 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:09:10 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:09:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:09:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:09:11 AM=>Info:- END Mailing Method
10/23/2022 4:09:11 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:09:11 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:09:11 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:09:11 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:09:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:09:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:09:11 AM=>Info - End of callingService Method
10/23/2022 4:11:11 AM=>Info - Check time Elapsed
10/23/2022 4:11:11 AM=>Info - Call callingService Method
10/23/2022 4:11:11 AM=>Info:- Call Both
10/23/2022 4:11:11 AM=>Info:- Start Executing SMS Method
10/23/2022 4:11:11 AM=>Info:- End Executing SMS Method
10/23/2022 4:11:11 AM=>Info:- Start Mailing Method
10/23/2022 4:11:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:11:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:11:11 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:11:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:11:11 AM=>Info:- Count = 1
10/23/2022 4:11:11 AM=>Info:- Count 1
10/23/2022 4:11:11 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:11:11 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:11:11 AM=>Info:- Start SenMail Method
10/23/2022 4:11:11 AM=>UseDefaultCredentials
10/23/2022 4:11:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:11:11 AM=>EnableSsl = true
10/23/2022 4:11:11 AM=>DeliveryMethod
10/23/2022 4:11:11 AM=>Before Send
10/23/2022 4:12:35 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.181.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:12:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:12:35 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:12:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:12:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:12:35 AM=>Info:- END Mailing Method
10/23/2022 4:12:35 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:12:35 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:12:35 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:12:35 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:12:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:12:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:12:35 AM=>Info - End of callingService Method
10/23/2022 4:14:35 AM=>Info - Check time Elapsed
10/23/2022 4:14:35 AM=>Info - Call callingService Method
10/23/2022 4:14:35 AM=>Info:- Call Both
10/23/2022 4:14:35 AM=>Info:- Start Executing SMS Method
10/23/2022 4:14:35 AM=>Info:- End Executing SMS Method
10/23/2022 4:14:35 AM=>Info:- Start Mailing Method
10/23/2022 4:14:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:14:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:14:35 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:14:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:14:35 AM=>Info:- Count = 1
10/23/2022 4:14:35 AM=>Info:- Count 1
10/23/2022 4:14:35 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:14:35 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:14:35 AM=>Info:- Start SenMail Method
10/23/2022 4:14:35 AM=>UseDefaultCredentials
10/23/2022 4:14:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:14:35 AM=>EnableSsl = true
10/23/2022 4:14:35 AM=>DeliveryMethod
10/23/2022 4:14:35 AM=>Before Send
10/23/2022 4:16:00 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.182.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:16:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:16:00 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:16:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:16:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:16:00 AM=>Info:- END Mailing Method
10/23/2022 4:16:00 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:16:00 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:16:00 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:16:00 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:16:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:16:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:16:00 AM=>Info - End of callingService Method
10/23/2022 4:18:00 AM=>Info - Check time Elapsed
10/23/2022 4:18:00 AM=>Info - Call callingService Method
10/23/2022 4:18:00 AM=>Info:- Call Both
10/23/2022 4:18:00 AM=>Info:- Start Executing SMS Method
10/23/2022 4:18:00 AM=>Info:- End Executing SMS Method
10/23/2022 4:18:00 AM=>Info:- Start Mailing Method
10/23/2022 4:18:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:18:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:18:00 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:18:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:18:00 AM=>Info:- Count = 1
10/23/2022 4:18:00 AM=>Info:- Count 1
10/23/2022 4:18:00 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:18:00 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:18:00 AM=>Info:- Start SenMail Method
10/23/2022 4:18:00 AM=>UseDefaultCredentials
10/23/2022 4:18:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:18:00 AM=>EnableSsl = true
10/23/2022 4:18:00 AM=>DeliveryMethod
10/23/2022 4:18:00 AM=>Before Send
10/23/2022 4:19:24 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.40.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:19:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:19:24 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:19:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:19:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:19:24 AM=>Info:- END Mailing Method
10/23/2022 4:19:24 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:19:24 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:19:24 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:19:24 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:19:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:19:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:19:24 AM=>Info - End of callingService Method
10/23/2022 4:21:24 AM=>Info - Check time Elapsed
10/23/2022 4:21:24 AM=>Info - Call callingService Method
10/23/2022 4:21:24 AM=>Info:- Call Both
10/23/2022 4:21:24 AM=>Info:- Start Executing SMS Method
10/23/2022 4:21:24 AM=>Info:- End Executing SMS Method
10/23/2022 4:21:24 AM=>Info:- Start Mailing Method
10/23/2022 4:21:24 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:21:24 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:21:24 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:21:24 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:21:24 AM=>Info:- Count = 1
10/23/2022 4:21:24 AM=>Info:- Count 1
10/23/2022 4:21:24 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:21:24 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:21:24 AM=>Info:- Start SenMail Method
10/23/2022 4:21:24 AM=>UseDefaultCredentials
10/23/2022 4:21:24 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:21:24 AM=>EnableSsl = true
10/23/2022 4:21:24 AM=>DeliveryMethod
10/23/2022 4:21:24 AM=>Before Send
10/23/2022 4:22:16 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:22:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:22:16 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:22:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:22:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:22:16 AM=>Info:- END Mailing Method
10/23/2022 4:22:16 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:22:16 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:22:16 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:22:16 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:22:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:22:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:22:16 AM=>Info - End of callingService Method
10/23/2022 4:24:16 AM=>Info - Check time Elapsed
10/23/2022 4:24:16 AM=>Info - Call callingService Method
10/23/2022 4:24:16 AM=>Info:- Call Both
10/23/2022 4:24:16 AM=>Info:- Start Executing SMS Method
10/23/2022 4:24:16 AM=>Info:- End Executing SMS Method
10/23/2022 4:24:16 AM=>Info:- Start Mailing Method
10/23/2022 4:24:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:24:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:24:16 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:24:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:24:16 AM=>Info:- Count = 1
10/23/2022 4:24:16 AM=>Info:- Count 1
10/23/2022 4:24:16 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:24:16 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:24:16 AM=>Info:- Start SenMail Method
10/23/2022 4:24:16 AM=>UseDefaultCredentials
10/23/2022 4:24:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:24:16 AM=>EnableSsl = true
10/23/2022 4:24:16 AM=>DeliveryMethod
10/23/2022 4:24:16 AM=>Before Send
10/23/2022 4:24:16 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:24:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:24:16 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:24:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:24:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:24:16 AM=>Info:- END Mailing Method
10/23/2022 4:24:16 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:24:16 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:24:16 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:24:16 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:24:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:24:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:24:16 AM=>Info - End of callingService Method
10/23/2022 4:26:16 AM=>Info - Check time Elapsed
10/23/2022 4:26:16 AM=>Info - Call callingService Method
10/23/2022 4:26:16 AM=>Info:- Call Both
10/23/2022 4:26:16 AM=>Info:- Start Executing SMS Method
10/23/2022 4:26:16 AM=>Info:- End Executing SMS Method
10/23/2022 4:26:16 AM=>Info:- Start Mailing Method
10/23/2022 4:26:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:26:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:26:16 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:26:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:26:16 AM=>Info:- Count = 1
10/23/2022 4:26:16 AM=>Info:- Count 1
10/23/2022 4:26:16 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:26:16 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:26:16 AM=>Info:- Start SenMail Method
10/23/2022 4:26:16 AM=>UseDefaultCredentials
10/23/2022 4:26:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:26:16 AM=>EnableSsl = true
10/23/2022 4:26:16 AM=>DeliveryMethod
10/23/2022 4:26:16 AM=>Before Send
10/23/2022 4:26:16 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:26:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:26:16 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:26:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:26:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:26:17 AM=>Info:- END Mailing Method
10/23/2022 4:26:17 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:26:17 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:26:17 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:26:17 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:26:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:26:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:26:17 AM=>Info - End of callingService Method
10/23/2022 4:28:17 AM=>Info - Check time Elapsed
10/23/2022 4:28:17 AM=>Info - Call callingService Method
10/23/2022 4:28:17 AM=>Info:- Call Both
10/23/2022 4:28:17 AM=>Info:- Start Executing SMS Method
10/23/2022 4:28:17 AM=>Info:- End Executing SMS Method
10/23/2022 4:28:17 AM=>Info:- Start Mailing Method
10/23/2022 4:28:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:28:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:28:17 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:28:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:28:17 AM=>Info:- Count = 1
10/23/2022 4:28:17 AM=>Info:- Count 1
10/23/2022 4:28:17 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:28:17 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:28:17 AM=>Info:- Start SenMail Method
10/23/2022 4:28:17 AM=>UseDefaultCredentials
10/23/2022 4:28:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:28:17 AM=>EnableSsl = true
10/23/2022 4:28:17 AM=>DeliveryMethod
10/23/2022 4:28:17 AM=>Before Send
10/23/2022 4:29:41 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.32.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:29:41 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:29:41 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:29:41 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:29:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:29:41 AM=>Info:- END Mailing Method
10/23/2022 4:29:41 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:29:41 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:29:41 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:29:41 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:29:41 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:29:41 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:29:41 AM=>Info - End of callingService Method
10/23/2022 4:31:41 AM=>Info - Check time Elapsed
10/23/2022 4:31:41 AM=>Info - Call callingService Method
10/23/2022 4:31:41 AM=>Info:- Call Both
10/23/2022 4:31:41 AM=>Info:- Start Executing SMS Method
10/23/2022 4:31:41 AM=>Info:- End Executing SMS Method
10/23/2022 4:31:41 AM=>Info:- Start Mailing Method
10/23/2022 4:31:41 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:31:41 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:31:41 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:31:41 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:31:41 AM=>Info:- Count = 1
10/23/2022 4:31:41 AM=>Info:- Count 1
10/23/2022 4:31:41 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:31:41 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:31:41 AM=>Info:- Start SenMail Method
10/23/2022 4:31:41 AM=>UseDefaultCredentials
10/23/2022 4:31:41 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:31:41 AM=>EnableSsl = true
10/23/2022 4:31:41 AM=>DeliveryMethod
10/23/2022 4:31:41 AM=>Before Send
10/23/2022 4:32:02 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:32:02 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:32:02 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:32:02 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:32:02 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:32:03 AM=>Info:- END Mailing Method
10/23/2022 4:32:03 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:32:03 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:32:03 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:32:03 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:32:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:32:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:32:03 AM=>Info - End of callingService Method
10/23/2022 4:34:03 AM=>Info - Check time Elapsed
10/23/2022 4:34:03 AM=>Info - Call callingService Method
10/23/2022 4:34:03 AM=>Info:- Call Both
10/23/2022 4:34:03 AM=>Info:- Start Executing SMS Method
10/23/2022 4:34:03 AM=>Info:- End Executing SMS Method
10/23/2022 4:34:03 AM=>Info:- Start Mailing Method
10/23/2022 4:34:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:34:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:34:03 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:34:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:34:03 AM=>Info:- Count = 1
10/23/2022 4:34:03 AM=>Info:- Count 1
10/23/2022 4:34:03 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:34:03 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:34:03 AM=>Info:- Start SenMail Method
10/23/2022 4:34:03 AM=>UseDefaultCredentials
10/23/2022 4:34:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:34:03 AM=>EnableSsl = true
10/23/2022 4:34:03 AM=>DeliveryMethod
10/23/2022 4:34:03 AM=>Before Send
10/23/2022 4:35:27 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:35:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:35:27 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:35:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:35:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:35:27 AM=>Info:- END Mailing Method
10/23/2022 4:35:27 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:35:27 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:35:27 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:35:27 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:35:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:35:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:35:27 AM=>Info - End of callingService Method
10/23/2022 4:37:27 AM=>Info - Check time Elapsed
10/23/2022 4:37:27 AM=>Info - Call callingService Method
10/23/2022 4:37:27 AM=>Info:- Call Both
10/23/2022 4:37:27 AM=>Info:- Start Executing SMS Method
10/23/2022 4:37:27 AM=>Info:- End Executing SMS Method
10/23/2022 4:37:27 AM=>Info:- Start Mailing Method
10/23/2022 4:37:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:37:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:37:27 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:37:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:37:27 AM=>Info:- Count = 1
10/23/2022 4:37:27 AM=>Info:- Count 1
10/23/2022 4:37:27 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:37:27 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:37:27 AM=>Info:- Start SenMail Method
10/23/2022 4:37:27 AM=>UseDefaultCredentials
10/23/2022 4:37:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:37:27 AM=>EnableSsl = true
10/23/2022 4:37:27 AM=>DeliveryMethod
10/23/2022 4:37:27 AM=>Before Send
10/23/2022 4:38:51 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.190.18:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:38:51 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:38:51 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:38:51 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:38:51 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:38:52 AM=>Info:- END Mailing Method
10/23/2022 4:38:52 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:38:52 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:38:52 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:38:52 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:38:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:38:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:38:52 AM=>Info - End of callingService Method
10/23/2022 4:40:52 AM=>Info - Check time Elapsed
10/23/2022 4:40:52 AM=>Info - Call callingService Method
10/23/2022 4:40:52 AM=>Info:- Call Both
10/23/2022 4:40:52 AM=>Info:- Start Executing SMS Method
10/23/2022 4:40:52 AM=>Info:- End Executing SMS Method
10/23/2022 4:40:52 AM=>Info:- Start Mailing Method
10/23/2022 4:40:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:40:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:40:52 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:40:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:40:52 AM=>Info:- Count = 1
10/23/2022 4:40:52 AM=>Info:- Count 1
10/23/2022 4:40:52 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:40:52 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:40:52 AM=>Info:- Start SenMail Method
10/23/2022 4:40:52 AM=>UseDefaultCredentials
10/23/2022 4:40:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:40:52 AM=>EnableSsl = true
10/23/2022 4:40:52 AM=>DeliveryMethod
10/23/2022 4:40:52 AM=>Before Send
10/23/2022 4:41:01 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:41:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:41:01 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:41:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:41:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:41:01 AM=>Info:- END Mailing Method
10/23/2022 4:41:01 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:41:01 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:41:01 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:41:01 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:41:01 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:41:01 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:41:01 AM=>Info - End of callingService Method
10/23/2022 4:43:01 AM=>Info - Check time Elapsed
10/23/2022 4:43:01 AM=>Info - Call callingService Method
10/23/2022 4:43:01 AM=>Info:- Call Both
10/23/2022 4:43:01 AM=>Info:- Start Executing SMS Method
10/23/2022 4:43:01 AM=>Info:- End Executing SMS Method
10/23/2022 4:43:01 AM=>Info:- Start Mailing Method
10/23/2022 4:43:01 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:43:01 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:43:01 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:43:01 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:43:01 AM=>Info:- Count = 1
10/23/2022 4:43:01 AM=>Info:- Count 1
10/23/2022 4:43:01 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:43:01 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:43:01 AM=>Info:- Start SenMail Method
10/23/2022 4:43:01 AM=>UseDefaultCredentials
10/23/2022 4:43:01 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:43:01 AM=>EnableSsl = true
10/23/2022 4:43:01 AM=>DeliveryMethod
10/23/2022 4:43:01 AM=>Before Send
10/23/2022 4:43:04 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:43:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:43:04 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:43:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:43:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:43:04 AM=>Info:- END Mailing Method
10/23/2022 4:43:04 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:43:04 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:43:04 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:43:04 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:43:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:43:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:43:04 AM=>Info - End of callingService Method
10/23/2022 4:45:04 AM=>Info - Check time Elapsed
10/23/2022 4:45:04 AM=>Info - Call callingService Method
10/23/2022 4:45:04 AM=>Info:- Call Both
10/23/2022 4:45:04 AM=>Info:- Start Executing SMS Method
10/23/2022 4:45:04 AM=>Info:- End Executing SMS Method
10/23/2022 4:45:05 AM=>Info:- Start Mailing Method
10/23/2022 4:45:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:45:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:45:05 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:45:05 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:45:05 AM=>Info:- Count = 1
10/23/2022 4:45:05 AM=>Info:- Count 1
10/23/2022 4:45:05 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:45:05 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:45:05 AM=>Info:- Start SenMail Method
10/23/2022 4:45:05 AM=>UseDefaultCredentials
10/23/2022 4:45:05 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:45:05 AM=>EnableSsl = true
10/23/2022 4:45:05 AM=>DeliveryMethod
10/23/2022 4:45:05 AM=>Before Send
10/23/2022 4:45:14 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:45:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:45:14 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:45:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:45:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:45:14 AM=>Info:- END Mailing Method
10/23/2022 4:45:14 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:45:14 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:45:14 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:45:14 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:45:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:45:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:45:14 AM=>Info - End of callingService Method
10/23/2022 4:47:14 AM=>Info - Check time Elapsed
10/23/2022 4:47:14 AM=>Info - Call callingService Method
10/23/2022 4:47:14 AM=>Info:- Call Both
10/23/2022 4:47:14 AM=>Info:- Start Executing SMS Method
10/23/2022 4:47:14 AM=>Info:- End Executing SMS Method
10/23/2022 4:47:14 AM=>Info:- Start Mailing Method
10/23/2022 4:47:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:47:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:47:14 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:47:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:47:14 AM=>Info:- Count = 1
10/23/2022 4:47:14 AM=>Info:- Count 1
10/23/2022 4:47:14 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:47:14 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:47:14 AM=>Info:- Start SenMail Method
10/23/2022 4:47:14 AM=>UseDefaultCredentials
10/23/2022 4:47:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:47:14 AM=>EnableSsl = true
10/23/2022 4:47:14 AM=>DeliveryMethod
10/23/2022 4:47:14 AM=>Before Send
10/23/2022 4:47:23 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:47:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:47:23 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:47:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:47:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:47:23 AM=>Info:- END Mailing Method
10/23/2022 4:47:23 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:47:23 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:47:23 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:47:23 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:47:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:47:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:47:23 AM=>Info - End of callingService Method
10/23/2022 4:49:23 AM=>Info - Check time Elapsed
10/23/2022 4:49:23 AM=>Info - Call callingService Method
10/23/2022 4:49:23 AM=>Info:- Call Both
10/23/2022 4:49:23 AM=>Info:- Start Executing SMS Method
10/23/2022 4:49:23 AM=>Info:- End Executing SMS Method
10/23/2022 4:49:23 AM=>Info:- Start Mailing Method
10/23/2022 4:49:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:49:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:49:23 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:49:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:49:23 AM=>Info:- Count = 1
10/23/2022 4:49:23 AM=>Info:- Count 1
10/23/2022 4:49:23 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:49:23 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:49:23 AM=>Info:- Start SenMail Method
10/23/2022 4:49:23 AM=>UseDefaultCredentials
10/23/2022 4:49:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:49:23 AM=>EnableSsl = true
10/23/2022 4:49:23 AM=>DeliveryMethod
10/23/2022 4:49:23 AM=>Before Send
10/23/2022 4:49:32 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:49:32 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:49:32 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:49:32 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:49:32 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:49:33 AM=>Info:- END Mailing Method
10/23/2022 4:49:33 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:49:33 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:49:33 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:49:33 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:49:33 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:49:33 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:49:33 AM=>Info - End of callingService Method
10/23/2022 4:51:33 AM=>Info - Check time Elapsed
10/23/2022 4:51:33 AM=>Info - Call callingService Method
10/23/2022 4:51:33 AM=>Info:- Call Both
10/23/2022 4:51:33 AM=>Info:- Start Executing SMS Method
10/23/2022 4:51:33 AM=>Info:- End Executing SMS Method
10/23/2022 4:51:33 AM=>Info:- Start Mailing Method
10/23/2022 4:51:33 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:51:33 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:51:33 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:51:33 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:51:33 AM=>Info:- Count = 1
10/23/2022 4:51:33 AM=>Info:- Count 1
10/23/2022 4:51:33 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:51:33 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:51:33 AM=>Info:- Start SenMail Method
10/23/2022 4:51:33 AM=>UseDefaultCredentials
10/23/2022 4:51:33 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:51:33 AM=>EnableSsl = true
10/23/2022 4:51:33 AM=>DeliveryMethod
10/23/2022 4:51:33 AM=>Before Send
10/23/2022 4:51:36 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:51:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:51:36 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:51:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:51:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:51:36 AM=>Info:- END Mailing Method
10/23/2022 4:51:36 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:51:36 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:51:36 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:51:36 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:51:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:51:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:51:36 AM=>Info - End of callingService Method
10/23/2022 4:53:36 AM=>Info - Check time Elapsed
10/23/2022 4:53:36 AM=>Info - Call callingService Method
10/23/2022 4:53:36 AM=>Info:- Call Both
10/23/2022 4:53:36 AM=>Info:- Start Executing SMS Method
10/23/2022 4:53:36 AM=>Info:- End Executing SMS Method
10/23/2022 4:53:36 AM=>Info:- Start Mailing Method
10/23/2022 4:53:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:53:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:53:36 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:53:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:53:36 AM=>Info:- Count = 1
10/23/2022 4:53:36 AM=>Info:- Count 1
10/23/2022 4:53:36 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:53:36 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:53:36 AM=>Info:- Start SenMail Method
10/23/2022 4:53:36 AM=>UseDefaultCredentials
10/23/2022 4:53:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:53:36 AM=>EnableSsl = true
10/23/2022 4:53:36 AM=>DeliveryMethod
10/23/2022 4:53:36 AM=>Before Send
10/23/2022 4:53:45 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:53:45 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:53:45 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:53:45 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:53:45 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:53:46 AM=>Info:- END Mailing Method
10/23/2022 4:53:46 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:53:46 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:53:46 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:53:46 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:53:46 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:53:46 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:53:46 AM=>Info - End of callingService Method
10/23/2022 4:55:46 AM=>Info - Check time Elapsed
10/23/2022 4:55:46 AM=>Info - Call callingService Method
10/23/2022 4:55:46 AM=>Info:- Call Both
10/23/2022 4:55:46 AM=>Info:- Start Executing SMS Method
10/23/2022 4:55:46 AM=>Info:- End Executing SMS Method
10/23/2022 4:55:46 AM=>Info:- Start Mailing Method
10/23/2022 4:55:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:55:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:55:46 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:55:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:55:46 AM=>Info:- Count = 1
10/23/2022 4:55:46 AM=>Info:- Count 1
10/23/2022 4:55:46 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:55:46 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:55:46 AM=>Info:- Start SenMail Method
10/23/2022 4:55:46 AM=>UseDefaultCredentials
10/23/2022 4:55:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:55:46 AM=>EnableSsl = true
10/23/2022 4:55:46 AM=>DeliveryMethod
10/23/2022 4:55:46 AM=>Before Send
10/23/2022 4:57:10 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.130:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:57:10 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:57:10 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:57:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:57:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:57:10 AM=>Info:- END Mailing Method
10/23/2022 4:57:10 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:57:10 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:57:10 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:57:10 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:57:10 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:57:10 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:57:10 AM=>Info - End of callingService Method
10/23/2022 4:59:10 AM=>Info - Check time Elapsed
10/23/2022 4:59:10 AM=>Info - Call callingService Method
10/23/2022 4:59:10 AM=>Info:- Call Both
10/23/2022 4:59:10 AM=>Info:- Start Executing SMS Method
10/23/2022 4:59:10 AM=>Info:- End Executing SMS Method
10/23/2022 4:59:10 AM=>Info:- Start Mailing Method
10/23/2022 4:59:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:59:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:59:10 AM=>Info:- PendingMail.xml file read to list
10/23/2022 4:59:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:59:10 AM=>Info:- Count = 1
10/23/2022 4:59:10 AM=>Info:- Count 1
10/23/2022 4:59:10 AM=>Info - Fetching Data From MAIL XML
10/23/2022 4:59:10 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:59:10 AM=>Info:- Start SenMail Method
10/23/2022 4:59:10 AM=>UseDefaultCredentials
10/23/2022 4:59:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:59:10 AM=>EnableSsl = true
10/23/2022 4:59:10 AM=>DeliveryMethod
10/23/2022 4:59:10 AM=>Before Send
10/23/2022 4:59:52 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:59:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:59:52 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:59:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:59:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:59:52 AM=>Info:- END Mailing Method
10/23/2022 4:59:53 AM=>Info:- Start Executing Telegram Method
10/23/2022 4:59:53 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:59:53 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:59:53 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:59:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:59:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:59:53 AM=>Info - End of callingService Method
10/23/2022 5:01:53 AM=>Info - Check time Elapsed
10/23/2022 5:01:53 AM=>Info - Call callingService Method
10/23/2022 5:01:53 AM=>Info:- Call Both
10/23/2022 5:01:53 AM=>Info:- Start Executing SMS Method
10/23/2022 5:01:53 AM=>Info:- End Executing SMS Method
10/23/2022 5:01:53 AM=>Info:- Start Mailing Method
10/23/2022 5:01:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:01:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:01:53 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:01:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:01:53 AM=>Info:- Count = 1
10/23/2022 5:01:53 AM=>Info:- Count 1
10/23/2022 5:01:53 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:01:53 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:01:53 AM=>Info:- Start SenMail Method
10/23/2022 5:01:53 AM=>UseDefaultCredentials
10/23/2022 5:01:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:01:53 AM=>EnableSsl = true
10/23/2022 5:01:53 AM=>DeliveryMethod
10/23/2022 5:01:53 AM=>Before Send
10/23/2022 5:02:56 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:02:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:02:56 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:02:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:02:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:02:56 AM=>Info:- END Mailing Method
10/23/2022 5:02:56 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:02:56 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:02:56 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:02:56 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:02:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:02:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:02:56 AM=>Info - End of callingService Method
10/23/2022 5:04:56 AM=>Info - Check time Elapsed
10/23/2022 5:04:56 AM=>Info - Call callingService Method
10/23/2022 5:04:56 AM=>Info:- Call Both
10/23/2022 5:04:56 AM=>Info:- Start Executing SMS Method
10/23/2022 5:04:56 AM=>Info:- End Executing SMS Method
10/23/2022 5:04:56 AM=>Info:- Start Mailing Method
10/23/2022 5:04:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:04:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:04:56 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:04:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:04:56 AM=>Info:- Count = 1
10/23/2022 5:04:56 AM=>Info:- Count 1
10/23/2022 5:04:56 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:04:56 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:04:56 AM=>Info:- Start SenMail Method
10/23/2022 5:04:56 AM=>UseDefaultCredentials
10/23/2022 5:04:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:04:56 AM=>EnableSsl = true
10/23/2022 5:04:56 AM=>DeliveryMethod
10/23/2022 5:04:56 AM=>Before Send
10/23/2022 5:06:20 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.183.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:06:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:06:20 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:06:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:06:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:06:20 AM=>Info:- END Mailing Method
10/23/2022 5:06:20 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:06:20 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:06:20 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:06:20 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:06:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:06:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:06:20 AM=>Info - End of callingService Method
10/23/2022 5:08:20 AM=>Info - Check time Elapsed
10/23/2022 5:08:20 AM=>Info - Call callingService Method
10/23/2022 5:08:20 AM=>Info:- Call Both
10/23/2022 5:08:20 AM=>Info:- Start Executing SMS Method
10/23/2022 5:08:20 AM=>Info:- End Executing SMS Method
10/23/2022 5:08:20 AM=>Info:- Start Mailing Method
10/23/2022 5:08:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:08:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:08:20 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:08:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:08:20 AM=>Info:- Count = 1
10/23/2022 5:08:20 AM=>Info:- Count 1
10/23/2022 5:08:20 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:08:20 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:08:20 AM=>Info:- Start SenMail Method
10/23/2022 5:08:20 AM=>UseDefaultCredentials
10/23/2022 5:08:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:08:20 AM=>EnableSsl = true
10/23/2022 5:08:20 AM=>DeliveryMethod
10/23/2022 5:08:20 AM=>Before Send
10/23/2022 5:09:45 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:09:45 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:09:45 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:09:45 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:09:45 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:09:45 AM=>Info:- END Mailing Method
10/23/2022 5:09:45 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:09:45 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:09:45 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:09:45 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:09:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:09:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:09:45 AM=>Info - End of callingService Method
10/23/2022 5:11:45 AM=>Info - Check time Elapsed
10/23/2022 5:11:45 AM=>Info - Call callingService Method
10/23/2022 5:11:45 AM=>Info:- Call Both
10/23/2022 5:11:45 AM=>Info:- Start Executing SMS Method
10/23/2022 5:11:45 AM=>Info:- End Executing SMS Method
10/23/2022 5:11:45 AM=>Info:- Start Mailing Method
10/23/2022 5:11:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:11:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:11:45 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:11:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:11:45 AM=>Info:- Count = 1
10/23/2022 5:11:45 AM=>Info:- Count 1
10/23/2022 5:11:45 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:11:45 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:11:45 AM=>Info:- Start SenMail Method
10/23/2022 5:11:45 AM=>UseDefaultCredentials
10/23/2022 5:11:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:11:45 AM=>EnableSsl = true
10/23/2022 5:11:45 AM=>DeliveryMethod
10/23/2022 5:11:45 AM=>Before Send
10/23/2022 5:11:54 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:11:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:11:54 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:11:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:11:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:11:54 AM=>Info:- END Mailing Method
10/23/2022 5:11:54 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:11:54 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:11:54 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:11:54 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:11:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:11:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:11:54 AM=>Info - End of callingService Method
10/23/2022 5:13:54 AM=>Info - Check time Elapsed
10/23/2022 5:13:54 AM=>Info - Call callingService Method
10/23/2022 5:13:54 AM=>Info:- Call Both
10/23/2022 5:13:54 AM=>Info:- Start Executing SMS Method
10/23/2022 5:13:54 AM=>Info:- End Executing SMS Method
10/23/2022 5:13:54 AM=>Info:- Start Mailing Method
10/23/2022 5:13:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:13:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:13:54 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:13:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:13:54 AM=>Info:- Count = 1
10/23/2022 5:13:54 AM=>Info:- Count 1
10/23/2022 5:13:54 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:13:54 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:13:54 AM=>Info:- Start SenMail Method
10/23/2022 5:13:54 AM=>UseDefaultCredentials
10/23/2022 5:13:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:13:54 AM=>EnableSsl = true
10/23/2022 5:13:54 AM=>DeliveryMethod
10/23/2022 5:13:54 AM=>Before Send
10/23/2022 5:14:03 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:14:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:14:03 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:14:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:14:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:14:04 AM=>Info:- END Mailing Method
10/23/2022 5:14:04 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:14:04 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:14:04 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:14:04 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:14:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:14:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:14:04 AM=>Info - End of callingService Method
10/23/2022 5:16:04 AM=>Info - Check time Elapsed
10/23/2022 5:16:04 AM=>Info - Call callingService Method
10/23/2022 5:16:04 AM=>Info:- Call Both
10/23/2022 5:16:04 AM=>Info:- Start Executing SMS Method
10/23/2022 5:16:04 AM=>Info:- End Executing SMS Method
10/23/2022 5:16:04 AM=>Info:- Start Mailing Method
10/23/2022 5:16:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:16:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:16:04 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:16:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:16:04 AM=>Info:- Count = 1
10/23/2022 5:16:04 AM=>Info:- Count 1
10/23/2022 5:16:04 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:16:04 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:16:04 AM=>Info:- Start SenMail Method
10/23/2022 5:16:04 AM=>UseDefaultCredentials
10/23/2022 5:16:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:16:04 AM=>EnableSsl = true
10/23/2022 5:16:04 AM=>DeliveryMethod
10/23/2022 5:16:04 AM=>Before Send
10/23/2022 5:16:07 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:16:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:16:07 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:16:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:16:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:16:07 AM=>Info:- END Mailing Method
10/23/2022 5:16:07 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:16:07 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:16:07 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:16:07 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:16:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:16:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:16:07 AM=>Info - End of callingService Method
10/23/2022 5:18:07 AM=>Info - Check time Elapsed
10/23/2022 5:18:07 AM=>Info - Call callingService Method
10/23/2022 5:18:07 AM=>Info:- Call Both
10/23/2022 5:18:07 AM=>Info:- Start Executing SMS Method
10/23/2022 5:18:07 AM=>Info:- End Executing SMS Method
10/23/2022 5:18:07 AM=>Info:- Start Mailing Method
10/23/2022 5:18:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:18:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:18:07 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:18:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:18:07 AM=>Info:- Count = 1
10/23/2022 5:18:07 AM=>Info:- Count 1
10/23/2022 5:18:07 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:18:07 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:18:07 AM=>Info:- Start SenMail Method
10/23/2022 5:18:07 AM=>UseDefaultCredentials
10/23/2022 5:18:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:18:07 AM=>EnableSsl = true
10/23/2022 5:18:07 AM=>DeliveryMethod
10/23/2022 5:18:07 AM=>Before Send
10/23/2022 5:18:16 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:18:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:18:16 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:18:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:18:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:18:16 AM=>Info:- END Mailing Method
10/23/2022 5:18:16 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:18:16 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:18:16 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:18:16 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:18:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:18:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:18:16 AM=>Info - End of callingService Method
10/23/2022 5:20:17 AM=>Info - Check time Elapsed
10/23/2022 5:20:17 AM=>Info - Call callingService Method
10/23/2022 5:20:17 AM=>Info:- Call Both
10/23/2022 5:20:17 AM=>Info:- Start Executing SMS Method
10/23/2022 5:20:17 AM=>Info:- End Executing SMS Method
10/23/2022 5:20:17 AM=>Info:- Start Mailing Method
10/23/2022 5:20:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:20:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:20:17 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:20:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:20:17 AM=>Info:- Count = 1
10/23/2022 5:20:17 AM=>Info:- Count 1
10/23/2022 5:20:17 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:20:17 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:20:17 AM=>Info:- Start SenMail Method
10/23/2022 5:20:17 AM=>UseDefaultCredentials
10/23/2022 5:20:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:20:17 AM=>EnableSsl = true
10/23/2022 5:20:17 AM=>DeliveryMethod
10/23/2022 5:20:17 AM=>Before Send
10/23/2022 5:20:26 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:20:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:20:26 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:20:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:20:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:20:26 AM=>Info:- END Mailing Method
10/23/2022 5:20:26 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:20:26 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:20:26 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:20:26 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:20:26 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:20:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:20:26 AM=>Info - End of callingService Method
10/23/2022 5:22:26 AM=>Info - Check time Elapsed
10/23/2022 5:22:26 AM=>Info - Call callingService Method
10/23/2022 5:22:26 AM=>Info:- Call Both
10/23/2022 5:22:26 AM=>Info:- Start Executing SMS Method
10/23/2022 5:22:26 AM=>Info:- End Executing SMS Method
10/23/2022 5:22:26 AM=>Info:- Start Mailing Method
10/23/2022 5:22:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:22:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:22:26 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:22:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:22:26 AM=>Info:- Count = 1
10/23/2022 5:22:26 AM=>Info:- Count 1
10/23/2022 5:22:26 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:22:26 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:22:26 AM=>Info:- Start SenMail Method
10/23/2022 5:22:26 AM=>UseDefaultCredentials
10/23/2022 5:22:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:22:26 AM=>EnableSsl = true
10/23/2022 5:22:26 AM=>DeliveryMethod
10/23/2022 5:22:26 AM=>Before Send
10/23/2022 5:22:35 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:22:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:22:35 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:22:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:22:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:22:35 AM=>Info:- END Mailing Method
10/23/2022 5:22:35 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:22:35 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:22:35 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:22:35 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:22:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:22:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:22:35 AM=>Info - End of callingService Method
10/23/2022 5:24:35 AM=>Info - Check time Elapsed
10/23/2022 5:24:35 AM=>Info - Call callingService Method
10/23/2022 5:24:35 AM=>Info:- Call Both
10/23/2022 5:24:35 AM=>Info:- Start Executing SMS Method
10/23/2022 5:24:35 AM=>Info:- End Executing SMS Method
10/23/2022 5:24:35 AM=>Info:- Start Mailing Method
10/23/2022 5:24:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:24:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:24:35 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:24:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:24:35 AM=>Info:- Count = 1
10/23/2022 5:24:35 AM=>Info:- Count 1
10/23/2022 5:24:35 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:24:35 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:24:35 AM=>Info:- Start SenMail Method
10/23/2022 5:24:35 AM=>UseDefaultCredentials
10/23/2022 5:24:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:24:35 AM=>EnableSsl = true
10/23/2022 5:24:35 AM=>DeliveryMethod
10/23/2022 5:24:35 AM=>Before Send
10/23/2022 5:24:44 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:24:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:24:44 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:24:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:24:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:24:45 AM=>Info:- END Mailing Method
10/23/2022 5:24:45 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:24:45 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:24:45 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:24:45 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:24:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:24:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:24:45 AM=>Info - End of callingService Method
10/23/2022 5:26:45 AM=>Info - Check time Elapsed
10/23/2022 5:26:45 AM=>Info - Call callingService Method
10/23/2022 5:26:45 AM=>Info:- Call Both
10/23/2022 5:26:45 AM=>Info:- Start Executing SMS Method
10/23/2022 5:26:45 AM=>Info:- End Executing SMS Method
10/23/2022 5:26:45 AM=>Info:- Start Mailing Method
10/23/2022 5:26:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:26:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:26:45 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:26:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:26:45 AM=>Info:- Count = 1
10/23/2022 5:26:45 AM=>Info:- Count 1
10/23/2022 5:26:45 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:26:45 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:26:45 AM=>Info:- Start SenMail Method
10/23/2022 5:26:45 AM=>UseDefaultCredentials
10/23/2022 5:26:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:26:45 AM=>EnableSsl = true
10/23/2022 5:26:45 AM=>DeliveryMethod
10/23/2022 5:26:45 AM=>Before Send
10/23/2022 5:26:48 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:26:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:26:48 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:26:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:26:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:26:48 AM=>Info:- END Mailing Method
10/23/2022 5:26:48 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:26:48 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:26:48 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:26:48 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:26:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:26:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:26:48 AM=>Info - End of callingService Method
10/23/2022 5:28:48 AM=>Info - Check time Elapsed
10/23/2022 5:28:48 AM=>Info - Call callingService Method
10/23/2022 5:28:48 AM=>Info:- Call Both
10/23/2022 5:28:48 AM=>Info:- Start Executing SMS Method
10/23/2022 5:28:48 AM=>Info:- End Executing SMS Method
10/23/2022 5:28:48 AM=>Info:- Start Mailing Method
10/23/2022 5:28:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:28:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:28:48 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:28:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:28:48 AM=>Info:- Count = 1
10/23/2022 5:28:48 AM=>Info:- Count 1
10/23/2022 5:28:48 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:28:48 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:28:48 AM=>Info:- Start SenMail Method
10/23/2022 5:28:48 AM=>UseDefaultCredentials
10/23/2022 5:28:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:28:48 AM=>EnableSsl = true
10/23/2022 5:28:48 AM=>DeliveryMethod
10/23/2022 5:28:48 AM=>Before Send
10/23/2022 5:30:12 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:30:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:30:12 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:30:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:30:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:30:12 AM=>Info:- END Mailing Method
10/23/2022 5:30:12 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:30:12 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:30:12 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:30:12 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:30:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:30:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:30:13 AM=>Info - End of callingService Method
10/23/2022 5:32:13 AM=>Info - Check time Elapsed
10/23/2022 5:32:13 AM=>Info - Call callingService Method
10/23/2022 5:32:13 AM=>Info:- Call Both
10/23/2022 5:32:13 AM=>Info:- Start Executing SMS Method
10/23/2022 5:32:13 AM=>Info:- End Executing SMS Method
10/23/2022 5:32:13 AM=>Info:- Start Mailing Method
10/23/2022 5:32:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:32:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:32:13 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:32:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:32:13 AM=>Info:- Count = 1
10/23/2022 5:32:13 AM=>Info:- Count 1
10/23/2022 5:32:13 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:32:13 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:32:13 AM=>Info:- Start SenMail Method
10/23/2022 5:32:13 AM=>UseDefaultCredentials
10/23/2022 5:32:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:32:13 AM=>EnableSsl = true
10/23/2022 5:32:13 AM=>DeliveryMethod
10/23/2022 5:32:13 AM=>Before Send
10/23/2022 5:32:13 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:32:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:32:13 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:32:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:32:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:32:13 AM=>Info:- END Mailing Method
10/23/2022 5:32:13 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:32:13 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:32:13 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:32:13 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:32:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:32:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:32:13 AM=>Info - End of callingService Method
10/23/2022 5:34:13 AM=>Info - Check time Elapsed
10/23/2022 5:34:13 AM=>Info - Call callingService Method
10/23/2022 5:34:13 AM=>Info:- Call Both
10/23/2022 5:34:13 AM=>Info:- Start Executing SMS Method
10/23/2022 5:34:13 AM=>Info:- End Executing SMS Method
10/23/2022 5:34:13 AM=>Info:- Start Mailing Method
10/23/2022 5:34:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:34:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:34:13 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:34:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:34:13 AM=>Info:- Count = 1
10/23/2022 5:34:13 AM=>Info:- Count 1
10/23/2022 5:34:13 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:34:13 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:34:13 AM=>Info:- Start SenMail Method
10/23/2022 5:34:13 AM=>UseDefaultCredentials
10/23/2022 5:34:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:34:13 AM=>EnableSsl = true
10/23/2022 5:34:13 AM=>DeliveryMethod
10/23/2022 5:34:13 AM=>Before Send
10/23/2022 5:34:16 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:34:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:34:16 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:34:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:34:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:34:16 AM=>Info:- END Mailing Method
10/23/2022 5:34:16 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:34:16 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:34:16 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:34:16 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:34:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:34:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:34:16 AM=>Info - End of callingService Method
10/23/2022 5:36:16 AM=>Info - Check time Elapsed
10/23/2022 5:36:16 AM=>Info - Call callingService Method
10/23/2022 5:36:16 AM=>Info:- Call Both
10/23/2022 5:36:16 AM=>Info:- Start Executing SMS Method
10/23/2022 5:36:16 AM=>Info:- End Executing SMS Method
10/23/2022 5:36:16 AM=>Info:- Start Mailing Method
10/23/2022 5:36:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:36:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:36:16 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:36:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:36:16 AM=>Info:- Count = 1
10/23/2022 5:36:16 AM=>Info:- Count 1
10/23/2022 5:36:16 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:36:16 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:36:16 AM=>Info:- Start SenMail Method
10/23/2022 5:36:16 AM=>UseDefaultCredentials
10/23/2022 5:36:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:36:16 AM=>EnableSsl = true
10/23/2022 5:36:16 AM=>DeliveryMethod
10/23/2022 5:36:16 AM=>Before Send
10/23/2022 5:37:40 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.70.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:37:40 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:37:40 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:37:40 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:37:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:37:41 AM=>Info:- END Mailing Method
10/23/2022 5:37:41 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:37:41 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:37:41 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:37:41 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:37:41 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:37:41 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:37:41 AM=>Info - End of callingService Method
10/23/2022 5:39:41 AM=>Info - Check time Elapsed
10/23/2022 5:39:41 AM=>Info - Call callingService Method
10/23/2022 5:39:41 AM=>Info:- Call Both
10/23/2022 5:39:41 AM=>Info:- Start Executing SMS Method
10/23/2022 5:39:41 AM=>Info:- End Executing SMS Method
10/23/2022 5:39:41 AM=>Info:- Start Mailing Method
10/23/2022 5:39:41 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:39:41 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:39:41 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:39:41 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:39:41 AM=>Info:- Count = 1
10/23/2022 5:39:41 AM=>Info:- Count 1
10/23/2022 5:39:41 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:39:41 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:39:41 AM=>Info:- Start SenMail Method
10/23/2022 5:39:41 AM=>UseDefaultCredentials
10/23/2022 5:39:41 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:39:41 AM=>EnableSsl = true
10/23/2022 5:39:41 AM=>DeliveryMethod
10/23/2022 5:39:41 AM=>Before Send
10/23/2022 5:41:05 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:41:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:41:05 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:41:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:41:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:41:05 AM=>Info:- END Mailing Method
10/23/2022 5:41:05 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:41:05 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:41:05 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:41:05 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:41:05 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:41:05 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:41:05 AM=>Info - End of callingService Method
10/23/2022 5:43:05 AM=>Info - Check time Elapsed
10/23/2022 5:43:05 AM=>Info - Call callingService Method
10/23/2022 5:43:05 AM=>Info:- Call Both
10/23/2022 5:43:05 AM=>Info:- Start Executing SMS Method
10/23/2022 5:43:05 AM=>Info:- End Executing SMS Method
10/23/2022 5:43:05 AM=>Info:- Start Mailing Method
10/23/2022 5:43:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:43:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:43:05 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:43:05 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:43:05 AM=>Info:- Count = 1
10/23/2022 5:43:05 AM=>Info:- Count 1
10/23/2022 5:43:05 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:43:05 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:43:05 AM=>Info:- Start SenMail Method
10/23/2022 5:43:05 AM=>UseDefaultCredentials
10/23/2022 5:43:05 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:43:05 AM=>EnableSsl = true
10/23/2022 5:43:05 AM=>DeliveryMethod
10/23/2022 5:43:05 AM=>Before Send
10/23/2022 5:43:47 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:43:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:43:47 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:43:47 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:43:47 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:43:48 AM=>Info:- END Mailing Method
10/23/2022 5:43:48 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:43:48 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:43:48 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:43:48 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:43:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:43:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:43:48 AM=>Info - End of callingService Method
10/23/2022 5:45:48 AM=>Info - Check time Elapsed
10/23/2022 5:45:48 AM=>Info - Call callingService Method
10/23/2022 5:45:48 AM=>Info:- Call Both
10/23/2022 5:45:48 AM=>Info:- Start Executing SMS Method
10/23/2022 5:45:48 AM=>Info:- End Executing SMS Method
10/23/2022 5:45:48 AM=>Info:- Start Mailing Method
10/23/2022 5:45:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:45:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:45:48 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:45:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:45:48 AM=>Info:- Count = 1
10/23/2022 5:45:48 AM=>Info:- Count 1
10/23/2022 5:45:48 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:45:48 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:45:48 AM=>Info:- Start SenMail Method
10/23/2022 5:45:48 AM=>UseDefaultCredentials
10/23/2022 5:45:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:45:48 AM=>EnableSsl = true
10/23/2022 5:45:48 AM=>DeliveryMethod
10/23/2022 5:45:48 AM=>Before Send
10/23/2022 5:46:09 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:46:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:46:09 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:46:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:46:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:46:09 AM=>Info:- END Mailing Method
10/23/2022 5:46:09 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:46:09 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:46:09 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:46:09 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:46:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:46:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:46:09 AM=>Info - End of callingService Method
10/23/2022 5:48:09 AM=>Info - Check time Elapsed
10/23/2022 5:48:09 AM=>Info - Call callingService Method
10/23/2022 5:48:09 AM=>Info:- Call Both
10/23/2022 5:48:09 AM=>Info:- Start Executing SMS Method
10/23/2022 5:48:09 AM=>Info:- End Executing SMS Method
10/23/2022 5:48:09 AM=>Info:- Start Mailing Method
10/23/2022 5:48:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:48:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:48:09 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:48:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:48:09 AM=>Info:- Count = 1
10/23/2022 5:48:09 AM=>Info:- Count 1
10/23/2022 5:48:09 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:48:09 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:48:09 AM=>Info:- Start SenMail Method
10/23/2022 5:48:09 AM=>UseDefaultCredentials
10/23/2022 5:48:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:48:09 AM=>EnableSsl = true
10/23/2022 5:48:09 AM=>DeliveryMethod
10/23/2022 5:48:09 AM=>Before Send
10/23/2022 5:48:09 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:48:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:48:09 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:48:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:48:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:48:09 AM=>Info:- END Mailing Method
10/23/2022 5:48:09 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:48:09 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:48:09 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:48:09 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:48:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:48:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:48:09 AM=>Info - End of callingService Method
10/23/2022 5:50:09 AM=>Info - Check time Elapsed
10/23/2022 5:50:09 AM=>Info - Call callingService Method
10/23/2022 5:50:09 AM=>Info:- Call Both
10/23/2022 5:50:09 AM=>Info:- Start Executing SMS Method
10/23/2022 5:50:09 AM=>Info:- End Executing SMS Method
10/23/2022 5:50:09 AM=>Info:- Start Mailing Method
10/23/2022 5:50:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:50:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:50:09 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:50:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:50:09 AM=>Info:- Count = 1
10/23/2022 5:50:09 AM=>Info:- Count 1
10/23/2022 5:50:09 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:50:09 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:50:09 AM=>Info:- Start SenMail Method
10/23/2022 5:50:09 AM=>UseDefaultCredentials
10/23/2022 5:50:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:50:09 AM=>EnableSsl = true
10/23/2022 5:50:09 AM=>DeliveryMethod
10/23/2022 5:50:09 AM=>Before Send
10/23/2022 5:50:18 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:50:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:50:18 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:50:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:50:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:50:19 AM=>Info:- END Mailing Method
10/23/2022 5:50:19 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:50:19 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:50:19 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:50:19 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:50:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:50:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:50:19 AM=>Info - End of callingService Method
10/23/2022 5:52:19 AM=>Info - Check time Elapsed
10/23/2022 5:52:19 AM=>Info - Call callingService Method
10/23/2022 5:52:19 AM=>Info:- Call Both
10/23/2022 5:52:19 AM=>Info:- Start Executing SMS Method
10/23/2022 5:52:19 AM=>Info:- End Executing SMS Method
10/23/2022 5:52:19 AM=>Info:- Start Mailing Method
10/23/2022 5:52:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:52:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:52:19 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:52:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:52:19 AM=>Info:- Count = 1
10/23/2022 5:52:19 AM=>Info:- Count 1
10/23/2022 5:52:19 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:52:19 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:52:19 AM=>Info:- Start SenMail Method
10/23/2022 5:52:19 AM=>UseDefaultCredentials
10/23/2022 5:52:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:52:19 AM=>EnableSsl = true
10/23/2022 5:52:19 AM=>DeliveryMethod
10/23/2022 5:52:19 AM=>Before Send
10/23/2022 5:52:28 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:52:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:52:28 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:52:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:52:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:52:28 AM=>Info:- END Mailing Method
10/23/2022 5:52:28 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:52:28 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:52:28 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:52:28 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:52:28 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:52:28 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:52:28 AM=>Info - End of callingService Method
10/23/2022 5:54:28 AM=>Info - Check time Elapsed
10/23/2022 5:54:28 AM=>Info - Call callingService Method
10/23/2022 5:54:28 AM=>Info:- Call Both
10/23/2022 5:54:28 AM=>Info:- Start Executing SMS Method
10/23/2022 5:54:28 AM=>Info:- End Executing SMS Method
10/23/2022 5:54:28 AM=>Info:- Start Mailing Method
10/23/2022 5:54:28 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:54:28 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:54:28 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:54:28 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:54:28 AM=>Info:- Count = 1
10/23/2022 5:54:28 AM=>Info:- Count 1
10/23/2022 5:54:28 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:54:28 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:54:28 AM=>Info:- Start SenMail Method
10/23/2022 5:54:28 AM=>UseDefaultCredentials
10/23/2022 5:54:28 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:54:28 AM=>EnableSsl = true
10/23/2022 5:54:28 AM=>DeliveryMethod
10/23/2022 5:54:28 AM=>Before Send
10/23/2022 5:54:31 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:54:31 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:54:31 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:54:31 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:54:31 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:54:31 AM=>Info:- END Mailing Method
10/23/2022 5:54:31 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:54:31 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:54:31 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:54:31 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:54:31 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:54:31 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:54:31 AM=>Info - End of callingService Method
10/23/2022 5:56:31 AM=>Info - Check time Elapsed
10/23/2022 5:56:31 AM=>Info - Call callingService Method
10/23/2022 5:56:31 AM=>Info:- Call Both
10/23/2022 5:56:31 AM=>Info:- Start Executing SMS Method
10/23/2022 5:56:31 AM=>Info:- End Executing SMS Method
10/23/2022 5:56:31 AM=>Info:- Start Mailing Method
10/23/2022 5:56:31 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:56:31 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:56:31 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:56:31 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:56:31 AM=>Info:- Count = 1
10/23/2022 5:56:32 AM=>Info:- Count 1
10/23/2022 5:56:32 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:56:32 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:56:32 AM=>Info:- Start SenMail Method
10/23/2022 5:56:32 AM=>UseDefaultCredentials
10/23/2022 5:56:32 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:56:32 AM=>EnableSsl = true
10/23/2022 5:56:32 AM=>DeliveryMethod
10/23/2022 5:56:32 AM=>Before Send
10/23/2022 5:56:41 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:56:41 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:56:41 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:56:41 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:56:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:56:41 AM=>Info:- END Mailing Method
10/23/2022 5:56:41 AM=>Info:- Start Executing Telegram Method
10/23/2022 5:56:41 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:56:41 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:56:41 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:56:41 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:56:41 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:56:41 AM=>Info - End of callingService Method
10/23/2022 5:58:41 AM=>Info - Check time Elapsed
10/23/2022 5:58:41 AM=>Info - Call callingService Method
10/23/2022 5:58:41 AM=>Info:- Call Both
10/23/2022 5:58:41 AM=>Info:- Start Executing SMS Method
10/23/2022 5:58:41 AM=>Info:- End Executing SMS Method
10/23/2022 5:58:41 AM=>Info:- Start Mailing Method
10/23/2022 5:58:41 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:58:41 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:58:41 AM=>Info:- PendingMail.xml file read to list
10/23/2022 5:58:41 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:58:41 AM=>Info:- Count = 1
10/23/2022 5:58:41 AM=>Info:- Count 1
10/23/2022 5:58:41 AM=>Info - Fetching Data From MAIL XML
10/23/2022 5:58:41 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:58:41 AM=>Info:- Start SenMail Method
10/23/2022 5:58:41 AM=>UseDefaultCredentials
10/23/2022 5:58:41 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:58:41 AM=>EnableSsl = true
10/23/2022 5:58:41 AM=>DeliveryMethod
10/23/2022 5:58:41 AM=>Before Send
10/23/2022 6:00:05 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.18:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:00:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:00:05 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:00:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:00:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:00:05 AM=>Info:- END Mailing Method
10/23/2022 6:00:05 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:00:05 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:00:05 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:00:05 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:00:05 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:00:05 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:00:05 AM=>Info - End of callingService Method
10/23/2022 6:02:05 AM=>Info - Check time Elapsed
10/23/2022 6:02:05 AM=>Info - Call callingService Method
10/23/2022 6:02:05 AM=>Info:- Call Both
10/23/2022 6:02:05 AM=>Info:- Start Executing SMS Method
10/23/2022 6:02:05 AM=>Info:- End Executing SMS Method
10/23/2022 6:02:05 AM=>Info:- Start Mailing Method
10/23/2022 6:02:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:02:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:02:05 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:02:05 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:02:05 AM=>Info:- Count = 1
10/23/2022 6:02:05 AM=>Info:- Count 1
10/23/2022 6:02:05 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:02:05 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:02:05 AM=>Info:- Start SenMail Method
10/23/2022 6:02:05 AM=>UseDefaultCredentials
10/23/2022 6:02:05 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:02:05 AM=>EnableSsl = true
10/23/2022 6:02:05 AM=>DeliveryMethod
10/23/2022 6:02:05 AM=>Before Send
10/23/2022 6:03:29 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.179.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:03:29 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:03:29 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:03:29 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:03:29 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:03:30 AM=>Info:- END Mailing Method
10/23/2022 6:03:30 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:03:30 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:03:30 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:03:30 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:03:30 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:03:30 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:03:30 AM=>Info - End of callingService Method
10/23/2022 6:05:30 AM=>Info - Check time Elapsed
10/23/2022 6:05:30 AM=>Info - Call callingService Method
10/23/2022 6:05:30 AM=>Info:- Call Both
10/23/2022 6:05:30 AM=>Info:- Start Executing SMS Method
10/23/2022 6:05:30 AM=>Info:- End Executing SMS Method
10/23/2022 6:05:30 AM=>Info:- Start Mailing Method
10/23/2022 6:05:30 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:05:30 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:05:30 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:05:30 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:05:30 AM=>Info:- Count = 1
10/23/2022 6:05:30 AM=>Info:- Count 1
10/23/2022 6:05:30 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:05:30 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:05:30 AM=>Info:- Start SenMail Method
10/23/2022 6:05:30 AM=>UseDefaultCredentials
10/23/2022 6:05:30 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:05:30 AM=>EnableSsl = true
10/23/2022 6:05:30 AM=>DeliveryMethod
10/23/2022 6:05:30 AM=>Before Send
10/23/2022 6:05:39 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:05:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:05:39 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:05:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:05:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:05:39 AM=>Info:- END Mailing Method
10/23/2022 6:05:39 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:05:39 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:05:39 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:05:39 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:05:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:05:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:05:39 AM=>Info - End of callingService Method
10/23/2022 6:07:39 AM=>Info - Check time Elapsed
10/23/2022 6:07:39 AM=>Info - Call callingService Method
10/23/2022 6:07:39 AM=>Info:- Call Both
10/23/2022 6:07:39 AM=>Info:- Start Executing SMS Method
10/23/2022 6:07:39 AM=>Info:- End Executing SMS Method
10/23/2022 6:07:39 AM=>Info:- Start Mailing Method
10/23/2022 6:07:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:07:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:07:39 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:07:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:07:39 AM=>Info:- Count = 1
10/23/2022 6:07:39 AM=>Info:- Count 1
10/23/2022 6:07:39 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:07:39 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:07:39 AM=>Info:- Start SenMail Method
10/23/2022 6:07:39 AM=>UseDefaultCredentials
10/23/2022 6:07:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:07:39 AM=>EnableSsl = true
10/23/2022 6:07:39 AM=>DeliveryMethod
10/23/2022 6:07:39 AM=>Before Send
10/23/2022 6:07:48 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:07:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:07:48 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:07:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:07:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:07:49 AM=>Info:- END Mailing Method
10/23/2022 6:07:49 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:07:49 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:07:49 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:07:49 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:07:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:07:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:07:49 AM=>Info - End of callingService Method
10/23/2022 6:09:49 AM=>Info - Check time Elapsed
10/23/2022 6:09:49 AM=>Info - Call callingService Method
10/23/2022 6:09:49 AM=>Info:- Call Both
10/23/2022 6:09:49 AM=>Info:- Start Executing SMS Method
10/23/2022 6:09:49 AM=>Info:- End Executing SMS Method
10/23/2022 6:09:49 AM=>Info:- Start Mailing Method
10/23/2022 6:09:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:09:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:09:49 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:09:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:09:49 AM=>Info:- Count = 1
10/23/2022 6:09:49 AM=>Info:- Count 1
10/23/2022 6:09:49 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:09:49 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:09:49 AM=>Info:- Start SenMail Method
10/23/2022 6:09:49 AM=>UseDefaultCredentials
10/23/2022 6:09:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:09:49 AM=>EnableSsl = true
10/23/2022 6:09:49 AM=>DeliveryMethod
10/23/2022 6:09:49 AM=>Before Send
10/23/2022 6:11:13 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:11:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:11:13 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:11:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:11:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:11:13 AM=>Info:- END Mailing Method
10/23/2022 6:11:13 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:11:13 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:11:13 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:11:13 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:11:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:11:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:11:13 AM=>Info - End of callingService Method
10/23/2022 6:13:13 AM=>Info - Check time Elapsed
10/23/2022 6:13:13 AM=>Info - Call callingService Method
10/23/2022 6:13:13 AM=>Info:- Call Both
10/23/2022 6:13:13 AM=>Info:- Start Executing SMS Method
10/23/2022 6:13:13 AM=>Info:- End Executing SMS Method
10/23/2022 6:13:13 AM=>Info:- Start Mailing Method
10/23/2022 6:13:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:13:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:13:13 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:13:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:13:13 AM=>Info:- Count = 1
10/23/2022 6:13:13 AM=>Info:- Count 1
10/23/2022 6:13:13 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:13:13 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:13:13 AM=>Info:- Start SenMail Method
10/23/2022 6:13:13 AM=>UseDefaultCredentials
10/23/2022 6:13:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:13:13 AM=>EnableSsl = true
10/23/2022 6:13:13 AM=>DeliveryMethod
10/23/2022 6:13:13 AM=>Before Send
10/23/2022 6:13:34 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:13:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:13:34 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:13:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:13:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:13:34 AM=>Info:- END Mailing Method
10/23/2022 6:13:34 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:13:34 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:13:34 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:13:34 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:13:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:13:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:13:34 AM=>Info - End of callingService Method
10/23/2022 6:15:34 AM=>Info - Check time Elapsed
10/23/2022 6:15:34 AM=>Info - Call callingService Method
10/23/2022 6:15:34 AM=>Info:- Call Both
10/23/2022 6:15:34 AM=>Info:- Start Executing SMS Method
10/23/2022 6:15:34 AM=>Info:- End Executing SMS Method
10/23/2022 6:15:34 AM=>Info:- Start Mailing Method
10/23/2022 6:15:34 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:15:34 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:15:34 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:15:34 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:15:34 AM=>Info:- Count = 1
10/23/2022 6:15:34 AM=>Info:- Count 1
10/23/2022 6:15:34 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:15:34 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:15:34 AM=>Info:- Start SenMail Method
10/23/2022 6:15:34 AM=>UseDefaultCredentials
10/23/2022 6:15:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:15:34 AM=>EnableSsl = true
10/23/2022 6:15:34 AM=>DeliveryMethod
10/23/2022 6:15:34 AM=>Before Send
10/23/2022 6:15:56 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:15:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:15:56 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:15:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:15:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:15:56 AM=>Info:- END Mailing Method
10/23/2022 6:15:56 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:15:56 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:15:56 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:15:56 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:15:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:15:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:15:56 AM=>Info - End of callingService Method
10/23/2022 6:17:56 AM=>Info - Check time Elapsed
10/23/2022 6:17:56 AM=>Info - Call callingService Method
10/23/2022 6:17:56 AM=>Info:- Call Both
10/23/2022 6:17:56 AM=>Info:- Start Executing SMS Method
10/23/2022 6:17:56 AM=>Info:- End Executing SMS Method
10/23/2022 6:17:56 AM=>Info:- Start Mailing Method
10/23/2022 6:17:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:17:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:17:56 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:17:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:17:56 AM=>Info:- Count = 1
10/23/2022 6:17:56 AM=>Info:- Count 1
10/23/2022 6:17:56 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:17:56 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:17:56 AM=>Info:- Start SenMail Method
10/23/2022 6:17:56 AM=>UseDefaultCredentials
10/23/2022 6:17:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:17:56 AM=>EnableSsl = true
10/23/2022 6:17:56 AM=>DeliveryMethod
10/23/2022 6:17:56 AM=>Before Send
10/23/2022 6:17:56 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:17:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:17:56 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:17:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:17:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:17:56 AM=>Info:- END Mailing Method
10/23/2022 6:17:56 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:17:56 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:17:56 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:17:56 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:17:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:17:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:17:56 AM=>Info - End of callingService Method
10/23/2022 6:19:56 AM=>Info - Check time Elapsed
10/23/2022 6:19:56 AM=>Info - Call callingService Method
10/23/2022 6:19:56 AM=>Info:- Call Both
10/23/2022 6:19:56 AM=>Info:- Start Executing SMS Method
10/23/2022 6:19:56 AM=>Info:- End Executing SMS Method
10/23/2022 6:19:56 AM=>Info:- Start Mailing Method
10/23/2022 6:19:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:19:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:19:56 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:19:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:19:56 AM=>Info:- Count = 1
10/23/2022 6:19:56 AM=>Info:- Count 1
10/23/2022 6:19:56 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:19:56 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:19:56 AM=>Info:- Start SenMail Method
10/23/2022 6:19:56 AM=>UseDefaultCredentials
10/23/2022 6:19:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:19:56 AM=>EnableSsl = true
10/23/2022 6:19:56 AM=>DeliveryMethod
10/23/2022 6:19:56 AM=>Before Send
10/23/2022 6:20:59 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:20:59 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:20:59 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:20:59 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:20:59 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:21:00 AM=>Info:- END Mailing Method
10/23/2022 6:21:00 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:21:00 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:21:00 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:21:00 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:21:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:21:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:21:00 AM=>Info - End of callingService Method
10/23/2022 6:23:00 AM=>Info - Check time Elapsed
10/23/2022 6:23:00 AM=>Info - Call callingService Method
10/23/2022 6:23:00 AM=>Info:- Call Both
10/23/2022 6:23:00 AM=>Info:- Start Executing SMS Method
10/23/2022 6:23:00 AM=>Info:- End Executing SMS Method
10/23/2022 6:23:00 AM=>Info:- Start Mailing Method
10/23/2022 6:23:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:23:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:23:00 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:23:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:23:00 AM=>Info:- Count = 1
10/23/2022 6:23:00 AM=>Info:- Count 1
10/23/2022 6:23:00 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:23:00 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:23:00 AM=>Info:- Start SenMail Method
10/23/2022 6:23:00 AM=>UseDefaultCredentials
10/23/2022 6:23:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:23:00 AM=>EnableSsl = true
10/23/2022 6:23:00 AM=>DeliveryMethod
10/23/2022 6:23:00 AM=>Before Send
10/23/2022 6:23:21 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:23:21 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:23:21 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:23:21 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:23:21 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:23:21 AM=>Info:- END Mailing Method
10/23/2022 6:23:21 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:23:21 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:23:21 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:23:21 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:23:21 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:23:21 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:23:21 AM=>Info - End of callingService Method
10/23/2022 6:25:21 AM=>Info - Check time Elapsed
10/23/2022 6:25:21 AM=>Info - Call callingService Method
10/23/2022 6:25:21 AM=>Info:- Call Both
10/23/2022 6:25:21 AM=>Info:- Start Executing SMS Method
10/23/2022 6:25:21 AM=>Info:- End Executing SMS Method
10/23/2022 6:25:21 AM=>Info:- Start Mailing Method
10/23/2022 6:25:21 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:25:21 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:25:21 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:25:21 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:25:21 AM=>Info:- Count = 1
10/23/2022 6:25:21 AM=>Info:- Count 1
10/23/2022 6:25:21 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:25:21 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:25:21 AM=>Info:- Start SenMail Method
10/23/2022 6:25:21 AM=>UseDefaultCredentials
10/23/2022 6:25:21 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:25:21 AM=>EnableSsl = true
10/23/2022 6:25:21 AM=>DeliveryMethod
10/23/2022 6:25:21 AM=>Before Send
10/23/2022 6:26:45 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.162:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:26:45 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:26:45 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:26:45 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:26:45 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:26:45 AM=>Info:- END Mailing Method
10/23/2022 6:26:45 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:26:45 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:26:45 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:26:45 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:26:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:26:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:26:45 AM=>Info - End of callingService Method
10/23/2022 6:28:45 AM=>Info - Check time Elapsed
10/23/2022 6:28:45 AM=>Info - Call callingService Method
10/23/2022 6:28:45 AM=>Info:- Call Both
10/23/2022 6:28:45 AM=>Info:- Start Executing SMS Method
10/23/2022 6:28:45 AM=>Info:- End Executing SMS Method
10/23/2022 6:28:45 AM=>Info:- Start Mailing Method
10/23/2022 6:28:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:28:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:28:46 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:28:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:28:46 AM=>Info:- Count = 1
10/23/2022 6:28:46 AM=>Info:- Count 1
10/23/2022 6:28:46 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:28:46 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:28:46 AM=>Info:- Start SenMail Method
10/23/2022 6:28:46 AM=>UseDefaultCredentials
10/23/2022 6:28:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:28:46 AM=>EnableSsl = true
10/23/2022 6:28:46 AM=>DeliveryMethod
10/23/2022 6:28:46 AM=>Before Send
10/23/2022 6:28:46 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:28:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:28:46 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:28:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:28:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:28:46 AM=>Info:- END Mailing Method
10/23/2022 6:28:46 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:28:46 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:28:46 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:28:46 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:28:46 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:28:46 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:28:46 AM=>Info - End of callingService Method
10/23/2022 6:30:46 AM=>Info - Check time Elapsed
10/23/2022 6:30:46 AM=>Info - Call callingService Method
10/23/2022 6:30:46 AM=>Info:- Call Both
10/23/2022 6:30:46 AM=>Info:- Start Executing SMS Method
10/23/2022 6:30:46 AM=>Info:- End Executing SMS Method
10/23/2022 6:30:46 AM=>Info:- Start Mailing Method
10/23/2022 6:30:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:30:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:30:46 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:30:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:30:46 AM=>Info:- Count = 1
10/23/2022 6:30:46 AM=>Info:- Count 1
10/23/2022 6:30:46 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:30:46 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:30:46 AM=>Info:- Start SenMail Method
10/23/2022 6:30:46 AM=>UseDefaultCredentials
10/23/2022 6:30:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:30:46 AM=>EnableSsl = true
10/23/2022 6:30:46 AM=>DeliveryMethod
10/23/2022 6:30:46 AM=>Before Send
10/23/2022 6:32:10 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:32:10 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:32:10 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:32:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:32:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:32:10 AM=>Info:- END Mailing Method
10/23/2022 6:32:10 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:32:10 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:32:10 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:32:10 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:32:10 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:32:10 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:32:10 AM=>Info - End of callingService Method
10/23/2022 6:34:10 AM=>Info - Check time Elapsed
10/23/2022 6:34:10 AM=>Info - Call callingService Method
10/23/2022 6:34:10 AM=>Info:- Call Both
10/23/2022 6:34:10 AM=>Info:- Start Executing SMS Method
10/23/2022 6:34:10 AM=>Info:- End Executing SMS Method
10/23/2022 6:34:10 AM=>Info:- Start Mailing Method
10/23/2022 6:34:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:34:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:34:10 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:34:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:34:10 AM=>Info:- Count = 1
10/23/2022 6:34:10 AM=>Info:- Count 1
10/23/2022 6:34:10 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:34:10 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:34:10 AM=>Info:- Start SenMail Method
10/23/2022 6:34:10 AM=>UseDefaultCredentials
10/23/2022 6:34:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:34:10 AM=>EnableSsl = true
10/23/2022 6:34:10 AM=>DeliveryMethod
10/23/2022 6:34:10 AM=>Before Send
10/23/2022 6:35:34 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.181.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:35:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:35:34 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:35:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:35:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:35:35 AM=>Info:- END Mailing Method
10/23/2022 6:35:35 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:35:35 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:35:35 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:35:35 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:35:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:35:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:35:35 AM=>Info - End of callingService Method
10/23/2022 6:37:35 AM=>Info - Check time Elapsed
10/23/2022 6:37:35 AM=>Info - Call callingService Method
10/23/2022 6:37:35 AM=>Info:- Call Both
10/23/2022 6:37:35 AM=>Info:- Start Executing SMS Method
10/23/2022 6:37:35 AM=>Info:- End Executing SMS Method
10/23/2022 6:37:35 AM=>Info:- Start Mailing Method
10/23/2022 6:37:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:37:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:37:35 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:37:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:37:35 AM=>Info:- Count = 1
10/23/2022 6:37:35 AM=>Info:- Count 1
10/23/2022 6:37:35 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:37:35 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:37:35 AM=>Info:- Start SenMail Method
10/23/2022 6:37:35 AM=>UseDefaultCredentials
10/23/2022 6:37:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:37:35 AM=>EnableSsl = true
10/23/2022 6:37:35 AM=>DeliveryMethod
10/23/2022 6:37:35 AM=>Before Send
10/23/2022 6:37:35 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:37:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:37:35 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:37:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:37:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:37:35 AM=>Info:- END Mailing Method
10/23/2022 6:37:35 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:37:35 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:37:35 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:37:35 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:37:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:37:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:37:35 AM=>Info - End of callingService Method
10/23/2022 6:39:35 AM=>Info - Check time Elapsed
10/23/2022 6:39:35 AM=>Info - Call callingService Method
10/23/2022 6:39:35 AM=>Info:- Call Both
10/23/2022 6:39:35 AM=>Info:- Start Executing SMS Method
10/23/2022 6:39:35 AM=>Info:- End Executing SMS Method
10/23/2022 6:39:35 AM=>Info:- Start Mailing Method
10/23/2022 6:39:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:39:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:39:35 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:39:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:39:35 AM=>Info:- Count = 1
10/23/2022 6:39:35 AM=>Info:- Count 1
10/23/2022 6:39:35 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:39:35 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:39:35 AM=>Info:- Start SenMail Method
10/23/2022 6:39:35 AM=>UseDefaultCredentials
10/23/2022 6:39:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:39:35 AM=>EnableSsl = true
10/23/2022 6:39:35 AM=>DeliveryMethod
10/23/2022 6:39:35 AM=>Before Send
10/23/2022 6:39:44 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:39:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:39:44 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:39:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:39:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:39:44 AM=>Info:- END Mailing Method
10/23/2022 6:39:44 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:39:44 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:39:44 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:39:44 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:39:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:39:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:39:44 AM=>Info - End of callingService Method
10/23/2022 6:41:44 AM=>Info - Check time Elapsed
10/23/2022 6:41:44 AM=>Info - Call callingService Method
10/23/2022 6:41:44 AM=>Info:- Call Both
10/23/2022 6:41:44 AM=>Info:- Start Executing SMS Method
10/23/2022 6:41:44 AM=>Info:- End Executing SMS Method
10/23/2022 6:41:44 AM=>Info:- Start Mailing Method
10/23/2022 6:41:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:41:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:41:44 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:41:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:41:44 AM=>Info:- Count = 1
10/23/2022 6:41:44 AM=>Info:- Count 1
10/23/2022 6:41:44 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:41:44 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:41:44 AM=>Info:- Start SenMail Method
10/23/2022 6:41:44 AM=>UseDefaultCredentials
10/23/2022 6:41:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:41:44 AM=>EnableSsl = true
10/23/2022 6:41:44 AM=>DeliveryMethod
10/23/2022 6:41:44 AM=>Before Send
10/23/2022 6:41:53 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:41:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:41:54 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:41:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:41:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:41:54 AM=>Info:- END Mailing Method
10/23/2022 6:41:54 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:41:54 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:41:54 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:41:54 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:41:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:41:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:41:54 AM=>Info - End of callingService Method
10/23/2022 6:43:54 AM=>Info - Check time Elapsed
10/23/2022 6:43:54 AM=>Info - Call callingService Method
10/23/2022 6:43:54 AM=>Info:- Call Both
10/23/2022 6:43:54 AM=>Info:- Start Executing SMS Method
10/23/2022 6:43:54 AM=>Info:- End Executing SMS Method
10/23/2022 6:43:54 AM=>Info:- Start Mailing Method
10/23/2022 6:43:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:43:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:43:54 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:43:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:43:54 AM=>Info:- Count = 1
10/23/2022 6:43:54 AM=>Info:- Count 1
10/23/2022 6:43:54 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:43:54 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:43:54 AM=>Info:- Start SenMail Method
10/23/2022 6:43:54 AM=>UseDefaultCredentials
10/23/2022 6:43:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:43:54 AM=>EnableSsl = true
10/23/2022 6:43:54 AM=>DeliveryMethod
10/23/2022 6:43:54 AM=>Before Send
10/23/2022 6:45:00 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:45:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:45:00 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:45:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:45:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:45:00 AM=>Info:- END Mailing Method
10/23/2022 6:45:00 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:45:00 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:45:00 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:45:00 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:45:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:45:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:45:00 AM=>Info - End of callingService Method
10/23/2022 6:47:00 AM=>Info - Check time Elapsed
10/23/2022 6:47:00 AM=>Info - Call callingService Method
10/23/2022 6:47:00 AM=>Info:- Call Both
10/23/2022 6:47:00 AM=>Info:- Start Executing SMS Method
10/23/2022 6:47:00 AM=>Info:- End Executing SMS Method
10/23/2022 6:47:00 AM=>Info:- Start Mailing Method
10/23/2022 6:47:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:47:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:47:00 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:47:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:47:00 AM=>Info:- Count = 1
10/23/2022 6:47:00 AM=>Info:- Count 1
10/23/2022 6:47:00 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:47:00 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:47:00 AM=>Info:- Start SenMail Method
10/23/2022 6:47:00 AM=>UseDefaultCredentials
10/23/2022 6:47:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:47:00 AM=>EnableSsl = true
10/23/2022 6:47:00 AM=>DeliveryMethod
10/23/2022 6:47:00 AM=>Before Send
10/23/2022 6:48:24 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.183.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:48:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:48:24 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:48:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:48:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:48:25 AM=>Info:- END Mailing Method
10/23/2022 6:48:25 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:48:25 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:48:25 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:48:25 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:48:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:48:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:48:25 AM=>Info - End of callingService Method
10/23/2022 6:50:25 AM=>Info - Check time Elapsed
10/23/2022 6:50:25 AM=>Info - Call callingService Method
10/23/2022 6:50:25 AM=>Info:- Call Both
10/23/2022 6:50:25 AM=>Info:- Start Executing SMS Method
10/23/2022 6:50:25 AM=>Info:- End Executing SMS Method
10/23/2022 6:50:25 AM=>Info:- Start Mailing Method
10/23/2022 6:50:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:50:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:50:25 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:50:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:50:25 AM=>Info:- Count = 1
10/23/2022 6:50:25 AM=>Info:- Count 1
10/23/2022 6:50:25 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:50:25 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:50:25 AM=>Info:- Start SenMail Method
10/23/2022 6:50:25 AM=>UseDefaultCredentials
10/23/2022 6:50:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:50:25 AM=>EnableSsl = true
10/23/2022 6:50:25 AM=>DeliveryMethod
10/23/2022 6:50:25 AM=>Before Send
10/23/2022 6:51:49 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:51:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:51:49 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:51:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:51:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:51:49 AM=>Info:- END Mailing Method
10/23/2022 6:51:49 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:51:49 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:51:49 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:51:49 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:51:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:51:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:51:49 AM=>Info - End of callingService Method
10/23/2022 6:53:49 AM=>Info - Check time Elapsed
10/23/2022 6:53:49 AM=>Info - Call callingService Method
10/23/2022 6:53:49 AM=>Info:- Call Both
10/23/2022 6:53:49 AM=>Info:- Start Executing SMS Method
10/23/2022 6:53:49 AM=>Info:- End Executing SMS Method
10/23/2022 6:53:49 AM=>Info:- Start Mailing Method
10/23/2022 6:53:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:53:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:53:49 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:53:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:53:49 AM=>Info:- Count = 1
10/23/2022 6:53:49 AM=>Info:- Count 1
10/23/2022 6:53:49 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:53:49 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:53:49 AM=>Info:- Start SenMail Method
10/23/2022 6:53:49 AM=>UseDefaultCredentials
10/23/2022 6:53:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:53:49 AM=>EnableSsl = true
10/23/2022 6:53:49 AM=>DeliveryMethod
10/23/2022 6:53:49 AM=>Before Send
10/23/2022 6:53:58 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:53:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:53:58 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:53:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:53:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:53:59 AM=>Info:- END Mailing Method
10/23/2022 6:53:59 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:53:59 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:53:59 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:53:59 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:53:59 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:53:59 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:53:59 AM=>Info - End of callingService Method
10/23/2022 6:55:59 AM=>Info - Check time Elapsed
10/23/2022 6:55:59 AM=>Info - Call callingService Method
10/23/2022 6:55:59 AM=>Info:- Call Both
10/23/2022 6:55:59 AM=>Info:- Start Executing SMS Method
10/23/2022 6:55:59 AM=>Info:- End Executing SMS Method
10/23/2022 6:55:59 AM=>Info:- Start Mailing Method
10/23/2022 6:55:59 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:55:59 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:55:59 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:55:59 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:55:59 AM=>Info:- Count = 1
10/23/2022 6:55:59 AM=>Info:- Count 1
10/23/2022 6:55:59 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:55:59 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:55:59 AM=>Info:- Start SenMail Method
10/23/2022 6:55:59 AM=>UseDefaultCredentials
10/23/2022 6:55:59 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:55:59 AM=>EnableSsl = true
10/23/2022 6:55:59 AM=>DeliveryMethod
10/23/2022 6:55:59 AM=>Before Send
10/23/2022 6:56:08 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:56:08 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:56:08 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:56:08 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:56:08 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:56:08 AM=>Info:- END Mailing Method
10/23/2022 6:56:08 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:56:08 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:56:08 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:56:08 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:56:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:56:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:56:08 AM=>Info - End of callingService Method
10/23/2022 6:58:08 AM=>Info - Check time Elapsed
10/23/2022 6:58:08 AM=>Info - Call callingService Method
10/23/2022 6:58:08 AM=>Info:- Call Both
10/23/2022 6:58:08 AM=>Info:- Start Executing SMS Method
10/23/2022 6:58:08 AM=>Info:- End Executing SMS Method
10/23/2022 6:58:08 AM=>Info:- Start Mailing Method
10/23/2022 6:58:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:58:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:58:08 AM=>Info:- PendingMail.xml file read to list
10/23/2022 6:58:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:58:08 AM=>Info:- Count = 1
10/23/2022 6:58:08 AM=>Info:- Count 1
10/23/2022 6:58:08 AM=>Info - Fetching Data From MAIL XML
10/23/2022 6:58:08 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:58:08 AM=>Info:- Start SenMail Method
10/23/2022 6:58:08 AM=>UseDefaultCredentials
10/23/2022 6:58:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:58:08 AM=>EnableSsl = true
10/23/2022 6:58:08 AM=>DeliveryMethod
10/23/2022 6:58:08 AM=>Before Send
10/23/2022 6:58:11 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:58:11 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:58:11 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:58:11 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:58:11 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:58:11 AM=>Info:- END Mailing Method
10/23/2022 6:58:11 AM=>Info:- Start Executing Telegram Method
10/23/2022 6:58:11 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:58:11 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:58:11 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:58:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:58:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:58:11 AM=>Info - End of callingService Method
10/23/2022 7:00:11 AM=>Info - Check time Elapsed
10/23/2022 7:00:11 AM=>Info - Call callingService Method
10/23/2022 7:00:11 AM=>Info:- Call Both
10/23/2022 7:00:11 AM=>Info:- Start Executing SMS Method
10/23/2022 7:00:11 AM=>Info:- End Executing SMS Method
10/23/2022 7:00:11 AM=>Info:- Start Mailing Method
10/23/2022 7:00:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:00:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:00:11 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:00:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:00:11 AM=>Info:- Count = 1
10/23/2022 7:00:11 AM=>Info:- Count 1
10/23/2022 7:00:11 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:00:11 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:00:11 AM=>Info:- Start SenMail Method
10/23/2022 7:00:11 AM=>UseDefaultCredentials
10/23/2022 7:00:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:00:11 AM=>EnableSsl = true
10/23/2022 7:00:11 AM=>DeliveryMethod
10/23/2022 7:00:11 AM=>Before Send
10/23/2022 7:01:35 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:01:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:01:35 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:01:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:01:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:01:36 AM=>Info:- END Mailing Method
10/23/2022 7:01:36 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:01:36 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:01:36 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:01:36 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:01:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:01:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:01:36 AM=>Info - End of callingService Method
10/23/2022 7:03:36 AM=>Info - Check time Elapsed
10/23/2022 7:03:36 AM=>Info - Call callingService Method
10/23/2022 7:03:36 AM=>Info:- Call Both
10/23/2022 7:03:36 AM=>Info:- Start Executing SMS Method
10/23/2022 7:03:36 AM=>Info:- End Executing SMS Method
10/23/2022 7:03:36 AM=>Info:- Start Mailing Method
10/23/2022 7:03:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:03:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:03:36 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:03:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:03:36 AM=>Info:- Count = 1
10/23/2022 7:03:36 AM=>Info:- Count 1
10/23/2022 7:03:36 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:03:36 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:03:36 AM=>Info:- Start SenMail Method
10/23/2022 7:03:36 AM=>UseDefaultCredentials
10/23/2022 7:03:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:03:36 AM=>EnableSsl = true
10/23/2022 7:03:36 AM=>DeliveryMethod
10/23/2022 7:03:36 AM=>Before Send
10/23/2022 7:04:27 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:04:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:04:27 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:04:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:04:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:04:27 AM=>Info:- END Mailing Method
10/23/2022 7:04:27 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:04:27 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:04:27 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:04:27 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:04:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:04:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:04:27 AM=>Info - End of callingService Method
10/23/2022 7:06:27 AM=>Info - Check time Elapsed
10/23/2022 7:06:27 AM=>Info - Call callingService Method
10/23/2022 7:06:27 AM=>Info:- Call Both
10/23/2022 7:06:27 AM=>Info:- Start Executing SMS Method
10/23/2022 7:06:27 AM=>Info:- End Executing SMS Method
10/23/2022 7:06:27 AM=>Info:- Start Mailing Method
10/23/2022 7:06:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:06:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:06:27 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:06:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:06:27 AM=>Info:- Count = 1
10/23/2022 7:06:27 AM=>Info:- Count 1
10/23/2022 7:06:27 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:06:27 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:06:27 AM=>Info:- Start SenMail Method
10/23/2022 7:06:27 AM=>UseDefaultCredentials
10/23/2022 7:06:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:06:27 AM=>EnableSsl = true
10/23/2022 7:06:27 AM=>DeliveryMethod
10/23/2022 7:06:27 AM=>Before Send
10/23/2022 7:06:36 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:06:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:06:36 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:06:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:06:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:06:37 AM=>Info:- END Mailing Method
10/23/2022 7:06:37 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:06:37 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:06:37 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:06:37 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:06:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:06:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:06:37 AM=>Info - End of callingService Method
10/23/2022 7:08:37 AM=>Info - Check time Elapsed
10/23/2022 7:08:37 AM=>Info - Call callingService Method
10/23/2022 7:08:37 AM=>Info:- Call Both
10/23/2022 7:08:37 AM=>Info:- Start Executing SMS Method
10/23/2022 7:08:37 AM=>Info:- End Executing SMS Method
10/23/2022 7:08:37 AM=>Info:- Start Mailing Method
10/23/2022 7:08:37 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:08:37 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:08:37 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:08:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:08:37 AM=>Info:- Count = 1
10/23/2022 7:08:37 AM=>Info:- Count 1
10/23/2022 7:08:37 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:08:37 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:08:37 AM=>Info:- Start SenMail Method
10/23/2022 7:08:37 AM=>UseDefaultCredentials
10/23/2022 7:08:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:08:37 AM=>EnableSsl = true
10/23/2022 7:08:37 AM=>DeliveryMethod
10/23/2022 7:08:37 AM=>Before Send
10/23/2022 7:08:46 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:08:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:08:46 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:08:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:08:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:08:46 AM=>Info:- END Mailing Method
10/23/2022 7:08:46 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:08:46 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:08:46 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:08:46 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:08:46 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:08:46 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:08:46 AM=>Info - End of callingService Method
10/23/2022 7:10:46 AM=>Info - Check time Elapsed
10/23/2022 7:10:46 AM=>Info - Call callingService Method
10/23/2022 7:10:46 AM=>Info:- Call Both
10/23/2022 7:10:46 AM=>Info:- Start Executing SMS Method
10/23/2022 7:10:46 AM=>Info:- End Executing SMS Method
10/23/2022 7:10:46 AM=>Info:- Start Mailing Method
10/23/2022 7:10:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:10:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:10:46 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:10:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:10:46 AM=>Info:- Count = 1
10/23/2022 7:10:46 AM=>Info:- Count 1
10/23/2022 7:10:46 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:10:46 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:10:46 AM=>Info:- Start SenMail Method
10/23/2022 7:10:46 AM=>UseDefaultCredentials
10/23/2022 7:10:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:10:46 AM=>EnableSsl = true
10/23/2022 7:10:46 AM=>DeliveryMethod
10/23/2022 7:10:46 AM=>Before Send
10/23/2022 7:10:55 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:10:55 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:10:55 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:10:55 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:10:55 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:10:55 AM=>Info:- END Mailing Method
10/23/2022 7:10:55 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:10:55 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:10:55 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:10:55 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:10:55 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:10:55 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:10:55 AM=>Info - End of callingService Method
10/23/2022 7:12:55 AM=>Info - Check time Elapsed
10/23/2022 7:12:55 AM=>Info - Call callingService Method
10/23/2022 7:12:55 AM=>Info:- Call Both
10/23/2022 7:12:55 AM=>Info:- Start Executing SMS Method
10/23/2022 7:12:55 AM=>Info:- End Executing SMS Method
10/23/2022 7:12:55 AM=>Info:- Start Mailing Method
10/23/2022 7:12:55 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:12:55 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:12:55 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:12:55 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:12:55 AM=>Info:- Count = 1
10/23/2022 7:12:55 AM=>Info:- Count 1
10/23/2022 7:12:55 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:12:55 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:12:55 AM=>Info:- Start SenMail Method
10/23/2022 7:12:55 AM=>UseDefaultCredentials
10/23/2022 7:12:55 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:12:55 AM=>EnableSsl = true
10/23/2022 7:12:55 AM=>DeliveryMethod
10/23/2022 7:12:55 AM=>Before Send
10/23/2022 7:13:05 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:13:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:13:05 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:13:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:13:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:13:05 AM=>Info:- END Mailing Method
10/23/2022 7:13:05 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:13:05 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:13:05 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:13:05 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:13:05 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:13:05 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:13:05 AM=>Info - End of callingService Method
10/23/2022 7:15:05 AM=>Info - Check time Elapsed
10/23/2022 7:15:05 AM=>Info - Call callingService Method
10/23/2022 7:15:05 AM=>Info:- Call Both
10/23/2022 7:15:05 AM=>Info:- Start Executing SMS Method
10/23/2022 7:15:05 AM=>Info:- End Executing SMS Method
10/23/2022 7:15:05 AM=>Info:- Start Mailing Method
10/23/2022 7:15:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:15:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:15:05 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:15:05 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:15:05 AM=>Info:- Count = 1
10/23/2022 7:15:05 AM=>Info:- Count 1
10/23/2022 7:15:05 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:15:05 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:15:05 AM=>Info:- Start SenMail Method
10/23/2022 7:15:05 AM=>UseDefaultCredentials
10/23/2022 7:15:05 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:15:05 AM=>EnableSsl = true
10/23/2022 7:15:05 AM=>DeliveryMethod
10/23/2022 7:15:05 AM=>Before Send
10/23/2022 7:15:14 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:15:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:15:14 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:15:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:15:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:15:14 AM=>Info:- END Mailing Method
10/23/2022 7:15:14 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:15:14 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:15:14 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:15:14 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:15:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:15:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:15:14 AM=>Info - End of callingService Method
10/23/2022 7:17:14 AM=>Info - Check time Elapsed
10/23/2022 7:17:14 AM=>Info - Call callingService Method
10/23/2022 7:17:14 AM=>Info:- Call Both
10/23/2022 7:17:14 AM=>Info:- Start Executing SMS Method
10/23/2022 7:17:14 AM=>Info:- End Executing SMS Method
10/23/2022 7:17:14 AM=>Info:- Start Mailing Method
10/23/2022 7:17:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:17:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:17:14 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:17:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:17:14 AM=>Info:- Count = 1
10/23/2022 7:17:14 AM=>Info:- Count 1
10/23/2022 7:17:14 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:17:14 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:17:14 AM=>Info:- Start SenMail Method
10/23/2022 7:17:14 AM=>UseDefaultCredentials
10/23/2022 7:17:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:17:14 AM=>EnableSsl = true
10/23/2022 7:17:14 AM=>DeliveryMethod
10/23/2022 7:17:14 AM=>Before Send
10/23/2022 7:17:14 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:17:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:17:14 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:17:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:17:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:17:15 AM=>Info:- END Mailing Method
10/23/2022 7:17:15 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:17:15 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:17:15 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:17:15 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:17:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:17:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:17:15 AM=>Info - End of callingService Method
10/23/2022 7:19:15 AM=>Info - Check time Elapsed
10/23/2022 7:19:15 AM=>Info - Call callingService Method
10/23/2022 7:19:15 AM=>Info:- Call Both
10/23/2022 7:19:15 AM=>Info:- Start Executing SMS Method
10/23/2022 7:19:15 AM=>Info:- End Executing SMS Method
10/23/2022 7:19:15 AM=>Info:- Start Mailing Method
10/23/2022 7:19:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:19:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:19:15 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:19:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:19:15 AM=>Info:- Count = 1
10/23/2022 7:19:15 AM=>Info:- Count 1
10/23/2022 7:19:15 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:19:15 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:19:15 AM=>Info:- Start SenMail Method
10/23/2022 7:19:15 AM=>UseDefaultCredentials
10/23/2022 7:19:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:19:15 AM=>EnableSsl = true
10/23/2022 7:19:15 AM=>DeliveryMethod
10/23/2022 7:19:15 AM=>Before Send
10/23/2022 7:20:39 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.181.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:20:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:20:39 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:20:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:20:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:20:39 AM=>Info:- END Mailing Method
10/23/2022 7:20:39 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:20:39 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:20:39 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:20:39 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:20:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:20:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:20:39 AM=>Info - End of callingService Method
10/23/2022 7:22:39 AM=>Info - Check time Elapsed
10/23/2022 7:22:39 AM=>Info - Call callingService Method
10/23/2022 7:22:39 AM=>Info:- Call Both
10/23/2022 7:22:39 AM=>Info:- Start Executing SMS Method
10/23/2022 7:22:39 AM=>Info:- End Executing SMS Method
10/23/2022 7:22:39 AM=>Info:- Start Mailing Method
10/23/2022 7:22:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:22:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:22:39 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:22:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:22:39 AM=>Info:- Count = 1
10/23/2022 7:22:39 AM=>Info:- Count 1
10/23/2022 7:22:39 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:22:39 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:22:39 AM=>Info:- Start SenMail Method
10/23/2022 7:22:39 AM=>UseDefaultCredentials
10/23/2022 7:22:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:22:39 AM=>EnableSsl = true
10/23/2022 7:22:39 AM=>DeliveryMethod
10/23/2022 7:22:39 AM=>Before Send
10/23/2022 7:24:03 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.32.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:24:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:24:03 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:24:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:24:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:24:03 AM=>Info:- END Mailing Method
10/23/2022 7:24:03 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:24:03 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:24:04 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:24:04 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:24:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:24:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:24:04 AM=>Info - End of callingService Method
10/23/2022 7:26:04 AM=>Info - Check time Elapsed
10/23/2022 7:26:04 AM=>Info - Call callingService Method
10/23/2022 7:26:04 AM=>Info:- Call Both
10/23/2022 7:26:04 AM=>Info:- Start Executing SMS Method
10/23/2022 7:26:04 AM=>Info:- End Executing SMS Method
10/23/2022 7:26:04 AM=>Info:- Start Mailing Method
10/23/2022 7:26:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:26:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:26:04 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:26:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:26:04 AM=>Info:- Count = 1
10/23/2022 7:26:04 AM=>Info:- Count 1
10/23/2022 7:26:04 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:26:04 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:26:04 AM=>Info:- Start SenMail Method
10/23/2022 7:26:04 AM=>UseDefaultCredentials
10/23/2022 7:26:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:26:04 AM=>EnableSsl = true
10/23/2022 7:26:04 AM=>DeliveryMethod
10/23/2022 7:26:04 AM=>Before Send
10/23/2022 7:26:25 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:26:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:26:25 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:26:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:26:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:26:25 AM=>Info:- END Mailing Method
10/23/2022 7:26:25 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:26:25 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:26:25 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:26:25 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:26:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:26:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:26:25 AM=>Info - End of callingService Method
10/23/2022 7:28:25 AM=>Info - Check time Elapsed
10/23/2022 7:28:25 AM=>Info - Call callingService Method
10/23/2022 7:28:25 AM=>Info:- Call Both
10/23/2022 7:28:25 AM=>Info:- Start Executing SMS Method
10/23/2022 7:28:25 AM=>Info:- End Executing SMS Method
10/23/2022 7:28:25 AM=>Info:- Start Mailing Method
10/23/2022 7:28:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:28:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:28:25 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:28:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:28:25 AM=>Info:- Count = 1
10/23/2022 7:28:25 AM=>Info:- Count 1
10/23/2022 7:28:25 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:28:25 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:28:25 AM=>Info:- Start SenMail Method
10/23/2022 7:28:25 AM=>UseDefaultCredentials
10/23/2022 7:28:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:28:25 AM=>EnableSsl = true
10/23/2022 7:28:25 AM=>DeliveryMethod
10/23/2022 7:28:25 AM=>Before Send
10/23/2022 7:28:25 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:28:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:28:25 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:28:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:28:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:28:25 AM=>Info:- END Mailing Method
10/23/2022 7:28:25 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:28:25 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:28:25 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:28:25 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:28:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:28:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:28:25 AM=>Info - End of callingService Method
10/23/2022 7:30:25 AM=>Info - Check time Elapsed
10/23/2022 7:30:25 AM=>Info - Call callingService Method
10/23/2022 7:30:25 AM=>Info:- Call Both
10/23/2022 7:30:25 AM=>Info:- Start Executing SMS Method
10/23/2022 7:30:25 AM=>Info:- End Executing SMS Method
10/23/2022 7:30:25 AM=>Info:- Start Mailing Method
10/23/2022 7:30:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:30:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:30:25 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:30:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:30:25 AM=>Info:- Count = 1
10/23/2022 7:30:25 AM=>Info:- Count 1
10/23/2022 7:30:25 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:30:25 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:30:25 AM=>Info:- Start SenMail Method
10/23/2022 7:30:25 AM=>UseDefaultCredentials
10/23/2022 7:30:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:30:25 AM=>EnableSsl = true
10/23/2022 7:30:25 AM=>DeliveryMethod
10/23/2022 7:30:25 AM=>Before Send
10/23/2022 7:30:28 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:30:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:30:28 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:30:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:30:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:30:29 AM=>Info:- END Mailing Method
10/23/2022 7:30:29 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:30:29 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:30:29 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:30:29 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:30:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:30:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:30:29 AM=>Info - End of callingService Method
10/23/2022 7:32:29 AM=>Info - Check time Elapsed
10/23/2022 7:32:29 AM=>Info - Call callingService Method
10/23/2022 7:32:29 AM=>Info:- Call Both
10/23/2022 7:32:29 AM=>Info:- Start Executing SMS Method
10/23/2022 7:32:29 AM=>Info:- End Executing SMS Method
10/23/2022 7:32:29 AM=>Info:- Start Mailing Method
10/23/2022 7:32:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:32:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:32:29 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:32:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:32:29 AM=>Info:- Count = 1
10/23/2022 7:32:29 AM=>Info:- Count 1
10/23/2022 7:32:29 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:32:29 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:32:29 AM=>Info:- Start SenMail Method
10/23/2022 7:32:29 AM=>UseDefaultCredentials
10/23/2022 7:32:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:32:29 AM=>EnableSsl = true
10/23/2022 7:32:29 AM=>DeliveryMethod
10/23/2022 7:32:29 AM=>Before Send
10/23/2022 7:32:38 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:32:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:32:38 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:32:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:32:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:32:38 AM=>Info:- END Mailing Method
10/23/2022 7:32:38 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:32:38 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:32:38 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:32:38 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:32:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:32:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:32:38 AM=>Info - End of callingService Method
10/23/2022 7:34:38 AM=>Info - Check time Elapsed
10/23/2022 7:34:38 AM=>Info - Call callingService Method
10/23/2022 7:34:38 AM=>Info:- Call Both
10/23/2022 7:34:38 AM=>Info:- Start Executing SMS Method
10/23/2022 7:34:38 AM=>Info:- End Executing SMS Method
10/23/2022 7:34:38 AM=>Info:- Start Mailing Method
10/23/2022 7:34:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:34:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:34:38 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:34:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:34:38 AM=>Info:- Count = 1
10/23/2022 7:34:38 AM=>Info:- Count 1
10/23/2022 7:34:38 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:34:38 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:34:38 AM=>Info:- Start SenMail Method
10/23/2022 7:34:38 AM=>UseDefaultCredentials
10/23/2022 7:34:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:34:38 AM=>EnableSsl = true
10/23/2022 7:34:38 AM=>DeliveryMethod
10/23/2022 7:34:38 AM=>Before Send
10/23/2022 7:34:38 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:34:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:34:38 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:34:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:34:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:34:38 AM=>Info:- END Mailing Method
10/23/2022 7:34:38 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:34:38 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:34:38 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:34:38 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:34:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:34:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:34:38 AM=>Info - End of callingService Method
10/23/2022 7:36:38 AM=>Info - Check time Elapsed
10/23/2022 7:36:38 AM=>Info - Call callingService Method
10/23/2022 7:36:38 AM=>Info:- Call Both
10/23/2022 7:36:38 AM=>Info:- Start Executing SMS Method
10/23/2022 7:36:38 AM=>Info:- End Executing SMS Method
10/23/2022 7:36:38 AM=>Info:- Start Mailing Method
10/23/2022 7:36:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:36:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:36:38 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:36:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:36:38 AM=>Info:- Count = 1
10/23/2022 7:36:38 AM=>Info:- Count 1
10/23/2022 7:36:38 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:36:38 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:36:38 AM=>Info:- Start SenMail Method
10/23/2022 7:36:38 AM=>UseDefaultCredentials
10/23/2022 7:36:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:36:38 AM=>EnableSsl = true
10/23/2022 7:36:38 AM=>DeliveryMethod
10/23/2022 7:36:38 AM=>Before Send
10/23/2022 7:38:03 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.188.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:38:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:38:03 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:38:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:38:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:38:03 AM=>Info:- END Mailing Method
10/23/2022 7:38:03 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:38:03 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:38:03 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:38:03 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:38:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:38:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:38:03 AM=>Info - End of callingService Method
10/23/2022 7:40:03 AM=>Info - Check time Elapsed
10/23/2022 7:40:03 AM=>Info - Call callingService Method
10/23/2022 7:40:03 AM=>Info:- Call Both
10/23/2022 7:40:03 AM=>Info:- Start Executing SMS Method
10/23/2022 7:40:03 AM=>Info:- End Executing SMS Method
10/23/2022 7:40:03 AM=>Info:- Start Mailing Method
10/23/2022 7:40:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:40:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:40:03 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:40:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:40:03 AM=>Info:- Count = 1
10/23/2022 7:40:03 AM=>Info:- Count 1
10/23/2022 7:40:03 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:40:03 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:40:03 AM=>Info:- Start SenMail Method
10/23/2022 7:40:03 AM=>UseDefaultCredentials
10/23/2022 7:40:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:40:03 AM=>EnableSsl = true
10/23/2022 7:40:03 AM=>DeliveryMethod
10/23/2022 7:40:03 AM=>Before Send
10/23/2022 7:41:27 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.15.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:41:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:41:27 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:41:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:41:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:41:27 AM=>Info:- END Mailing Method
10/23/2022 7:41:27 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:41:27 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:41:27 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:41:27 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:41:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:41:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:41:27 AM=>Info - End of callingService Method
10/23/2022 7:43:27 AM=>Info - Check time Elapsed
10/23/2022 7:43:27 AM=>Info - Call callingService Method
10/23/2022 7:43:27 AM=>Info:- Call Both
10/23/2022 7:43:27 AM=>Info:- Start Executing SMS Method
10/23/2022 7:43:27 AM=>Info:- End Executing SMS Method
10/23/2022 7:43:27 AM=>Info:- Start Mailing Method
10/23/2022 7:43:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:43:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:43:27 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:43:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:43:27 AM=>Info:- Count = 1
10/23/2022 7:43:27 AM=>Info:- Count 1
10/23/2022 7:43:27 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:43:27 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:43:27 AM=>Info:- Start SenMail Method
10/23/2022 7:43:27 AM=>UseDefaultCredentials
10/23/2022 7:43:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:43:27 AM=>EnableSsl = true
10/23/2022 7:43:27 AM=>DeliveryMethod
10/23/2022 7:43:27 AM=>Before Send
10/23/2022 7:44:52 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.69.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:44:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:44:52 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:44:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:44:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:44:52 AM=>Info:- END Mailing Method
10/23/2022 7:44:52 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:44:52 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:44:52 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:44:52 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:44:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:44:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:44:52 AM=>Info - End of callingService Method
10/23/2022 7:46:52 AM=>Info - Check time Elapsed
10/23/2022 7:46:52 AM=>Info - Call callingService Method
10/23/2022 7:46:52 AM=>Info:- Call Both
10/23/2022 7:46:52 AM=>Info:- Start Executing SMS Method
10/23/2022 7:46:52 AM=>Info:- End Executing SMS Method
10/23/2022 7:46:52 AM=>Info:- Start Mailing Method
10/23/2022 7:46:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:46:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:46:52 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:46:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:46:52 AM=>Info:- Count = 1
10/23/2022 7:46:52 AM=>Info:- Count 1
10/23/2022 7:46:52 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:46:52 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:46:52 AM=>Info:- Start SenMail Method
10/23/2022 7:46:52 AM=>UseDefaultCredentials
10/23/2022 7:46:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:46:52 AM=>EnableSsl = true
10/23/2022 7:46:52 AM=>DeliveryMethod
10/23/2022 7:46:52 AM=>Before Send
10/23/2022 7:47:55 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:47:55 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:47:55 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:47:55 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:47:55 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:47:55 AM=>Info:- END Mailing Method
10/23/2022 7:47:55 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:47:55 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:47:55 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:47:55 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:47:55 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:47:55 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:47:55 AM=>Info - End of callingService Method
10/23/2022 7:49:55 AM=>Info - Check time Elapsed
10/23/2022 7:49:55 AM=>Info - Call callingService Method
10/23/2022 7:49:55 AM=>Info:- Call Both
10/23/2022 7:49:55 AM=>Info:- Start Executing SMS Method
10/23/2022 7:49:55 AM=>Info:- End Executing SMS Method
10/23/2022 7:49:55 AM=>Info:- Start Mailing Method
10/23/2022 7:49:55 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:49:55 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:49:55 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:49:55 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:49:55 AM=>Info:- Count = 1
10/23/2022 7:49:55 AM=>Info:- Count 1
10/23/2022 7:49:55 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:49:55 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:49:55 AM=>Info:- Start SenMail Method
10/23/2022 7:49:55 AM=>UseDefaultCredentials
10/23/2022 7:49:55 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:49:55 AM=>EnableSsl = true
10/23/2022 7:49:55 AM=>DeliveryMethod
10/23/2022 7:49:55 AM=>Before Send
10/23/2022 7:51:19 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:51:19 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:51:19 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:51:19 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:51:19 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:51:20 AM=>Info:- END Mailing Method
10/23/2022 7:51:20 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:51:20 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:51:20 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:51:20 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:51:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:51:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:51:20 AM=>Info - End of callingService Method
10/23/2022 7:53:20 AM=>Info - Check time Elapsed
10/23/2022 7:53:20 AM=>Info - Call callingService Method
10/23/2022 7:53:20 AM=>Info:- Call Both
10/23/2022 7:53:20 AM=>Info:- Start Executing SMS Method
10/23/2022 7:53:20 AM=>Info:- End Executing SMS Method
10/23/2022 7:53:20 AM=>Info:- Start Mailing Method
10/23/2022 7:53:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:53:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:53:20 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:53:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:53:20 AM=>Info:- Count = 1
10/23/2022 7:53:20 AM=>Info:- Count 1
10/23/2022 7:53:20 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:53:20 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:53:20 AM=>Info:- Start SenMail Method
10/23/2022 7:53:20 AM=>UseDefaultCredentials
10/23/2022 7:53:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:53:20 AM=>EnableSsl = true
10/23/2022 7:53:20 AM=>DeliveryMethod
10/23/2022 7:53:20 AM=>Before Send
10/23/2022 7:53:20 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:53:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:53:20 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:53:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:53:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:53:20 AM=>Info:- END Mailing Method
10/23/2022 7:53:20 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:53:20 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:53:20 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:53:20 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:53:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:53:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:53:20 AM=>Info - End of callingService Method
10/23/2022 7:55:20 AM=>Info - Check time Elapsed
10/23/2022 7:55:20 AM=>Info - Call callingService Method
10/23/2022 7:55:20 AM=>Info:- Call Both
10/23/2022 7:55:20 AM=>Info:- Start Executing SMS Method
10/23/2022 7:55:20 AM=>Info:- End Executing SMS Method
10/23/2022 7:55:20 AM=>Info:- Start Mailing Method
10/23/2022 7:55:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:55:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:55:20 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:55:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:55:20 AM=>Info:- Count = 1
10/23/2022 7:55:20 AM=>Info:- Count 1
10/23/2022 7:55:20 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:55:20 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:55:20 AM=>Info:- Start SenMail Method
10/23/2022 7:55:20 AM=>UseDefaultCredentials
10/23/2022 7:55:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:55:20 AM=>EnableSsl = true
10/23/2022 7:55:20 AM=>DeliveryMethod
10/23/2022 7:55:20 AM=>Before Send
10/23/2022 7:55:29 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:55:29 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:55:29 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:55:29 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:55:29 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:55:29 AM=>Info:- END Mailing Method
10/23/2022 7:55:29 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:55:29 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:55:30 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:55:30 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:55:30 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:55:30 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:55:30 AM=>Info - End of callingService Method
10/23/2022 7:57:30 AM=>Info - Check time Elapsed
10/23/2022 7:57:30 AM=>Info - Call callingService Method
10/23/2022 7:57:30 AM=>Info:- Call Both
10/23/2022 7:57:30 AM=>Info:- Start Executing SMS Method
10/23/2022 7:57:30 AM=>Info:- End Executing SMS Method
10/23/2022 7:57:30 AM=>Info:- Start Mailing Method
10/23/2022 7:57:30 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:57:30 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:57:30 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:57:30 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:57:30 AM=>Info:- Count = 1
10/23/2022 7:57:30 AM=>Info:- Count 1
10/23/2022 7:57:30 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:57:30 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:57:30 AM=>Info:- Start SenMail Method
10/23/2022 7:57:30 AM=>UseDefaultCredentials
10/23/2022 7:57:30 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:57:30 AM=>EnableSsl = true
10/23/2022 7:57:30 AM=>DeliveryMethod
10/23/2022 7:57:30 AM=>Before Send
10/23/2022 7:57:39 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:57:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:57:39 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:57:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:57:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:57:39 AM=>Info:- END Mailing Method
10/23/2022 7:57:39 AM=>Info:- Start Executing Telegram Method
10/23/2022 7:57:39 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:57:39 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:57:39 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:57:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:57:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:57:39 AM=>Info - End of callingService Method
10/23/2022 7:59:39 AM=>Info - Check time Elapsed
10/23/2022 7:59:39 AM=>Info - Call callingService Method
10/23/2022 7:59:39 AM=>Info:- Call Both
10/23/2022 7:59:39 AM=>Info:- Start Executing SMS Method
10/23/2022 7:59:39 AM=>Info:- End Executing SMS Method
10/23/2022 7:59:39 AM=>Info:- Start Mailing Method
10/23/2022 7:59:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:59:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:59:39 AM=>Info:- PendingMail.xml file read to list
10/23/2022 7:59:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:59:39 AM=>Info:- Count = 1
10/23/2022 7:59:39 AM=>Info:- Count 1
10/23/2022 7:59:39 AM=>Info - Fetching Data From MAIL XML
10/23/2022 7:59:39 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:59:39 AM=>Info:- Start SenMail Method
10/23/2022 7:59:39 AM=>UseDefaultCredentials
10/23/2022 7:59:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:59:39 AM=>EnableSsl = true
10/23/2022 7:59:39 AM=>DeliveryMethod
10/23/2022 7:59:39 AM=>Before Send
10/23/2022 8:01:03 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:01:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:01:03 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:01:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:01:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:01:03 AM=>Info:- END Mailing Method
10/23/2022 8:01:03 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:01:03 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:01:03 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:01:03 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:01:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:01:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:01:03 AM=>Info - End of callingService Method
10/23/2022 8:03:03 AM=>Info - Check time Elapsed
10/23/2022 8:03:03 AM=>Info - Call callingService Method
10/23/2022 8:03:03 AM=>Info:- Call Both
10/23/2022 8:03:03 AM=>Info:- Start Executing SMS Method
10/23/2022 8:03:03 AM=>Info:- End Executing SMS Method
10/23/2022 8:03:03 AM=>Info:- Start Mailing Method
10/23/2022 8:03:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:03:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:03:03 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:03:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:03:03 AM=>Info:- Count = 1
10/23/2022 8:03:03 AM=>Info:- Count 1
10/23/2022 8:03:03 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:03:03 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:03:03 AM=>Info:- Start SenMail Method
10/23/2022 8:03:03 AM=>UseDefaultCredentials
10/23/2022 8:03:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:03:03 AM=>EnableSsl = true
10/23/2022 8:03:03 AM=>DeliveryMethod
10/23/2022 8:03:03 AM=>Before Send
10/23/2022 8:03:25 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:03:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:03:25 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:03:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:03:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:03:25 AM=>Info:- END Mailing Method
10/23/2022 8:03:25 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:03:25 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:03:25 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:03:25 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:03:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:03:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:03:25 AM=>Info - End of callingService Method
10/23/2022 8:05:25 AM=>Info - Check time Elapsed
10/23/2022 8:05:25 AM=>Info - Call callingService Method
10/23/2022 8:05:25 AM=>Info:- Call Both
10/23/2022 8:05:25 AM=>Info:- Start Executing SMS Method
10/23/2022 8:05:25 AM=>Info:- End Executing SMS Method
10/23/2022 8:05:25 AM=>Info:- Start Mailing Method
10/23/2022 8:05:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:05:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:05:25 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:05:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:05:25 AM=>Info:- Count = 1
10/23/2022 8:05:25 AM=>Info:- Count 1
10/23/2022 8:05:25 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:05:25 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:05:25 AM=>Info:- Start SenMail Method
10/23/2022 8:05:25 AM=>UseDefaultCredentials
10/23/2022 8:05:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:05:25 AM=>EnableSsl = true
10/23/2022 8:05:25 AM=>DeliveryMethod
10/23/2022 8:05:25 AM=>Before Send
10/23/2022 8:06:49 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.33.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:06:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:06:49 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:06:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:06:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:06:49 AM=>Info:- END Mailing Method
10/23/2022 8:06:49 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:06:49 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:06:49 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:06:49 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:06:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:06:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:06:49 AM=>Info - End of callingService Method
10/23/2022 8:08:49 AM=>Info - Check time Elapsed
10/23/2022 8:08:49 AM=>Info - Call callingService Method
10/23/2022 8:08:49 AM=>Info:- Call Both
10/23/2022 8:08:49 AM=>Info:- Start Executing SMS Method
10/23/2022 8:08:49 AM=>Info:- End Executing SMS Method
10/23/2022 8:08:49 AM=>Info:- Start Mailing Method
10/23/2022 8:08:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:08:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:08:49 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:08:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:08:49 AM=>Info:- Count = 1
10/23/2022 8:08:49 AM=>Info:- Count 1
10/23/2022 8:08:49 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:08:49 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:08:49 AM=>Info:- Start SenMail Method
10/23/2022 8:08:49 AM=>UseDefaultCredentials
10/23/2022 8:08:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:08:49 AM=>EnableSsl = true
10/23/2022 8:08:49 AM=>DeliveryMethod
10/23/2022 8:08:49 AM=>Before Send
10/23/2022 8:08:49 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:08:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:08:49 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:08:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:08:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:08:50 AM=>Info:- END Mailing Method
10/23/2022 8:08:50 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:08:50 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:08:50 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:08:50 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:08:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:08:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:08:50 AM=>Info - End of callingService Method
10/23/2022 8:10:50 AM=>Info - Check time Elapsed
10/23/2022 8:10:50 AM=>Info - Call callingService Method
10/23/2022 8:10:50 AM=>Info:- Call Both
10/23/2022 8:10:50 AM=>Info:- Start Executing SMS Method
10/23/2022 8:10:50 AM=>Info:- End Executing SMS Method
10/23/2022 8:10:50 AM=>Info:- Start Mailing Method
10/23/2022 8:10:50 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:10:50 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:10:50 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:10:50 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:10:50 AM=>Info:- Count = 1
10/23/2022 8:10:50 AM=>Info:- Count 1
10/23/2022 8:10:50 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:10:50 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:10:50 AM=>Info:- Start SenMail Method
10/23/2022 8:10:50 AM=>UseDefaultCredentials
10/23/2022 8:10:50 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:10:50 AM=>EnableSsl = true
10/23/2022 8:10:50 AM=>DeliveryMethod
10/23/2022 8:10:50 AM=>Before Send
10/23/2022 8:12:14 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.44.162:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:12:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:12:14 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:12:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:12:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:12:14 AM=>Info:- END Mailing Method
10/23/2022 8:12:14 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:12:14 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:12:14 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:12:14 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:12:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:12:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:12:14 AM=>Info - End of callingService Method
10/23/2022 8:14:14 AM=>Info - Check time Elapsed
10/23/2022 8:14:14 AM=>Info - Call callingService Method
10/23/2022 8:14:14 AM=>Info:- Call Both
10/23/2022 8:14:14 AM=>Info:- Start Executing SMS Method
10/23/2022 8:14:14 AM=>Info:- End Executing SMS Method
10/23/2022 8:14:14 AM=>Info:- Start Mailing Method
10/23/2022 8:14:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:14:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:14:14 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:14:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:14:14 AM=>Info:- Count = 1
10/23/2022 8:14:14 AM=>Info:- Count 1
10/23/2022 8:14:14 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:14:14 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:14:14 AM=>Info:- Start SenMail Method
10/23/2022 8:14:14 AM=>UseDefaultCredentials
10/23/2022 8:14:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:14:14 AM=>EnableSsl = true
10/23/2022 8:14:14 AM=>DeliveryMethod
10/23/2022 8:14:14 AM=>Before Send
10/23/2022 8:15:38 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:15:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:15:38 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:15:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:15:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:15:39 AM=>Info:- END Mailing Method
10/23/2022 8:15:39 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:15:39 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:15:39 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:15:39 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:15:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:15:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:15:39 AM=>Info - End of callingService Method
10/23/2022 8:17:39 AM=>Info - Check time Elapsed
10/23/2022 8:17:39 AM=>Info - Call callingService Method
10/23/2022 8:17:39 AM=>Info:- Call Both
10/23/2022 8:17:39 AM=>Info:- Start Executing SMS Method
10/23/2022 8:17:39 AM=>Info:- End Executing SMS Method
10/23/2022 8:17:39 AM=>Info:- Start Mailing Method
10/23/2022 8:17:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:17:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:17:39 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:17:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:17:39 AM=>Info:- Count = 1
10/23/2022 8:17:39 AM=>Info:- Count 1
10/23/2022 8:17:39 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:17:39 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:17:39 AM=>Info:- Start SenMail Method
10/23/2022 8:17:39 AM=>UseDefaultCredentials
10/23/2022 8:17:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:17:39 AM=>EnableSsl = true
10/23/2022 8:17:39 AM=>DeliveryMethod
10/23/2022 8:17:39 AM=>Before Send
10/23/2022 8:17:48 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:17:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:17:48 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:17:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:17:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:17:48 AM=>Info:- END Mailing Method
10/23/2022 8:17:48 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:17:48 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:17:48 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:17:48 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:17:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:17:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:17:48 AM=>Info - End of callingService Method
10/23/2022 8:19:48 AM=>Info - Check time Elapsed
10/23/2022 8:19:48 AM=>Info - Call callingService Method
10/23/2022 8:19:48 AM=>Info:- Call Both
10/23/2022 8:19:48 AM=>Info:- Start Executing SMS Method
10/23/2022 8:19:48 AM=>Info:- End Executing SMS Method
10/23/2022 8:19:48 AM=>Info:- Start Mailing Method
10/23/2022 8:19:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:19:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:19:48 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:19:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:19:48 AM=>Info:- Count = 1
10/23/2022 8:19:48 AM=>Info:- Count 1
10/23/2022 8:19:48 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:19:48 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:19:48 AM=>Info:- Start SenMail Method
10/23/2022 8:19:48 AM=>UseDefaultCredentials
10/23/2022 8:19:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:19:48 AM=>EnableSsl = true
10/23/2022 8:19:48 AM=>DeliveryMethod
10/23/2022 8:19:48 AM=>Before Send
10/23/2022 8:19:48 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:19:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:19:48 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:19:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:19:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:19:48 AM=>Info:- END Mailing Method
10/23/2022 8:19:48 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:19:48 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:19:48 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:19:48 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:19:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:19:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:19:48 AM=>Info - End of callingService Method
10/23/2022 8:21:48 AM=>Info - Check time Elapsed
10/23/2022 8:21:48 AM=>Info - Call callingService Method
10/23/2022 8:21:48 AM=>Info:- Call Both
10/23/2022 8:21:48 AM=>Info:- Start Executing SMS Method
10/23/2022 8:21:48 AM=>Info:- End Executing SMS Method
10/23/2022 8:21:48 AM=>Info:- Start Mailing Method
10/23/2022 8:21:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:21:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:21:48 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:21:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:21:48 AM=>Info:- Count = 1
10/23/2022 8:21:48 AM=>Info:- Count 1
10/23/2022 8:21:48 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:21:48 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:21:48 AM=>Info:- Start SenMail Method
10/23/2022 8:21:48 AM=>UseDefaultCredentials
10/23/2022 8:21:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:21:48 AM=>EnableSsl = true
10/23/2022 8:21:48 AM=>DeliveryMethod
10/23/2022 8:21:48 AM=>Before Send
10/23/2022 8:23:12 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.19.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:23:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:23:12 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:23:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:23:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:23:13 AM=>Info:- END Mailing Method
10/23/2022 8:23:13 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:23:13 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:23:13 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:23:13 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:23:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:23:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:23:13 AM=>Info - End of callingService Method
10/23/2022 8:25:13 AM=>Info - Check time Elapsed
10/23/2022 8:25:13 AM=>Info - Call callingService Method
10/23/2022 8:25:13 AM=>Info:- Call Both
10/23/2022 8:25:13 AM=>Info:- Start Executing SMS Method
10/23/2022 8:25:13 AM=>Info:- End Executing SMS Method
10/23/2022 8:25:13 AM=>Info:- Start Mailing Method
10/23/2022 8:25:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:25:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:25:13 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:25:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:25:13 AM=>Info:- Count = 1
10/23/2022 8:25:13 AM=>Info:- Count 1
10/23/2022 8:25:13 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:25:13 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:25:13 AM=>Info:- Start SenMail Method
10/23/2022 8:25:13 AM=>UseDefaultCredentials
10/23/2022 8:25:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:25:13 AM=>EnableSsl = true
10/23/2022 8:25:13 AM=>DeliveryMethod
10/23/2022 8:25:13 AM=>Before Send
10/23/2022 8:25:34 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:25:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:25:34 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:25:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:25:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:25:34 AM=>Info:- END Mailing Method
10/23/2022 8:25:34 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:25:34 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:25:34 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:25:34 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:25:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:25:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:25:34 AM=>Info - End of callingService Method
10/23/2022 8:27:34 AM=>Info - Check time Elapsed
10/23/2022 8:27:34 AM=>Info - Call callingService Method
10/23/2022 8:27:34 AM=>Info:- Call Both
10/23/2022 8:27:34 AM=>Info:- Start Executing SMS Method
10/23/2022 8:27:34 AM=>Info:- End Executing SMS Method
10/23/2022 8:27:34 AM=>Info:- Start Mailing Method
10/23/2022 8:27:34 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:27:34 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:27:34 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:27:34 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:27:34 AM=>Info:- Count = 1
10/23/2022 8:27:34 AM=>Info:- Count 1
10/23/2022 8:27:34 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:27:34 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:27:34 AM=>Info:- Start SenMail Method
10/23/2022 8:27:34 AM=>UseDefaultCredentials
10/23/2022 8:27:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:27:34 AM=>EnableSsl = true
10/23/2022 8:27:34 AM=>DeliveryMethod
10/23/2022 8:27:34 AM=>Before Send
10/23/2022 8:28:58 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.58.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:28:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:28:58 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:28:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:28:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:28:59 AM=>Info:- END Mailing Method
10/23/2022 8:28:59 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:28:59 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:28:59 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:28:59 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:28:59 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:28:59 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:28:59 AM=>Info - End of callingService Method
10/23/2022 8:30:59 AM=>Info - Check time Elapsed
10/23/2022 8:30:59 AM=>Info - Call callingService Method
10/23/2022 8:30:59 AM=>Info:- Call Both
10/23/2022 8:30:59 AM=>Info:- Start Executing SMS Method
10/23/2022 8:30:59 AM=>Info:- End Executing SMS Method
10/23/2022 8:30:59 AM=>Info:- Start Mailing Method
10/23/2022 8:30:59 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:30:59 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:30:59 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:30:59 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:30:59 AM=>Info:- Count = 1
10/23/2022 8:30:59 AM=>Info:- Count 1
10/23/2022 8:30:59 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:30:59 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:30:59 AM=>Info:- Start SenMail Method
10/23/2022 8:30:59 AM=>UseDefaultCredentials
10/23/2022 8:30:59 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:30:59 AM=>EnableSsl = true
10/23/2022 8:30:59 AM=>DeliveryMethod
10/23/2022 8:30:59 AM=>Before Send
10/23/2022 8:32:23 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.35.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:32:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:32:23 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:32:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:32:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:32:23 AM=>Info:- END Mailing Method
10/23/2022 8:32:23 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:32:23 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:32:23 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:32:23 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:32:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:32:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:32:23 AM=>Info - End of callingService Method
10/23/2022 8:34:23 AM=>Info - Check time Elapsed
10/23/2022 8:34:23 AM=>Info - Call callingService Method
10/23/2022 8:34:23 AM=>Info:- Call Both
10/23/2022 8:34:23 AM=>Info:- Start Executing SMS Method
10/23/2022 8:34:23 AM=>Info:- End Executing SMS Method
10/23/2022 8:34:23 AM=>Info:- Start Mailing Method
10/23/2022 8:34:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:34:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:34:23 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:34:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:34:23 AM=>Info:- Count = 1
10/23/2022 8:34:23 AM=>Info:- Count 1
10/23/2022 8:34:23 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:34:23 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:34:23 AM=>Info:- Start SenMail Method
10/23/2022 8:34:23 AM=>UseDefaultCredentials
10/23/2022 8:34:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:34:23 AM=>EnableSsl = true
10/23/2022 8:34:23 AM=>DeliveryMethod
10/23/2022 8:34:23 AM=>Before Send
10/23/2022 8:34:32 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:34:32 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:34:32 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:34:32 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:34:32 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:34:32 AM=>Info:- END Mailing Method
10/23/2022 8:34:32 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:34:32 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:34:32 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:34:32 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:34:32 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:34:32 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:34:32 AM=>Info - End of callingService Method
10/23/2022 8:36:32 AM=>Info - Check time Elapsed
10/23/2022 8:36:32 AM=>Info - Call callingService Method
10/23/2022 8:36:33 AM=>Info:- Call Both
10/23/2022 8:36:33 AM=>Info:- Start Executing SMS Method
10/23/2022 8:36:33 AM=>Info:- End Executing SMS Method
10/23/2022 8:36:33 AM=>Info:- Start Mailing Method
10/23/2022 8:36:33 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:36:33 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:36:33 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:36:33 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:36:33 AM=>Info:- Count = 1
10/23/2022 8:36:33 AM=>Info:- Count 1
10/23/2022 8:36:33 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:36:33 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:36:33 AM=>Info:- Start SenMail Method
10/23/2022 8:36:33 AM=>UseDefaultCredentials
10/23/2022 8:36:33 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:36:33 AM=>EnableSsl = true
10/23/2022 8:36:33 AM=>DeliveryMethod
10/23/2022 8:36:33 AM=>Before Send
10/23/2022 8:36:36 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:36:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:36:36 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:36:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:36:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:36:36 AM=>Info:- END Mailing Method
10/23/2022 8:36:36 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:36:36 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:36:36 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:36:36 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:36:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:36:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:36:36 AM=>Info - End of callingService Method
10/23/2022 8:38:36 AM=>Info - Check time Elapsed
10/23/2022 8:38:36 AM=>Info - Call callingService Method
10/23/2022 8:38:36 AM=>Info:- Call Both
10/23/2022 8:38:36 AM=>Info:- Start Executing SMS Method
10/23/2022 8:38:36 AM=>Info:- End Executing SMS Method
10/23/2022 8:38:36 AM=>Info:- Start Mailing Method
10/23/2022 8:38:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:38:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:38:36 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:38:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:38:36 AM=>Info:- Count = 1
10/23/2022 8:38:36 AM=>Info:- Count 1
10/23/2022 8:38:36 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:38:36 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:38:36 AM=>Info:- Start SenMail Method
10/23/2022 8:38:36 AM=>UseDefaultCredentials
10/23/2022 8:38:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:38:36 AM=>EnableSsl = true
10/23/2022 8:38:36 AM=>DeliveryMethod
10/23/2022 8:38:36 AM=>Before Send
10/23/2022 8:38:36 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:38:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:38:36 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:38:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:38:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:38:36 AM=>Info:- END Mailing Method
10/23/2022 8:38:36 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:38:36 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:38:36 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:38:36 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:38:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:38:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:38:36 AM=>Info - End of callingService Method
10/23/2022 8:40:36 AM=>Info - Check time Elapsed
10/23/2022 8:40:36 AM=>Info - Call callingService Method
10/23/2022 8:40:36 AM=>Info:- Call Both
10/23/2022 8:40:36 AM=>Info:- Start Executing SMS Method
10/23/2022 8:40:36 AM=>Info:- End Executing SMS Method
10/23/2022 8:40:36 AM=>Info:- Start Mailing Method
10/23/2022 8:40:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:40:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:40:36 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:40:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:40:36 AM=>Info:- Count = 1
10/23/2022 8:40:36 AM=>Info:- Count 1
10/23/2022 8:40:36 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:40:36 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:40:36 AM=>Info:- Start SenMail Method
10/23/2022 8:40:36 AM=>UseDefaultCredentials
10/23/2022 8:40:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:40:36 AM=>EnableSsl = true
10/23/2022 8:40:36 AM=>DeliveryMethod
10/23/2022 8:40:36 AM=>Before Send
10/23/2022 8:41:18 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:41:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:41:18 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:41:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:41:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:41:19 AM=>Info:- END Mailing Method
10/23/2022 8:41:19 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:41:19 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:41:19 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:41:19 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:41:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:41:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:41:19 AM=>Info - End of callingService Method
10/23/2022 8:43:19 AM=>Info - Check time Elapsed
10/23/2022 8:43:19 AM=>Info - Call callingService Method
10/23/2022 8:43:19 AM=>Info:- Call Both
10/23/2022 8:43:19 AM=>Info:- Start Executing SMS Method
10/23/2022 8:43:19 AM=>Info:- End Executing SMS Method
10/23/2022 8:43:19 AM=>Info:- Start Mailing Method
10/23/2022 8:43:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:43:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:43:19 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:43:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:43:19 AM=>Info:- Count = 1
10/23/2022 8:43:19 AM=>Info:- Count 1
10/23/2022 8:43:19 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:43:19 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:43:19 AM=>Info:- Start SenMail Method
10/23/2022 8:43:19 AM=>UseDefaultCredentials
10/23/2022 8:43:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:43:19 AM=>EnableSsl = true
10/23/2022 8:43:19 AM=>DeliveryMethod
10/23/2022 8:43:19 AM=>Before Send
10/23/2022 8:46:07 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: The operation has timed out.
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:46:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:46:07 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:46:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:46:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:46:07 AM=>Info:- END Mailing Method
10/23/2022 8:46:07 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:46:07 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:46:07 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:46:07 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:46:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:46:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:46:07 AM=>Info - End of callingService Method
10/23/2022 8:48:07 AM=>Info - Check time Elapsed
10/23/2022 8:48:07 AM=>Info - Call callingService Method
10/23/2022 8:48:07 AM=>Info:- Call Both
10/23/2022 8:48:07 AM=>Info:- Start Executing SMS Method
10/23/2022 8:48:07 AM=>Info:- End Executing SMS Method
10/23/2022 8:48:07 AM=>Info:- Start Mailing Method
10/23/2022 8:48:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:48:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:48:07 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:48:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:48:07 AM=>Info:- Count = 1
10/23/2022 8:48:07 AM=>Info:- Count 1
10/23/2022 8:48:07 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:48:07 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:48:07 AM=>Info:- Start SenMail Method
10/23/2022 8:48:07 AM=>UseDefaultCredentials
10/23/2022 8:48:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:48:07 AM=>EnableSsl = true
10/23/2022 8:48:07 AM=>DeliveryMethod
10/23/2022 8:48:07 AM=>Before Send
10/23/2022 8:49:31 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.15.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:49:31 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:49:31 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:49:31 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:49:31 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:49:32 AM=>Info:- END Mailing Method
10/23/2022 8:49:32 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:49:32 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:49:32 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:49:32 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:49:32 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:49:32 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:49:32 AM=>Info - End of callingService Method
10/23/2022 8:51:32 AM=>Info - Check time Elapsed
10/23/2022 8:51:32 AM=>Info - Call callingService Method
10/23/2022 8:51:32 AM=>Info:- Call Both
10/23/2022 8:51:32 AM=>Info:- Start Executing SMS Method
10/23/2022 8:51:32 AM=>Info:- End Executing SMS Method
10/23/2022 8:51:32 AM=>Info:- Start Mailing Method
10/23/2022 8:51:32 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:51:32 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:51:32 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:51:32 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:51:32 AM=>Info:- Count = 1
10/23/2022 8:51:32 AM=>Info:- Count 1
10/23/2022 8:51:32 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:51:32 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:51:32 AM=>Info:- Start SenMail Method
10/23/2022 8:51:32 AM=>UseDefaultCredentials
10/23/2022 8:51:32 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:51:32 AM=>EnableSsl = true
10/23/2022 8:51:32 AM=>DeliveryMethod
10/23/2022 8:51:32 AM=>Before Send
10/23/2022 8:52:56 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.181.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:52:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:52:56 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:52:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:52:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:52:56 AM=>Info:- END Mailing Method
10/23/2022 8:52:56 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:52:56 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:52:56 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:52:56 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:52:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:52:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:52:56 AM=>Info - End of callingService Method
10/23/2022 8:54:56 AM=>Info - Check time Elapsed
10/23/2022 8:54:56 AM=>Info - Call callingService Method
10/23/2022 8:54:56 AM=>Info:- Call Both
10/23/2022 8:54:56 AM=>Info:- Start Executing SMS Method
10/23/2022 8:54:56 AM=>Info:- End Executing SMS Method
10/23/2022 8:54:56 AM=>Info:- Start Mailing Method
10/23/2022 8:54:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:54:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:54:56 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:54:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:54:56 AM=>Info:- Count = 1
10/23/2022 8:54:56 AM=>Info:- Count 1
10/23/2022 8:54:56 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:54:56 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:54:56 AM=>Info:- Start SenMail Method
10/23/2022 8:54:56 AM=>UseDefaultCredentials
10/23/2022 8:54:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:54:56 AM=>EnableSsl = true
10/23/2022 8:54:56 AM=>DeliveryMethod
10/23/2022 8:54:56 AM=>Before Send
10/23/2022 8:56:20 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.18:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:56:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:56:20 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:56:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:56:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:56:21 AM=>Info:- END Mailing Method
10/23/2022 8:56:21 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:56:21 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:56:21 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:56:21 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:56:21 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:56:21 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:56:21 AM=>Info - End of callingService Method
10/23/2022 8:58:21 AM=>Info - Check time Elapsed
10/23/2022 8:58:21 AM=>Info - Call callingService Method
10/23/2022 8:58:21 AM=>Info:- Call Both
10/23/2022 8:58:21 AM=>Info:- Start Executing SMS Method
10/23/2022 8:58:21 AM=>Info:- End Executing SMS Method
10/23/2022 8:58:21 AM=>Info:- Start Mailing Method
10/23/2022 8:58:21 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:58:21 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:58:21 AM=>Info:- PendingMail.xml file read to list
10/23/2022 8:58:21 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:58:21 AM=>Info:- Count = 1
10/23/2022 8:58:21 AM=>Info:- Count 1
10/23/2022 8:58:21 AM=>Info - Fetching Data From MAIL XML
10/23/2022 8:58:21 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:58:21 AM=>Info:- Start SenMail Method
10/23/2022 8:58:21 AM=>UseDefaultCredentials
10/23/2022 8:58:21 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:58:21 AM=>EnableSsl = true
10/23/2022 8:58:21 AM=>DeliveryMethod
10/23/2022 8:58:21 AM=>Before Send
10/23/2022 8:59:45 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.35.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:59:45 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:59:45 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:59:45 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:59:45 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:59:45 AM=>Info:- END Mailing Method
10/23/2022 8:59:45 AM=>Info:- Start Executing Telegram Method
10/23/2022 8:59:45 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:59:45 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:59:45 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:59:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:59:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:59:45 AM=>Info - End of callingService Method
10/23/2022 9:01:45 AM=>Info - Check time Elapsed
10/23/2022 9:01:45 AM=>Info - Call callingService Method
10/23/2022 9:01:45 AM=>Info:- Call Both
10/23/2022 9:01:45 AM=>Info:- Start Executing SMS Method
10/23/2022 9:01:45 AM=>Info:- End Executing SMS Method
10/23/2022 9:01:45 AM=>Info:- Start Mailing Method
10/23/2022 9:01:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:01:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:01:45 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:01:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:01:45 AM=>Info:- Count = 1
10/23/2022 9:01:45 AM=>Info:- Count 1
10/23/2022 9:01:45 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:01:45 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:01:45 AM=>Info:- Start SenMail Method
10/23/2022 9:01:45 AM=>UseDefaultCredentials
10/23/2022 9:01:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:01:45 AM=>EnableSsl = true
10/23/2022 9:01:45 AM=>DeliveryMethod
10/23/2022 9:01:45 AM=>Before Send
10/23/2022 9:02:48 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:02:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:02:48 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:02:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:02:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:02:49 AM=>Info:- END Mailing Method
10/23/2022 9:02:49 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:02:49 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:02:49 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:02:49 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:02:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:02:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:02:49 AM=>Info - End of callingService Method
10/23/2022 9:04:49 AM=>Info - Check time Elapsed
10/23/2022 9:04:49 AM=>Info - Call callingService Method
10/23/2022 9:04:49 AM=>Info:- Call Both
10/23/2022 9:04:49 AM=>Info:- Start Executing SMS Method
10/23/2022 9:04:49 AM=>Info:- End Executing SMS Method
10/23/2022 9:04:49 AM=>Info:- Start Mailing Method
10/23/2022 9:04:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:04:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:04:49 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:04:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:04:49 AM=>Info:- Count = 1
10/23/2022 9:04:49 AM=>Info:- Count 1
10/23/2022 9:04:49 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:04:49 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:04:49 AM=>Info:- Start SenMail Method
10/23/2022 9:04:49 AM=>UseDefaultCredentials
10/23/2022 9:04:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:04:49 AM=>EnableSsl = true
10/23/2022 9:04:49 AM=>DeliveryMethod
10/23/2022 9:04:49 AM=>Before Send
10/23/2022 9:04:49 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:04:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:04:49 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:04:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:04:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:04:49 AM=>Info:- END Mailing Method
10/23/2022 9:04:49 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:04:49 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:04:49 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:04:49 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:04:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:04:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:04:49 AM=>Info - End of callingService Method
10/23/2022 9:06:49 AM=>Info - Check time Elapsed
10/23/2022 9:06:49 AM=>Info - Call callingService Method
10/23/2022 9:06:49 AM=>Info:- Call Both
10/23/2022 9:06:49 AM=>Info:- Start Executing SMS Method
10/23/2022 9:06:49 AM=>Info:- End Executing SMS Method
10/23/2022 9:06:49 AM=>Info:- Start Mailing Method
10/23/2022 9:06:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:06:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:06:49 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:06:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:06:49 AM=>Info:- Count = 1
10/23/2022 9:06:49 AM=>Info:- Count 1
10/23/2022 9:06:49 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:06:49 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:06:49 AM=>Info:- Start SenMail Method
10/23/2022 9:06:49 AM=>UseDefaultCredentials
10/23/2022 9:06:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:06:49 AM=>EnableSsl = true
10/23/2022 9:06:49 AM=>DeliveryMethod
10/23/2022 9:06:49 AM=>Before Send
10/23/2022 9:06:58 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:06:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:06:58 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:06:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:06:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:06:58 AM=>Info:- END Mailing Method
10/23/2022 9:06:58 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:06:58 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:06:58 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:06:58 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:06:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:06:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:06:58 AM=>Info - End of callingService Method
10/23/2022 9:08:58 AM=>Info - Check time Elapsed
10/23/2022 9:08:58 AM=>Info - Call callingService Method
10/23/2022 9:08:58 AM=>Info:- Call Both
10/23/2022 9:08:58 AM=>Info:- Start Executing SMS Method
10/23/2022 9:08:58 AM=>Info:- End Executing SMS Method
10/23/2022 9:08:58 AM=>Info:- Start Mailing Method
10/23/2022 9:08:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:08:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:08:58 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:08:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:08:58 AM=>Info:- Count = 1
10/23/2022 9:08:58 AM=>Info:- Count 1
10/23/2022 9:08:58 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:08:58 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:08:58 AM=>Info:- Start SenMail Method
10/23/2022 9:08:58 AM=>UseDefaultCredentials
10/23/2022 9:08:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:08:58 AM=>EnableSsl = true
10/23/2022 9:08:58 AM=>DeliveryMethod
10/23/2022 9:08:58 AM=>Before Send
10/23/2022 9:09:01 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:09:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:09:01 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:09:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:09:02 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:09:02 AM=>Info:- END Mailing Method
10/23/2022 9:09:02 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:09:02 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:09:02 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:09:02 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:09:02 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:09:02 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:09:02 AM=>Info - End of callingService Method
10/23/2022 9:11:02 AM=>Info - Check time Elapsed
10/23/2022 9:11:02 AM=>Info - Call callingService Method
10/23/2022 9:11:02 AM=>Info:- Call Both
10/23/2022 9:11:02 AM=>Info:- Start Executing SMS Method
10/23/2022 9:11:02 AM=>Info:- End Executing SMS Method
10/23/2022 9:11:02 AM=>Info:- Start Mailing Method
10/23/2022 9:11:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:11:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:11:02 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:11:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:11:02 AM=>Info:- Count = 1
10/23/2022 9:11:02 AM=>Info:- Count 1
10/23/2022 9:11:02 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:11:02 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:11:02 AM=>Info:- Start SenMail Method
10/23/2022 9:11:02 AM=>UseDefaultCredentials
10/23/2022 9:11:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:11:02 AM=>EnableSsl = true
10/23/2022 9:11:02 AM=>DeliveryMethod
10/23/2022 9:11:02 AM=>Before Send
10/23/2022 9:11:11 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:11:11 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:11:11 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:11:11 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:11:11 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:11:11 AM=>Info:- END Mailing Method
10/23/2022 9:11:11 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:11:11 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:11:11 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:11:11 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:11:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:11:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:11:11 AM=>Info - End of callingService Method
10/23/2022 9:13:11 AM=>Info - Check time Elapsed
10/23/2022 9:13:11 AM=>Info - Call callingService Method
10/23/2022 9:13:11 AM=>Info:- Call Both
10/23/2022 9:13:11 AM=>Info:- Start Executing SMS Method
10/23/2022 9:13:11 AM=>Info:- End Executing SMS Method
10/23/2022 9:13:11 AM=>Info:- Start Mailing Method
10/23/2022 9:13:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:13:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:13:11 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:13:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:13:11 AM=>Info:- Count = 1
10/23/2022 9:13:11 AM=>Info:- Count 1
10/23/2022 9:13:11 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:13:11 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:13:11 AM=>Info:- Start SenMail Method
10/23/2022 9:13:11 AM=>UseDefaultCredentials
10/23/2022 9:13:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:13:11 AM=>EnableSsl = true
10/23/2022 9:13:11 AM=>DeliveryMethod
10/23/2022 9:13:11 AM=>Before Send
10/23/2022 9:14:35 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:14:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:14:35 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:14:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:14:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:14:36 AM=>Info:- END Mailing Method
10/23/2022 9:14:36 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:14:36 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:14:36 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:14:36 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:14:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:14:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:14:36 AM=>Info - End of callingService Method
10/23/2022 9:16:36 AM=>Info - Check time Elapsed
10/23/2022 9:16:36 AM=>Info - Call callingService Method
10/23/2022 9:16:36 AM=>Info:- Call Both
10/23/2022 9:16:36 AM=>Info:- Start Executing SMS Method
10/23/2022 9:16:36 AM=>Info:- End Executing SMS Method
10/23/2022 9:16:36 AM=>Info:- Start Mailing Method
10/23/2022 9:16:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:16:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:16:36 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:16:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:16:36 AM=>Info:- Count = 1
10/23/2022 9:16:36 AM=>Info:- Count 1
10/23/2022 9:16:36 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:16:36 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:16:36 AM=>Info:- Start SenMail Method
10/23/2022 9:16:36 AM=>UseDefaultCredentials
10/23/2022 9:16:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:16:36 AM=>EnableSsl = true
10/23/2022 9:16:36 AM=>DeliveryMethod
10/23/2022 9:16:36 AM=>Before Send
10/23/2022 9:18:00 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.181.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:18:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:18:00 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:18:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:18:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:18:00 AM=>Info:- END Mailing Method
10/23/2022 9:18:00 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:18:00 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:18:00 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:18:00 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:18:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:18:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:18:00 AM=>Info - End of callingService Method
10/23/2022 9:20:00 AM=>Info - Check time Elapsed
10/23/2022 9:20:00 AM=>Info - Call callingService Method
10/23/2022 9:20:00 AM=>Info:- Call Both
10/23/2022 9:20:00 AM=>Info:- Start Executing SMS Method
10/23/2022 9:20:00 AM=>Info:- End Executing SMS Method
10/23/2022 9:20:00 AM=>Info:- Start Mailing Method
10/23/2022 9:20:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:20:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:20:00 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:20:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:20:00 AM=>Info:- Count = 1
10/23/2022 9:20:00 AM=>Info:- Count 1
10/23/2022 9:20:00 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:20:00 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:20:00 AM=>Info:- Start SenMail Method
10/23/2022 9:20:00 AM=>UseDefaultCredentials
10/23/2022 9:20:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:20:00 AM=>EnableSsl = true
10/23/2022 9:20:00 AM=>DeliveryMethod
10/23/2022 9:20:00 AM=>Before Send
10/23/2022 9:21:24 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.114:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:21:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:21:24 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:21:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:21:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:21:25 AM=>Info:- END Mailing Method
10/23/2022 9:21:25 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:21:25 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:21:25 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:21:25 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:21:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:21:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:21:25 AM=>Info - End of callingService Method
10/23/2022 9:23:25 AM=>Info - Check time Elapsed
10/23/2022 9:23:25 AM=>Info - Call callingService Method
10/23/2022 9:23:25 AM=>Info:- Call Both
10/23/2022 9:23:25 AM=>Info:- Start Executing SMS Method
10/23/2022 9:23:25 AM=>Info:- End Executing SMS Method
10/23/2022 9:23:25 AM=>Info:- Start Mailing Method
10/23/2022 9:23:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:23:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:23:25 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:23:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:23:25 AM=>Info:- Count = 1
10/23/2022 9:23:25 AM=>Info:- Count 1
10/23/2022 9:23:25 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:23:25 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:23:25 AM=>Info:- Start SenMail Method
10/23/2022 9:23:25 AM=>UseDefaultCredentials
10/23/2022 9:23:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:23:25 AM=>EnableSsl = true
10/23/2022 9:23:25 AM=>DeliveryMethod
10/23/2022 9:23:25 AM=>Before Send
10/23/2022 9:24:49 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.38.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:24:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:24:49 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:24:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:24:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:24:49 AM=>Info:- END Mailing Method
10/23/2022 9:24:49 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:24:49 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:24:49 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:24:49 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:24:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:24:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:24:49 AM=>Info - End of callingService Method
10/23/2022 9:26:49 AM=>Info - Check time Elapsed
10/23/2022 9:26:49 AM=>Info - Call callingService Method
10/23/2022 9:26:49 AM=>Info:- Call Both
10/23/2022 9:26:49 AM=>Info:- Start Executing SMS Method
10/23/2022 9:26:49 AM=>Info:- End Executing SMS Method
10/23/2022 9:26:49 AM=>Info:- Start Mailing Method
10/23/2022 9:26:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:26:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:26:49 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:26:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:26:49 AM=>Info:- Count = 1
10/23/2022 9:26:49 AM=>Info:- Count 1
10/23/2022 9:26:49 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:26:49 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:26:49 AM=>Info:- Start SenMail Method
10/23/2022 9:26:49 AM=>UseDefaultCredentials
10/23/2022 9:26:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:26:49 AM=>EnableSsl = true
10/23/2022 9:26:49 AM=>DeliveryMethod
10/23/2022 9:26:49 AM=>Before Send
10/23/2022 9:28:13 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.58.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:28:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:28:13 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:28:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:28:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:28:14 AM=>Info:- END Mailing Method
10/23/2022 9:28:14 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:28:14 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:28:14 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:28:14 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:28:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:28:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:28:14 AM=>Info - End of callingService Method
10/23/2022 9:30:14 AM=>Info - Check time Elapsed
10/23/2022 9:30:14 AM=>Info - Call callingService Method
10/23/2022 9:30:14 AM=>Info:- Call Both
10/23/2022 9:30:14 AM=>Info:- Start Executing SMS Method
10/23/2022 9:30:14 AM=>Info:- End Executing SMS Method
10/23/2022 9:30:14 AM=>Info:- Start Mailing Method
10/23/2022 9:30:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:30:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:30:14 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:30:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:30:14 AM=>Info:- Count = 1
10/23/2022 9:30:14 AM=>Info:- Count 1
10/23/2022 9:30:14 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:30:14 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:30:14 AM=>Info:- Start SenMail Method
10/23/2022 9:30:14 AM=>UseDefaultCredentials
10/23/2022 9:30:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:30:14 AM=>EnableSsl = true
10/23/2022 9:30:14 AM=>DeliveryMethod
10/23/2022 9:30:14 AM=>Before Send
10/23/2022 9:30:56 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:30:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:30:56 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:30:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:30:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:30:56 AM=>Info:- END Mailing Method
10/23/2022 9:30:56 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:30:56 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:30:56 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:30:56 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:30:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:30:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:30:56 AM=>Info - End of callingService Method
10/23/2022 9:32:56 AM=>Info - Check time Elapsed
10/23/2022 9:32:56 AM=>Info - Call callingService Method
10/23/2022 9:32:56 AM=>Info:- Call Both
10/23/2022 9:32:56 AM=>Info:- Start Executing SMS Method
10/23/2022 9:32:56 AM=>Info:- End Executing SMS Method
10/23/2022 9:32:56 AM=>Info:- Start Mailing Method
10/23/2022 9:32:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:32:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:32:56 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:32:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:32:56 AM=>Info:- Count = 1
10/23/2022 9:32:56 AM=>Info:- Count 1
10/23/2022 9:32:56 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:32:56 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:32:56 AM=>Info:- Start SenMail Method
10/23/2022 9:32:56 AM=>UseDefaultCredentials
10/23/2022 9:32:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:32:56 AM=>EnableSsl = true
10/23/2022 9:32:56 AM=>DeliveryMethod
10/23/2022 9:32:56 AM=>Before Send
10/23/2022 9:34:20 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.188.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:34:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:34:20 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:34:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:34:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:34:21 AM=>Info:- END Mailing Method
10/23/2022 9:34:21 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:34:21 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:34:21 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:34:21 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:34:21 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:34:21 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:34:21 AM=>Info - End of callingService Method
10/23/2022 9:36:21 AM=>Info - Check time Elapsed
10/23/2022 9:36:21 AM=>Info - Call callingService Method
10/23/2022 9:36:21 AM=>Info:- Call Both
10/23/2022 9:36:21 AM=>Info:- Start Executing SMS Method
10/23/2022 9:36:21 AM=>Info:- End Executing SMS Method
10/23/2022 9:36:21 AM=>Info:- Start Mailing Method
10/23/2022 9:36:21 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:36:21 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:36:21 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:36:21 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:36:21 AM=>Info:- Count = 1
10/23/2022 9:36:21 AM=>Info:- Count 1
10/23/2022 9:36:21 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:36:21 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:36:21 AM=>Info:- Start SenMail Method
10/23/2022 9:36:21 AM=>UseDefaultCredentials
10/23/2022 9:36:21 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:36:21 AM=>EnableSsl = true
10/23/2022 9:36:21 AM=>DeliveryMethod
10/23/2022 9:36:21 AM=>Before Send
10/23/2022 9:36:42 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:36:42 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:36:42 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:36:42 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:36:42 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:36:42 AM=>Info:- END Mailing Method
10/23/2022 9:36:42 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:36:42 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:36:42 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:36:42 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:36:42 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:36:42 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:36:42 AM=>Info - End of callingService Method
10/23/2022 9:38:42 AM=>Info - Check time Elapsed
10/23/2022 9:38:42 AM=>Info - Call callingService Method
10/23/2022 9:38:42 AM=>Info:- Call Both
10/23/2022 9:38:42 AM=>Info:- Start Executing SMS Method
10/23/2022 9:38:42 AM=>Info:- End Executing SMS Method
10/23/2022 9:38:42 AM=>Info:- Start Mailing Method
10/23/2022 9:38:42 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:38:42 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:38:42 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:38:42 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:38:42 AM=>Info:- Count = 1
10/23/2022 9:38:42 AM=>Info:- Count 1
10/23/2022 9:38:42 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:38:42 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:38:42 AM=>Info:- Start SenMail Method
10/23/2022 9:38:42 AM=>UseDefaultCredentials
10/23/2022 9:38:42 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:38:42 AM=>EnableSsl = true
10/23/2022 9:38:42 AM=>DeliveryMethod
10/23/2022 9:38:42 AM=>Before Send
10/23/2022 9:39:48 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:39:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:39:48 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:39:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:39:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:39:49 AM=>Info:- END Mailing Method
10/23/2022 9:39:49 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:39:49 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:39:49 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:39:49 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:39:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:39:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:39:49 AM=>Info - End of callingService Method
10/23/2022 9:41:49 AM=>Info - Check time Elapsed
10/23/2022 9:41:49 AM=>Info - Call callingService Method
10/23/2022 9:41:49 AM=>Info:- Call Both
10/23/2022 9:41:49 AM=>Info:- Start Executing SMS Method
10/23/2022 9:41:49 AM=>Info:- End Executing SMS Method
10/23/2022 9:41:49 AM=>Info:- Start Mailing Method
10/23/2022 9:41:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:41:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:41:49 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:41:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:41:49 AM=>Info:- Count = 1
10/23/2022 9:41:49 AM=>Info:- Count 1
10/23/2022 9:41:49 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:41:49 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:41:49 AM=>Info:- Start SenMail Method
10/23/2022 9:41:49 AM=>UseDefaultCredentials
10/23/2022 9:41:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:41:49 AM=>EnableSsl = true
10/23/2022 9:41:49 AM=>DeliveryMethod
10/23/2022 9:41:49 AM=>Before Send
10/23/2022 9:41:58 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:41:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:41:58 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:41:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:41:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:41:58 AM=>Info:- END Mailing Method
10/23/2022 9:41:58 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:41:58 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:41:58 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:41:58 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:41:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:41:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:41:58 AM=>Info - End of callingService Method
10/23/2022 9:43:58 AM=>Info - Check time Elapsed
10/23/2022 9:43:58 AM=>Info - Call callingService Method
10/23/2022 9:43:58 AM=>Info:- Call Both
10/23/2022 9:43:58 AM=>Info:- Start Executing SMS Method
10/23/2022 9:43:58 AM=>Info:- End Executing SMS Method
10/23/2022 9:43:58 AM=>Info:- Start Mailing Method
10/23/2022 9:43:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:43:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:43:58 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:43:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:43:58 AM=>Info:- Count = 1
10/23/2022 9:43:58 AM=>Info:- Count 1
10/23/2022 9:43:58 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:43:58 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:43:58 AM=>Info:- Start SenMail Method
10/23/2022 9:43:58 AM=>UseDefaultCredentials
10/23/2022 9:43:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:43:58 AM=>EnableSsl = true
10/23/2022 9:43:58 AM=>DeliveryMethod
10/23/2022 9:43:58 AM=>Before Send
10/23/2022 9:43:58 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:43:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:43:58 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:43:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:43:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:43:58 AM=>Info:- END Mailing Method
10/23/2022 9:43:58 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:43:58 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:43:58 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:43:58 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:43:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:43:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:43:58 AM=>Info - End of callingService Method
10/23/2022 9:45:58 AM=>Info - Check time Elapsed
10/23/2022 9:45:58 AM=>Info - Call callingService Method
10/23/2022 9:45:58 AM=>Info:- Call Both
10/23/2022 9:45:58 AM=>Info:- Start Executing SMS Method
10/23/2022 9:45:58 AM=>Info:- End Executing SMS Method
10/23/2022 9:45:58 AM=>Info:- Start Mailing Method
10/23/2022 9:45:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:45:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:45:58 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:45:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:45:58 AM=>Info:- Count = 1
10/23/2022 9:45:58 AM=>Info:- Count 1
10/23/2022 9:45:58 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:45:58 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:45:58 AM=>Info:- Start SenMail Method
10/23/2022 9:45:58 AM=>UseDefaultCredentials
10/23/2022 9:45:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:45:58 AM=>EnableSsl = true
10/23/2022 9:45:58 AM=>DeliveryMethod
10/23/2022 9:45:58 AM=>Before Send
10/23/2022 9:46:19 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:46:19 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:46:19 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:46:19 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:46:19 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:46:20 AM=>Info:- END Mailing Method
10/23/2022 9:46:20 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:46:20 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:46:20 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:46:20 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:46:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:46:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:46:20 AM=>Info - End of callingService Method
10/23/2022 9:48:20 AM=>Info - Check time Elapsed
10/23/2022 9:48:20 AM=>Info - Call callingService Method
10/23/2022 9:48:20 AM=>Info:- Call Both
10/23/2022 9:48:20 AM=>Info:- Start Executing SMS Method
10/23/2022 9:48:20 AM=>Info:- End Executing SMS Method
10/23/2022 9:48:20 AM=>Info:- Start Mailing Method
10/23/2022 9:48:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:48:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:48:20 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:48:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:48:20 AM=>Info:- Count = 1
10/23/2022 9:48:20 AM=>Info:- Count 1
10/23/2022 9:48:20 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:48:20 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:48:20 AM=>Info:- Start SenMail Method
10/23/2022 9:48:20 AM=>UseDefaultCredentials
10/23/2022 9:48:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:48:20 AM=>EnableSsl = true
10/23/2022 9:48:20 AM=>DeliveryMethod
10/23/2022 9:48:20 AM=>Before Send
10/23/2022 9:49:44 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.33.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:49:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:49:44 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:49:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:49:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:49:44 AM=>Info:- END Mailing Method
10/23/2022 9:49:44 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:49:44 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:49:44 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:49:44 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:49:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:49:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:49:44 AM=>Info - End of callingService Method
10/23/2022 9:51:44 AM=>Info - Check time Elapsed
10/23/2022 9:51:44 AM=>Info - Call callingService Method
10/23/2022 9:51:44 AM=>Info:- Call Both
10/23/2022 9:51:44 AM=>Info:- Start Executing SMS Method
10/23/2022 9:51:44 AM=>Info:- End Executing SMS Method
10/23/2022 9:51:44 AM=>Info:- Start Mailing Method
10/23/2022 9:51:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:51:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:51:44 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:51:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:51:44 AM=>Info:- Count = 1
10/23/2022 9:51:44 AM=>Info:- Count 1
10/23/2022 9:51:44 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:51:44 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:51:44 AM=>Info:- Start SenMail Method
10/23/2022 9:51:44 AM=>UseDefaultCredentials
10/23/2022 9:51:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:51:44 AM=>EnableSsl = true
10/23/2022 9:51:44 AM=>DeliveryMethod
10/23/2022 9:51:44 AM=>Before Send
10/23/2022 9:52:05 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:52:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:52:05 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:52:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:52:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:52:06 AM=>Info:- END Mailing Method
10/23/2022 9:52:06 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:52:06 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:52:06 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:52:06 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:52:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:52:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:52:06 AM=>Info - End of callingService Method
10/23/2022 9:54:06 AM=>Info - Check time Elapsed
10/23/2022 9:54:06 AM=>Info - Call callingService Method
10/23/2022 9:54:06 AM=>Info:- Call Both
10/23/2022 9:54:06 AM=>Info:- Start Executing SMS Method
10/23/2022 9:54:06 AM=>Info:- End Executing SMS Method
10/23/2022 9:54:06 AM=>Info:- Start Mailing Method
10/23/2022 9:54:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:54:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:54:06 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:54:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:54:06 AM=>Info:- Count = 1
10/23/2022 9:54:06 AM=>Info:- Count 1
10/23/2022 9:54:06 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:54:06 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:54:06 AM=>Info:- Start SenMail Method
10/23/2022 9:54:06 AM=>UseDefaultCredentials
10/23/2022 9:54:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:54:06 AM=>EnableSsl = true
10/23/2022 9:54:06 AM=>DeliveryMethod
10/23/2022 9:54:06 AM=>Before Send
10/23/2022 9:54:06 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:54:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:54:06 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:54:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:54:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:54:06 AM=>Info:- END Mailing Method
10/23/2022 9:54:06 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:54:06 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:54:06 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:54:06 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:54:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:54:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:54:06 AM=>Info - End of callingService Method
10/23/2022 9:56:06 AM=>Info - Check time Elapsed
10/23/2022 9:56:06 AM=>Info - Call callingService Method
10/23/2022 9:56:06 AM=>Info:- Call Both
10/23/2022 9:56:06 AM=>Info:- Start Executing SMS Method
10/23/2022 9:56:06 AM=>Info:- End Executing SMS Method
10/23/2022 9:56:06 AM=>Info:- Start Mailing Method
10/23/2022 9:56:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:56:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:56:06 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:56:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:56:06 AM=>Info:- Count = 1
10/23/2022 9:56:06 AM=>Info:- Count 1
10/23/2022 9:56:06 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:56:06 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:56:06 AM=>Info:- Start SenMail Method
10/23/2022 9:56:06 AM=>UseDefaultCredentials
10/23/2022 9:56:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:56:06 AM=>EnableSsl = true
10/23/2022 9:56:06 AM=>DeliveryMethod
10/23/2022 9:56:06 AM=>Before Send
10/23/2022 9:56:09 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:56:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:56:09 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:56:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:56:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:56:09 AM=>Info:- END Mailing Method
10/23/2022 9:56:09 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:56:09 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:56:09 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:56:09 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:56:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:56:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:56:09 AM=>Info - End of callingService Method
10/23/2022 9:58:09 AM=>Info - Check time Elapsed
10/23/2022 9:58:09 AM=>Info - Call callingService Method
10/23/2022 9:58:09 AM=>Info:- Call Both
10/23/2022 9:58:09 AM=>Info:- Start Executing SMS Method
10/23/2022 9:58:09 AM=>Info:- End Executing SMS Method
10/23/2022 9:58:09 AM=>Info:- Start Mailing Method
10/23/2022 9:58:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:58:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:58:09 AM=>Info:- PendingMail.xml file read to list
10/23/2022 9:58:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:58:09 AM=>Info:- Count = 1
10/23/2022 9:58:09 AM=>Info:- Count 1
10/23/2022 9:58:09 AM=>Info - Fetching Data From MAIL XML
10/23/2022 9:58:09 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:58:09 AM=>Info:- Start SenMail Method
10/23/2022 9:58:09 AM=>UseDefaultCredentials
10/23/2022 9:58:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:58:09 AM=>EnableSsl = true
10/23/2022 9:58:09 AM=>DeliveryMethod
10/23/2022 9:58:09 AM=>Before Send
10/23/2022 9:58:12 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:58:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:58:12 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:58:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:58:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:58:13 AM=>Info:- END Mailing Method
10/23/2022 9:58:13 AM=>Info:- Start Executing Telegram Method
10/23/2022 9:58:13 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:58:13 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:58:13 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:58:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:58:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:58:13 AM=>Info - End of callingService Method
10/23/2022 10:00:13 AM=>Info - Check time Elapsed
10/23/2022 10:00:13 AM=>Info - Call callingService Method
10/23/2022 10:00:13 AM=>Info:- Call Both
10/23/2022 10:00:13 AM=>Info:- Start Executing SMS Method
10/23/2022 10:00:13 AM=>Info:- End Executing SMS Method
10/23/2022 10:00:13 AM=>Info:- Start Mailing Method
10/23/2022 10:00:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:00:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:00:13 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:00:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:00:13 AM=>Info:- Count = 1
10/23/2022 10:00:13 AM=>Info:- Count 1
10/23/2022 10:00:13 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:00:13 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:00:13 AM=>Info:- Start SenMail Method
10/23/2022 10:00:13 AM=>UseDefaultCredentials
10/23/2022 10:00:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:00:13 AM=>EnableSsl = true
10/23/2022 10:00:13 AM=>DeliveryMethod
10/23/2022 10:00:13 AM=>Before Send
10/23/2022 10:00:22 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:00:22 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:00:22 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:00:22 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:00:22 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:00:22 AM=>Info:- END Mailing Method
10/23/2022 10:00:22 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:00:22 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:00:22 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:00:22 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:00:22 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:00:22 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:00:22 AM=>Info - End of callingService Method
10/23/2022 10:02:22 AM=>Info - Check time Elapsed
10/23/2022 10:02:22 AM=>Info - Call callingService Method
10/23/2022 10:02:22 AM=>Info:- Call Both
10/23/2022 10:02:22 AM=>Info:- Start Executing SMS Method
10/23/2022 10:02:22 AM=>Info:- End Executing SMS Method
10/23/2022 10:02:22 AM=>Info:- Start Mailing Method
10/23/2022 10:02:22 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:02:22 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:02:22 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:02:22 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:02:22 AM=>Info:- Count = 1
10/23/2022 10:02:22 AM=>Info:- Count 1
10/23/2022 10:02:22 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:02:22 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:02:22 AM=>Info:- Start SenMail Method
10/23/2022 10:02:22 AM=>UseDefaultCredentials
10/23/2022 10:02:22 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:02:22 AM=>EnableSsl = true
10/23/2022 10:02:22 AM=>DeliveryMethod
10/23/2022 10:02:22 AM=>Before Send
10/23/2022 10:03:46 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:03:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:03:46 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:03:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:03:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:03:47 AM=>Info:- END Mailing Method
10/23/2022 10:03:47 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:03:47 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:03:47 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:03:47 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:03:47 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:03:47 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:03:47 AM=>Info - End of callingService Method
10/23/2022 10:05:47 AM=>Info - Check time Elapsed
10/23/2022 10:05:47 AM=>Info - Call callingService Method
10/23/2022 10:05:47 AM=>Info:- Call Both
10/23/2022 10:05:47 AM=>Info:- Start Executing SMS Method
10/23/2022 10:05:47 AM=>Info:- End Executing SMS Method
10/23/2022 10:05:47 AM=>Info:- Start Mailing Method
10/23/2022 10:05:47 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:05:47 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:05:47 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:05:47 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:05:47 AM=>Info:- Count = 1
10/23/2022 10:05:47 AM=>Info:- Count 1
10/23/2022 10:05:47 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:05:47 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:05:47 AM=>Info:- Start SenMail Method
10/23/2022 10:05:47 AM=>UseDefaultCredentials
10/23/2022 10:05:47 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:05:47 AM=>EnableSsl = true
10/23/2022 10:05:47 AM=>DeliveryMethod
10/23/2022 10:05:47 AM=>Before Send
10/23/2022 10:07:11 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.64.130:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:07:11 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:07:11 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:07:11 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:07:11 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:07:11 AM=>Info:- END Mailing Method
10/23/2022 10:07:11 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:07:11 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:07:11 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:07:11 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:07:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:07:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:07:11 AM=>Info - End of callingService Method
10/23/2022 10:09:11 AM=>Info - Check time Elapsed
10/23/2022 10:09:11 AM=>Info - Call callingService Method
10/23/2022 10:09:11 AM=>Info:- Call Both
10/23/2022 10:09:11 AM=>Info:- Start Executing SMS Method
10/23/2022 10:09:11 AM=>Info:- End Executing SMS Method
10/23/2022 10:09:11 AM=>Info:- Start Mailing Method
10/23/2022 10:09:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:09:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:09:11 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:09:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:09:11 AM=>Info:- Count = 1
10/23/2022 10:09:11 AM=>Info:- Count 1
10/23/2022 10:09:11 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:09:11 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:09:11 AM=>Info:- Start SenMail Method
10/23/2022 10:09:11 AM=>UseDefaultCredentials
10/23/2022 10:09:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:09:11 AM=>EnableSsl = true
10/23/2022 10:09:11 AM=>DeliveryMethod
10/23/2022 10:09:11 AM=>Before Send
10/23/2022 10:10:35 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:10:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:10:35 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:10:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:10:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:10:36 AM=>Info:- END Mailing Method
10/23/2022 10:10:36 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:10:36 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:10:36 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:10:36 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:10:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:10:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:10:36 AM=>Info - End of callingService Method
10/23/2022 10:12:36 AM=>Info - Check time Elapsed
10/23/2022 10:12:36 AM=>Info - Call callingService Method
10/23/2022 10:12:36 AM=>Info:- Call Both
10/23/2022 10:12:36 AM=>Info:- Start Executing SMS Method
10/23/2022 10:12:36 AM=>Info:- End Executing SMS Method
10/23/2022 10:12:36 AM=>Info:- Start Mailing Method
10/23/2022 10:12:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:12:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:12:36 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:12:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:12:36 AM=>Info:- Count = 1
10/23/2022 10:12:36 AM=>Info:- Count 1
10/23/2022 10:12:36 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:12:36 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:12:36 AM=>Info:- Start SenMail Method
10/23/2022 10:12:36 AM=>UseDefaultCredentials
10/23/2022 10:12:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:12:36 AM=>EnableSsl = true
10/23/2022 10:12:36 AM=>DeliveryMethod
10/23/2022 10:12:36 AM=>Before Send
10/23/2022 10:12:36 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:12:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:12:36 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:12:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:12:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:12:36 AM=>Info:- END Mailing Method
10/23/2022 10:12:36 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:12:36 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:12:36 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:12:36 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:12:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:12:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:12:36 AM=>Info - End of callingService Method
10/23/2022 10:14:36 AM=>Info - Check time Elapsed
10/23/2022 10:14:36 AM=>Info - Call callingService Method
10/23/2022 10:14:36 AM=>Info:- Call Both
10/23/2022 10:14:36 AM=>Info:- Start Executing SMS Method
10/23/2022 10:14:36 AM=>Info:- End Executing SMS Method
10/23/2022 10:14:36 AM=>Info:- Start Mailing Method
10/23/2022 10:14:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:14:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:14:36 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:14:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:14:36 AM=>Info:- Count = 1
10/23/2022 10:14:36 AM=>Info:- Count 1
10/23/2022 10:14:36 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:14:36 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:14:36 AM=>Info:- Start SenMail Method
10/23/2022 10:14:36 AM=>UseDefaultCredentials
10/23/2022 10:14:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:14:36 AM=>EnableSsl = true
10/23/2022 10:14:36 AM=>DeliveryMethod
10/23/2022 10:14:36 AM=>Before Send
10/23/2022 10:16:00 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:16:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:16:00 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:16:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:16:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:16:00 AM=>Info:- END Mailing Method
10/23/2022 10:16:00 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:16:00 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:16:00 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:16:00 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:16:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:16:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:16:00 AM=>Info - End of callingService Method
10/23/2022 10:18:00 AM=>Info - Check time Elapsed
10/23/2022 10:18:00 AM=>Info - Call callingService Method
10/23/2022 10:18:00 AM=>Info:- Call Both
10/23/2022 10:18:00 AM=>Info:- Start Executing SMS Method
10/23/2022 10:18:00 AM=>Info:- End Executing SMS Method
10/23/2022 10:18:01 AM=>Info:- Start Mailing Method
10/23/2022 10:18:01 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:18:01 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:18:01 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:18:01 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:18:01 AM=>Info:- Count = 1
10/23/2022 10:18:01 AM=>Info:- Count 1
10/23/2022 10:18:01 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:18:01 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:18:01 AM=>Info:- Start SenMail Method
10/23/2022 10:18:01 AM=>UseDefaultCredentials
10/23/2022 10:18:01 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:18:01 AM=>EnableSsl = true
10/23/2022 10:18:01 AM=>DeliveryMethod
10/23/2022 10:18:01 AM=>Before Send
10/23/2022 10:18:04 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:18:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:18:04 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:18:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:18:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:18:04 AM=>Info:- END Mailing Method
10/23/2022 10:18:04 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:18:04 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:18:04 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:18:04 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:18:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:18:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:18:04 AM=>Info - End of callingService Method
10/23/2022 10:20:04 AM=>Info - Check time Elapsed
10/23/2022 10:20:04 AM=>Info - Call callingService Method
10/23/2022 10:20:04 AM=>Info:- Call Both
10/23/2022 10:20:04 AM=>Info:- Start Executing SMS Method
10/23/2022 10:20:04 AM=>Info:- End Executing SMS Method
10/23/2022 10:20:04 AM=>Info:- Start Mailing Method
10/23/2022 10:20:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:20:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:20:04 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:20:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:20:04 AM=>Info:- Count = 1
10/23/2022 10:20:04 AM=>Info:- Count 1
10/23/2022 10:20:04 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:20:04 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:20:04 AM=>Info:- Start SenMail Method
10/23/2022 10:20:04 AM=>UseDefaultCredentials
10/23/2022 10:20:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:20:04 AM=>EnableSsl = true
10/23/2022 10:20:04 AM=>DeliveryMethod
10/23/2022 10:20:04 AM=>Before Send
10/23/2022 10:21:28 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.50:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:21:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:21:28 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:21:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:21:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:21:28 AM=>Info:- END Mailing Method
10/23/2022 10:21:28 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:21:28 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:21:28 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:21:28 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:21:28 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:21:28 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:21:28 AM=>Info - End of callingService Method
10/23/2022 10:23:28 AM=>Info - Check time Elapsed
10/23/2022 10:23:28 AM=>Info - Call callingService Method
10/23/2022 10:23:28 AM=>Info:- Call Both
10/23/2022 10:23:28 AM=>Info:- Start Executing SMS Method
10/23/2022 10:23:28 AM=>Info:- End Executing SMS Method
10/23/2022 10:23:28 AM=>Info:- Start Mailing Method
10/23/2022 10:23:28 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:23:28 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:23:28 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:23:28 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:23:28 AM=>Info:- Count = 1
10/23/2022 10:23:28 AM=>Info:- Count 1
10/23/2022 10:23:28 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:23:28 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:23:28 AM=>Info:- Start SenMail Method
10/23/2022 10:23:28 AM=>UseDefaultCredentials
10/23/2022 10:23:28 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:23:28 AM=>EnableSsl = true
10/23/2022 10:23:28 AM=>DeliveryMethod
10/23/2022 10:23:28 AM=>Before Send
10/23/2022 10:24:52 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.188.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:24:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:24:52 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:24:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:24:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:24:53 AM=>Info:- END Mailing Method
10/23/2022 10:24:53 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:24:53 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:24:53 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:24:53 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:24:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:24:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:24:53 AM=>Info - End of callingService Method
10/23/2022 10:26:53 AM=>Info - Check time Elapsed
10/23/2022 10:26:53 AM=>Info - Call callingService Method
10/23/2022 10:26:53 AM=>Info:- Call Both
10/23/2022 10:26:53 AM=>Info:- Start Executing SMS Method
10/23/2022 10:26:53 AM=>Info:- End Executing SMS Method
10/23/2022 10:26:53 AM=>Info:- Start Mailing Method
10/23/2022 10:26:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:26:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:26:53 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:26:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:26:53 AM=>Info:- Count = 1
10/23/2022 10:26:53 AM=>Info:- Count 1
10/23/2022 10:26:53 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:26:53 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:26:53 AM=>Info:- Start SenMail Method
10/23/2022 10:26:53 AM=>UseDefaultCredentials
10/23/2022 10:26:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:26:53 AM=>EnableSsl = true
10/23/2022 10:26:53 AM=>DeliveryMethod
10/23/2022 10:26:53 AM=>Before Send
10/23/2022 10:28:17 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.146:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:28:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:28:17 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:28:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:28:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:28:17 AM=>Info:- END Mailing Method
10/23/2022 10:28:17 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:28:17 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:28:17 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:28:17 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:28:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:28:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:28:17 AM=>Info - End of callingService Method
10/23/2022 10:30:17 AM=>Info - Check time Elapsed
10/23/2022 10:30:17 AM=>Info - Call callingService Method
10/23/2022 10:30:17 AM=>Info:- Call Both
10/23/2022 10:30:17 AM=>Info:- Start Executing SMS Method
10/23/2022 10:30:17 AM=>Info:- End Executing SMS Method
10/23/2022 10:30:17 AM=>Info:- Start Mailing Method
10/23/2022 10:30:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:30:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:30:17 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:30:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:30:17 AM=>Info:- Count = 1
10/23/2022 10:30:17 AM=>Info:- Count 1
10/23/2022 10:30:17 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:30:17 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:30:17 AM=>Info:- Start SenMail Method
10/23/2022 10:30:17 AM=>UseDefaultCredentials
10/23/2022 10:30:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:30:17 AM=>EnableSsl = true
10/23/2022 10:30:17 AM=>DeliveryMethod
10/23/2022 10:30:17 AM=>Before Send
10/23/2022 10:30:38 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:30:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:30:38 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:30:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:30:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:30:39 AM=>Info:- END Mailing Method
10/23/2022 10:30:39 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:30:39 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:30:39 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:30:39 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:30:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:30:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:30:39 AM=>Info - End of callingService Method
10/23/2022 10:32:39 AM=>Info - Check time Elapsed
10/23/2022 10:32:39 AM=>Info - Call callingService Method
10/23/2022 10:32:39 AM=>Info:- Call Both
10/23/2022 10:32:39 AM=>Info:- Start Executing SMS Method
10/23/2022 10:32:39 AM=>Info:- End Executing SMS Method
10/23/2022 10:32:39 AM=>Info:- Start Mailing Method
10/23/2022 10:32:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:32:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:32:39 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:32:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:32:39 AM=>Info:- Count = 1
10/23/2022 10:32:39 AM=>Info:- Count 1
10/23/2022 10:32:39 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:32:39 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:32:39 AM=>Info:- Start SenMail Method
10/23/2022 10:32:39 AM=>UseDefaultCredentials
10/23/2022 10:32:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:32:39 AM=>EnableSsl = true
10/23/2022 10:32:39 AM=>DeliveryMethod
10/23/2022 10:32:39 AM=>Before Send
10/23/2022 10:32:39 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:32:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:32:39 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:32:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:32:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:32:39 AM=>Info:- END Mailing Method
10/23/2022 10:32:39 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:32:39 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:32:39 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:32:39 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:32:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:32:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:32:39 AM=>Info - End of callingService Method
10/23/2022 10:34:39 AM=>Info - Check time Elapsed
10/23/2022 10:34:39 AM=>Info - Call callingService Method
10/23/2022 10:34:39 AM=>Info:- Call Both
10/23/2022 10:34:39 AM=>Info:- Start Executing SMS Method
10/23/2022 10:34:39 AM=>Info:- End Executing SMS Method
10/23/2022 10:34:39 AM=>Info:- Start Mailing Method
10/23/2022 10:34:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:34:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:34:39 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:34:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:34:39 AM=>Info:- Count = 1
10/23/2022 10:34:39 AM=>Info:- Count 1
10/23/2022 10:34:39 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:34:39 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:34:39 AM=>Info:- Start SenMail Method
10/23/2022 10:34:39 AM=>UseDefaultCredentials
10/23/2022 10:34:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:34:39 AM=>EnableSsl = true
10/23/2022 10:34:39 AM=>DeliveryMethod
10/23/2022 10:34:39 AM=>Before Send
10/23/2022 10:34:48 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:34:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:34:48 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:34:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:34:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:34:48 AM=>Info:- END Mailing Method
10/23/2022 10:34:48 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:34:48 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:34:48 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:34:48 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:34:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:34:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:34:48 AM=>Info - End of callingService Method
10/23/2022 10:36:48 AM=>Info - Check time Elapsed
10/23/2022 10:36:48 AM=>Info - Call callingService Method
10/23/2022 10:36:48 AM=>Info:- Call Both
10/23/2022 10:36:48 AM=>Info:- Start Executing SMS Method
10/23/2022 10:36:48 AM=>Info:- End Executing SMS Method
10/23/2022 10:36:48 AM=>Info:- Start Mailing Method
10/23/2022 10:36:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:36:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:36:48 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:36:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:36:48 AM=>Info:- Count = 1
10/23/2022 10:36:48 AM=>Info:- Count 1
10/23/2022 10:36:48 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:36:48 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:36:48 AM=>Info:- Start SenMail Method
10/23/2022 10:36:48 AM=>UseDefaultCredentials
10/23/2022 10:36:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:36:48 AM=>EnableSsl = true
10/23/2022 10:36:48 AM=>DeliveryMethod
10/23/2022 10:36:48 AM=>Before Send
10/23/2022 10:37:10 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:37:10 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:37:10 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:37:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:37:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:37:10 AM=>Info:- END Mailing Method
10/23/2022 10:37:10 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:37:10 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:37:10 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:37:10 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:37:10 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:37:10 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:37:10 AM=>Info - End of callingService Method
10/23/2022 10:39:10 AM=>Info - Check time Elapsed
10/23/2022 10:39:10 AM=>Info - Call callingService Method
10/23/2022 10:39:10 AM=>Info:- Call Both
10/23/2022 10:39:10 AM=>Info:- Start Executing SMS Method
10/23/2022 10:39:10 AM=>Info:- End Executing SMS Method
10/23/2022 10:39:10 AM=>Info:- Start Mailing Method
10/23/2022 10:39:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:39:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:39:10 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:39:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:39:10 AM=>Info:- Count = 1
10/23/2022 10:39:10 AM=>Info:- Count 1
10/23/2022 10:39:10 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:39:10 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:39:10 AM=>Info:- Start SenMail Method
10/23/2022 10:39:10 AM=>UseDefaultCredentials
10/23/2022 10:39:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:39:10 AM=>EnableSsl = true
10/23/2022 10:39:10 AM=>DeliveryMethod
10/23/2022 10:39:10 AM=>Before Send
10/23/2022 10:39:19 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:39:19 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:39:19 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:39:19 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:39:19 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:39:19 AM=>Info:- END Mailing Method
10/23/2022 10:39:19 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:39:19 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:39:19 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:39:19 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:39:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:39:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:39:19 AM=>Info - End of callingService Method
10/23/2022 10:41:19 AM=>Info - Check time Elapsed
10/23/2022 10:41:19 AM=>Info - Call callingService Method
10/23/2022 10:41:19 AM=>Info:- Call Both
10/23/2022 10:41:19 AM=>Info:- Start Executing SMS Method
10/23/2022 10:41:19 AM=>Info:- End Executing SMS Method
10/23/2022 10:41:19 AM=>Info:- Start Mailing Method
10/23/2022 10:41:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:41:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:41:19 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:41:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:41:19 AM=>Info:- Count = 1
10/23/2022 10:41:19 AM=>Info:- Count 1
10/23/2022 10:41:19 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:41:19 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:41:19 AM=>Info:- Start SenMail Method
10/23/2022 10:41:19 AM=>UseDefaultCredentials
10/23/2022 10:41:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:41:19 AM=>EnableSsl = true
10/23/2022 10:41:19 AM=>DeliveryMethod
10/23/2022 10:41:19 AM=>Before Send
10/23/2022 10:42:01 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:42:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:42:01 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:42:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:42:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:42:02 AM=>Info:- END Mailing Method
10/23/2022 10:42:02 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:42:02 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:42:02 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:42:02 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:42:02 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:42:02 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:42:02 AM=>Info - End of callingService Method
10/23/2022 10:44:02 AM=>Info - Check time Elapsed
10/23/2022 10:44:02 AM=>Info - Call callingService Method
10/23/2022 10:44:02 AM=>Info:- Call Both
10/23/2022 10:44:02 AM=>Info:- Start Executing SMS Method
10/23/2022 10:44:02 AM=>Info:- End Executing SMS Method
10/23/2022 10:44:02 AM=>Info:- Start Mailing Method
10/23/2022 10:44:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:44:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:44:02 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:44:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:44:02 AM=>Info:- Count = 1
10/23/2022 10:44:02 AM=>Info:- Count 1
10/23/2022 10:44:02 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:44:02 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:44:02 AM=>Info:- Start SenMail Method
10/23/2022 10:44:02 AM=>UseDefaultCredentials
10/23/2022 10:44:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:44:02 AM=>EnableSsl = true
10/23/2022 10:44:02 AM=>DeliveryMethod
10/23/2022 10:44:02 AM=>Before Send
10/23/2022 10:45:26 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:45:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:45:26 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:45:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:45:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:45:26 AM=>Info:- END Mailing Method
10/23/2022 10:45:26 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:45:26 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:45:26 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:45:26 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:45:26 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:45:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:45:26 AM=>Info - End of callingService Method
10/23/2022 10:47:26 AM=>Info - Check time Elapsed
10/23/2022 10:47:26 AM=>Info - Call callingService Method
10/23/2022 10:47:26 AM=>Info:- Call Both
10/23/2022 10:47:26 AM=>Info:- Start Executing SMS Method
10/23/2022 10:47:26 AM=>Info:- End Executing SMS Method
10/23/2022 10:47:26 AM=>Info:- Start Mailing Method
10/23/2022 10:47:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:47:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:47:26 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:47:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:47:26 AM=>Info:- Count = 1
10/23/2022 10:47:26 AM=>Info:- Count 1
10/23/2022 10:47:26 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:47:26 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:47:26 AM=>Info:- Start SenMail Method
10/23/2022 10:47:26 AM=>UseDefaultCredentials
10/23/2022 10:47:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:47:26 AM=>EnableSsl = true
10/23/2022 10:47:26 AM=>DeliveryMethod
10/23/2022 10:47:26 AM=>Before Send
10/23/2022 10:48:50 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.58.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:48:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:48:50 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:48:50 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:48:50 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:48:51 AM=>Info:- END Mailing Method
10/23/2022 10:48:51 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:48:51 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:48:51 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:48:51 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:48:51 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:48:51 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:48:51 AM=>Info - End of callingService Method
10/23/2022 10:50:51 AM=>Info - Check time Elapsed
10/23/2022 10:50:51 AM=>Info - Call callingService Method
10/23/2022 10:50:51 AM=>Info:- Call Both
10/23/2022 10:50:51 AM=>Info:- Start Executing SMS Method
10/23/2022 10:50:51 AM=>Info:- End Executing SMS Method
10/23/2022 10:50:51 AM=>Info:- Start Mailing Method
10/23/2022 10:50:51 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:50:51 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:50:51 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:50:51 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:50:51 AM=>Info:- Count = 1
10/23/2022 10:50:51 AM=>Info:- Count 1
10/23/2022 10:50:51 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:50:51 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:50:51 AM=>Info:- Start SenMail Method
10/23/2022 10:50:51 AM=>UseDefaultCredentials
10/23/2022 10:50:51 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:50:51 AM=>EnableSsl = true
10/23/2022 10:50:51 AM=>DeliveryMethod
10/23/2022 10:50:51 AM=>Before Send
10/23/2022 10:52:15 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.50:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:52:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:52:15 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:52:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:52:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:52:15 AM=>Info:- END Mailing Method
10/23/2022 10:52:15 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:52:15 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:52:15 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:52:15 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:52:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:52:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:52:15 AM=>Info - End of callingService Method
10/23/2022 10:54:15 AM=>Info - Check time Elapsed
10/23/2022 10:54:15 AM=>Info - Call callingService Method
10/23/2022 10:54:15 AM=>Info:- Call Both
10/23/2022 10:54:15 AM=>Info:- Start Executing SMS Method
10/23/2022 10:54:15 AM=>Info:- End Executing SMS Method
10/23/2022 10:54:15 AM=>Info:- Start Mailing Method
10/23/2022 10:54:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:54:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:54:15 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:54:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:54:15 AM=>Info:- Count = 1
10/23/2022 10:54:15 AM=>Info:- Count 1
10/23/2022 10:54:15 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:54:15 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:54:15 AM=>Info:- Start SenMail Method
10/23/2022 10:54:15 AM=>UseDefaultCredentials
10/23/2022 10:54:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:54:15 AM=>EnableSsl = true
10/23/2022 10:54:15 AM=>DeliveryMethod
10/23/2022 10:54:15 AM=>Before Send
10/23/2022 10:54:24 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:54:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:54:24 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:54:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:54:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:54:25 AM=>Info:- END Mailing Method
10/23/2022 10:54:25 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:54:25 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:54:25 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:54:25 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:54:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:54:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:54:25 AM=>Info - End of callingService Method
10/23/2022 10:56:25 AM=>Info - Check time Elapsed
10/23/2022 10:56:25 AM=>Info - Call callingService Method
10/23/2022 10:56:25 AM=>Info:- Call Both
10/23/2022 10:56:25 AM=>Info:- Start Executing SMS Method
10/23/2022 10:56:25 AM=>Info:- End Executing SMS Method
10/23/2022 10:56:25 AM=>Info:- Start Mailing Method
10/23/2022 10:56:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:56:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:56:25 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:56:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:56:25 AM=>Info:- Count = 1
10/23/2022 10:56:25 AM=>Info:- Count 1
10/23/2022 10:56:25 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:56:25 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:56:25 AM=>Info:- Start SenMail Method
10/23/2022 10:56:25 AM=>UseDefaultCredentials
10/23/2022 10:56:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:56:25 AM=>EnableSsl = true
10/23/2022 10:56:25 AM=>DeliveryMethod
10/23/2022 10:56:25 AM=>Before Send
10/23/2022 10:56:46 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:56:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:56:46 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:56:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:56:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:56:46 AM=>Info:- END Mailing Method
10/23/2022 10:56:46 AM=>Info:- Start Executing Telegram Method
10/23/2022 10:56:46 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:56:46 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:56:46 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:56:46 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:56:46 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:56:46 AM=>Info - End of callingService Method
10/23/2022 10:58:46 AM=>Info - Check time Elapsed
10/23/2022 10:58:46 AM=>Info - Call callingService Method
10/23/2022 10:58:46 AM=>Info:- Call Both
10/23/2022 10:58:46 AM=>Info:- Start Executing SMS Method
10/23/2022 10:58:46 AM=>Info:- End Executing SMS Method
10/23/2022 10:58:46 AM=>Info:- Start Mailing Method
10/23/2022 10:58:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:58:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:58:46 AM=>Info:- PendingMail.xml file read to list
10/23/2022 10:58:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:58:46 AM=>Info:- Count = 1
10/23/2022 10:58:46 AM=>Info:- Count 1
10/23/2022 10:58:46 AM=>Info - Fetching Data From MAIL XML
10/23/2022 10:58:46 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:58:46 AM=>Info:- Start SenMail Method
10/23/2022 10:58:46 AM=>UseDefaultCredentials
10/23/2022 10:58:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:58:46 AM=>EnableSsl = true
10/23/2022 10:58:46 AM=>DeliveryMethod
10/23/2022 10:58:46 AM=>Before Send
10/23/2022 11:00:10 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:00:10 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:00:10 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:00:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:00:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:00:10 AM=>Info:- END Mailing Method
10/23/2022 11:00:10 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:00:10 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:00:10 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:00:10 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:00:10 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:00:10 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:00:10 AM=>Info - End of callingService Method
10/23/2022 11:02:10 AM=>Info - Check time Elapsed
10/23/2022 11:02:10 AM=>Info - Call callingService Method
10/23/2022 11:02:10 AM=>Info:- Call Both
10/23/2022 11:02:10 AM=>Info:- Start Executing SMS Method
10/23/2022 11:02:10 AM=>Info:- End Executing SMS Method
10/23/2022 11:02:10 AM=>Info:- Start Mailing Method
10/23/2022 11:02:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:02:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:02:10 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:02:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:02:10 AM=>Info:- Count = 1
10/23/2022 11:02:10 AM=>Info:- Count 1
10/23/2022 11:02:10 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:02:10 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:02:10 AM=>Info:- Start SenMail Method
10/23/2022 11:02:10 AM=>UseDefaultCredentials
10/23/2022 11:02:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:02:10 AM=>EnableSsl = true
10/23/2022 11:02:10 AM=>DeliveryMethod
10/23/2022 11:02:10 AM=>Before Send
10/23/2022 11:03:35 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:03:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:03:35 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:03:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:03:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:03:35 AM=>Info:- END Mailing Method
10/23/2022 11:03:35 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:03:35 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:03:35 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:03:35 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:03:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:03:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:03:35 AM=>Info - End of callingService Method
10/23/2022 11:05:35 AM=>Info - Check time Elapsed
10/23/2022 11:05:35 AM=>Info - Call callingService Method
10/23/2022 11:05:35 AM=>Info:- Call Both
10/23/2022 11:05:35 AM=>Info:- Start Executing SMS Method
10/23/2022 11:05:35 AM=>Info:- End Executing SMS Method
10/23/2022 11:05:35 AM=>Info:- Start Mailing Method
10/23/2022 11:05:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:05:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:05:35 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:05:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:05:35 AM=>Info:- Count = 1
10/23/2022 11:05:35 AM=>Info:- Count 1
10/23/2022 11:05:35 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:05:35 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:05:35 AM=>Info:- Start SenMail Method
10/23/2022 11:05:35 AM=>UseDefaultCredentials
10/23/2022 11:05:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:05:35 AM=>EnableSsl = true
10/23/2022 11:05:35 AM=>DeliveryMethod
10/23/2022 11:05:35 AM=>Before Send
10/23/2022 11:06:59 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.114:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:06:59 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:06:59 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:06:59 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:06:59 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:06:59 AM=>Info:- END Mailing Method
10/23/2022 11:06:59 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:06:59 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:06:59 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:06:59 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:06:59 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:06:59 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:06:59 AM=>Info - End of callingService Method
10/23/2022 11:08:59 AM=>Info - Check time Elapsed
10/23/2022 11:08:59 AM=>Info - Call callingService Method
10/23/2022 11:08:59 AM=>Info:- Call Both
10/23/2022 11:08:59 AM=>Info:- Start Executing SMS Method
10/23/2022 11:08:59 AM=>Info:- End Executing SMS Method
10/23/2022 11:08:59 AM=>Info:- Start Mailing Method
10/23/2022 11:08:59 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:08:59 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:08:59 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:08:59 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:08:59 AM=>Info:- Count = 1
10/23/2022 11:08:59 AM=>Info:- Count 1
10/23/2022 11:08:59 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:08:59 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:08:59 AM=>Info:- Start SenMail Method
10/23/2022 11:08:59 AM=>UseDefaultCredentials
10/23/2022 11:08:59 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:08:59 AM=>EnableSsl = true
10/23/2022 11:08:59 AM=>DeliveryMethod
10/23/2022 11:08:59 AM=>Before Send
10/23/2022 11:11:48 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: The operation has timed out.
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:11:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:11:48 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:11:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:11:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:11:48 AM=>Info:- END Mailing Method
10/23/2022 11:11:48 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:11:48 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:11:48 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:11:48 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:11:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:11:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:11:48 AM=>Info - End of callingService Method
10/23/2022 11:13:48 AM=>Info - Check time Elapsed
10/23/2022 11:13:48 AM=>Info - Call callingService Method
10/23/2022 11:13:48 AM=>Info:- Call Both
10/23/2022 11:13:48 AM=>Info:- Start Executing SMS Method
10/23/2022 11:13:48 AM=>Info:- End Executing SMS Method
10/23/2022 11:13:48 AM=>Info:- Start Mailing Method
10/23/2022 11:13:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:13:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:13:48 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:13:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:13:48 AM=>Info:- Count = 1
10/23/2022 11:13:48 AM=>Info:- Count 1
10/23/2022 11:13:48 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:13:48 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:13:48 AM=>Info:- Start SenMail Method
10/23/2022 11:13:48 AM=>UseDefaultCredentials
10/23/2022 11:13:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:13:48 AM=>EnableSsl = true
10/23/2022 11:13:48 AM=>DeliveryMethod
10/23/2022 11:13:48 AM=>Before Send
10/23/2022 11:13:48 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:13:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:13:48 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:13:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:13:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:13:48 AM=>Info:- END Mailing Method
10/23/2022 11:13:48 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:13:48 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:13:48 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:13:48 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:13:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:13:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:13:48 AM=>Info - End of callingService Method
10/23/2022 11:15:48 AM=>Info - Check time Elapsed
10/23/2022 11:15:48 AM=>Info - Call callingService Method
10/23/2022 11:15:48 AM=>Info:- Call Both
10/23/2022 11:15:48 AM=>Info:- Start Executing SMS Method
10/23/2022 11:15:48 AM=>Info:- End Executing SMS Method
10/23/2022 11:15:48 AM=>Info:- Start Mailing Method
10/23/2022 11:15:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:15:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:15:48 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:15:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:15:48 AM=>Info:- Count = 1
10/23/2022 11:15:48 AM=>Info:- Count 1
10/23/2022 11:15:48 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:15:48 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:15:48 AM=>Info:- Start SenMail Method
10/23/2022 11:15:48 AM=>UseDefaultCredentials
10/23/2022 11:15:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:15:48 AM=>EnableSsl = true
10/23/2022 11:15:48 AM=>DeliveryMethod
10/23/2022 11:15:48 AM=>Before Send
10/23/2022 11:17:12 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.40.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:17:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:17:12 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:17:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:17:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:17:13 AM=>Info:- END Mailing Method
10/23/2022 11:17:13 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:17:13 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:17:13 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:17:13 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:17:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:17:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:17:13 AM=>Info - End of callingService Method
10/23/2022 11:19:13 AM=>Info - Check time Elapsed
10/23/2022 11:19:13 AM=>Info - Call callingService Method
10/23/2022 11:19:13 AM=>Info:- Call Both
10/23/2022 11:19:13 AM=>Info:- Start Executing SMS Method
10/23/2022 11:19:13 AM=>Info:- End Executing SMS Method
10/23/2022 11:19:13 AM=>Info:- Start Mailing Method
10/23/2022 11:19:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:19:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:19:13 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:19:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:19:13 AM=>Info:- Count = 1
10/23/2022 11:19:13 AM=>Info:- Count 1
10/23/2022 11:19:13 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:19:13 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:19:13 AM=>Info:- Start SenMail Method
10/23/2022 11:19:13 AM=>UseDefaultCredentials
10/23/2022 11:19:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:19:13 AM=>EnableSsl = true
10/23/2022 11:19:13 AM=>DeliveryMethod
10/23/2022 11:19:13 AM=>Before Send
10/23/2022 11:20:37 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.181.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:20:37 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:20:37 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:20:37 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:20:37 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:20:37 AM=>Info:- END Mailing Method
10/23/2022 11:20:37 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:20:37 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:20:37 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:20:37 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:20:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:20:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:20:37 AM=>Info - End of callingService Method
10/23/2022 11:22:37 AM=>Info - Check time Elapsed
10/23/2022 11:22:37 AM=>Info - Call callingService Method
10/23/2022 11:22:37 AM=>Info:- Call Both
10/23/2022 11:22:37 AM=>Info:- Start Executing SMS Method
10/23/2022 11:22:37 AM=>Info:- End Executing SMS Method
10/23/2022 11:22:37 AM=>Info:- Start Mailing Method
10/23/2022 11:22:37 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:22:37 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:22:37 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:22:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:22:37 AM=>Info:- Count = 1
10/23/2022 11:22:37 AM=>Info:- Count 1
10/23/2022 11:22:37 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:22:37 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:22:37 AM=>Info:- Start SenMail Method
10/23/2022 11:22:37 AM=>UseDefaultCredentials
10/23/2022 11:22:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:22:37 AM=>EnableSsl = true
10/23/2022 11:22:37 AM=>DeliveryMethod
10/23/2022 11:22:37 AM=>Before Send
10/23/2022 11:24:01 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.114:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:24:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:24:01 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:24:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:24:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:24:02 AM=>Info:- END Mailing Method
10/23/2022 11:24:02 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:24:02 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:24:02 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:24:02 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:24:02 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:24:02 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:24:02 AM=>Info - End of callingService Method
10/23/2022 11:26:02 AM=>Info - Check time Elapsed
10/23/2022 11:26:02 AM=>Info - Call callingService Method
10/23/2022 11:26:02 AM=>Info:- Call Both
10/23/2022 11:26:02 AM=>Info:- Start Executing SMS Method
10/23/2022 11:26:02 AM=>Info:- End Executing SMS Method
10/23/2022 11:26:02 AM=>Info:- Start Mailing Method
10/23/2022 11:26:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:26:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:26:02 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:26:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:26:02 AM=>Info:- Count = 1
10/23/2022 11:26:02 AM=>Info:- Count 1
10/23/2022 11:26:02 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:26:02 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:26:02 AM=>Info:- Start SenMail Method
10/23/2022 11:26:02 AM=>UseDefaultCredentials
10/23/2022 11:26:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:26:02 AM=>EnableSsl = true
10/23/2022 11:26:02 AM=>DeliveryMethod
10/23/2022 11:26:02 AM=>Before Send
10/23/2022 11:26:23 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:26:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:26:23 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:26:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:26:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:26:23 AM=>Info:- END Mailing Method
10/23/2022 11:26:23 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:26:23 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:26:23 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:26:23 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:26:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:26:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:26:23 AM=>Info - End of callingService Method
10/23/2022 11:28:23 AM=>Info - Check time Elapsed
10/23/2022 11:28:23 AM=>Info - Call callingService Method
10/23/2022 11:28:23 AM=>Info:- Call Both
10/23/2022 11:28:23 AM=>Info:- Start Executing SMS Method
10/23/2022 11:28:23 AM=>Info:- End Executing SMS Method
10/23/2022 11:28:23 AM=>Info:- Start Mailing Method
10/23/2022 11:28:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:28:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:28:23 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:28:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:28:23 AM=>Info:- Count = 1
10/23/2022 11:28:23 AM=>Info:- Count 1
10/23/2022 11:28:23 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:28:23 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:28:23 AM=>Info:- Start SenMail Method
10/23/2022 11:28:23 AM=>UseDefaultCredentials
10/23/2022 11:28:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:28:23 AM=>EnableSsl = true
10/23/2022 11:28:23 AM=>DeliveryMethod
10/23/2022 11:28:23 AM=>Before Send
10/23/2022 11:28:44 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:28:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:28:44 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:28:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:28:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:28:45 AM=>Info:- END Mailing Method
10/23/2022 11:28:45 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:28:45 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:28:45 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:28:45 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:28:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:28:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:28:45 AM=>Info - End of callingService Method
10/23/2022 11:30:45 AM=>Info - Check time Elapsed
10/23/2022 11:30:45 AM=>Info - Call callingService Method
10/23/2022 11:30:45 AM=>Info:- Call Both
10/23/2022 11:30:45 AM=>Info:- Start Executing SMS Method
10/23/2022 11:30:45 AM=>Info:- End Executing SMS Method
10/23/2022 11:30:45 AM=>Info:- Start Mailing Method
10/23/2022 11:30:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:30:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:30:45 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:30:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:30:45 AM=>Info:- Count = 1
10/23/2022 11:30:45 AM=>Info:- Count 1
10/23/2022 11:30:45 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:30:45 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:30:45 AM=>Info:- Start SenMail Method
10/23/2022 11:30:45 AM=>UseDefaultCredentials
10/23/2022 11:30:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:30:45 AM=>EnableSsl = true
10/23/2022 11:30:45 AM=>DeliveryMethod
10/23/2022 11:30:45 AM=>Before Send
10/23/2022 11:30:54 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:30:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:30:54 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:30:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:30:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:30:54 AM=>Info:- END Mailing Method
10/23/2022 11:30:54 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:30:54 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:30:54 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:30:54 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:30:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:30:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:30:54 AM=>Info - End of callingService Method
10/23/2022 11:32:54 AM=>Info - Check time Elapsed
10/23/2022 11:32:54 AM=>Info - Call callingService Method
10/23/2022 11:32:54 AM=>Info:- Call Both
10/23/2022 11:32:54 AM=>Info:- Start Executing SMS Method
10/23/2022 11:32:54 AM=>Info:- End Executing SMS Method
10/23/2022 11:32:54 AM=>Info:- Start Mailing Method
10/23/2022 11:32:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:32:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:32:54 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:32:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:32:54 AM=>Info:- Count = 1
10/23/2022 11:32:54 AM=>Info:- Count 1
10/23/2022 11:32:54 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:32:54 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:32:54 AM=>Info:- Start SenMail Method
10/23/2022 11:32:54 AM=>UseDefaultCredentials
10/23/2022 11:32:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:32:54 AM=>EnableSsl = true
10/23/2022 11:32:54 AM=>DeliveryMethod
10/23/2022 11:32:54 AM=>Before Send
10/23/2022 11:34:18 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.35.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:34:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:34:18 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:34:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:34:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:34:18 AM=>Info:- END Mailing Method
10/23/2022 11:34:18 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:34:18 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:34:18 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:34:18 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:34:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:34:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:34:18 AM=>Info - End of callingService Method
10/23/2022 11:36:18 AM=>Info - Check time Elapsed
10/23/2022 11:36:18 AM=>Info - Call callingService Method
10/23/2022 11:36:19 AM=>Info:- Call Both
10/23/2022 11:36:19 AM=>Info:- Start Executing SMS Method
10/23/2022 11:36:19 AM=>Info:- End Executing SMS Method
10/23/2022 11:36:19 AM=>Info:- Start Mailing Method
10/23/2022 11:36:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:36:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:36:19 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:36:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:36:19 AM=>Info:- Count = 1
10/23/2022 11:36:19 AM=>Info:- Count 1
10/23/2022 11:36:19 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:36:19 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:36:19 AM=>Info:- Start SenMail Method
10/23/2022 11:36:19 AM=>UseDefaultCredentials
10/23/2022 11:36:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:36:19 AM=>EnableSsl = true
10/23/2022 11:36:19 AM=>DeliveryMethod
10/23/2022 11:36:19 AM=>Before Send
10/23/2022 11:37:43 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:37:43 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:37:43 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:37:43 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:37:43 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:37:43 AM=>Info:- END Mailing Method
10/23/2022 11:37:43 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:37:43 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:37:43 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:37:43 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:37:43 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:37:43 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:37:43 AM=>Info - End of callingService Method
10/23/2022 11:39:43 AM=>Info - Check time Elapsed
10/23/2022 11:39:43 AM=>Info - Call callingService Method
10/23/2022 11:39:43 AM=>Info:- Call Both
10/23/2022 11:39:43 AM=>Info:- Start Executing SMS Method
10/23/2022 11:39:43 AM=>Info:- End Executing SMS Method
10/23/2022 11:39:43 AM=>Info:- Start Mailing Method
10/23/2022 11:39:43 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:39:43 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:39:43 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:39:43 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:39:43 AM=>Info:- Count = 1
10/23/2022 11:39:43 AM=>Info:- Count 1
10/23/2022 11:39:43 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:39:43 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:39:43 AM=>Info:- Start SenMail Method
10/23/2022 11:39:43 AM=>UseDefaultCredentials
10/23/2022 11:39:43 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:39:43 AM=>EnableSsl = true
10/23/2022 11:39:43 AM=>DeliveryMethod
10/23/2022 11:39:43 AM=>Before Send
10/23/2022 11:39:43 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:39:43 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:39:43 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:39:43 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:39:43 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:39:43 AM=>Info:- END Mailing Method
10/23/2022 11:39:43 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:39:43 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:39:43 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:39:43 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:39:43 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:39:43 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:39:43 AM=>Info - End of callingService Method
10/23/2022 11:41:43 AM=>Info - Check time Elapsed
10/23/2022 11:41:43 AM=>Info - Call callingService Method
10/23/2022 11:41:43 AM=>Info:- Call Both
10/23/2022 11:41:43 AM=>Info:- Start Executing SMS Method
10/23/2022 11:41:43 AM=>Info:- End Executing SMS Method
10/23/2022 11:41:43 AM=>Info:- Start Mailing Method
10/23/2022 11:41:43 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:41:43 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:41:43 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:41:43 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:41:43 AM=>Info:- Count = 1
10/23/2022 11:41:43 AM=>Info:- Count 1
10/23/2022 11:41:43 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:41:43 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:41:43 AM=>Info:- Start SenMail Method
10/23/2022 11:41:43 AM=>UseDefaultCredentials
10/23/2022 11:41:43 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:41:43 AM=>EnableSsl = true
10/23/2022 11:41:43 AM=>DeliveryMethod
10/23/2022 11:41:43 AM=>Before Send
10/23/2022 11:43:07 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.179.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:43:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:43:07 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:43:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:43:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:43:08 AM=>Info:- END Mailing Method
10/23/2022 11:43:08 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:43:08 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:43:08 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:43:08 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:43:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:43:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:43:08 AM=>Info - End of callingService Method
10/23/2022 11:45:08 AM=>Info - Check time Elapsed
10/23/2022 11:45:08 AM=>Info - Call callingService Method
10/23/2022 11:45:08 AM=>Info:- Call Both
10/23/2022 11:45:08 AM=>Info:- Start Executing SMS Method
10/23/2022 11:45:08 AM=>Info:- End Executing SMS Method
10/23/2022 11:45:08 AM=>Info:- Start Mailing Method
10/23/2022 11:45:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:45:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:45:08 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:45:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:45:08 AM=>Info:- Count = 1
10/23/2022 11:45:08 AM=>Info:- Count 1
10/23/2022 11:45:08 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:45:08 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:45:08 AM=>Info:- Start SenMail Method
10/23/2022 11:45:08 AM=>UseDefaultCredentials
10/23/2022 11:45:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:45:08 AM=>EnableSsl = true
10/23/2022 11:45:08 AM=>DeliveryMethod
10/23/2022 11:45:08 AM=>Before Send
10/23/2022 11:46:11 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:46:11 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:46:11 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:46:11 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:46:11 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:46:11 AM=>Info:- END Mailing Method
10/23/2022 11:46:11 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:46:11 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:46:11 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:46:11 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:46:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:46:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:46:11 AM=>Info - End of callingService Method
10/23/2022 11:48:11 AM=>Info - Check time Elapsed
10/23/2022 11:48:11 AM=>Info - Call callingService Method
10/23/2022 11:48:11 AM=>Info:- Call Both
10/23/2022 11:48:11 AM=>Info:- Start Executing SMS Method
10/23/2022 11:48:11 AM=>Info:- End Executing SMS Method
10/23/2022 11:48:11 AM=>Info:- Start Mailing Method
10/23/2022 11:48:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:48:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:48:11 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:48:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:48:11 AM=>Info:- Count = 1
10/23/2022 11:48:11 AM=>Info:- Count 1
10/23/2022 11:48:11 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:48:11 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:48:11 AM=>Info:- Start SenMail Method
10/23/2022 11:48:11 AM=>UseDefaultCredentials
10/23/2022 11:48:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:48:11 AM=>EnableSsl = true
10/23/2022 11:48:11 AM=>DeliveryMethod
10/23/2022 11:48:11 AM=>Before Send
10/23/2022 11:49:35 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:49:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:49:35 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:49:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:49:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:49:36 AM=>Info:- END Mailing Method
10/23/2022 11:49:36 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:49:36 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:49:36 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:49:36 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:49:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:49:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:49:36 AM=>Info - End of callingService Method
10/23/2022 11:51:36 AM=>Info - Check time Elapsed
10/23/2022 11:51:36 AM=>Info - Call callingService Method
10/23/2022 11:51:36 AM=>Info:- Call Both
10/23/2022 11:51:36 AM=>Info:- Start Executing SMS Method
10/23/2022 11:51:36 AM=>Info:- End Executing SMS Method
10/23/2022 11:51:36 AM=>Info:- Start Mailing Method
10/23/2022 11:51:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:51:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:51:36 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:51:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:51:36 AM=>Info:- Count = 1
10/23/2022 11:51:36 AM=>Info:- Count 1
10/23/2022 11:51:36 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:51:36 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:51:36 AM=>Info:- Start SenMail Method
10/23/2022 11:51:36 AM=>UseDefaultCredentials
10/23/2022 11:51:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:51:36 AM=>EnableSsl = true
10/23/2022 11:51:36 AM=>DeliveryMethod
10/23/2022 11:51:36 AM=>Before Send
10/23/2022 11:53:00 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.62.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:53:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:53:00 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:53:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:53:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:53:00 AM=>Info:- END Mailing Method
10/23/2022 11:53:00 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:53:00 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:53:00 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:53:00 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:53:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:53:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:53:00 AM=>Info - End of callingService Method
10/23/2022 11:55:00 AM=>Info - Check time Elapsed
10/23/2022 11:55:00 AM=>Info - Call callingService Method
10/23/2022 11:55:00 AM=>Info:- Call Both
10/23/2022 11:55:00 AM=>Info:- Start Executing SMS Method
10/23/2022 11:55:00 AM=>Info:- End Executing SMS Method
10/23/2022 11:55:00 AM=>Info:- Start Mailing Method
10/23/2022 11:55:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:55:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:55:00 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:55:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:55:00 AM=>Info:- Count = 1
10/23/2022 11:55:00 AM=>Info:- Count 1
10/23/2022 11:55:00 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:55:00 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:55:00 AM=>Info:- Start SenMail Method
10/23/2022 11:55:00 AM=>UseDefaultCredentials
10/23/2022 11:55:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:55:00 AM=>EnableSsl = true
10/23/2022 11:55:00 AM=>DeliveryMethod
10/23/2022 11:55:00 AM=>Before Send
10/23/2022 11:55:00 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:55:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:55:00 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:55:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:55:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:55:00 AM=>Info:- END Mailing Method
10/23/2022 11:55:00 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:55:00 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:55:00 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:55:00 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:55:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:55:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:55:00 AM=>Info - End of callingService Method
10/23/2022 11:57:00 AM=>Info - Check time Elapsed
10/23/2022 11:57:00 AM=>Info - Call callingService Method
10/23/2022 11:57:00 AM=>Info:- Call Both
10/23/2022 11:57:00 AM=>Info:- Start Executing SMS Method
10/23/2022 11:57:00 AM=>Info:- End Executing SMS Method
10/23/2022 11:57:00 AM=>Info:- Start Mailing Method
10/23/2022 11:57:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:57:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:57:00 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:57:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:57:00 AM=>Info:- Count = 1
10/23/2022 11:57:00 AM=>Info:- Count 1
10/23/2022 11:57:00 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:57:00 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:57:00 AM=>Info:- Start SenMail Method
10/23/2022 11:57:00 AM=>UseDefaultCredentials
10/23/2022 11:57:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:57:00 AM=>EnableSsl = true
10/23/2022 11:57:00 AM=>DeliveryMethod
10/23/2022 11:57:00 AM=>Before Send
10/23/2022 11:57:09 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:57:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:57:10 AM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:57:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:57:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:57:10 AM=>Info:- END Mailing Method
10/23/2022 11:57:10 AM=>Info:- Start Executing Telegram Method
10/23/2022 11:57:10 AM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:57:10 AM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:57:10 AM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:57:10 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:57:10 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:57:10 AM=>Info - End of callingService Method
10/23/2022 11:59:10 AM=>Info - Check time Elapsed
10/23/2022 11:59:10 AM=>Info - Call callingService Method
10/23/2022 11:59:10 AM=>Info:- Call Both
10/23/2022 11:59:10 AM=>Info:- Start Executing SMS Method
10/23/2022 11:59:10 AM=>Info:- End Executing SMS Method
10/23/2022 11:59:10 AM=>Info:- Start Mailing Method
10/23/2022 11:59:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:59:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:59:10 AM=>Info:- PendingMail.xml file read to list
10/23/2022 11:59:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:59:10 AM=>Info:- Count = 1
10/23/2022 11:59:10 AM=>Info:- Count 1
10/23/2022 11:59:10 AM=>Info - Fetching Data From MAIL XML
10/23/2022 11:59:10 AM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:59:10 AM=>Info:- Start SenMail Method
10/23/2022 11:59:10 AM=>UseDefaultCredentials
10/23/2022 11:59:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:59:10 AM=>EnableSsl = true
10/23/2022 11:59:10 AM=>DeliveryMethod
10/23/2022 11:59:10 AM=>Before Send
10/23/2022 12:00:34 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.62.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:00:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:00:34 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:00:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:00:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:00:34 PM=>Info:- END Mailing Method
10/23/2022 12:00:34 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:00:34 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:00:34 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:00:34 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:00:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:00:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:00:34 PM=>Info - End of callingService Method
10/23/2022 12:02:34 PM=>Info - Check time Elapsed
10/23/2022 12:02:34 PM=>Info - Call callingService Method
10/23/2022 12:02:34 PM=>Info:- Call Both
10/23/2022 12:02:34 PM=>Info:- Start Executing SMS Method
10/23/2022 12:02:34 PM=>Info:- End Executing SMS Method
10/23/2022 12:02:34 PM=>Info:- Start Mailing Method
10/23/2022 12:02:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:02:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:02:34 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:02:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:02:34 PM=>Info:- Count = 1
10/23/2022 12:02:34 PM=>Info:- Count 1
10/23/2022 12:02:34 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:02:34 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:02:34 PM=>Info:- Start SenMail Method
10/23/2022 12:02:34 PM=>UseDefaultCredentials
10/23/2022 12:02:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:02:34 PM=>EnableSsl = true
10/23/2022 12:02:34 PM=>DeliveryMethod
10/23/2022 12:02:34 PM=>Before Send
10/23/2022 12:03:16 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:03:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:03:16 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:03:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:03:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:03:17 PM=>Info:- END Mailing Method
10/23/2022 12:03:17 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:03:17 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:03:17 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:03:17 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:03:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:03:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:03:17 PM=>Info - End of callingService Method
10/23/2022 12:05:17 PM=>Info - Check time Elapsed
10/23/2022 12:05:17 PM=>Info - Call callingService Method
10/23/2022 12:05:17 PM=>Info:- Call Both
10/23/2022 12:05:17 PM=>Info:- Start Executing SMS Method
10/23/2022 12:05:17 PM=>Info:- End Executing SMS Method
10/23/2022 12:05:17 PM=>Info:- Start Mailing Method
10/23/2022 12:05:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:05:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:05:17 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:05:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:05:17 PM=>Info:- Count = 1
10/23/2022 12:05:17 PM=>Info:- Count 1
10/23/2022 12:05:17 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:05:17 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:05:17 PM=>Info:- Start SenMail Method
10/23/2022 12:05:17 PM=>UseDefaultCredentials
10/23/2022 12:05:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:05:17 PM=>EnableSsl = true
10/23/2022 12:05:17 PM=>DeliveryMethod
10/23/2022 12:05:17 PM=>Before Send
10/23/2022 12:06:41 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.15.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:06:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:06:41 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:06:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:06:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:06:41 PM=>Info:- END Mailing Method
10/23/2022 12:06:41 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:06:41 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:06:41 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:06:41 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:06:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:06:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:06:41 PM=>Info - End of callingService Method
10/23/2022 12:08:41 PM=>Info - Check time Elapsed
10/23/2022 12:08:41 PM=>Info - Call callingService Method
10/23/2022 12:08:41 PM=>Info:- Call Both
10/23/2022 12:08:41 PM=>Info:- Start Executing SMS Method
10/23/2022 12:08:41 PM=>Info:- End Executing SMS Method
10/23/2022 12:08:41 PM=>Info:- Start Mailing Method
10/23/2022 12:08:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:08:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:08:41 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:08:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:08:41 PM=>Info:- Count = 1
10/23/2022 12:08:41 PM=>Info:- Count 1
10/23/2022 12:08:41 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:08:41 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:08:41 PM=>Info:- Start SenMail Method
10/23/2022 12:08:41 PM=>UseDefaultCredentials
10/23/2022 12:08:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:08:41 PM=>EnableSsl = true
10/23/2022 12:08:41 PM=>DeliveryMethod
10/23/2022 12:08:41 PM=>Before Send
10/23/2022 12:10:05 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.40.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:10:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:10:05 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:10:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:10:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:10:06 PM=>Info:- END Mailing Method
10/23/2022 12:10:06 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:10:06 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:10:06 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:10:06 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:10:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:10:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:10:06 PM=>Info - End of callingService Method
10/23/2022 12:12:06 PM=>Info - Check time Elapsed
10/23/2022 12:12:06 PM=>Info - Call callingService Method
10/23/2022 12:12:06 PM=>Info:- Call Both
10/23/2022 12:12:06 PM=>Info:- Start Executing SMS Method
10/23/2022 12:12:06 PM=>Info:- End Executing SMS Method
10/23/2022 12:12:06 PM=>Info:- Start Mailing Method
10/23/2022 12:12:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:12:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:12:06 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:12:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:12:06 PM=>Info:- Count = 1
10/23/2022 12:12:06 PM=>Info:- Count 1
10/23/2022 12:12:06 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:12:06 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:12:06 PM=>Info:- Start SenMail Method
10/23/2022 12:12:06 PM=>UseDefaultCredentials
10/23/2022 12:12:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:12:06 PM=>EnableSsl = true
10/23/2022 12:12:06 PM=>DeliveryMethod
10/23/2022 12:12:06 PM=>Before Send
10/23/2022 12:12:06 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:12:06 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:12:06 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:12:06 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:12:06 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:12:06 PM=>Info:- END Mailing Method
10/23/2022 12:12:06 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:12:06 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:12:06 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:12:06 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:12:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:12:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:12:06 PM=>Info - End of callingService Method
10/23/2022 12:14:06 PM=>Info - Check time Elapsed
10/23/2022 12:14:06 PM=>Info - Call callingService Method
10/23/2022 12:14:06 PM=>Info:- Call Both
10/23/2022 12:14:06 PM=>Info:- Start Executing SMS Method
10/23/2022 12:14:06 PM=>Info:- End Executing SMS Method
10/23/2022 12:14:06 PM=>Info:- Start Mailing Method
10/23/2022 12:14:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:14:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:14:06 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:14:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:14:06 PM=>Info:- Count = 1
10/23/2022 12:14:06 PM=>Info:- Count 1
10/23/2022 12:14:06 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:14:06 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:14:06 PM=>Info:- Start SenMail Method
10/23/2022 12:14:06 PM=>UseDefaultCredentials
10/23/2022 12:14:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:14:06 PM=>EnableSsl = true
10/23/2022 12:14:06 PM=>DeliveryMethod
10/23/2022 12:14:06 PM=>Before Send
10/23/2022 12:14:27 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:14:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:14:27 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:14:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:14:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:14:27 PM=>Info:- END Mailing Method
10/23/2022 12:14:27 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:14:27 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:14:27 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:14:27 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:14:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:14:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:14:27 PM=>Info - End of callingService Method
10/23/2022 12:16:27 PM=>Info - Check time Elapsed
10/23/2022 12:16:27 PM=>Info - Call callingService Method
10/23/2022 12:16:27 PM=>Info:- Call Both
10/23/2022 12:16:27 PM=>Info:- Start Executing SMS Method
10/23/2022 12:16:27 PM=>Info:- End Executing SMS Method
10/23/2022 12:16:27 PM=>Info:- Start Mailing Method
10/23/2022 12:16:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:16:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:16:27 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:16:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:16:27 PM=>Info:- Count = 1
10/23/2022 12:16:27 PM=>Info:- Count 1
10/23/2022 12:16:27 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:16:27 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:16:27 PM=>Info:- Start SenMail Method
10/23/2022 12:16:27 PM=>UseDefaultCredentials
10/23/2022 12:16:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:16:27 PM=>EnableSsl = true
10/23/2022 12:16:27 PM=>DeliveryMethod
10/23/2022 12:16:27 PM=>Before Send
10/23/2022 12:17:52 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:17:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:17:52 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:17:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:17:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:17:52 PM=>Info:- END Mailing Method
10/23/2022 12:17:52 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:17:52 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:17:52 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:17:52 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:17:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:17:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:17:52 PM=>Info - End of callingService Method
10/23/2022 12:19:52 PM=>Info - Check time Elapsed
10/23/2022 12:19:52 PM=>Info - Call callingService Method
10/23/2022 12:19:52 PM=>Info:- Call Both
10/23/2022 12:19:52 PM=>Info:- Start Executing SMS Method
10/23/2022 12:19:52 PM=>Info:- End Executing SMS Method
10/23/2022 12:19:52 PM=>Info:- Start Mailing Method
10/23/2022 12:19:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:19:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:19:52 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:19:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:19:52 PM=>Info:- Count = 1
10/23/2022 12:19:52 PM=>Info:- Count 1
10/23/2022 12:19:52 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:19:52 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:19:52 PM=>Info:- Start SenMail Method
10/23/2022 12:19:52 PM=>UseDefaultCredentials
10/23/2022 12:19:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:19:52 PM=>EnableSsl = true
10/23/2022 12:19:52 PM=>DeliveryMethod
10/23/2022 12:19:52 PM=>Before Send
10/23/2022 12:21:16 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.69.50:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:21:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:21:16 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:21:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:21:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:21:17 PM=>Info:- END Mailing Method
10/23/2022 12:21:17 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:21:17 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:21:17 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:21:17 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:21:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:21:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:21:17 PM=>Info - End of callingService Method
10/23/2022 12:23:17 PM=>Info - Check time Elapsed
10/23/2022 12:23:17 PM=>Info - Call callingService Method
10/23/2022 12:23:17 PM=>Info:- Call Both
10/23/2022 12:23:17 PM=>Info:- Start Executing SMS Method
10/23/2022 12:23:17 PM=>Info:- End Executing SMS Method
10/23/2022 12:23:17 PM=>Info:- Start Mailing Method
10/23/2022 12:23:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:23:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:23:17 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:23:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:23:17 PM=>Info:- Count = 1
10/23/2022 12:23:17 PM=>Info:- Count 1
10/23/2022 12:23:17 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:23:17 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:23:17 PM=>Info:- Start SenMail Method
10/23/2022 12:23:17 PM=>UseDefaultCredentials
10/23/2022 12:23:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:23:17 PM=>EnableSsl = true
10/23/2022 12:23:17 PM=>DeliveryMethod
10/23/2022 12:23:17 PM=>Before Send
10/23/2022 12:23:26 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:23:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:23:26 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:23:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:23:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:23:26 PM=>Info:- END Mailing Method
10/23/2022 12:23:26 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:23:26 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:23:26 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:23:26 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:23:26 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:23:26 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:23:26 PM=>Info - End of callingService Method
10/23/2022 12:25:26 PM=>Info - Check time Elapsed
10/23/2022 12:25:26 PM=>Info - Call callingService Method
10/23/2022 12:25:26 PM=>Info:- Call Both
10/23/2022 12:25:26 PM=>Info:- Start Executing SMS Method
10/23/2022 12:25:26 PM=>Info:- End Executing SMS Method
10/23/2022 12:25:26 PM=>Info:- Start Mailing Method
10/23/2022 12:25:26 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:25:26 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:25:26 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:25:26 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:25:26 PM=>Info:- Count = 1
10/23/2022 12:25:26 PM=>Info:- Count 1
10/23/2022 12:25:26 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:25:26 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:25:26 PM=>Info:- Start SenMail Method
10/23/2022 12:25:26 PM=>UseDefaultCredentials
10/23/2022 12:25:26 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:25:26 PM=>EnableSsl = true
10/23/2022 12:25:26 PM=>DeliveryMethod
10/23/2022 12:25:26 PM=>Before Send
10/23/2022 12:25:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:25:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:25:29 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:25:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:25:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:25:29 PM=>Info:- END Mailing Method
10/23/2022 12:25:29 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:25:29 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:25:29 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:25:29 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:25:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:25:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:25:29 PM=>Info - End of callingService Method
10/23/2022 12:27:29 PM=>Info - Check time Elapsed
10/23/2022 12:27:29 PM=>Info - Call callingService Method
10/23/2022 12:27:29 PM=>Info:- Call Both
10/23/2022 12:27:29 PM=>Info:- Start Executing SMS Method
10/23/2022 12:27:29 PM=>Info:- End Executing SMS Method
10/23/2022 12:27:29 PM=>Info:- Start Mailing Method
10/23/2022 12:27:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:27:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:27:29 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:27:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:27:29 PM=>Info:- Count = 1
10/23/2022 12:27:29 PM=>Info:- Count 1
10/23/2022 12:27:29 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:27:29 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:27:29 PM=>Info:- Start SenMail Method
10/23/2022 12:27:29 PM=>UseDefaultCredentials
10/23/2022 12:27:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:27:29 PM=>EnableSsl = true
10/23/2022 12:27:29 PM=>DeliveryMethod
10/23/2022 12:27:29 PM=>Before Send
10/23/2022 12:28:53 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:28:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:28:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:28:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:28:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:28:54 PM=>Info:- END Mailing Method
10/23/2022 12:28:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:28:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:28:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:28:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:28:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:28:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:28:54 PM=>Info - End of callingService Method
10/23/2022 12:30:54 PM=>Info - Check time Elapsed
10/23/2022 12:30:54 PM=>Info - Call callingService Method
10/23/2022 12:30:54 PM=>Info:- Call Both
10/23/2022 12:30:54 PM=>Info:- Start Executing SMS Method
10/23/2022 12:30:54 PM=>Info:- End Executing SMS Method
10/23/2022 12:30:54 PM=>Info:- Start Mailing Method
10/23/2022 12:30:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:30:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:30:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:30:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:30:54 PM=>Info:- Count = 1
10/23/2022 12:30:54 PM=>Info:- Count 1
10/23/2022 12:30:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:30:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:30:54 PM=>Info:- Start SenMail Method
10/23/2022 12:30:54 PM=>UseDefaultCredentials
10/23/2022 12:30:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:30:54 PM=>EnableSsl = true
10/23/2022 12:30:54 PM=>DeliveryMethod
10/23/2022 12:30:54 PM=>Before Send
10/23/2022 12:32:18 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.66:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:32:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:32:18 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:32:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:32:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:32:18 PM=>Info:- END Mailing Method
10/23/2022 12:32:18 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:32:18 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:32:18 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:32:18 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:32:18 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:32:18 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:32:18 PM=>Info - End of callingService Method
10/23/2022 12:34:18 PM=>Info - Check time Elapsed
10/23/2022 12:34:18 PM=>Info - Call callingService Method
10/23/2022 12:34:18 PM=>Info:- Call Both
10/23/2022 12:34:18 PM=>Info:- Start Executing SMS Method
10/23/2022 12:34:18 PM=>Info:- End Executing SMS Method
10/23/2022 12:34:18 PM=>Info:- Start Mailing Method
10/23/2022 12:34:18 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:34:18 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:34:18 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:34:18 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:34:18 PM=>Info:- Count = 1
10/23/2022 12:34:18 PM=>Info:- Count 1
10/23/2022 12:34:18 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:34:18 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:34:18 PM=>Info:- Start SenMail Method
10/23/2022 12:34:18 PM=>UseDefaultCredentials
10/23/2022 12:34:18 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:34:18 PM=>EnableSsl = true
10/23/2022 12:34:18 PM=>DeliveryMethod
10/23/2022 12:34:18 PM=>Before Send
10/23/2022 12:35:42 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:35:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:35:42 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:35:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:35:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:35:43 PM=>Info:- END Mailing Method
10/23/2022 12:35:43 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:35:43 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:35:43 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:35:43 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:35:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:35:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:35:43 PM=>Info - End of callingService Method
10/23/2022 12:37:43 PM=>Info - Check time Elapsed
10/23/2022 12:37:43 PM=>Info - Call callingService Method
10/23/2022 12:37:43 PM=>Info:- Call Both
10/23/2022 12:37:43 PM=>Info:- Start Executing SMS Method
10/23/2022 12:37:43 PM=>Info:- End Executing SMS Method
10/23/2022 12:37:43 PM=>Info:- Start Mailing Method
10/23/2022 12:37:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:37:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:37:43 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:37:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:37:43 PM=>Info:- Count = 1
10/23/2022 12:37:43 PM=>Info:- Count 1
10/23/2022 12:37:43 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:37:43 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:37:43 PM=>Info:- Start SenMail Method
10/23/2022 12:37:43 PM=>UseDefaultCredentials
10/23/2022 12:37:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:37:43 PM=>EnableSsl = true
10/23/2022 12:37:43 PM=>DeliveryMethod
10/23/2022 12:37:43 PM=>Before Send
10/23/2022 12:38:04 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:38:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:38:04 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:38:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:38:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:38:04 PM=>Info:- END Mailing Method
10/23/2022 12:38:04 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:38:04 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:38:04 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:38:04 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:38:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:38:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:38:04 PM=>Info - End of callingService Method
10/23/2022 12:40:04 PM=>Info - Check time Elapsed
10/23/2022 12:40:04 PM=>Info - Call callingService Method
10/23/2022 12:40:04 PM=>Info:- Call Both
10/23/2022 12:40:04 PM=>Info:- Start Executing SMS Method
10/23/2022 12:40:04 PM=>Info:- End Executing SMS Method
10/23/2022 12:40:04 PM=>Info:- Start Mailing Method
10/23/2022 12:40:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:40:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:40:04 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:40:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:40:04 PM=>Info:- Count = 1
10/23/2022 12:40:04 PM=>Info:- Count 1
10/23/2022 12:40:04 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:40:04 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:40:04 PM=>Info:- Start SenMail Method
10/23/2022 12:40:04 PM=>UseDefaultCredentials
10/23/2022 12:40:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:40:04 PM=>EnableSsl = true
10/23/2022 12:40:04 PM=>DeliveryMethod
10/23/2022 12:40:04 PM=>Before Send
10/23/2022 12:40:04 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:40:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:40:04 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:40:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:40:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:40:05 PM=>Info:- END Mailing Method
10/23/2022 12:40:05 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:40:05 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:40:05 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:40:05 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:40:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:40:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:40:05 PM=>Info - End of callingService Method
10/23/2022 12:42:05 PM=>Info - Check time Elapsed
10/23/2022 12:42:05 PM=>Info - Call callingService Method
10/23/2022 12:42:05 PM=>Info:- Call Both
10/23/2022 12:42:05 PM=>Info:- Start Executing SMS Method
10/23/2022 12:42:05 PM=>Info:- End Executing SMS Method
10/23/2022 12:42:05 PM=>Info:- Start Mailing Method
10/23/2022 12:42:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:42:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:42:05 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:42:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:42:05 PM=>Info:- Count = 1
10/23/2022 12:42:05 PM=>Info:- Count 1
10/23/2022 12:42:05 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:42:05 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:42:05 PM=>Info:- Start SenMail Method
10/23/2022 12:42:05 PM=>UseDefaultCredentials
10/23/2022 12:42:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:42:05 PM=>EnableSsl = true
10/23/2022 12:42:05 PM=>DeliveryMethod
10/23/2022 12:42:05 PM=>Before Send
10/23/2022 12:43:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.182.114:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:43:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:43:29 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:43:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:43:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:43:29 PM=>Info:- END Mailing Method
10/23/2022 12:43:29 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:43:29 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:43:29 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:43:29 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:43:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:43:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:43:29 PM=>Info - End of callingService Method
10/23/2022 12:45:29 PM=>Info - Check time Elapsed
10/23/2022 12:45:29 PM=>Info - Call callingService Method
10/23/2022 12:45:29 PM=>Info:- Call Both
10/23/2022 12:45:29 PM=>Info:- Start Executing SMS Method
10/23/2022 12:45:29 PM=>Info:- End Executing SMS Method
10/23/2022 12:45:29 PM=>Info:- Start Mailing Method
10/23/2022 12:45:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:45:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:45:29 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:45:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:45:29 PM=>Info:- Count = 1
10/23/2022 12:45:29 PM=>Info:- Count 1
10/23/2022 12:45:29 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:45:29 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:45:29 PM=>Info:- Start SenMail Method
10/23/2022 12:45:29 PM=>UseDefaultCredentials
10/23/2022 12:45:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:45:29 PM=>EnableSsl = true
10/23/2022 12:45:29 PM=>DeliveryMethod
10/23/2022 12:45:29 PM=>Before Send
10/23/2022 12:45:50 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:45:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:45:50 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:45:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:45:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:45:50 PM=>Info:- END Mailing Method
10/23/2022 12:45:50 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:45:50 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:45:50 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:45:50 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:45:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:45:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:45:50 PM=>Info - End of callingService Method
10/23/2022 12:47:51 PM=>Info - Check time Elapsed
10/23/2022 12:47:51 PM=>Info - Call callingService Method
10/23/2022 12:47:51 PM=>Info:- Call Both
10/23/2022 12:47:51 PM=>Info:- Start Executing SMS Method
10/23/2022 12:47:51 PM=>Info:- End Executing SMS Method
10/23/2022 12:47:51 PM=>Info:- Start Mailing Method
10/23/2022 12:47:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:47:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:47:51 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:47:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:47:51 PM=>Info:- Count = 1
10/23/2022 12:47:51 PM=>Info:- Count 1
10/23/2022 12:47:51 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:47:51 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:47:51 PM=>Info:- Start SenMail Method
10/23/2022 12:47:51 PM=>UseDefaultCredentials
10/23/2022 12:47:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:47:51 PM=>EnableSsl = true
10/23/2022 12:47:51 PM=>DeliveryMethod
10/23/2022 12:47:51 PM=>Before Send
10/23/2022 12:49:15 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.162:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:49:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:49:15 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:49:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:49:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:49:15 PM=>Info:- END Mailing Method
10/23/2022 12:49:15 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:49:15 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:49:15 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:49:15 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:49:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:49:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:49:15 PM=>Info - End of callingService Method
10/23/2022 12:51:15 PM=>Info - Check time Elapsed
10/23/2022 12:51:15 PM=>Info - Call callingService Method
10/23/2022 12:51:15 PM=>Info:- Call Both
10/23/2022 12:51:15 PM=>Info:- Start Executing SMS Method
10/23/2022 12:51:15 PM=>Info:- End Executing SMS Method
10/23/2022 12:51:15 PM=>Info:- Start Mailing Method
10/23/2022 12:51:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:51:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:51:15 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:51:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:51:15 PM=>Info:- Count = 1
10/23/2022 12:51:15 PM=>Info:- Count 1
10/23/2022 12:51:15 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:51:15 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:51:15 PM=>Info:- Start SenMail Method
10/23/2022 12:51:15 PM=>UseDefaultCredentials
10/23/2022 12:51:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:51:15 PM=>EnableSsl = true
10/23/2022 12:51:15 PM=>DeliveryMethod
10/23/2022 12:51:15 PM=>Before Send
10/23/2022 12:51:15 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:51:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:51:15 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:51:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:51:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:51:15 PM=>Info:- END Mailing Method
10/23/2022 12:51:15 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:51:15 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:51:15 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:51:15 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:51:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:51:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:51:15 PM=>Info - End of callingService Method
10/23/2022 12:53:15 PM=>Info - Check time Elapsed
10/23/2022 12:53:15 PM=>Info - Call callingService Method
10/23/2022 12:53:15 PM=>Info:- Call Both
10/23/2022 12:53:15 PM=>Info:- Start Executing SMS Method
10/23/2022 12:53:15 PM=>Info:- End Executing SMS Method
10/23/2022 12:53:15 PM=>Info:- Start Mailing Method
10/23/2022 12:53:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:53:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:53:15 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:53:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:53:15 PM=>Info:- Count = 1
10/23/2022 12:53:15 PM=>Info:- Count 1
10/23/2022 12:53:15 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:53:15 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:53:15 PM=>Info:- Start SenMail Method
10/23/2022 12:53:15 PM=>UseDefaultCredentials
10/23/2022 12:53:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:53:15 PM=>EnableSsl = true
10/23/2022 12:53:15 PM=>DeliveryMethod
10/23/2022 12:53:15 PM=>Before Send
10/23/2022 12:54:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.181.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:54:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:54:40 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:54:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:54:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:54:40 PM=>Info:- END Mailing Method
10/23/2022 12:54:40 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:54:40 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:54:40 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:54:40 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:54:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:54:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:54:40 PM=>Info - End of callingService Method
10/23/2022 12:56:40 PM=>Info - Check time Elapsed
10/23/2022 12:56:40 PM=>Info - Call callingService Method
10/23/2022 12:56:40 PM=>Info:- Call Both
10/23/2022 12:56:40 PM=>Info:- Start Executing SMS Method
10/23/2022 12:56:40 PM=>Info:- End Executing SMS Method
10/23/2022 12:56:40 PM=>Info:- Start Mailing Method
10/23/2022 12:56:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:56:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:56:40 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:56:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:56:40 PM=>Info:- Count = 1
10/23/2022 12:56:40 PM=>Info:- Count 1
10/23/2022 12:56:40 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:56:40 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:56:40 PM=>Info:- Start SenMail Method
10/23/2022 12:56:40 PM=>UseDefaultCredentials
10/23/2022 12:56:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:56:40 PM=>EnableSsl = true
10/23/2022 12:56:40 PM=>DeliveryMethod
10/23/2022 12:56:40 PM=>Before Send
10/23/2022 12:57:10 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:57:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:57:10 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:57:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:57:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:57:10 PM=>Info:- END Mailing Method
10/23/2022 12:57:10 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:57:10 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:57:10 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:57:10 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:57:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:57:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:57:10 PM=>Info - End of callingService Method
10/23/2022 12:59:10 PM=>Info - Check time Elapsed
10/23/2022 12:59:10 PM=>Info - Call callingService Method
10/23/2022 12:59:10 PM=>Info:- Call Both
10/23/2022 12:59:10 PM=>Info:- Start Executing SMS Method
10/23/2022 12:59:10 PM=>Info:- End Executing SMS Method
10/23/2022 12:59:10 PM=>Info:- Start Mailing Method
10/23/2022 12:59:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 12:59:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 12:59:10 PM=>Info:- PendingMail.xml file read to list
10/23/2022 12:59:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 12:59:10 PM=>Info:- Count = 1
10/23/2022 12:59:10 PM=>Info:- Count 1
10/23/2022 12:59:10 PM=>Info - Fetching Data From MAIL XML
10/23/2022 12:59:10 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 12:59:10 PM=>Info:- Start SenMail Method
10/23/2022 12:59:10 PM=>UseDefaultCredentials
10/23/2022 12:59:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 12:59:10 PM=>EnableSsl = true
10/23/2022 12:59:10 PM=>DeliveryMethod
10/23/2022 12:59:10 PM=>Before Send
10/23/2022 12:59:19 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 12:59:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 12:59:19 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 12:59:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 12:59:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 12:59:20 PM=>Info:- END Mailing Method
10/23/2022 12:59:20 PM=>Info:- Start Executing Telegram Method
10/23/2022 12:59:20 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 12:59:20 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 12:59:20 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 12:59:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 12:59:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 12:59:20 PM=>Info - End of callingService Method
10/23/2022 1:01:20 PM=>Info - Check time Elapsed
10/23/2022 1:01:20 PM=>Info - Call callingService Method
10/23/2022 1:01:20 PM=>Info:- Call Both
10/23/2022 1:01:20 PM=>Info:- Start Executing SMS Method
10/23/2022 1:01:20 PM=>Info:- End Executing SMS Method
10/23/2022 1:01:20 PM=>Info:- Start Mailing Method
10/23/2022 1:01:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:01:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:01:20 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:01:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:01:20 PM=>Info:- Count = 1
10/23/2022 1:01:20 PM=>Info:- Count 1
10/23/2022 1:01:20 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:01:20 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:01:20 PM=>Info:- Start SenMail Method
10/23/2022 1:01:20 PM=>UseDefaultCredentials
10/23/2022 1:01:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:01:20 PM=>EnableSsl = true
10/23/2022 1:01:20 PM=>DeliveryMethod
10/23/2022 1:01:20 PM=>Before Send
10/23/2022 1:01:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:01:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:01:29 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:01:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:01:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:01:29 PM=>Info:- END Mailing Method
10/23/2022 1:01:29 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:01:29 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:01:29 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:01:29 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:01:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:01:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:01:29 PM=>Info - End of callingService Method
10/23/2022 1:03:29 PM=>Info - Check time Elapsed
10/23/2022 1:03:29 PM=>Info - Call callingService Method
10/23/2022 1:03:29 PM=>Info:- Call Both
10/23/2022 1:03:29 PM=>Info:- Start Executing SMS Method
10/23/2022 1:03:29 PM=>Info:- End Executing SMS Method
10/23/2022 1:03:29 PM=>Info:- Start Mailing Method
10/23/2022 1:03:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:03:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:03:29 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:03:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:03:29 PM=>Info:- Count = 1
10/23/2022 1:03:29 PM=>Info:- Count 1
10/23/2022 1:03:29 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:03:29 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:03:29 PM=>Info:- Start SenMail Method
10/23/2022 1:03:29 PM=>UseDefaultCredentials
10/23/2022 1:03:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:03:29 PM=>EnableSsl = true
10/23/2022 1:03:29 PM=>DeliveryMethod
10/23/2022 1:03:29 PM=>Before Send
10/23/2022 1:03:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:03:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:03:29 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:03:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:03:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:03:29 PM=>Info:- END Mailing Method
10/23/2022 1:03:29 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:03:29 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:03:29 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:03:29 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:03:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:03:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:03:29 PM=>Info - End of callingService Method
10/23/2022 1:05:29 PM=>Info - Check time Elapsed
10/23/2022 1:05:29 PM=>Info - Call callingService Method
10/23/2022 1:05:29 PM=>Info:- Call Both
10/23/2022 1:05:29 PM=>Info:- Start Executing SMS Method
10/23/2022 1:05:29 PM=>Info:- End Executing SMS Method
10/23/2022 1:05:30 PM=>Info:- Start Mailing Method
10/23/2022 1:05:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:05:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:05:30 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:05:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:05:30 PM=>Info:- Count = 1
10/23/2022 1:05:30 PM=>Info:- Count 1
10/23/2022 1:05:30 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:05:30 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:05:30 PM=>Info:- Start SenMail Method
10/23/2022 1:05:30 PM=>UseDefaultCredentials
10/23/2022 1:05:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:05:30 PM=>EnableSsl = true
10/23/2022 1:05:30 PM=>DeliveryMethod
10/23/2022 1:05:30 PM=>Before Send
10/23/2022 1:06:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.66:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:06:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:06:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:06:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:06:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:06:54 PM=>Info:- END Mailing Method
10/23/2022 1:06:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:06:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:06:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:06:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:06:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:06:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:06:54 PM=>Info - End of callingService Method
10/23/2022 1:08:54 PM=>Info - Check time Elapsed
10/23/2022 1:08:54 PM=>Info - Call callingService Method
10/23/2022 1:08:54 PM=>Info:- Call Both
10/23/2022 1:08:54 PM=>Info:- Start Executing SMS Method
10/23/2022 1:08:54 PM=>Info:- End Executing SMS Method
10/23/2022 1:08:54 PM=>Info:- Start Mailing Method
10/23/2022 1:08:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:08:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:08:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:08:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:08:54 PM=>Info:- Count = 1
10/23/2022 1:08:54 PM=>Info:- Count 1
10/23/2022 1:08:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:08:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:08:54 PM=>Info:- Start SenMail Method
10/23/2022 1:08:54 PM=>UseDefaultCredentials
10/23/2022 1:08:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:08:54 PM=>EnableSsl = true
10/23/2022 1:08:54 PM=>DeliveryMethod
10/23/2022 1:08:54 PM=>Before Send
10/23/2022 1:08:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:08:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:08:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:08:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:08:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:08:54 PM=>Info:- END Mailing Method
10/23/2022 1:08:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:08:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:08:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:08:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:08:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:08:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:08:54 PM=>Info - End of callingService Method
10/23/2022 1:10:54 PM=>Info - Check time Elapsed
10/23/2022 1:10:54 PM=>Info - Call callingService Method
10/23/2022 1:10:54 PM=>Info:- Call Both
10/23/2022 1:10:54 PM=>Info:- Start Executing SMS Method
10/23/2022 1:10:54 PM=>Info:- End Executing SMS Method
10/23/2022 1:10:54 PM=>Info:- Start Mailing Method
10/23/2022 1:10:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:10:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:10:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:10:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:10:54 PM=>Info:- Count = 1
10/23/2022 1:10:54 PM=>Info:- Count 1
10/23/2022 1:10:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:10:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:10:54 PM=>Info:- Start SenMail Method
10/23/2022 1:10:54 PM=>UseDefaultCredentials
10/23/2022 1:10:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:10:54 PM=>EnableSsl = true
10/23/2022 1:10:54 PM=>DeliveryMethod
10/23/2022 1:10:54 PM=>Before Send
10/23/2022 1:12:18 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.90.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:12:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:12:18 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:12:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:12:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:12:19 PM=>Info:- END Mailing Method
10/23/2022 1:12:19 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:12:19 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:12:19 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:12:19 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:12:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:12:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:12:19 PM=>Info - End of callingService Method
10/23/2022 1:14:19 PM=>Info - Check time Elapsed
10/23/2022 1:14:19 PM=>Info - Call callingService Method
10/23/2022 1:14:19 PM=>Info:- Call Both
10/23/2022 1:14:19 PM=>Info:- Start Executing SMS Method
10/23/2022 1:14:19 PM=>Info:- End Executing SMS Method
10/23/2022 1:14:19 PM=>Info:- Start Mailing Method
10/23/2022 1:14:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:14:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:14:19 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:14:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:14:19 PM=>Info:- Count = 1
10/23/2022 1:14:19 PM=>Info:- Count 1
10/23/2022 1:14:19 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:14:19 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:14:19 PM=>Info:- Start SenMail Method
10/23/2022 1:14:19 PM=>UseDefaultCredentials
10/23/2022 1:14:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:14:19 PM=>EnableSsl = true
10/23/2022 1:14:19 PM=>DeliveryMethod
10/23/2022 1:14:19 PM=>Before Send
10/23/2022 1:14:49 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:14:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:14:49 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:14:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:14:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:14:49 PM=>Info:- END Mailing Method
10/23/2022 1:14:49 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:14:49 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:14:49 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:14:49 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:14:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:14:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:14:49 PM=>Info - End of callingService Method
10/23/2022 1:16:49 PM=>Info - Check time Elapsed
10/23/2022 1:16:49 PM=>Info - Call callingService Method
10/23/2022 1:16:49 PM=>Info:- Call Both
10/23/2022 1:16:49 PM=>Info:- Start Executing SMS Method
10/23/2022 1:16:49 PM=>Info:- End Executing SMS Method
10/23/2022 1:16:49 PM=>Info:- Start Mailing Method
10/23/2022 1:16:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:16:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:16:49 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:16:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:16:49 PM=>Info:- Count = 1
10/23/2022 1:16:49 PM=>Info:- Count 1
10/23/2022 1:16:49 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:16:49 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:16:49 PM=>Info:- Start SenMail Method
10/23/2022 1:16:49 PM=>UseDefaultCredentials
10/23/2022 1:16:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:16:49 PM=>EnableSsl = true
10/23/2022 1:16:49 PM=>DeliveryMethod
10/23/2022 1:16:49 PM=>Before Send
10/23/2022 1:16:49 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:16:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:16:49 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:16:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:16:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:16:50 PM=>Info:- END Mailing Method
10/23/2022 1:16:50 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:16:50 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:16:50 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:16:50 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:16:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:16:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:16:50 PM=>Info - End of callingService Method
10/23/2022 1:18:50 PM=>Info - Check time Elapsed
10/23/2022 1:18:50 PM=>Info - Call callingService Method
10/23/2022 1:18:50 PM=>Info:- Call Both
10/23/2022 1:18:50 PM=>Info:- Start Executing SMS Method
10/23/2022 1:18:50 PM=>Info:- End Executing SMS Method
10/23/2022 1:18:50 PM=>Info:- Start Mailing Method
10/23/2022 1:18:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:18:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:18:50 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:18:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:18:50 PM=>Info:- Count = 1
10/23/2022 1:18:50 PM=>Info:- Count 1
10/23/2022 1:18:50 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:18:50 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:18:50 PM=>Info:- Start SenMail Method
10/23/2022 1:18:50 PM=>UseDefaultCredentials
10/23/2022 1:18:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:18:50 PM=>EnableSsl = true
10/23/2022 1:18:50 PM=>DeliveryMethod
10/23/2022 1:18:50 PM=>Before Send
10/23/2022 1:18:59 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:18:59 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:18:59 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:18:59 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:18:59 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:18:59 PM=>Info:- END Mailing Method
10/23/2022 1:18:59 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:18:59 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:18:59 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:18:59 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:18:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:18:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:18:59 PM=>Info - End of callingService Method
10/23/2022 1:20:59 PM=>Info - Check time Elapsed
10/23/2022 1:20:59 PM=>Info - Call callingService Method
10/23/2022 1:20:59 PM=>Info:- Call Both
10/23/2022 1:20:59 PM=>Info:- Start Executing SMS Method
10/23/2022 1:20:59 PM=>Info:- End Executing SMS Method
10/23/2022 1:20:59 PM=>Info:- Start Mailing Method
10/23/2022 1:20:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:20:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:20:59 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:20:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:20:59 PM=>Info:- Count = 1
10/23/2022 1:20:59 PM=>Info:- Count 1
10/23/2022 1:20:59 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:20:59 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:20:59 PM=>Info:- Start SenMail Method
10/23/2022 1:20:59 PM=>UseDefaultCredentials
10/23/2022 1:20:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:20:59 PM=>EnableSsl = true
10/23/2022 1:20:59 PM=>DeliveryMethod
10/23/2022 1:20:59 PM=>Before Send
10/23/2022 1:21:08 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:21:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:21:08 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:21:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:21:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:21:08 PM=>Info:- END Mailing Method
10/23/2022 1:21:08 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:21:08 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:21:08 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:21:08 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:21:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:21:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:21:08 PM=>Info - End of callingService Method
10/23/2022 1:23:08 PM=>Info - Check time Elapsed
10/23/2022 1:23:08 PM=>Info - Call callingService Method
10/23/2022 1:23:08 PM=>Info:- Call Both
10/23/2022 1:23:08 PM=>Info:- Start Executing SMS Method
10/23/2022 1:23:08 PM=>Info:- End Executing SMS Method
10/23/2022 1:23:08 PM=>Info:- Start Mailing Method
10/23/2022 1:23:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:23:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:23:08 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:23:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:23:08 PM=>Info:- Count = 1
10/23/2022 1:23:08 PM=>Info:- Count 1
10/23/2022 1:23:08 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:23:08 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:23:08 PM=>Info:- Start SenMail Method
10/23/2022 1:23:08 PM=>UseDefaultCredentials
10/23/2022 1:23:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:23:08 PM=>EnableSsl = true
10/23/2022 1:23:08 PM=>DeliveryMethod
10/23/2022 1:23:08 PM=>Before Send
10/23/2022 1:23:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:23:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:23:29 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:23:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:23:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:23:30 PM=>Info:- END Mailing Method
10/23/2022 1:23:30 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:23:30 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:23:30 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:23:30 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:23:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:23:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:23:30 PM=>Info - End of callingService Method
10/23/2022 1:25:30 PM=>Info - Check time Elapsed
10/23/2022 1:25:30 PM=>Info - Call callingService Method
10/23/2022 1:25:30 PM=>Info:- Call Both
10/23/2022 1:25:30 PM=>Info:- Start Executing SMS Method
10/23/2022 1:25:30 PM=>Info:- End Executing SMS Method
10/23/2022 1:25:30 PM=>Info:- Start Mailing Method
10/23/2022 1:25:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:25:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:25:30 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:25:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:25:30 PM=>Info:- Count = 1
10/23/2022 1:25:30 PM=>Info:- Count 1
10/23/2022 1:25:30 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:25:30 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:25:30 PM=>Info:- Start SenMail Method
10/23/2022 1:25:30 PM=>UseDefaultCredentials
10/23/2022 1:25:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:25:30 PM=>EnableSsl = true
10/23/2022 1:25:30 PM=>DeliveryMethod
10/23/2022 1:25:30 PM=>Before Send
10/23/2022 1:26:12 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:26:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:26:12 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:26:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:26:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:26:12 PM=>Info:- END Mailing Method
10/23/2022 1:26:12 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:26:12 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:26:12 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:26:12 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:26:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:26:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:26:12 PM=>Info - End of callingService Method
10/23/2022 1:28:12 PM=>Info - Check time Elapsed
10/23/2022 1:28:12 PM=>Info - Call callingService Method
10/23/2022 1:28:12 PM=>Info:- Call Both
10/23/2022 1:28:12 PM=>Info:- Start Executing SMS Method
10/23/2022 1:28:12 PM=>Info:- End Executing SMS Method
10/23/2022 1:28:12 PM=>Info:- Start Mailing Method
10/23/2022 1:28:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:28:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:28:12 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:28:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:28:12 PM=>Info:- Count = 1
10/23/2022 1:28:12 PM=>Info:- Count 1
10/23/2022 1:28:12 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:28:12 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:28:12 PM=>Info:- Start SenMail Method
10/23/2022 1:28:12 PM=>UseDefaultCredentials
10/23/2022 1:28:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:28:12 PM=>EnableSsl = true
10/23/2022 1:28:12 PM=>DeliveryMethod
10/23/2022 1:28:12 PM=>Before Send
10/23/2022 1:29:36 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.66:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:29:36 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:29:36 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:29:36 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:29:36 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:29:37 PM=>Info:- END Mailing Method
10/23/2022 1:29:37 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:29:37 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:29:37 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:29:37 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:29:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:29:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:29:37 PM=>Info - End of callingService Method
10/23/2022 1:31:37 PM=>Info - Check time Elapsed
10/23/2022 1:31:37 PM=>Info - Call callingService Method
10/23/2022 1:31:37 PM=>Info:- Call Both
10/23/2022 1:31:37 PM=>Info:- Start Executing SMS Method
10/23/2022 1:31:37 PM=>Info:- End Executing SMS Method
10/23/2022 1:31:37 PM=>Info:- Start Mailing Method
10/23/2022 1:31:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:31:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:31:37 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:31:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:31:37 PM=>Info:- Count = 1
10/23/2022 1:31:37 PM=>Info:- Count 1
10/23/2022 1:31:37 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:31:37 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:31:37 PM=>Info:- Start SenMail Method
10/23/2022 1:31:37 PM=>UseDefaultCredentials
10/23/2022 1:31:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:31:37 PM=>EnableSsl = true
10/23/2022 1:31:37 PM=>DeliveryMethod
10/23/2022 1:31:37 PM=>Before Send
10/23/2022 1:31:37 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:31:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:31:37 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:31:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:31:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:31:37 PM=>Info:- END Mailing Method
10/23/2022 1:31:37 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:31:37 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:31:37 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:31:37 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:31:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:31:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:31:37 PM=>Info - End of callingService Method
10/23/2022 1:33:37 PM=>Info - Check time Elapsed
10/23/2022 1:33:37 PM=>Info - Call callingService Method
10/23/2022 1:33:37 PM=>Info:- Call Both
10/23/2022 1:33:37 PM=>Info:- Start Executing SMS Method
10/23/2022 1:33:37 PM=>Info:- End Executing SMS Method
10/23/2022 1:33:37 PM=>Info:- Start Mailing Method
10/23/2022 1:33:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:33:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:33:37 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:33:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:33:37 PM=>Info:- Count = 1
10/23/2022 1:33:37 PM=>Info:- Count 1
10/23/2022 1:33:37 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:33:37 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:33:37 PM=>Info:- Start SenMail Method
10/23/2022 1:33:37 PM=>UseDefaultCredentials
10/23/2022 1:33:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:33:37 PM=>EnableSsl = true
10/23/2022 1:33:37 PM=>DeliveryMethod
10/23/2022 1:33:37 PM=>Before Send
10/23/2022 1:33:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:33:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:33:46 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:33:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:33:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:33:46 PM=>Info:- END Mailing Method
10/23/2022 1:33:46 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:33:46 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:33:46 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:33:46 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:33:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:33:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:33:46 PM=>Info - End of callingService Method
10/23/2022 1:35:46 PM=>Info - Check time Elapsed
10/23/2022 1:35:46 PM=>Info - Call callingService Method
10/23/2022 1:35:46 PM=>Info:- Call Both
10/23/2022 1:35:46 PM=>Info:- Start Executing SMS Method
10/23/2022 1:35:46 PM=>Info:- End Executing SMS Method
10/23/2022 1:35:46 PM=>Info:- Start Mailing Method
10/23/2022 1:35:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:35:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:35:46 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:35:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:35:46 PM=>Info:- Count = 1
10/23/2022 1:35:46 PM=>Info:- Count 1
10/23/2022 1:35:46 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:35:46 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:35:46 PM=>Info:- Start SenMail Method
10/23/2022 1:35:46 PM=>UseDefaultCredentials
10/23/2022 1:35:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:35:46 PM=>EnableSsl = true
10/23/2022 1:35:46 PM=>DeliveryMethod
10/23/2022 1:35:46 PM=>Before Send
10/23/2022 1:36:08 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:36:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:36:08 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:36:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:36:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:36:08 PM=>Info:- END Mailing Method
10/23/2022 1:36:08 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:36:08 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:36:08 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:36:08 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:36:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:36:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:36:08 PM=>Info - End of callingService Method
10/23/2022 1:38:08 PM=>Info - Check time Elapsed
10/23/2022 1:38:08 PM=>Info - Call callingService Method
10/23/2022 1:38:08 PM=>Info:- Call Both
10/23/2022 1:38:08 PM=>Info:- Start Executing SMS Method
10/23/2022 1:38:08 PM=>Info:- End Executing SMS Method
10/23/2022 1:38:08 PM=>Info:- Start Mailing Method
10/23/2022 1:38:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:38:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:38:08 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:38:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:38:08 PM=>Info:- Count = 1
10/23/2022 1:38:08 PM=>Info:- Count 1
10/23/2022 1:38:08 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:38:08 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:38:08 PM=>Info:- Start SenMail Method
10/23/2022 1:38:08 PM=>UseDefaultCredentials
10/23/2022 1:38:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:38:08 PM=>EnableSsl = true
10/23/2022 1:38:08 PM=>DeliveryMethod
10/23/2022 1:38:08 PM=>Before Send
10/23/2022 1:39:32 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:39:32 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:39:32 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:39:32 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:39:32 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:39:32 PM=>Info:- END Mailing Method
10/23/2022 1:39:32 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:39:32 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:39:32 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:39:32 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:39:32 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:39:32 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:39:32 PM=>Info - End of callingService Method
10/23/2022 1:41:32 PM=>Info - Check time Elapsed
10/23/2022 1:41:32 PM=>Info - Call callingService Method
10/23/2022 1:41:32 PM=>Info:- Call Both
10/23/2022 1:41:32 PM=>Info:- Start Executing SMS Method
10/23/2022 1:41:32 PM=>Info:- End Executing SMS Method
10/23/2022 1:41:32 PM=>Info:- Start Mailing Method
10/23/2022 1:41:32 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:41:32 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:41:32 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:41:32 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:41:32 PM=>Info:- Count = 1
10/23/2022 1:41:32 PM=>Info:- Count 1
10/23/2022 1:41:32 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:41:32 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:41:32 PM=>Info:- Start SenMail Method
10/23/2022 1:41:32 PM=>UseDefaultCredentials
10/23/2022 1:41:32 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:41:32 PM=>EnableSsl = true
10/23/2022 1:41:32 PM=>DeliveryMethod
10/23/2022 1:41:32 PM=>Before Send
10/23/2022 1:41:41 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:41:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:41:41 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:41:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:41:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:41:42 PM=>Info:- END Mailing Method
10/23/2022 1:41:42 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:41:42 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:41:42 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:41:42 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:41:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:41:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:41:42 PM=>Info - End of callingService Method
10/23/2022 1:43:42 PM=>Info - Check time Elapsed
10/23/2022 1:43:42 PM=>Info - Call callingService Method
10/23/2022 1:43:42 PM=>Info:- Call Both
10/23/2022 1:43:42 PM=>Info:- Start Executing SMS Method
10/23/2022 1:43:42 PM=>Info:- End Executing SMS Method
10/23/2022 1:43:42 PM=>Info:- Start Mailing Method
10/23/2022 1:43:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:43:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:43:42 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:43:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:43:42 PM=>Info:- Count = 1
10/23/2022 1:43:42 PM=>Info:- Count 1
10/23/2022 1:43:42 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:43:42 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:43:42 PM=>Info:- Start SenMail Method
10/23/2022 1:43:42 PM=>UseDefaultCredentials
10/23/2022 1:43:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:43:42 PM=>EnableSsl = true
10/23/2022 1:43:42 PM=>DeliveryMethod
10/23/2022 1:43:42 PM=>Before Send
10/23/2022 1:43:51 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:43:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:43:51 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:43:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:43:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:43:51 PM=>Info:- END Mailing Method
10/23/2022 1:43:51 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:43:51 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:43:51 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:43:51 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:43:51 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:43:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:43:51 PM=>Info - End of callingService Method
10/23/2022 1:45:51 PM=>Info - Check time Elapsed
10/23/2022 1:45:51 PM=>Info - Call callingService Method
10/23/2022 1:45:51 PM=>Info:- Call Both
10/23/2022 1:45:51 PM=>Info:- Start Executing SMS Method
10/23/2022 1:45:51 PM=>Info:- End Executing SMS Method
10/23/2022 1:45:51 PM=>Info:- Start Mailing Method
10/23/2022 1:45:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:45:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:45:51 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:45:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:45:51 PM=>Info:- Count = 1
10/23/2022 1:45:51 PM=>Info:- Count 1
10/23/2022 1:45:51 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:45:51 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:45:51 PM=>Info:- Start SenMail Method
10/23/2022 1:45:51 PM=>UseDefaultCredentials
10/23/2022 1:45:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:45:51 PM=>EnableSsl = true
10/23/2022 1:45:51 PM=>DeliveryMethod
10/23/2022 1:45:51 PM=>Before Send
10/23/2022 1:46:00 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:46:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:46:00 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:46:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:46:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:46:01 PM=>Info:- END Mailing Method
10/23/2022 1:46:01 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:46:01 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:46:01 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:46:01 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:46:01 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:46:01 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:46:01 PM=>Info - End of callingService Method
10/23/2022 1:48:01 PM=>Info - Check time Elapsed
10/23/2022 1:48:01 PM=>Info - Call callingService Method
10/23/2022 1:48:01 PM=>Info:- Call Both
10/23/2022 1:48:01 PM=>Info:- Start Executing SMS Method
10/23/2022 1:48:01 PM=>Info:- End Executing SMS Method
10/23/2022 1:48:01 PM=>Info:- Start Mailing Method
10/23/2022 1:48:01 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:48:01 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:48:01 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:48:01 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:48:01 PM=>Info:- Count = 1
10/23/2022 1:48:01 PM=>Info:- Count 1
10/23/2022 1:48:01 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:48:01 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:48:01 PM=>Info:- Start SenMail Method
10/23/2022 1:48:01 PM=>UseDefaultCredentials
10/23/2022 1:48:01 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:48:01 PM=>EnableSsl = true
10/23/2022 1:48:01 PM=>DeliveryMethod
10/23/2022 1:48:01 PM=>Before Send
10/23/2022 1:48:04 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:48:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:48:04 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:48:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:48:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:48:04 PM=>Info:- END Mailing Method
10/23/2022 1:48:04 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:48:04 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:48:04 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:48:04 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:48:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:48:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:48:04 PM=>Info - End of callingService Method
10/23/2022 1:50:04 PM=>Info - Check time Elapsed
10/23/2022 1:50:04 PM=>Info - Call callingService Method
10/23/2022 1:50:04 PM=>Info:- Call Both
10/23/2022 1:50:04 PM=>Info:- Start Executing SMS Method
10/23/2022 1:50:04 PM=>Info:- End Executing SMS Method
10/23/2022 1:50:04 PM=>Info:- Start Mailing Method
10/23/2022 1:50:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:50:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:50:04 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:50:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:50:04 PM=>Info:- Count = 1
10/23/2022 1:50:04 PM=>Info:- Count 1
10/23/2022 1:50:04 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:50:04 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:50:04 PM=>Info:- Start SenMail Method
10/23/2022 1:50:04 PM=>UseDefaultCredentials
10/23/2022 1:50:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:50:04 PM=>EnableSsl = true
10/23/2022 1:50:04 PM=>DeliveryMethod
10/23/2022 1:50:04 PM=>Before Send
10/23/2022 1:51:28 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:51:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:51:28 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:51:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:51:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:51:28 PM=>Info:- END Mailing Method
10/23/2022 1:51:28 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:51:28 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:51:28 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:51:28 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:51:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:51:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:51:28 PM=>Info - End of callingService Method
10/23/2022 1:53:28 PM=>Info - Check time Elapsed
10/23/2022 1:53:28 PM=>Info - Call callingService Method
10/23/2022 1:53:29 PM=>Info:- Call Both
10/23/2022 1:53:29 PM=>Info:- Start Executing SMS Method
10/23/2022 1:53:29 PM=>Info:- End Executing SMS Method
10/23/2022 1:53:29 PM=>Info:- Start Mailing Method
10/23/2022 1:53:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:53:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:53:29 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:53:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:53:29 PM=>Info:- Count = 1
10/23/2022 1:53:29 PM=>Info:- Count 1
10/23/2022 1:53:29 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:53:29 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:53:29 PM=>Info:- Start SenMail Method
10/23/2022 1:53:29 PM=>UseDefaultCredentials
10/23/2022 1:53:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:53:29 PM=>EnableSsl = true
10/23/2022 1:53:29 PM=>DeliveryMethod
10/23/2022 1:53:29 PM=>Before Send
10/23/2022 1:54:53 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.190.18:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:54:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:54:53 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:54:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:54:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:54:53 PM=>Info:- END Mailing Method
10/23/2022 1:54:53 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:54:53 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:54:53 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:54:53 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:54:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:54:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:54:53 PM=>Info - End of callingService Method
10/23/2022 1:56:53 PM=>Info - Check time Elapsed
10/23/2022 1:56:53 PM=>Info - Call callingService Method
10/23/2022 1:56:53 PM=>Info:- Call Both
10/23/2022 1:56:53 PM=>Info:- Start Executing SMS Method
10/23/2022 1:56:53 PM=>Info:- End Executing SMS Method
10/23/2022 1:56:53 PM=>Info:- Start Mailing Method
10/23/2022 1:56:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 1:56:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 1:56:53 PM=>Info:- PendingMail.xml file read to list
10/23/2022 1:56:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 1:56:53 PM=>Info:- Count = 1
10/23/2022 1:56:53 PM=>Info:- Count 1
10/23/2022 1:56:53 PM=>Info - Fetching Data From MAIL XML
10/23/2022 1:56:53 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 1:56:53 PM=>Info:- Start SenMail Method
10/23/2022 1:56:53 PM=>UseDefaultCredentials
10/23/2022 1:56:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 1:56:53 PM=>EnableSsl = true
10/23/2022 1:56:53 PM=>DeliveryMethod
10/23/2022 1:56:53 PM=>Before Send
10/23/2022 1:58:17 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.242.18:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 1:58:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 1:58:17 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 1:58:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 1:58:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 1:58:17 PM=>Info:- END Mailing Method
10/23/2022 1:58:17 PM=>Info:- Start Executing Telegram Method
10/23/2022 1:58:17 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 1:58:17 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 1:58:17 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 1:58:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 1:58:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 1:58:17 PM=>Info - End of callingService Method
10/23/2022 2:00:17 PM=>Info - Check time Elapsed
10/23/2022 2:00:17 PM=>Info - Call callingService Method
10/23/2022 2:00:17 PM=>Info:- Call Both
10/23/2022 2:00:17 PM=>Info:- Start Executing SMS Method
10/23/2022 2:00:17 PM=>Info:- End Executing SMS Method
10/23/2022 2:00:17 PM=>Info:- Start Mailing Method
10/23/2022 2:00:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:00:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:00:17 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:00:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:00:17 PM=>Info:- Count = 1
10/23/2022 2:00:17 PM=>Info:- Count 1
10/23/2022 2:00:17 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:00:17 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:00:17 PM=>Info:- Start SenMail Method
10/23/2022 2:00:17 PM=>UseDefaultCredentials
10/23/2022 2:00:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:00:17 PM=>EnableSsl = true
10/23/2022 2:00:18 PM=>DeliveryMethod
10/23/2022 2:00:18 PM=>Before Send
10/23/2022 2:00:21 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:00:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:00:21 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:00:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:00:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:00:21 PM=>Info:- END Mailing Method
10/23/2022 2:00:21 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:00:21 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:00:21 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:00:21 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:00:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:00:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:00:21 PM=>Info - End of callingService Method
10/23/2022 2:02:21 PM=>Info - Check time Elapsed
10/23/2022 2:02:21 PM=>Info - Call callingService Method
10/23/2022 2:02:21 PM=>Info:- Call Both
10/23/2022 2:02:21 PM=>Info:- Start Executing SMS Method
10/23/2022 2:02:21 PM=>Info:- End Executing SMS Method
10/23/2022 2:02:21 PM=>Info:- Start Mailing Method
10/23/2022 2:02:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:02:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:02:21 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:02:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:02:21 PM=>Info:- Count = 1
10/23/2022 2:02:21 PM=>Info:- Count 1
10/23/2022 2:02:21 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:02:21 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:02:21 PM=>Info:- Start SenMail Method
10/23/2022 2:02:21 PM=>UseDefaultCredentials
10/23/2022 2:02:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:02:21 PM=>EnableSsl = true
10/23/2022 2:02:21 PM=>DeliveryMethod
10/23/2022 2:02:21 PM=>Before Send
10/23/2022 2:02:30 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:02:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:02:30 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:02:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:02:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:02:30 PM=>Info:- END Mailing Method
10/23/2022 2:02:30 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:02:30 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:02:30 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:02:30 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:02:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:02:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:02:30 PM=>Info - End of callingService Method
10/23/2022 2:04:30 PM=>Info - Check time Elapsed
10/23/2022 2:04:30 PM=>Info - Call callingService Method
10/23/2022 2:04:30 PM=>Info:- Call Both
10/23/2022 2:04:30 PM=>Info:- Start Executing SMS Method
10/23/2022 2:04:30 PM=>Info:- End Executing SMS Method
10/23/2022 2:04:30 PM=>Info:- Start Mailing Method
10/23/2022 2:04:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:04:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:04:30 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:04:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:04:30 PM=>Info:- Count = 1
10/23/2022 2:04:30 PM=>Info:- Count 1
10/23/2022 2:04:30 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:04:30 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:04:30 PM=>Info:- Start SenMail Method
10/23/2022 2:04:30 PM=>UseDefaultCredentials
10/23/2022 2:04:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:04:30 PM=>EnableSsl = true
10/23/2022 2:04:30 PM=>DeliveryMethod
10/23/2022 2:04:30 PM=>Before Send
10/23/2022 2:04:39 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:04:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:04:39 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:04:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:04:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:04:40 PM=>Info:- END Mailing Method
10/23/2022 2:04:40 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:04:40 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:04:40 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:04:40 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:04:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:04:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:04:40 PM=>Info - End of callingService Method
10/23/2022 2:06:40 PM=>Info - Check time Elapsed
10/23/2022 2:06:40 PM=>Info - Call callingService Method
10/23/2022 2:06:40 PM=>Info:- Call Both
10/23/2022 2:06:40 PM=>Info:- Start Executing SMS Method
10/23/2022 2:06:40 PM=>Info:- End Executing SMS Method
10/23/2022 2:06:40 PM=>Info:- Start Mailing Method
10/23/2022 2:06:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:06:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:06:40 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:06:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:06:40 PM=>Info:- Count = 1
10/23/2022 2:06:40 PM=>Info:- Count 1
10/23/2022 2:06:40 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:06:40 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:06:40 PM=>Info:- Start SenMail Method
10/23/2022 2:06:40 PM=>UseDefaultCredentials
10/23/2022 2:06:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:06:40 PM=>EnableSsl = true
10/23/2022 2:06:40 PM=>DeliveryMethod
10/23/2022 2:06:40 PM=>Before Send
10/23/2022 2:06:43 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:06:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:06:43 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:06:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:06:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:06:43 PM=>Info:- END Mailing Method
10/23/2022 2:06:43 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:06:43 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:06:43 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:06:43 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:06:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:06:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:06:43 PM=>Info - End of callingService Method
10/23/2022 2:08:43 PM=>Info - Check time Elapsed
10/23/2022 2:08:43 PM=>Info - Call callingService Method
10/23/2022 2:08:43 PM=>Info:- Call Both
10/23/2022 2:08:43 PM=>Info:- Start Executing SMS Method
10/23/2022 2:08:43 PM=>Info:- End Executing SMS Method
10/23/2022 2:08:43 PM=>Info:- Start Mailing Method
10/23/2022 2:08:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:08:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:08:43 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:08:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:08:43 PM=>Info:- Count = 1
10/23/2022 2:08:43 PM=>Info:- Count 1
10/23/2022 2:08:43 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:08:43 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:08:43 PM=>Info:- Start SenMail Method
10/23/2022 2:08:43 PM=>UseDefaultCredentials
10/23/2022 2:08:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:08:43 PM=>EnableSsl = true
10/23/2022 2:08:43 PM=>DeliveryMethod
10/23/2022 2:08:43 PM=>Before Send
10/23/2022 2:09:55 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:09:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:09:55 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:09:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:09:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:09:55 PM=>Info:- END Mailing Method
10/23/2022 2:09:56 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:09:56 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:09:56 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:09:56 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:09:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:09:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:09:56 PM=>Info - End of callingService Method
10/23/2022 2:11:56 PM=>Info - Check time Elapsed
10/23/2022 2:11:56 PM=>Info - Call callingService Method
10/23/2022 2:11:56 PM=>Info:- Call Both
10/23/2022 2:11:56 PM=>Info:- Start Executing SMS Method
10/23/2022 2:11:56 PM=>Info:- End Executing SMS Method
10/23/2022 2:11:56 PM=>Info:- Start Mailing Method
10/23/2022 2:11:56 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:11:56 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:11:56 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:11:56 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:11:56 PM=>Info:- Count = 1
10/23/2022 2:11:56 PM=>Info:- Count 1
10/23/2022 2:11:56 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:11:56 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:11:56 PM=>Info:- Start SenMail Method
10/23/2022 2:11:56 PM=>UseDefaultCredentials
10/23/2022 2:11:56 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:11:56 PM=>EnableSsl = true
10/23/2022 2:11:56 PM=>DeliveryMethod
10/23/2022 2:11:56 PM=>Before Send
10/23/2022 2:12:05 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:12:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:12:05 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:12:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:12:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:12:05 PM=>Info:- END Mailing Method
10/23/2022 2:12:05 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:12:05 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:12:05 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:12:05 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:12:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:12:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:12:05 PM=>Info - End of callingService Method
10/23/2022 2:14:05 PM=>Info - Check time Elapsed
10/23/2022 2:14:05 PM=>Info - Call callingService Method
10/23/2022 2:14:05 PM=>Info:- Call Both
10/23/2022 2:14:05 PM=>Info:- Start Executing SMS Method
10/23/2022 2:14:05 PM=>Info:- End Executing SMS Method
10/23/2022 2:14:05 PM=>Info:- Start Mailing Method
10/23/2022 2:14:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:14:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:14:05 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:14:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:14:05 PM=>Info:- Count = 1
10/23/2022 2:14:05 PM=>Info:- Count 1
10/23/2022 2:14:05 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:14:05 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:14:05 PM=>Info:- Start SenMail Method
10/23/2022 2:14:05 PM=>UseDefaultCredentials
10/23/2022 2:14:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:14:05 PM=>EnableSsl = true
10/23/2022 2:14:05 PM=>DeliveryMethod
10/23/2022 2:14:05 PM=>Before Send
10/23/2022 2:14:47 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:14:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:14:47 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:14:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:14:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:14:47 PM=>Info:- END Mailing Method
10/23/2022 2:14:47 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:14:47 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:14:47 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:14:47 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:14:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:14:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:14:47 PM=>Info - End of callingService Method
10/23/2022 2:16:47 PM=>Info - Check time Elapsed
10/23/2022 2:16:47 PM=>Info - Call callingService Method
10/23/2022 2:16:47 PM=>Info:- Call Both
10/23/2022 2:16:47 PM=>Info:- Start Executing SMS Method
10/23/2022 2:16:47 PM=>Info:- End Executing SMS Method
10/23/2022 2:16:47 PM=>Info:- Start Mailing Method
10/23/2022 2:16:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:16:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:16:47 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:16:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:16:47 PM=>Info:- Count = 1
10/23/2022 2:16:47 PM=>Info:- Count 1
10/23/2022 2:16:47 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:16:47 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:16:47 PM=>Info:- Start SenMail Method
10/23/2022 2:16:47 PM=>UseDefaultCredentials
10/23/2022 2:16:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:16:47 PM=>EnableSsl = true
10/23/2022 2:16:47 PM=>DeliveryMethod
10/23/2022 2:16:47 PM=>Before Send
10/23/2022 2:18:12 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.9.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:18:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:18:12 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:18:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:18:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:18:12 PM=>Info:- END Mailing Method
10/23/2022 2:18:12 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:18:12 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:18:12 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:18:12 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:18:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:18:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:18:12 PM=>Info - End of callingService Method
10/23/2022 2:20:12 PM=>Info - Check time Elapsed
10/23/2022 2:20:12 PM=>Info - Call callingService Method
10/23/2022 2:20:12 PM=>Info:- Call Both
10/23/2022 2:20:12 PM=>Info:- Start Executing SMS Method
10/23/2022 2:20:12 PM=>Info:- End Executing SMS Method
10/23/2022 2:20:12 PM=>Info:- Start Mailing Method
10/23/2022 2:20:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:20:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:20:12 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:20:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:20:12 PM=>Info:- Count = 1
10/23/2022 2:20:12 PM=>Info:- Count 1
10/23/2022 2:20:12 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:20:12 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:20:12 PM=>Info:- Start SenMail Method
10/23/2022 2:20:12 PM=>UseDefaultCredentials
10/23/2022 2:20:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:20:12 PM=>EnableSsl = true
10/23/2022 2:20:12 PM=>DeliveryMethod
10/23/2022 2:20:12 PM=>Before Send
10/23/2022 2:20:12 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:20:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:20:12 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:20:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:20:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:20:12 PM=>Info:- END Mailing Method
10/23/2022 2:20:12 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:20:12 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:20:12 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:20:12 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:20:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:20:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:20:12 PM=>Info - End of callingService Method
10/23/2022 2:22:12 PM=>Info - Check time Elapsed
10/23/2022 2:22:12 PM=>Info - Call callingService Method
10/23/2022 2:22:12 PM=>Info:- Call Both
10/23/2022 2:22:12 PM=>Info:- Start Executing SMS Method
10/23/2022 2:22:12 PM=>Info:- End Executing SMS Method
10/23/2022 2:22:12 PM=>Info:- Start Mailing Method
10/23/2022 2:22:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:22:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:22:12 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:22:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:22:12 PM=>Info:- Count = 1
10/23/2022 2:22:12 PM=>Info:- Count 1
10/23/2022 2:22:12 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:22:12 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:22:12 PM=>Info:- Start SenMail Method
10/23/2022 2:22:12 PM=>UseDefaultCredentials
10/23/2022 2:22:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:22:12 PM=>EnableSsl = true
10/23/2022 2:22:12 PM=>DeliveryMethod
10/23/2022 2:22:12 PM=>Before Send
10/23/2022 2:22:21 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:22:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:22:21 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:22:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:22:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:22:22 PM=>Info:- END Mailing Method
10/23/2022 2:22:22 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:22:22 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:22:22 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:22:22 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:22:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:22:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:22:22 PM=>Info - End of callingService Method
10/23/2022 2:24:22 PM=>Info - Check time Elapsed
10/23/2022 2:24:22 PM=>Info - Call callingService Method
10/23/2022 2:24:22 PM=>Info:- Call Both
10/23/2022 2:24:22 PM=>Info:- Start Executing SMS Method
10/23/2022 2:24:22 PM=>Info:- End Executing SMS Method
10/23/2022 2:24:22 PM=>Info:- Start Mailing Method
10/23/2022 2:24:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:24:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:24:22 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:24:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:24:22 PM=>Info:- Count = 1
10/23/2022 2:24:22 PM=>Info:- Count 1
10/23/2022 2:24:22 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:24:22 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:24:22 PM=>Info:- Start SenMail Method
10/23/2022 2:24:22 PM=>UseDefaultCredentials
10/23/2022 2:24:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:24:22 PM=>EnableSsl = true
10/23/2022 2:24:22 PM=>DeliveryMethod
10/23/2022 2:24:22 PM=>Before Send
10/23/2022 2:24:31 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:24:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:24:31 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:24:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:24:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:24:31 PM=>Info:- END Mailing Method
10/23/2022 2:24:31 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:24:31 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:24:31 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:24:31 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:24:31 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:24:31 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:24:31 PM=>Info - End of callingService Method
10/23/2022 2:26:31 PM=>Info - Check time Elapsed
10/23/2022 2:26:31 PM=>Info - Call callingService Method
10/23/2022 2:26:31 PM=>Info:- Call Both
10/23/2022 2:26:31 PM=>Info:- Start Executing SMS Method
10/23/2022 2:26:31 PM=>Info:- End Executing SMS Method
10/23/2022 2:26:31 PM=>Info:- Start Mailing Method
10/23/2022 2:26:31 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:26:31 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:26:31 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:26:31 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:26:31 PM=>Info:- Count = 1
10/23/2022 2:26:31 PM=>Info:- Count 1
10/23/2022 2:26:31 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:26:31 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:26:31 PM=>Info:- Start SenMail Method
10/23/2022 2:26:31 PM=>UseDefaultCredentials
10/23/2022 2:26:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:26:31 PM=>EnableSsl = true
10/23/2022 2:26:31 PM=>DeliveryMethod
10/23/2022 2:26:31 PM=>Before Send
10/23/2022 2:26:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:26:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:26:40 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:26:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:26:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:26:40 PM=>Info:- END Mailing Method
10/23/2022 2:26:40 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:26:40 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:26:40 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:26:40 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:26:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:26:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:26:40 PM=>Info - End of callingService Method
10/23/2022 2:28:40 PM=>Info - Check time Elapsed
10/23/2022 2:28:40 PM=>Info - Call callingService Method
10/23/2022 2:28:40 PM=>Info:- Call Both
10/23/2022 2:28:40 PM=>Info:- Start Executing SMS Method
10/23/2022 2:28:40 PM=>Info:- End Executing SMS Method
10/23/2022 2:28:40 PM=>Info:- Start Mailing Method
10/23/2022 2:28:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:28:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:28:40 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:28:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:28:40 PM=>Info:- Count = 1
10/23/2022 2:28:40 PM=>Info:- Count 1
10/23/2022 2:28:40 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:28:40 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:28:40 PM=>Info:- Start SenMail Method
10/23/2022 2:28:40 PM=>UseDefaultCredentials
10/23/2022 2:28:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:28:40 PM=>EnableSsl = true
10/23/2022 2:28:40 PM=>DeliveryMethod
10/23/2022 2:28:40 PM=>Before Send
10/23/2022 2:28:41 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:28:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:28:41 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:28:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:28:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:28:41 PM=>Info:- END Mailing Method
10/23/2022 2:28:41 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:28:41 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:28:41 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:28:41 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:28:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:28:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:28:41 PM=>Info - End of callingService Method
10/23/2022 2:30:41 PM=>Info - Check time Elapsed
10/23/2022 2:30:41 PM=>Info - Call callingService Method
10/23/2022 2:30:41 PM=>Info:- Call Both
10/23/2022 2:30:41 PM=>Info:- Start Executing SMS Method
10/23/2022 2:30:41 PM=>Info:- End Executing SMS Method
10/23/2022 2:30:41 PM=>Info:- Start Mailing Method
10/23/2022 2:30:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:30:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:30:41 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:30:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:30:41 PM=>Info:- Count = 1
10/23/2022 2:30:41 PM=>Info:- Count 1
10/23/2022 2:30:41 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:30:41 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:30:41 PM=>Info:- Start SenMail Method
10/23/2022 2:30:41 PM=>UseDefaultCredentials
10/23/2022 2:30:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:30:41 PM=>EnableSsl = true
10/23/2022 2:30:41 PM=>DeliveryMethod
10/23/2022 2:30:41 PM=>Before Send
10/23/2022 2:32:05 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.66:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:32:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:32:05 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:32:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:32:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:32:05 PM=>Info:- END Mailing Method
10/23/2022 2:32:05 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:32:05 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:32:05 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:32:05 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:32:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:32:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:32:05 PM=>Info - End of callingService Method
10/23/2022 2:34:05 PM=>Info - Check time Elapsed
10/23/2022 2:34:05 PM=>Info - Call callingService Method
10/23/2022 2:34:05 PM=>Info:- Call Both
10/23/2022 2:34:05 PM=>Info:- Start Executing SMS Method
10/23/2022 2:34:05 PM=>Info:- End Executing SMS Method
10/23/2022 2:34:05 PM=>Info:- Start Mailing Method
10/23/2022 2:34:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:34:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:34:05 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:34:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:34:05 PM=>Info:- Count = 1
10/23/2022 2:34:05 PM=>Info:- Count 1
10/23/2022 2:34:05 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:34:05 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:34:05 PM=>Info:- Start SenMail Method
10/23/2022 2:34:05 PM=>UseDefaultCredentials
10/23/2022 2:34:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:34:05 PM=>EnableSsl = true
10/23/2022 2:34:05 PM=>DeliveryMethod
10/23/2022 2:34:05 PM=>Before Send
10/23/2022 2:35:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:35:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:35:29 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:35:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:35:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:35:30 PM=>Info:- END Mailing Method
10/23/2022 2:35:30 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:35:30 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:35:30 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:35:30 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:35:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:35:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:35:30 PM=>Info - End of callingService Method
10/23/2022 2:37:30 PM=>Info - Check time Elapsed
10/23/2022 2:37:30 PM=>Info - Call callingService Method
10/23/2022 2:37:30 PM=>Info:- Call Both
10/23/2022 2:37:30 PM=>Info:- Start Executing SMS Method
10/23/2022 2:37:30 PM=>Info:- End Executing SMS Method
10/23/2022 2:37:30 PM=>Info:- Start Mailing Method
10/23/2022 2:37:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:37:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:37:30 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:37:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:37:30 PM=>Info:- Count = 1
10/23/2022 2:37:30 PM=>Info:- Count 1
10/23/2022 2:37:30 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:37:30 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:37:30 PM=>Info:- Start SenMail Method
10/23/2022 2:37:30 PM=>UseDefaultCredentials
10/23/2022 2:37:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:37:30 PM=>EnableSsl = true
10/23/2022 2:37:30 PM=>DeliveryMethod
10/23/2022 2:37:30 PM=>Before Send
10/23/2022 2:38:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.210:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:38:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:38:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:38:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:38:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:38:54 PM=>Info:- END Mailing Method
10/23/2022 2:38:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:38:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:38:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:38:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:38:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:38:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:38:54 PM=>Info - End of callingService Method
10/23/2022 2:40:54 PM=>Info - Check time Elapsed
10/23/2022 2:40:54 PM=>Info - Call callingService Method
10/23/2022 2:40:54 PM=>Info:- Call Both
10/23/2022 2:40:54 PM=>Info:- Start Executing SMS Method
10/23/2022 2:40:54 PM=>Info:- End Executing SMS Method
10/23/2022 2:40:54 PM=>Info:- Start Mailing Method
10/23/2022 2:40:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:40:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:40:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:40:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:40:54 PM=>Info:- Count = 1
10/23/2022 2:40:54 PM=>Info:- Count 1
10/23/2022 2:40:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:40:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:40:54 PM=>Info:- Start SenMail Method
10/23/2022 2:40:54 PM=>UseDefaultCredentials
10/23/2022 2:40:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:40:54 PM=>EnableSsl = true
10/23/2022 2:40:54 PM=>DeliveryMethod
10/23/2022 2:40:54 PM=>Before Send
10/23/2022 2:42:18 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:42:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:42:18 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:42:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:42:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:42:19 PM=>Info:- END Mailing Method
10/23/2022 2:42:19 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:42:19 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:42:19 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:42:19 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:42:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:42:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:42:19 PM=>Info - End of callingService Method
10/23/2022 2:44:19 PM=>Info - Check time Elapsed
10/23/2022 2:44:19 PM=>Info - Call callingService Method
10/23/2022 2:44:19 PM=>Info:- Call Both
10/23/2022 2:44:19 PM=>Info:- Start Executing SMS Method
10/23/2022 2:44:19 PM=>Info:- End Executing SMS Method
10/23/2022 2:44:19 PM=>Info:- Start Mailing Method
10/23/2022 2:44:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:44:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:44:19 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:44:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:44:19 PM=>Info:- Count = 1
10/23/2022 2:44:19 PM=>Info:- Count 1
10/23/2022 2:44:19 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:44:19 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:44:19 PM=>Info:- Start SenMail Method
10/23/2022 2:44:19 PM=>UseDefaultCredentials
10/23/2022 2:44:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:44:19 PM=>EnableSsl = true
10/23/2022 2:44:19 PM=>DeliveryMethod
10/23/2022 2:44:19 PM=>Before Send
10/23/2022 2:44:22 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:44:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:44:22 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:44:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:44:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:44:22 PM=>Info:- END Mailing Method
10/23/2022 2:44:22 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:44:22 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:44:22 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:44:22 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:44:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:44:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:44:22 PM=>Info - End of callingService Method
10/23/2022 2:46:22 PM=>Info - Check time Elapsed
10/23/2022 2:46:22 PM=>Info - Call callingService Method
10/23/2022 2:46:22 PM=>Info:- Call Both
10/23/2022 2:46:22 PM=>Info:- Start Executing SMS Method
10/23/2022 2:46:22 PM=>Info:- End Executing SMS Method
10/23/2022 2:46:22 PM=>Info:- Start Mailing Method
10/23/2022 2:46:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:46:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:46:22 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:46:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:46:22 PM=>Info:- Count = 1
10/23/2022 2:46:22 PM=>Info:- Count 1
10/23/2022 2:46:22 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:46:22 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:46:22 PM=>Info:- Start SenMail Method
10/23/2022 2:46:22 PM=>UseDefaultCredentials
10/23/2022 2:46:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:46:22 PM=>EnableSsl = true
10/23/2022 2:46:22 PM=>DeliveryMethod
10/23/2022 2:46:22 PM=>Before Send
10/23/2022 2:46:31 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:46:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:46:31 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:46:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:46:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:46:31 PM=>Info:- END Mailing Method
10/23/2022 2:46:31 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:46:31 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:46:31 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:46:31 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:46:31 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:46:31 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:46:31 PM=>Info - End of callingService Method
10/23/2022 2:48:31 PM=>Info - Check time Elapsed
10/23/2022 2:48:31 PM=>Info - Call callingService Method
10/23/2022 2:48:32 PM=>Info:- Call Both
10/23/2022 2:48:32 PM=>Info:- Start Executing SMS Method
10/23/2022 2:48:32 PM=>Info:- End Executing SMS Method
10/23/2022 2:48:32 PM=>Info:- Start Mailing Method
10/23/2022 2:48:32 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:48:32 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:48:32 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:48:32 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:48:32 PM=>Info:- Count = 1
10/23/2022 2:48:32 PM=>Info:- Count 1
10/23/2022 2:48:32 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:48:32 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:48:32 PM=>Info:- Start SenMail Method
10/23/2022 2:48:32 PM=>UseDefaultCredentials
10/23/2022 2:48:32 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:48:32 PM=>EnableSsl = true
10/23/2022 2:48:32 PM=>DeliveryMethod
10/23/2022 2:48:32 PM=>Before Send
10/23/2022 2:48:41 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:48:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:48:41 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:48:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:48:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:48:41 PM=>Info:- END Mailing Method
10/23/2022 2:48:41 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:48:41 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:48:41 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:48:41 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:48:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:48:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:48:41 PM=>Info - End of callingService Method
10/23/2022 2:50:41 PM=>Info - Check time Elapsed
10/23/2022 2:50:41 PM=>Info - Call callingService Method
10/23/2022 2:50:41 PM=>Info:- Call Both
10/23/2022 2:50:41 PM=>Info:- Start Executing SMS Method
10/23/2022 2:50:41 PM=>Info:- End Executing SMS Method
10/23/2022 2:50:41 PM=>Info:- Start Mailing Method
10/23/2022 2:50:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:50:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:50:41 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:50:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:50:41 PM=>Info:- Count = 1
10/23/2022 2:50:41 PM=>Info:- Count 1
10/23/2022 2:50:41 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:50:41 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:50:41 PM=>Info:- Start SenMail Method
10/23/2022 2:50:41 PM=>UseDefaultCredentials
10/23/2022 2:50:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:50:41 PM=>EnableSsl = true
10/23/2022 2:50:41 PM=>DeliveryMethod
10/23/2022 2:50:41 PM=>Before Send
10/23/2022 2:50:50 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:50:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:50:50 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:50:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:50:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:50:50 PM=>Info:- END Mailing Method
10/23/2022 2:50:50 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:50:50 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:50:50 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:50:50 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:50:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:50:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:50:50 PM=>Info - End of callingService Method
10/23/2022 2:52:50 PM=>Info - Check time Elapsed
10/23/2022 2:52:50 PM=>Info - Call callingService Method
10/23/2022 2:52:50 PM=>Info:- Call Both
10/23/2022 2:52:50 PM=>Info:- Start Executing SMS Method
10/23/2022 2:52:50 PM=>Info:- End Executing SMS Method
10/23/2022 2:52:50 PM=>Info:- Start Mailing Method
10/23/2022 2:52:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:52:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:52:50 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:52:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:52:50 PM=>Info:- Count = 1
10/23/2022 2:52:50 PM=>Info:- Count 1
10/23/2022 2:52:50 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:52:50 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:52:50 PM=>Info:- Start SenMail Method
10/23/2022 2:52:50 PM=>UseDefaultCredentials
10/23/2022 2:52:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:52:50 PM=>EnableSsl = true
10/23/2022 2:52:50 PM=>DeliveryMethod
10/23/2022 2:52:50 PM=>Before Send
10/23/2022 2:52:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:52:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:52:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:52:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:52:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:52:54 PM=>Info:- END Mailing Method
10/23/2022 2:52:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:52:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:52:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:52:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:52:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:52:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:52:54 PM=>Info - End of callingService Method
10/23/2022 2:54:54 PM=>Info - Check time Elapsed
10/23/2022 2:54:54 PM=>Info - Call callingService Method
10/23/2022 2:54:54 PM=>Info:- Call Both
10/23/2022 2:54:54 PM=>Info:- Start Executing SMS Method
10/23/2022 2:54:54 PM=>Info:- End Executing SMS Method
10/23/2022 2:54:54 PM=>Info:- Start Mailing Method
10/23/2022 2:54:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:54:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:54:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:54:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:54:54 PM=>Info:- Count = 1
10/23/2022 2:54:54 PM=>Info:- Count 1
10/23/2022 2:54:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:54:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:54:54 PM=>Info:- Start SenMail Method
10/23/2022 2:54:54 PM=>UseDefaultCredentials
10/23/2022 2:54:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:54:54 PM=>EnableSsl = true
10/23/2022 2:54:54 PM=>DeliveryMethod
10/23/2022 2:54:54 PM=>Before Send
10/23/2022 2:55:36 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:55:36 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:55:36 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:55:36 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:55:36 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:55:36 PM=>Info:- END Mailing Method
10/23/2022 2:55:36 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:55:36 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:55:36 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:55:36 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:55:36 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:55:36 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:55:36 PM=>Info - End of callingService Method
10/23/2022 2:57:36 PM=>Info - Check time Elapsed
10/23/2022 2:57:36 PM=>Info - Call callingService Method
10/23/2022 2:57:36 PM=>Info:- Call Both
10/23/2022 2:57:36 PM=>Info:- Start Executing SMS Method
10/23/2022 2:57:36 PM=>Info:- End Executing SMS Method
10/23/2022 2:57:36 PM=>Info:- Start Mailing Method
10/23/2022 2:57:36 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:57:36 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:57:36 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:57:36 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:57:36 PM=>Info:- Count = 1
10/23/2022 2:57:36 PM=>Info:- Count 1
10/23/2022 2:57:36 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:57:36 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:57:36 PM=>Info:- Start SenMail Method
10/23/2022 2:57:36 PM=>UseDefaultCredentials
10/23/2022 2:57:36 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:57:36 PM=>EnableSsl = true
10/23/2022 2:57:36 PM=>DeliveryMethod
10/23/2022 2:57:36 PM=>Before Send
10/23/2022 2:57:45 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 2:57:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 2:57:45 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 2:57:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 2:57:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 2:57:46 PM=>Info:- END Mailing Method
10/23/2022 2:57:46 PM=>Info:- Start Executing Telegram Method
10/23/2022 2:57:46 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 2:57:46 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 2:57:46 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 2:57:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 2:57:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 2:57:46 PM=>Info - End of callingService Method
10/23/2022 2:59:46 PM=>Info - Check time Elapsed
10/23/2022 2:59:46 PM=>Info - Call callingService Method
10/23/2022 2:59:46 PM=>Info:- Call Both
10/23/2022 2:59:46 PM=>Info:- Start Executing SMS Method
10/23/2022 2:59:46 PM=>Info:- End Executing SMS Method
10/23/2022 2:59:46 PM=>Info:- Start Mailing Method
10/23/2022 2:59:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 2:59:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 2:59:46 PM=>Info:- PendingMail.xml file read to list
10/23/2022 2:59:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 2:59:46 PM=>Info:- Count = 1
10/23/2022 2:59:46 PM=>Info:- Count 1
10/23/2022 2:59:46 PM=>Info - Fetching Data From MAIL XML
10/23/2022 2:59:46 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 2:59:46 PM=>Info:- Start SenMail Method
10/23/2022 2:59:46 PM=>UseDefaultCredentials
10/23/2022 2:59:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 2:59:46 PM=>EnableSsl = true
10/23/2022 2:59:46 PM=>DeliveryMethod
10/23/2022 2:59:46 PM=>Before Send
10/23/2022 3:01:10 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:01:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:01:10 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:01:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:01:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:01:10 PM=>Info:- END Mailing Method
10/23/2022 3:01:10 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:01:10 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:01:10 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:01:10 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:01:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:01:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:01:10 PM=>Info - End of callingService Method
10/23/2022 3:03:10 PM=>Info - Check time Elapsed
10/23/2022 3:03:10 PM=>Info - Call callingService Method
10/23/2022 3:03:10 PM=>Info:- Call Both
10/23/2022 3:03:10 PM=>Info:- Start Executing SMS Method
10/23/2022 3:03:10 PM=>Info:- End Executing SMS Method
10/23/2022 3:03:10 PM=>Info:- Start Mailing Method
10/23/2022 3:03:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:03:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:03:10 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:03:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:03:10 PM=>Info:- Count = 1
10/23/2022 3:03:10 PM=>Info:- Count 1
10/23/2022 3:03:10 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:03:10 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:03:10 PM=>Info:- Start SenMail Method
10/23/2022 3:03:10 PM=>UseDefaultCredentials
10/23/2022 3:03:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:03:10 PM=>EnableSsl = true
10/23/2022 3:03:10 PM=>DeliveryMethod
10/23/2022 3:03:10 PM=>Before Send
10/23/2022 3:03:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:03:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:03:40 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:03:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:03:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:03:41 PM=>Info:- END Mailing Method
10/23/2022 3:03:41 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:03:41 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:03:41 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:03:41 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:03:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:03:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:03:41 PM=>Info - End of callingService Method
10/23/2022 3:05:41 PM=>Info - Check time Elapsed
10/23/2022 3:05:41 PM=>Info - Call callingService Method
10/23/2022 3:05:41 PM=>Info:- Call Both
10/23/2022 3:05:41 PM=>Info:- Start Executing SMS Method
10/23/2022 3:05:41 PM=>Info:- End Executing SMS Method
10/23/2022 3:05:41 PM=>Info:- Start Mailing Method
10/23/2022 3:05:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:05:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:05:41 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:05:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:05:41 PM=>Info:- Count = 1
10/23/2022 3:05:41 PM=>Info:- Count 1
10/23/2022 3:05:41 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:05:41 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:05:41 PM=>Info:- Start SenMail Method
10/23/2022 3:05:41 PM=>UseDefaultCredentials
10/23/2022 3:05:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:05:41 PM=>EnableSsl = true
10/23/2022 3:05:41 PM=>DeliveryMethod
10/23/2022 3:05:41 PM=>Before Send
10/23/2022 3:05:50 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:05:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:05:50 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:05:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:05:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:05:50 PM=>Info:- END Mailing Method
10/23/2022 3:05:50 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:05:50 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:05:50 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:05:50 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:05:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:05:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:05:50 PM=>Info - End of callingService Method
10/23/2022 3:07:50 PM=>Info - Check time Elapsed
10/23/2022 3:07:50 PM=>Info - Call callingService Method
10/23/2022 3:07:50 PM=>Info:- Call Both
10/23/2022 3:07:50 PM=>Info:- Start Executing SMS Method
10/23/2022 3:07:50 PM=>Info:- End Executing SMS Method
10/23/2022 3:07:50 PM=>Info:- Start Mailing Method
10/23/2022 3:07:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:07:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:07:50 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:07:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:07:50 PM=>Info:- Count = 1
10/23/2022 3:07:50 PM=>Info:- Count 1
10/23/2022 3:07:50 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:07:50 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:07:50 PM=>Info:- Start SenMail Method
10/23/2022 3:07:50 PM=>UseDefaultCredentials
10/23/2022 3:07:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:07:50 PM=>EnableSsl = true
10/23/2022 3:07:50 PM=>DeliveryMethod
10/23/2022 3:07:50 PM=>Before Send
10/23/2022 3:07:53 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:07:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:07:53 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:07:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:07:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:07:53 PM=>Info:- END Mailing Method
10/23/2022 3:07:53 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:07:53 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:07:53 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:07:53 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:07:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:07:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:07:53 PM=>Info - End of callingService Method
10/23/2022 3:09:54 PM=>Info - Check time Elapsed
10/23/2022 3:09:54 PM=>Info - Call callingService Method
10/23/2022 3:09:54 PM=>Info:- Call Both
10/23/2022 3:09:54 PM=>Info:- Start Executing SMS Method
10/23/2022 3:09:54 PM=>Info:- End Executing SMS Method
10/23/2022 3:09:54 PM=>Info:- Start Mailing Method
10/23/2022 3:09:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:09:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:09:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:09:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:09:54 PM=>Info:- Count = 1
10/23/2022 3:09:54 PM=>Info:- Count 1
10/23/2022 3:09:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:09:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:09:54 PM=>Info:- Start SenMail Method
10/23/2022 3:09:54 PM=>UseDefaultCredentials
10/23/2022 3:09:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:09:54 PM=>EnableSsl = true
10/23/2022 3:09:54 PM=>DeliveryMethod
10/23/2022 3:09:54 PM=>Before Send
10/23/2022 3:10:03 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:10:03 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:10:03 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:10:03 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:10:03 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:10:03 PM=>Info:- END Mailing Method
10/23/2022 3:10:03 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:10:03 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:10:03 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:10:03 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:10:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:10:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:10:03 PM=>Info - End of callingService Method
10/23/2022 3:12:03 PM=>Info - Check time Elapsed
10/23/2022 3:12:03 PM=>Info - Call callingService Method
10/23/2022 3:12:03 PM=>Info:- Call Both
10/23/2022 3:12:03 PM=>Info:- Start Executing SMS Method
10/23/2022 3:12:03 PM=>Info:- End Executing SMS Method
10/23/2022 3:12:03 PM=>Info:- Start Mailing Method
10/23/2022 3:12:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:12:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:12:03 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:12:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:12:03 PM=>Info:- Count = 1
10/23/2022 3:12:03 PM=>Info:- Count 1
10/23/2022 3:12:03 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:12:03 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:12:03 PM=>Info:- Start SenMail Method
10/23/2022 3:12:03 PM=>UseDefaultCredentials
10/23/2022 3:12:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:12:03 PM=>EnableSsl = true
10/23/2022 3:12:03 PM=>DeliveryMethod
10/23/2022 3:12:03 PM=>Before Send
10/23/2022 3:12:12 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:12:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:12:12 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:12:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:12:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:12:12 PM=>Info:- END Mailing Method
10/23/2022 3:12:12 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:12:12 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:12:12 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:12:12 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:12:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:12:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:12:12 PM=>Info - End of callingService Method
10/23/2022 3:14:12 PM=>Info - Check time Elapsed
10/23/2022 3:14:12 PM=>Info - Call callingService Method
10/23/2022 3:14:12 PM=>Info:- Call Both
10/23/2022 3:14:12 PM=>Info:- Start Executing SMS Method
10/23/2022 3:14:12 PM=>Info:- End Executing SMS Method
10/23/2022 3:14:12 PM=>Info:- Start Mailing Method
10/23/2022 3:14:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:14:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:14:12 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:14:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:14:12 PM=>Info:- Count = 1
10/23/2022 3:14:12 PM=>Info:- Count 1
10/23/2022 3:14:12 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:14:12 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:14:12 PM=>Info:- Start SenMail Method
10/23/2022 3:14:12 PM=>UseDefaultCredentials
10/23/2022 3:14:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:14:12 PM=>EnableSsl = true
10/23/2022 3:14:12 PM=>DeliveryMethod
10/23/2022 3:14:12 PM=>Before Send
10/23/2022 3:14:21 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:14:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:14:21 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:14:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:14:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:14:22 PM=>Info:- END Mailing Method
10/23/2022 3:14:22 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:14:22 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:14:22 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:14:22 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:14:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:14:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:14:22 PM=>Info - End of callingService Method
10/23/2022 3:16:22 PM=>Info - Check time Elapsed
10/23/2022 3:16:22 PM=>Info - Call callingService Method
10/23/2022 3:16:22 PM=>Info:- Call Both
10/23/2022 3:16:22 PM=>Info:- Start Executing SMS Method
10/23/2022 3:16:22 PM=>Info:- End Executing SMS Method
10/23/2022 3:16:22 PM=>Info:- Start Mailing Method
10/23/2022 3:16:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:16:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:16:22 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:16:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:16:22 PM=>Info:- Count = 1
10/23/2022 3:16:22 PM=>Info:- Count 1
10/23/2022 3:16:22 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:16:22 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:16:22 PM=>Info:- Start SenMail Method
10/23/2022 3:16:22 PM=>UseDefaultCredentials
10/23/2022 3:16:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:16:22 PM=>EnableSsl = true
10/23/2022 3:16:22 PM=>DeliveryMethod
10/23/2022 3:16:22 PM=>Before Send
10/23/2022 3:17:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.32.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:17:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:17:46 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:17:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:17:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:17:46 PM=>Info:- END Mailing Method
10/23/2022 3:17:46 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:17:46 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:17:46 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:17:46 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:17:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:17:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:17:46 PM=>Info - End of callingService Method
10/23/2022 3:19:46 PM=>Info - Check time Elapsed
10/23/2022 3:19:46 PM=>Info - Call callingService Method
10/23/2022 3:19:46 PM=>Info:- Call Both
10/23/2022 3:19:46 PM=>Info:- Start Executing SMS Method
10/23/2022 3:19:46 PM=>Info:- End Executing SMS Method
10/23/2022 3:19:46 PM=>Info:- Start Mailing Method
10/23/2022 3:19:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:19:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:19:46 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:19:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:19:46 PM=>Info:- Count = 1
10/23/2022 3:19:46 PM=>Info:- Count 1
10/23/2022 3:19:46 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:19:46 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:19:46 PM=>Info:- Start SenMail Method
10/23/2022 3:19:46 PM=>UseDefaultCredentials
10/23/2022 3:19:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:19:46 PM=>EnableSsl = true
10/23/2022 3:19:46 PM=>DeliveryMethod
10/23/2022 3:19:46 PM=>Before Send
10/23/2022 3:21:10 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.188.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:21:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:21:11 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:21:11 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:21:11 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:21:11 PM=>Info:- END Mailing Method
10/23/2022 3:21:11 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:21:11 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:21:11 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:21:11 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:21:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:21:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:21:11 PM=>Info - End of callingService Method
10/23/2022 3:23:11 PM=>Info - Check time Elapsed
10/23/2022 3:23:11 PM=>Info - Call callingService Method
10/23/2022 3:23:11 PM=>Info:- Call Both
10/23/2022 3:23:11 PM=>Info:- Start Executing SMS Method
10/23/2022 3:23:11 PM=>Info:- End Executing SMS Method
10/23/2022 3:23:11 PM=>Info:- Start Mailing Method
10/23/2022 3:23:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:23:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:23:11 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:23:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:23:11 PM=>Info:- Count = 1
10/23/2022 3:23:11 PM=>Info:- Count 1
10/23/2022 3:23:11 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:23:11 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:23:11 PM=>Info:- Start SenMail Method
10/23/2022 3:23:11 PM=>UseDefaultCredentials
10/23/2022 3:23:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:23:11 PM=>EnableSsl = true
10/23/2022 3:23:11 PM=>DeliveryMethod
10/23/2022 3:23:11 PM=>Before Send
10/23/2022 3:24:02 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:24:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:24:02 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:24:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:24:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:24:02 PM=>Info:- END Mailing Method
10/23/2022 3:24:02 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:24:02 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:24:02 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:24:02 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:24:02 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:24:02 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:24:02 PM=>Info - End of callingService Method
10/23/2022 3:26:02 PM=>Info - Check time Elapsed
10/23/2022 3:26:02 PM=>Info - Call callingService Method
10/23/2022 3:26:02 PM=>Info:- Call Both
10/23/2022 3:26:02 PM=>Info:- Start Executing SMS Method
10/23/2022 3:26:02 PM=>Info:- End Executing SMS Method
10/23/2022 3:26:02 PM=>Info:- Start Mailing Method
10/23/2022 3:26:02 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:26:02 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:26:02 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:26:02 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:26:02 PM=>Info:- Count = 1
10/23/2022 3:26:02 PM=>Info:- Count 1
10/23/2022 3:26:02 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:26:02 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:26:02 PM=>Info:- Start SenMail Method
10/23/2022 3:26:02 PM=>UseDefaultCredentials
10/23/2022 3:26:02 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:26:02 PM=>EnableSsl = true
10/23/2022 3:26:02 PM=>DeliveryMethod
10/23/2022 3:26:02 PM=>Before Send
10/23/2022 3:26:02 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:26:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:26:02 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:26:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:26:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:26:03 PM=>Info:- END Mailing Method
10/23/2022 3:26:03 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:26:03 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:26:03 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:26:03 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:26:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:26:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:26:03 PM=>Info - End of callingService Method
10/23/2022 3:28:03 PM=>Info - Check time Elapsed
10/23/2022 3:28:03 PM=>Info - Call callingService Method
10/23/2022 3:28:03 PM=>Info:- Call Both
10/23/2022 3:28:03 PM=>Info:- Start Executing SMS Method
10/23/2022 3:28:03 PM=>Info:- End Executing SMS Method
10/23/2022 3:28:03 PM=>Info:- Start Mailing Method
10/23/2022 3:28:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:28:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:28:03 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:28:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:28:03 PM=>Info:- Count = 1
10/23/2022 3:28:03 PM=>Info:- Count 1
10/23/2022 3:28:03 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:28:03 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:28:03 PM=>Info:- Start SenMail Method
10/23/2022 3:28:03 PM=>UseDefaultCredentials
10/23/2022 3:28:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:28:03 PM=>EnableSsl = true
10/23/2022 3:28:03 PM=>DeliveryMethod
10/23/2022 3:28:03 PM=>Before Send
10/23/2022 3:29:27 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.188.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:29:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:29:27 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:29:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:29:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:29:27 PM=>Info:- END Mailing Method
10/23/2022 3:29:27 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:29:27 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:29:27 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:29:27 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:29:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:29:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:29:27 PM=>Info - End of callingService Method
10/23/2022 3:31:27 PM=>Info - Check time Elapsed
10/23/2022 3:31:27 PM=>Info - Call callingService Method
10/23/2022 3:31:27 PM=>Info:- Call Both
10/23/2022 3:31:27 PM=>Info:- Start Executing SMS Method
10/23/2022 3:31:27 PM=>Info:- End Executing SMS Method
10/23/2022 3:31:27 PM=>Info:- Start Mailing Method
10/23/2022 3:31:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:31:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:31:27 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:31:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:31:27 PM=>Info:- Count = 3
10/23/2022 3:31:27 PM=>Info:- Count 3
10/23/2022 3:31:27 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:31:27 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:31:27 PM=>Info:- Start SenMail Method
10/23/2022 3:31:27 PM=>UseDefaultCredentials
10/23/2022 3:31:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:31:27 PM=>EnableSsl = true
10/23/2022 3:31:27 PM=>DeliveryMethod
10/23/2022 3:31:27 PM=>Before Send
10/23/2022 3:32:51 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:32:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net,zylemsupport@sapl.net
10/23/2022 3:32:51 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:32:51 PM=>(SenMail)Failure sending mail Body :Bayer Importing Processes Completed
10/23/2022 3:32:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\ImportingEXE_END.xml
10/23/2022 3:32:52 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:32:52 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:32:52 PM=>Info:- Start SenMail Method
10/23/2022 3:32:52 PM=>UseDefaultCredentials
10/23/2022 3:32:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:32:52 PM=>EnableSsl = true
10/23/2022 3:32:52 PM=>DeliveryMethod
10/23/2022 3:32:52 PM=>Before Send
10/23/2022 3:34:16 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:34:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net,zylemsupport@sapl.net
10/23/2022 3:34:16 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:34:16 PM=>(SenMail)Failure sending mail Body :Bayer Importing Processes STARTED
10/23/2022 3:34:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\ImportingEXE_START.xml
10/23/2022 3:34:16 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:34:16 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:34:16 PM=>Info:- Start SenMail Method
10/23/2022 3:34:16 PM=>UseDefaultCredentials
10/23/2022 3:34:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:34:16 PM=>EnableSsl = true
10/23/2022 3:34:16 PM=>DeliveryMethod
10/23/2022 3:34:16 PM=>Before Send
10/23/2022 3:35:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.183.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:35:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:35:40 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:35:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:35:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:35:40 PM=>Info:- END Mailing Method
10/23/2022 3:35:40 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:35:40 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:35:40 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:35:40 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:35:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:35:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:35:40 PM=>Info - End of callingService Method
10/23/2022 3:37:40 PM=>Info - Check time Elapsed
10/23/2022 3:37:40 PM=>Info - Call callingService Method
10/23/2022 3:37:40 PM=>Info:- Call Both
10/23/2022 3:37:40 PM=>Info:- Start Executing SMS Method
10/23/2022 3:37:40 PM=>Info:- End Executing SMS Method
10/23/2022 3:37:40 PM=>Info:- Start Mailing Method
10/23/2022 3:37:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:37:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:37:40 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:37:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:37:40 PM=>Info:- Count = 1
10/23/2022 3:37:40 PM=>Info:- Count 1
10/23/2022 3:37:40 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:37:40 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:37:40 PM=>Info:- Start SenMail Method
10/23/2022 3:37:40 PM=>UseDefaultCredentials
10/23/2022 3:37:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:37:40 PM=>EnableSsl = true
10/23/2022 3:37:40 PM=>DeliveryMethod
10/23/2022 3:37:40 PM=>Before Send
10/23/2022 3:37:43 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:37:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:37:44 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:37:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:37:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:37:44 PM=>Info:- END Mailing Method
10/23/2022 3:37:44 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:37:44 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:37:44 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:37:44 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:37:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:37:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:37:44 PM=>Info - End of callingService Method
10/23/2022 3:39:44 PM=>Info - Check time Elapsed
10/23/2022 3:39:44 PM=>Info - Call callingService Method
10/23/2022 3:39:44 PM=>Info:- Call Both
10/23/2022 3:39:44 PM=>Info:- Start Executing SMS Method
10/23/2022 3:39:44 PM=>Info:- End Executing SMS Method
10/23/2022 3:39:44 PM=>Info:- Start Mailing Method
10/23/2022 3:39:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:39:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:39:44 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:39:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:39:44 PM=>Info:- Count = 1
10/23/2022 3:39:44 PM=>Info:- Count 1
10/23/2022 3:39:44 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:39:44 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:39:44 PM=>Info:- Start SenMail Method
10/23/2022 3:39:44 PM=>UseDefaultCredentials
10/23/2022 3:39:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:39:44 PM=>EnableSsl = true
10/23/2022 3:39:44 PM=>DeliveryMethod
10/23/2022 3:39:44 PM=>Before Send
10/23/2022 3:39:53 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:39:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:39:53 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:39:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:39:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:39:53 PM=>Info:- END Mailing Method
10/23/2022 3:39:53 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:39:53 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:39:53 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:39:53 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:39:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:39:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:39:53 PM=>Info - End of callingService Method
10/23/2022 3:41:53 PM=>Info - Check time Elapsed
10/23/2022 3:41:53 PM=>Info - Call callingService Method
10/23/2022 3:41:53 PM=>Info:- Call Both
10/23/2022 3:41:53 PM=>Info:- Start Executing SMS Method
10/23/2022 3:41:53 PM=>Info:- End Executing SMS Method
10/23/2022 3:41:53 PM=>Info:- Start Mailing Method
10/23/2022 3:41:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:41:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:41:53 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:41:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:41:53 PM=>Info:- Count = 1
10/23/2022 3:41:53 PM=>Info:- Count 1
10/23/2022 3:41:53 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:41:53 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:41:53 PM=>Info:- Start SenMail Method
10/23/2022 3:41:53 PM=>UseDefaultCredentials
10/23/2022 3:41:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:41:53 PM=>EnableSsl = true
10/23/2022 3:41:53 PM=>DeliveryMethod
10/23/2022 3:41:53 PM=>Before Send
10/23/2022 3:42:56 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:42:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:42:56 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:42:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:42:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:42:57 PM=>Info:- END Mailing Method
10/23/2022 3:42:57 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:42:57 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:42:57 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:42:57 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:42:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:42:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:42:57 PM=>Info - End of callingService Method
10/23/2022 3:44:57 PM=>Info - Check time Elapsed
10/23/2022 3:44:57 PM=>Info - Call callingService Method
10/23/2022 3:44:57 PM=>Info:- Call Both
10/23/2022 3:44:57 PM=>Info:- Start Executing SMS Method
10/23/2022 3:44:57 PM=>Info:- End Executing SMS Method
10/23/2022 3:44:57 PM=>Info:- Start Mailing Method
10/23/2022 3:44:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:44:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:44:57 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:44:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:44:57 PM=>Info:- Count = 1
10/23/2022 3:44:57 PM=>Info:- Count 1
10/23/2022 3:44:57 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:44:57 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:44:57 PM=>Info:- Start SenMail Method
10/23/2022 3:44:57 PM=>UseDefaultCredentials
10/23/2022 3:44:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:44:57 PM=>EnableSsl = true
10/23/2022 3:44:57 PM=>DeliveryMethod
10/23/2022 3:44:57 PM=>Before Send
10/23/2022 3:46:21 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.183.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:46:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:46:21 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:46:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:46:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:46:21 PM=>Info:- END Mailing Method
10/23/2022 3:46:21 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:46:21 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:46:21 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:46:21 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:46:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:46:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:46:21 PM=>Info - End of callingService Method
10/23/2022 3:48:21 PM=>Info - Check time Elapsed
10/23/2022 3:48:21 PM=>Info - Call callingService Method
10/23/2022 3:48:21 PM=>Info:- Call Both
10/23/2022 3:48:21 PM=>Info:- Start Executing SMS Method
10/23/2022 3:48:21 PM=>Info:- End Executing SMS Method
10/23/2022 3:48:21 PM=>Info:- Start Mailing Method
10/23/2022 3:48:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:48:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:48:21 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:48:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:48:21 PM=>Info:- Count = 1
10/23/2022 3:48:21 PM=>Info:- Count 1
10/23/2022 3:48:21 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:48:21 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:48:21 PM=>Info:- Start SenMail Method
10/23/2022 3:48:21 PM=>UseDefaultCredentials
10/23/2022 3:48:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:48:21 PM=>EnableSsl = true
10/23/2022 3:48:21 PM=>DeliveryMethod
10/23/2022 3:48:21 PM=>Before Send
10/23/2022 3:48:30 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:48:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:48:30 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:48:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:48:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:48:31 PM=>Info:- END Mailing Method
10/23/2022 3:48:31 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:48:31 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:48:31 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:48:31 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:48:31 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:48:31 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:48:31 PM=>Info - End of callingService Method
10/23/2022 3:50:31 PM=>Info - Check time Elapsed
10/23/2022 3:50:31 PM=>Info - Call callingService Method
10/23/2022 3:50:31 PM=>Info:- Call Both
10/23/2022 3:50:31 PM=>Info:- Start Executing SMS Method
10/23/2022 3:50:31 PM=>Info:- End Executing SMS Method
10/23/2022 3:50:31 PM=>Info:- Start Mailing Method
10/23/2022 3:50:31 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:50:31 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:50:31 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:50:31 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:50:31 PM=>Info:- Count = 1
10/23/2022 3:50:31 PM=>Info:- Count 1
10/23/2022 3:50:31 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:50:31 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:50:31 PM=>Info:- Start SenMail Method
10/23/2022 3:50:31 PM=>UseDefaultCredentials
10/23/2022 3:50:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:50:31 PM=>EnableSsl = true
10/23/2022 3:50:31 PM=>DeliveryMethod
10/23/2022 3:50:31 PM=>Before Send
10/23/2022 3:50:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:50:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:50:40 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:50:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:50:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:50:40 PM=>Info:- END Mailing Method
10/23/2022 3:50:40 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:50:40 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:50:40 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:50:40 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:50:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:50:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:50:40 PM=>Info - End of callingService Method
10/23/2022 3:52:40 PM=>Info - Check time Elapsed
10/23/2022 3:52:40 PM=>Info - Call callingService Method
10/23/2022 3:52:40 PM=>Info:- Call Both
10/23/2022 3:52:40 PM=>Info:- Start Executing SMS Method
10/23/2022 3:52:40 PM=>Info:- End Executing SMS Method
10/23/2022 3:52:40 PM=>Info:- Start Mailing Method
10/23/2022 3:52:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:52:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:52:40 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:52:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:52:40 PM=>Info:- Count = 1
10/23/2022 3:52:40 PM=>Info:- Count 1
10/23/2022 3:52:40 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:52:40 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:52:40 PM=>Info:- Start SenMail Method
10/23/2022 3:52:40 PM=>UseDefaultCredentials
10/23/2022 3:52:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:52:40 PM=>EnableSsl = true
10/23/2022 3:52:40 PM=>DeliveryMethod
10/23/2022 3:52:40 PM=>Before Send
10/23/2022 3:54:04 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:54:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:54:04 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:54:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:54:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:54:04 PM=>Info:- END Mailing Method
10/23/2022 3:54:05 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:54:05 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:54:05 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:54:05 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:54:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:54:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:54:05 PM=>Info - End of callingService Method
10/23/2022 3:56:05 PM=>Info - Check time Elapsed
10/23/2022 3:56:05 PM=>Info - Call callingService Method
10/23/2022 3:56:05 PM=>Info:- Call Both
10/23/2022 3:56:05 PM=>Info:- Start Executing SMS Method
10/23/2022 3:56:05 PM=>Info:- End Executing SMS Method
10/23/2022 3:56:05 PM=>Info:- Start Mailing Method
10/23/2022 3:56:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:56:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:56:05 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:56:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:56:05 PM=>Info:- Count = 1
10/23/2022 3:56:05 PM=>Info:- Count 1
10/23/2022 3:56:05 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:56:05 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:56:05 PM=>Info:- Start SenMail Method
10/23/2022 3:56:05 PM=>UseDefaultCredentials
10/23/2022 3:56:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:56:05 PM=>EnableSsl = true
10/23/2022 3:56:05 PM=>DeliveryMethod
10/23/2022 3:56:05 PM=>Before Send
10/23/2022 3:57:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.69.50:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:57:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:57:29 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:57:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:57:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:57:29 PM=>Info:- END Mailing Method
10/23/2022 3:57:29 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:57:29 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:57:29 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:57:29 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:57:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:57:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:57:29 PM=>Info - End of callingService Method
10/23/2022 3:59:29 PM=>Info - Check time Elapsed
10/23/2022 3:59:29 PM=>Info - Call callingService Method
10/23/2022 3:59:29 PM=>Info:- Call Both
10/23/2022 3:59:29 PM=>Info:- Start Executing SMS Method
10/23/2022 3:59:29 PM=>Info:- End Executing SMS Method
10/23/2022 3:59:29 PM=>Info:- Start Mailing Method
10/23/2022 3:59:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 3:59:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 3:59:29 PM=>Info:- PendingMail.xml file read to list
10/23/2022 3:59:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 3:59:29 PM=>Info:- Count = 1
10/23/2022 3:59:29 PM=>Info:- Count 1
10/23/2022 3:59:29 PM=>Info - Fetching Data From MAIL XML
10/23/2022 3:59:29 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 3:59:29 PM=>Info:- Start SenMail Method
10/23/2022 3:59:29 PM=>UseDefaultCredentials
10/23/2022 3:59:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 3:59:29 PM=>EnableSsl = true
10/23/2022 3:59:29 PM=>DeliveryMethod
10/23/2022 3:59:29 PM=>Before Send
10/23/2022 3:59:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 3:59:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 3:59:29 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 3:59:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 3:59:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 3:59:29 PM=>Info:- END Mailing Method
10/23/2022 3:59:29 PM=>Info:- Start Executing Telegram Method
10/23/2022 3:59:29 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 3:59:29 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 3:59:29 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 3:59:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 3:59:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 3:59:29 PM=>Info - End of callingService Method
10/23/2022 4:01:29 PM=>Info - Check time Elapsed
10/23/2022 4:01:29 PM=>Info - Call callingService Method
10/23/2022 4:01:29 PM=>Info:- Call Both
10/23/2022 4:01:29 PM=>Info:- Start Executing SMS Method
10/23/2022 4:01:29 PM=>Info:- End Executing SMS Method
10/23/2022 4:01:29 PM=>Info:- Start Mailing Method
10/23/2022 4:01:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:01:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:01:29 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:01:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:01:29 PM=>Info:- Count = 1
10/23/2022 4:01:29 PM=>Info:- Count 1
10/23/2022 4:01:29 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:01:29 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:01:29 PM=>Info:- Start SenMail Method
10/23/2022 4:01:29 PM=>UseDefaultCredentials
10/23/2022 4:01:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:01:29 PM=>EnableSsl = true
10/23/2022 4:01:29 PM=>DeliveryMethod
10/23/2022 4:01:29 PM=>Before Send
10/23/2022 4:01:30 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:01:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:01:30 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:01:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:01:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:01:30 PM=>Info:- END Mailing Method
10/23/2022 4:01:30 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:01:30 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:01:30 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:01:30 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:01:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:01:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:01:30 PM=>Info - End of callingService Method
10/23/2022 4:03:30 PM=>Info - Check time Elapsed
10/23/2022 4:03:30 PM=>Info - Call callingService Method
10/23/2022 4:03:30 PM=>Info:- Call Both
10/23/2022 4:03:30 PM=>Info:- Start Executing SMS Method
10/23/2022 4:03:30 PM=>Info:- End Executing SMS Method
10/23/2022 4:03:30 PM=>Info:- Start Mailing Method
10/23/2022 4:03:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:03:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:03:30 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:03:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:03:30 PM=>Info:- Count = 1
10/23/2022 4:03:30 PM=>Info:- Count 1
10/23/2022 4:03:30 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:03:30 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:03:30 PM=>Info:- Start SenMail Method
10/23/2022 4:03:30 PM=>UseDefaultCredentials
10/23/2022 4:03:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:03:30 PM=>EnableSsl = true
10/23/2022 4:03:30 PM=>DeliveryMethod
10/23/2022 4:03:30 PM=>Before Send
10/23/2022 4:04:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.69.50:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:04:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:04:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:04:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:04:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:04:54 PM=>Info:- END Mailing Method
10/23/2022 4:04:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:04:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:04:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:04:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:04:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:04:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:04:54 PM=>Info - End of callingService Method
10/23/2022 4:06:54 PM=>Info - Check time Elapsed
10/23/2022 4:06:54 PM=>Info - Call callingService Method
10/23/2022 4:06:54 PM=>Info:- Call Both
10/23/2022 4:06:54 PM=>Info:- Start Executing SMS Method
10/23/2022 4:06:54 PM=>Info:- End Executing SMS Method
10/23/2022 4:06:54 PM=>Info:- Start Mailing Method
10/23/2022 4:06:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:06:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:06:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:06:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:06:54 PM=>Info:- Count = 1
10/23/2022 4:06:54 PM=>Info:- Count 1
10/23/2022 4:06:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:06:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:06:54 PM=>Info:- Start SenMail Method
10/23/2022 4:06:54 PM=>UseDefaultCredentials
10/23/2022 4:06:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:06:54 PM=>EnableSsl = true
10/23/2022 4:06:54 PM=>DeliveryMethod
10/23/2022 4:06:54 PM=>Before Send
10/23/2022 4:08:18 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.190.18:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:08:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:08:18 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:08:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:08:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:08:19 PM=>Info:- END Mailing Method
10/23/2022 4:08:19 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:08:19 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:08:19 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:08:19 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:08:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:08:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:08:19 PM=>Info - End of callingService Method
10/23/2022 4:10:19 PM=>Info - Check time Elapsed
10/23/2022 4:10:19 PM=>Info - Call callingService Method
10/23/2022 4:10:19 PM=>Info:- Call Both
10/23/2022 4:10:19 PM=>Info:- Start Executing SMS Method
10/23/2022 4:10:19 PM=>Info:- End Executing SMS Method
10/23/2022 4:10:19 PM=>Info:- Start Mailing Method
10/23/2022 4:10:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:10:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:10:19 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:10:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:10:19 PM=>Info:- Count = 1
10/23/2022 4:10:19 PM=>Info:- Count 1
10/23/2022 4:10:19 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:10:19 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:10:19 PM=>Info:- Start SenMail Method
10/23/2022 4:10:19 PM=>UseDefaultCredentials
10/23/2022 4:10:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:10:19 PM=>EnableSsl = true
10/23/2022 4:10:19 PM=>DeliveryMethod
10/23/2022 4:10:19 PM=>Before Send
10/23/2022 4:10:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:10:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:10:40 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:10:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:10:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:10:40 PM=>Info:- END Mailing Method
10/23/2022 4:10:40 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:10:40 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:10:40 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:10:40 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:10:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:10:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:10:40 PM=>Info - End of callingService Method
10/23/2022 4:12:40 PM=>Info - Check time Elapsed
10/23/2022 4:12:40 PM=>Info - Call callingService Method
10/23/2022 4:12:40 PM=>Info:- Call Both
10/23/2022 4:12:40 PM=>Info:- Start Executing SMS Method
10/23/2022 4:12:40 PM=>Info:- End Executing SMS Method
10/23/2022 4:12:40 PM=>Info:- Start Mailing Method
10/23/2022 4:12:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:12:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:12:40 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:12:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:12:40 PM=>Info:- Count = 1
10/23/2022 4:12:40 PM=>Info:- Count 1
10/23/2022 4:12:40 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:12:40 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:12:40 PM=>Info:- Start SenMail Method
10/23/2022 4:12:40 PM=>UseDefaultCredentials
10/23/2022 4:12:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:12:40 PM=>EnableSsl = true
10/23/2022 4:12:40 PM=>DeliveryMethod
10/23/2022 4:12:40 PM=>Before Send
10/23/2022 4:13:53 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:13:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:13:53 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:13:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:13:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:13:53 PM=>Info:- END Mailing Method
10/23/2022 4:13:53 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:13:53 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:13:53 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:13:53 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:13:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:13:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:13:53 PM=>Info - End of callingService Method
10/23/2022 4:15:53 PM=>Info - Check time Elapsed
10/23/2022 4:15:53 PM=>Info - Call callingService Method
10/23/2022 4:15:53 PM=>Info:- Call Both
10/23/2022 4:15:53 PM=>Info:- Start Executing SMS Method
10/23/2022 4:15:53 PM=>Info:- End Executing SMS Method
10/23/2022 4:15:53 PM=>Info:- Start Mailing Method
10/23/2022 4:15:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:15:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:15:53 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:15:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:15:53 PM=>Info:- Count = 1
10/23/2022 4:15:53 PM=>Info:- Count 1
10/23/2022 4:15:53 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:15:53 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:15:53 PM=>Info:- Start SenMail Method
10/23/2022 4:15:53 PM=>UseDefaultCredentials
10/23/2022 4:15:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:15:53 PM=>EnableSsl = true
10/23/2022 4:15:53 PM=>DeliveryMethod
10/23/2022 4:15:53 PM=>Before Send
10/23/2022 4:16:14 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:16:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:16:14 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:16:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:16:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:16:14 PM=>Info:- END Mailing Method
10/23/2022 4:16:14 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:16:14 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:16:14 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:16:14 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:16:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:16:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:16:14 PM=>Info - End of callingService Method
10/23/2022 4:18:14 PM=>Info - Check time Elapsed
10/23/2022 4:18:14 PM=>Info - Call callingService Method
10/23/2022 4:18:14 PM=>Info:- Call Both
10/23/2022 4:18:14 PM=>Info:- Start Executing SMS Method
10/23/2022 4:18:14 PM=>Info:- End Executing SMS Method
10/23/2022 4:18:14 PM=>Info:- Start Mailing Method
10/23/2022 4:18:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:18:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:18:14 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:18:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:18:14 PM=>Info:- Count = 1
10/23/2022 4:18:14 PM=>Info:- Count 1
10/23/2022 4:18:14 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:18:14 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:18:14 PM=>Info:- Start SenMail Method
10/23/2022 4:18:14 PM=>UseDefaultCredentials
10/23/2022 4:18:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:18:14 PM=>EnableSsl = true
10/23/2022 4:18:14 PM=>DeliveryMethod
10/23/2022 4:18:14 PM=>Before Send
10/23/2022 4:19:38 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.69.50:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:19:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:19:38 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:19:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:19:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:19:39 PM=>Info:- END Mailing Method
10/23/2022 4:19:39 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:19:39 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:19:39 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:19:39 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:19:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:19:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:19:39 PM=>Info - End of callingService Method
10/23/2022 4:21:39 PM=>Info - Check time Elapsed
10/23/2022 4:21:39 PM=>Info - Call callingService Method
10/23/2022 4:21:39 PM=>Info:- Call Both
10/23/2022 4:21:39 PM=>Info:- Start Executing SMS Method
10/23/2022 4:21:39 PM=>Info:- End Executing SMS Method
10/23/2022 4:21:39 PM=>Info:- Start Mailing Method
10/23/2022 4:21:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:21:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:21:39 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:21:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:21:39 PM=>Info:- Count = 1
10/23/2022 4:21:39 PM=>Info:- Count 1
10/23/2022 4:21:39 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:21:39 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:21:39 PM=>Info:- Start SenMail Method
10/23/2022 4:21:39 PM=>UseDefaultCredentials
10/23/2022 4:21:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:21:39 PM=>EnableSsl = true
10/23/2022 4:21:39 PM=>DeliveryMethod
10/23/2022 4:21:39 PM=>Before Send
10/23/2022 4:22:21 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:22:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:22:21 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:22:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:22:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:22:21 PM=>Info:- END Mailing Method
10/23/2022 4:22:21 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:22:21 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:22:21 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:22:21 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:22:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:22:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:22:21 PM=>Info - End of callingService Method
10/23/2022 4:24:21 PM=>Info - Check time Elapsed
10/23/2022 4:24:21 PM=>Info - Call callingService Method
10/23/2022 4:24:21 PM=>Info:- Call Both
10/23/2022 4:24:21 PM=>Info:- Start Executing SMS Method
10/23/2022 4:24:21 PM=>Info:- End Executing SMS Method
10/23/2022 4:24:21 PM=>Info:- Start Mailing Method
10/23/2022 4:24:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:24:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:24:21 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:24:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:24:21 PM=>Info:- Count = 1
10/23/2022 4:24:21 PM=>Info:- Count 1
10/23/2022 4:24:21 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:24:21 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:24:21 PM=>Info:- Start SenMail Method
10/23/2022 4:24:21 PM=>UseDefaultCredentials
10/23/2022 4:24:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:24:21 PM=>EnableSsl = true
10/23/2022 4:24:21 PM=>DeliveryMethod
10/23/2022 4:24:21 PM=>Before Send
10/23/2022 4:25:33 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:25:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:25:33 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:25:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:25:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:25:34 PM=>Info:- END Mailing Method
10/23/2022 4:25:34 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:25:34 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:25:34 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:25:34 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:25:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:25:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:25:34 PM=>Info - End of callingService Method
10/23/2022 4:27:34 PM=>Info - Check time Elapsed
10/23/2022 4:27:34 PM=>Info - Call callingService Method
10/23/2022 4:27:34 PM=>Info:- Call Both
10/23/2022 4:27:34 PM=>Info:- Start Executing SMS Method
10/23/2022 4:27:34 PM=>Info:- End Executing SMS Method
10/23/2022 4:27:34 PM=>Info:- Start Mailing Method
10/23/2022 4:27:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:27:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:27:34 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:27:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:27:34 PM=>Info:- Count = 1
10/23/2022 4:27:34 PM=>Info:- Count 1
10/23/2022 4:27:34 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:27:34 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:27:34 PM=>Info:- Start SenMail Method
10/23/2022 4:27:34 PM=>UseDefaultCredentials
10/23/2022 4:27:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:27:34 PM=>EnableSsl = true
10/23/2022 4:27:34 PM=>DeliveryMethod
10/23/2022 4:27:34 PM=>Before Send
10/23/2022 4:27:43 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:27:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:27:43 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:27:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:27:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:27:43 PM=>Info:- END Mailing Method
10/23/2022 4:27:43 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:27:43 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:27:43 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:27:43 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:27:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:27:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:27:43 PM=>Info - End of callingService Method
10/23/2022 4:29:43 PM=>Info - Check time Elapsed
10/23/2022 4:29:43 PM=>Info - Call callingService Method
10/23/2022 4:29:43 PM=>Info:- Call Both
10/23/2022 4:29:43 PM=>Info:- Start Executing SMS Method
10/23/2022 4:29:43 PM=>Info:- End Executing SMS Method
10/23/2022 4:29:43 PM=>Info:- Start Mailing Method
10/23/2022 4:29:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:29:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:29:43 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:29:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:29:43 PM=>Info:- Count = 1
10/23/2022 4:29:43 PM=>Info:- Count 1
10/23/2022 4:29:43 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:29:43 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:29:43 PM=>Info:- Start SenMail Method
10/23/2022 4:29:43 PM=>UseDefaultCredentials
10/23/2022 4:29:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:29:43 PM=>EnableSsl = true
10/23/2022 4:29:43 PM=>DeliveryMethod
10/23/2022 4:29:43 PM=>Before Send
10/23/2022 4:30:04 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:30:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:30:04 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:30:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:30:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:30:05 PM=>Info:- END Mailing Method
10/23/2022 4:30:05 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:30:05 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:30:05 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:30:05 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:30:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:30:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:30:05 PM=>Info - End of callingService Method
10/23/2022 4:32:05 PM=>Info - Check time Elapsed
10/23/2022 4:32:05 PM=>Info - Call callingService Method
10/23/2022 4:32:05 PM=>Info:- Call Both
10/23/2022 4:32:05 PM=>Info:- Start Executing SMS Method
10/23/2022 4:32:05 PM=>Info:- End Executing SMS Method
10/23/2022 4:32:05 PM=>Info:- Start Mailing Method
10/23/2022 4:32:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:32:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:32:05 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:32:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:32:05 PM=>Info:- Count = 1
10/23/2022 4:32:05 PM=>Info:- Count 1
10/23/2022 4:32:05 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:32:05 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:32:05 PM=>Info:- Start SenMail Method
10/23/2022 4:32:05 PM=>UseDefaultCredentials
10/23/2022 4:32:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:32:05 PM=>EnableSsl = true
10/23/2022 4:32:05 PM=>DeliveryMethod
10/23/2022 4:32:05 PM=>Before Send
10/23/2022 4:32:05 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:32:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:32:05 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:32:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:32:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:32:05 PM=>Info:- END Mailing Method
10/23/2022 4:32:05 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:32:05 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:32:05 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:32:05 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:32:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:32:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:32:05 PM=>Info - End of callingService Method
10/23/2022 4:34:05 PM=>Info - Check time Elapsed
10/23/2022 4:34:05 PM=>Info - Call callingService Method
10/23/2022 4:34:05 PM=>Info:- Call Both
10/23/2022 4:34:05 PM=>Info:- Start Executing SMS Method
10/23/2022 4:34:05 PM=>Info:- End Executing SMS Method
10/23/2022 4:34:05 PM=>Info:- Start Mailing Method
10/23/2022 4:34:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:34:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:34:05 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:34:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:34:05 PM=>Info:- Count = 1
10/23/2022 4:34:05 PM=>Info:- Count 1
10/23/2022 4:34:05 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:34:05 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:34:05 PM=>Info:- Start SenMail Method
10/23/2022 4:34:05 PM=>UseDefaultCredentials
10/23/2022 4:34:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:34:05 PM=>EnableSsl = true
10/23/2022 4:34:05 PM=>DeliveryMethod
10/23/2022 4:34:05 PM=>Before Send
10/23/2022 4:34:14 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:34:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:34:14 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:34:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:34:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:34:14 PM=>Info:- END Mailing Method
10/23/2022 4:34:14 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:34:14 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:34:14 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:34:14 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:34:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:34:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:34:14 PM=>Info - End of callingService Method
10/23/2022 4:36:14 PM=>Info - Check time Elapsed
10/23/2022 4:36:14 PM=>Info - Call callingService Method
10/23/2022 4:36:14 PM=>Info:- Call Both
10/23/2022 4:36:14 PM=>Info:- Start Executing SMS Method
10/23/2022 4:36:14 PM=>Info:- End Executing SMS Method
10/23/2022 4:36:14 PM=>Info:- Start Mailing Method
10/23/2022 4:36:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:36:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:36:14 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:36:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:36:14 PM=>Info:- Count = 1
10/23/2022 4:36:15 PM=>Info:- Count 1
10/23/2022 4:36:15 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:36:15 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:36:15 PM=>Info:- Start SenMail Method
10/23/2022 4:36:15 PM=>UseDefaultCredentials
10/23/2022 4:36:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:36:15 PM=>EnableSsl = true
10/23/2022 4:36:15 PM=>DeliveryMethod
10/23/2022 4:36:15 PM=>Before Send
10/23/2022 4:36:36 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:36:36 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:36:36 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:36:36 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:36:36 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:36:36 PM=>Info:- END Mailing Method
10/23/2022 4:36:36 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:36:36 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:36:36 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:36:36 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:36:36 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:36:36 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:36:36 PM=>Info - End of callingService Method
10/23/2022 4:38:36 PM=>Info - Check time Elapsed
10/23/2022 4:38:36 PM=>Info - Call callingService Method
10/23/2022 4:38:36 PM=>Info:- Call Both
10/23/2022 4:38:36 PM=>Info:- Start Executing SMS Method
10/23/2022 4:38:36 PM=>Info:- End Executing SMS Method
10/23/2022 4:38:36 PM=>Info:- Start Mailing Method
10/23/2022 4:38:36 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:38:36 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:38:36 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:38:36 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:38:36 PM=>Info:- Count = 1
10/23/2022 4:38:36 PM=>Info:- Count 1
10/23/2022 4:38:36 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:38:36 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:38:36 PM=>Info:- Start SenMail Method
10/23/2022 4:38:36 PM=>UseDefaultCredentials
10/23/2022 4:38:36 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:38:36 PM=>EnableSsl = true
10/23/2022 4:38:36 PM=>DeliveryMethod
10/23/2022 4:38:36 PM=>Before Send
10/23/2022 4:40:00 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:40:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:40:00 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:40:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:40:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:40:00 PM=>Info:- END Mailing Method
10/23/2022 4:40:00 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:40:00 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:40:00 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:40:00 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:40:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:40:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:40:00 PM=>Info - End of callingService Method
10/23/2022 4:42:00 PM=>Info - Check time Elapsed
10/23/2022 4:42:00 PM=>Info - Call callingService Method
10/23/2022 4:42:00 PM=>Info:- Call Both
10/23/2022 4:42:00 PM=>Info:- Start Executing SMS Method
10/23/2022 4:42:00 PM=>Info:- End Executing SMS Method
10/23/2022 4:42:00 PM=>Info:- Start Mailing Method
10/23/2022 4:42:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:42:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:42:00 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:42:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:42:00 PM=>Info:- Count = 1
10/23/2022 4:42:00 PM=>Info:- Count 1
10/23/2022 4:42:00 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:42:00 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:42:00 PM=>Info:- Start SenMail Method
10/23/2022 4:42:00 PM=>UseDefaultCredentials
10/23/2022 4:42:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:42:00 PM=>EnableSsl = true
10/23/2022 4:42:00 PM=>DeliveryMethod
10/23/2022 4:42:00 PM=>Before Send
10/23/2022 4:43:24 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:43:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:43:24 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:43:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:43:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:43:25 PM=>Info:- END Mailing Method
10/23/2022 4:43:25 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:43:25 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:43:25 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:43:25 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:43:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:43:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:43:25 PM=>Info - End of callingService Method
10/23/2022 4:45:25 PM=>Info - Check time Elapsed
10/23/2022 4:45:25 PM=>Info - Call callingService Method
10/23/2022 4:45:25 PM=>Info:- Call Both
10/23/2022 4:45:25 PM=>Info:- Start Executing SMS Method
10/23/2022 4:45:25 PM=>Info:- End Executing SMS Method
10/23/2022 4:45:25 PM=>Info:- Start Mailing Method
10/23/2022 4:45:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:45:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:45:25 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:45:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:45:25 PM=>Info:- Count = 1
10/23/2022 4:45:25 PM=>Info:- Count 1
10/23/2022 4:45:25 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:45:25 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:45:25 PM=>Info:- Start SenMail Method
10/23/2022 4:45:25 PM=>UseDefaultCredentials
10/23/2022 4:45:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:45:25 PM=>EnableSsl = true
10/23/2022 4:45:25 PM=>DeliveryMethod
10/23/2022 4:45:25 PM=>Before Send
10/23/2022 4:45:25 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:45:25 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:45:25 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:45:25 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:45:25 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:45:25 PM=>Info:- END Mailing Method
10/23/2022 4:45:25 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:45:25 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:45:25 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:45:25 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:45:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:45:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:45:25 PM=>Info - End of callingService Method
10/23/2022 4:47:25 PM=>Info - Check time Elapsed
10/23/2022 4:47:25 PM=>Info - Call callingService Method
10/23/2022 4:47:25 PM=>Info:- Call Both
10/23/2022 4:47:25 PM=>Info:- Start Executing SMS Method
10/23/2022 4:47:25 PM=>Info:- End Executing SMS Method
10/23/2022 4:47:25 PM=>Info:- Start Mailing Method
10/23/2022 4:47:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:47:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:47:25 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:47:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:47:25 PM=>Info:- Count = 1
10/23/2022 4:47:25 PM=>Info:- Count 1
10/23/2022 4:47:25 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:47:25 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:47:25 PM=>Info:- Start SenMail Method
10/23/2022 4:47:25 PM=>UseDefaultCredentials
10/23/2022 4:47:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:47:25 PM=>EnableSsl = true
10/23/2022 4:47:25 PM=>DeliveryMethod
10/23/2022 4:47:25 PM=>Before Send
10/23/2022 4:47:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:47:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:47:46 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:47:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:47:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:47:47 PM=>Info:- END Mailing Method
10/23/2022 4:47:47 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:47:47 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:47:47 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:47:47 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:47:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:47:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:47:47 PM=>Info - End of callingService Method
10/23/2022 4:49:47 PM=>Info - Check time Elapsed
10/23/2022 4:49:47 PM=>Info - Call callingService Method
10/23/2022 4:49:47 PM=>Info:- Call Both
10/23/2022 4:49:47 PM=>Info:- Start Executing SMS Method
10/23/2022 4:49:47 PM=>Info:- End Executing SMS Method
10/23/2022 4:49:47 PM=>Info:- Start Mailing Method
10/23/2022 4:49:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:49:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:49:47 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:49:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:49:47 PM=>Info:- Count = 1
10/23/2022 4:49:47 PM=>Info:- Count 1
10/23/2022 4:49:47 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:49:47 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:49:47 PM=>Info:- Start SenMail Method
10/23/2022 4:49:47 PM=>UseDefaultCredentials
10/23/2022 4:49:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:49:47 PM=>EnableSsl = true
10/23/2022 4:49:47 PM=>DeliveryMethod
10/23/2022 4:49:47 PM=>Before Send
10/23/2022 4:51:11 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.190.18:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:51:11 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:51:11 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:51:11 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:51:11 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:51:11 PM=>Info:- END Mailing Method
10/23/2022 4:51:11 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:51:11 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:51:11 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:51:11 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:51:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:51:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:51:11 PM=>Info - End of callingService Method
10/23/2022 4:53:11 PM=>Info - Check time Elapsed
10/23/2022 4:53:11 PM=>Info - Call callingService Method
10/23/2022 4:53:11 PM=>Info:- Call Both
10/23/2022 4:53:11 PM=>Info:- Start Executing SMS Method
10/23/2022 4:53:11 PM=>Info:- End Executing SMS Method
10/23/2022 4:53:11 PM=>Info:- Start Mailing Method
10/23/2022 4:53:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:53:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:53:11 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:53:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:53:11 PM=>Info:- Count = 1
10/23/2022 4:53:11 PM=>Info:- Count 1
10/23/2022 4:53:11 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:53:11 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:53:11 PM=>Info:- Start SenMail Method
10/23/2022 4:53:11 PM=>UseDefaultCredentials
10/23/2022 4:53:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:53:11 PM=>EnableSsl = true
10/23/2022 4:53:11 PM=>DeliveryMethod
10/23/2022 4:53:11 PM=>Before Send
10/23/2022 4:54:35 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.32.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:54:35 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:54:35 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:54:35 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:54:35 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:54:36 PM=>Info:- END Mailing Method
10/23/2022 4:54:36 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:54:36 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:54:36 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:54:36 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:54:36 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:54:36 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:54:36 PM=>Info - End of callingService Method
10/23/2022 4:56:36 PM=>Info - Check time Elapsed
10/23/2022 4:56:36 PM=>Info - Call callingService Method
10/23/2022 4:56:36 PM=>Info:- Call Both
10/23/2022 4:56:36 PM=>Info:- Start Executing SMS Method
10/23/2022 4:56:36 PM=>Info:- End Executing SMS Method
10/23/2022 4:56:36 PM=>Info:- Start Mailing Method
10/23/2022 4:56:36 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:56:36 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:56:36 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:56:36 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:56:36 PM=>Info:- Count = 1
10/23/2022 4:56:36 PM=>Info:- Count 1
10/23/2022 4:56:36 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:56:36 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:56:36 PM=>Info:- Start SenMail Method
10/23/2022 4:56:36 PM=>UseDefaultCredentials
10/23/2022 4:56:36 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:56:36 PM=>EnableSsl = true
10/23/2022 4:56:36 PM=>DeliveryMethod
10/23/2022 4:56:36 PM=>Before Send
10/23/2022 4:56:45 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:56:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:56:45 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:56:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:56:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:56:45 PM=>Info:- END Mailing Method
10/23/2022 4:56:45 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:56:45 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:56:45 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:56:45 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:56:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:56:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:56:45 PM=>Info - End of callingService Method
10/23/2022 4:58:45 PM=>Info - Check time Elapsed
10/23/2022 4:58:45 PM=>Info - Call callingService Method
10/23/2022 4:58:45 PM=>Info:- Call Both
10/23/2022 4:58:45 PM=>Info:- Start Executing SMS Method
10/23/2022 4:58:45 PM=>Info:- End Executing SMS Method
10/23/2022 4:58:45 PM=>Info:- Start Mailing Method
10/23/2022 4:58:45 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 4:58:45 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 4:58:45 PM=>Info:- PendingMail.xml file read to list
10/23/2022 4:58:45 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 4:58:45 PM=>Info:- Count = 1
10/23/2022 4:58:45 PM=>Info:- Count 1
10/23/2022 4:58:45 PM=>Info - Fetching Data From MAIL XML
10/23/2022 4:58:45 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 4:58:45 PM=>Info:- Start SenMail Method
10/23/2022 4:58:45 PM=>UseDefaultCredentials
10/23/2022 4:58:45 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 4:58:45 PM=>EnableSsl = true
10/23/2022 4:58:45 PM=>DeliveryMethod
10/23/2022 4:58:45 PM=>Before Send
10/23/2022 4:58:45 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 4:58:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 4:58:45 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 4:58:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 4:58:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 4:58:45 PM=>Info:- END Mailing Method
10/23/2022 4:58:45 PM=>Info:- Start Executing Telegram Method
10/23/2022 4:58:45 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 4:58:45 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 4:58:45 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 4:58:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 4:58:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 4:58:45 PM=>Info - End of callingService Method
10/23/2022 5:00:45 PM=>Info - Check time Elapsed
10/23/2022 5:00:45 PM=>Info - Call callingService Method
10/23/2022 5:00:45 PM=>Info:- Call Both
10/23/2022 5:00:45 PM=>Info:- Start Executing SMS Method
10/23/2022 5:00:45 PM=>Info:- End Executing SMS Method
10/23/2022 5:00:45 PM=>Info:- Start Mailing Method
10/23/2022 5:00:45 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:00:45 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:00:45 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:00:45 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:00:45 PM=>Info:- Count = 1
10/23/2022 5:00:45 PM=>Info:- Count 1
10/23/2022 5:00:45 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:00:46 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:00:46 PM=>Info:- Start SenMail Method
10/23/2022 5:00:46 PM=>UseDefaultCredentials
10/23/2022 5:00:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:00:46 PM=>EnableSsl = true
10/23/2022 5:00:46 PM=>DeliveryMethod
10/23/2022 5:00:46 PM=>Before Send
10/23/2022 5:00:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:00:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:00:46 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:00:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:00:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:00:46 PM=>Info:- END Mailing Method
10/23/2022 5:00:46 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:00:46 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:00:46 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:00:46 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:00:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:00:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:00:46 PM=>Info - End of callingService Method
10/23/2022 5:02:46 PM=>Info - Check time Elapsed
10/23/2022 5:02:46 PM=>Info - Call callingService Method
10/23/2022 5:02:46 PM=>Info:- Call Both
10/23/2022 5:02:46 PM=>Info:- Start Executing SMS Method
10/23/2022 5:02:46 PM=>Info:- End Executing SMS Method
10/23/2022 5:02:46 PM=>Info:- Start Mailing Method
10/23/2022 5:02:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:02:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:02:46 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:02:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:02:46 PM=>Info:- Count = 1
10/23/2022 5:02:46 PM=>Info:- Count 1
10/23/2022 5:02:46 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:02:46 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:02:46 PM=>Info:- Start SenMail Method
10/23/2022 5:02:46 PM=>UseDefaultCredentials
10/23/2022 5:02:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:02:46 PM=>EnableSsl = true
10/23/2022 5:02:46 PM=>DeliveryMethod
10/23/2022 5:02:46 PM=>Before Send
10/23/2022 5:02:55 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:02:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:02:55 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:02:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:02:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:02:55 PM=>Info:- END Mailing Method
10/23/2022 5:02:55 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:02:55 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:02:55 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:02:55 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:02:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:02:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:02:55 PM=>Info - End of callingService Method
10/23/2022 5:04:55 PM=>Info - Check time Elapsed
10/23/2022 5:04:55 PM=>Info - Call callingService Method
10/23/2022 5:04:55 PM=>Info:- Call Both
10/23/2022 5:04:55 PM=>Info:- Start Executing SMS Method
10/23/2022 5:04:55 PM=>Info:- End Executing SMS Method
10/23/2022 5:04:55 PM=>Info:- Start Mailing Method
10/23/2022 5:04:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:04:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:04:55 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:04:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:04:55 PM=>Info:- Count = 1
10/23/2022 5:04:55 PM=>Info:- Count 1
10/23/2022 5:04:55 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:04:55 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:04:55 PM=>Info:- Start SenMail Method
10/23/2022 5:04:55 PM=>UseDefaultCredentials
10/23/2022 5:04:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:04:55 PM=>EnableSsl = true
10/23/2022 5:04:55 PM=>DeliveryMethod
10/23/2022 5:04:55 PM=>Before Send
10/23/2022 5:05:04 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:05:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:05:04 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:05:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:05:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:05:05 PM=>Info:- END Mailing Method
10/23/2022 5:05:05 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:05:05 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:05:05 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:05:05 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:05:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:05:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:05:05 PM=>Info - End of callingService Method
10/23/2022 5:07:05 PM=>Info - Check time Elapsed
10/23/2022 5:07:05 PM=>Info - Call callingService Method
10/23/2022 5:07:05 PM=>Info:- Call Both
10/23/2022 5:07:05 PM=>Info:- Start Executing SMS Method
10/23/2022 5:07:05 PM=>Info:- End Executing SMS Method
10/23/2022 5:07:05 PM=>Info:- Start Mailing Method
10/23/2022 5:07:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:07:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:07:05 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:07:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:07:05 PM=>Info:- Count = 1
10/23/2022 5:07:05 PM=>Info:- Count 1
10/23/2022 5:07:05 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:07:05 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:07:05 PM=>Info:- Start SenMail Method
10/23/2022 5:07:05 PM=>UseDefaultCredentials
10/23/2022 5:07:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:07:05 PM=>EnableSsl = true
10/23/2022 5:07:05 PM=>DeliveryMethod
10/23/2022 5:07:05 PM=>Before Send
10/23/2022 5:07:26 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:07:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:07:26 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:07:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:07:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:07:26 PM=>Info:- END Mailing Method
10/23/2022 5:07:26 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:07:26 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:07:26 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:07:26 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:07:26 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:07:26 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:07:26 PM=>Info - End of callingService Method
10/23/2022 5:09:26 PM=>Info - Check time Elapsed
10/23/2022 5:09:26 PM=>Info - Call callingService Method
10/23/2022 5:09:26 PM=>Info:- Call Both
10/23/2022 5:09:26 PM=>Info:- Start Executing SMS Method
10/23/2022 5:09:26 PM=>Info:- End Executing SMS Method
10/23/2022 5:09:26 PM=>Info:- Start Mailing Method
10/23/2022 5:09:26 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:09:26 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:09:26 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:09:26 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:09:26 PM=>Info:- Count = 1
10/23/2022 5:09:26 PM=>Info:- Count 1
10/23/2022 5:09:26 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:09:26 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:09:26 PM=>Info:- Start SenMail Method
10/23/2022 5:09:26 PM=>UseDefaultCredentials
10/23/2022 5:09:26 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:09:26 PM=>EnableSsl = true
10/23/2022 5:09:26 PM=>DeliveryMethod
10/23/2022 5:09:26 PM=>Before Send
10/23/2022 5:09:26 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:09:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:09:26 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:09:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:09:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:09:26 PM=>Info:- END Mailing Method
10/23/2022 5:09:26 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:09:26 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:09:26 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:09:26 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:09:26 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:09:26 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:09:26 PM=>Info - End of callingService Method
10/23/2022 5:11:26 PM=>Info - Check time Elapsed
10/23/2022 5:11:26 PM=>Info - Call callingService Method
10/23/2022 5:11:26 PM=>Info:- Call Both
10/23/2022 5:11:27 PM=>Info:- Start Executing SMS Method
10/23/2022 5:11:27 PM=>Info:- End Executing SMS Method
10/23/2022 5:11:27 PM=>Info:- Start Mailing Method
10/23/2022 5:11:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:11:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:11:27 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:11:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:11:27 PM=>Info:- Count = 1
10/23/2022 5:11:27 PM=>Info:- Count 1
10/23/2022 5:11:27 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:11:27 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:11:27 PM=>Info:- Start SenMail Method
10/23/2022 5:11:27 PM=>UseDefaultCredentials
10/23/2022 5:11:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:11:27 PM=>EnableSsl = true
10/23/2022 5:11:27 PM=>DeliveryMethod
10/23/2022 5:11:27 PM=>Before Send
10/23/2022 5:12:51 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:12:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:12:51 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:12:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:12:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:12:51 PM=>Info:- END Mailing Method
10/23/2022 5:12:51 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:12:51 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:12:51 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:12:51 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:12:51 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:12:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:12:51 PM=>Info - End of callingService Method
10/23/2022 5:14:51 PM=>Info - Check time Elapsed
10/23/2022 5:14:51 PM=>Info - Call callingService Method
10/23/2022 5:14:51 PM=>Info:- Call Both
10/23/2022 5:14:51 PM=>Info:- Start Executing SMS Method
10/23/2022 5:14:51 PM=>Info:- End Executing SMS Method
10/23/2022 5:14:51 PM=>Info:- Start Mailing Method
10/23/2022 5:14:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:14:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:14:51 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:14:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:14:51 PM=>Info:- Count = 1
10/23/2022 5:14:51 PM=>Info:- Count 1
10/23/2022 5:14:51 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:14:51 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:14:51 PM=>Info:- Start SenMail Method
10/23/2022 5:14:51 PM=>UseDefaultCredentials
10/23/2022 5:14:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:14:51 PM=>EnableSsl = true
10/23/2022 5:14:51 PM=>DeliveryMethod
10/23/2022 5:14:51 PM=>Before Send
10/23/2022 5:15:00 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:15:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:15:00 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:15:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:15:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:15:00 PM=>Info:- END Mailing Method
10/23/2022 5:15:00 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:15:00 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:15:00 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:15:00 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:15:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:15:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:15:00 PM=>Info - End of callingService Method
10/23/2022 5:17:00 PM=>Info - Check time Elapsed
10/23/2022 5:17:00 PM=>Info - Call callingService Method
10/23/2022 5:17:00 PM=>Info:- Call Both
10/23/2022 5:17:00 PM=>Info:- Start Executing SMS Method
10/23/2022 5:17:00 PM=>Info:- End Executing SMS Method
10/23/2022 5:17:00 PM=>Info:- Start Mailing Method
10/23/2022 5:17:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:17:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:17:00 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:17:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:17:00 PM=>Info:- Count = 1
10/23/2022 5:17:00 PM=>Info:- Count 1
10/23/2022 5:17:00 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:17:00 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:17:00 PM=>Info:- Start SenMail Method
10/23/2022 5:17:00 PM=>UseDefaultCredentials
10/23/2022 5:17:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:17:00 PM=>EnableSsl = true
10/23/2022 5:17:00 PM=>DeliveryMethod
10/23/2022 5:17:00 PM=>Before Send
10/23/2022 5:18:25 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.32.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:18:25 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:18:25 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:18:25 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:18:25 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:18:25 PM=>Info:- END Mailing Method
10/23/2022 5:18:25 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:18:25 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:18:25 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:18:25 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:18:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:18:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:18:25 PM=>Info - End of callingService Method
10/23/2022 5:20:25 PM=>Info - Check time Elapsed
10/23/2022 5:20:25 PM=>Info - Call callingService Method
10/23/2022 5:20:25 PM=>Info:- Call Both
10/23/2022 5:20:25 PM=>Info:- Start Executing SMS Method
10/23/2022 5:20:25 PM=>Info:- End Executing SMS Method
10/23/2022 5:20:25 PM=>Info:- Start Mailing Method
10/23/2022 5:20:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:20:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:20:25 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:20:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:20:25 PM=>Info:- Count = 1
10/23/2022 5:20:25 PM=>Info:- Count 1
10/23/2022 5:20:25 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:20:25 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:20:25 PM=>Info:- Start SenMail Method
10/23/2022 5:20:25 PM=>UseDefaultCredentials
10/23/2022 5:20:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:20:25 PM=>EnableSsl = true
10/23/2022 5:20:25 PM=>DeliveryMethod
10/23/2022 5:20:25 PM=>Before Send
10/23/2022 5:21:37 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:21:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:21:37 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:21:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:21:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:21:37 PM=>Info:- END Mailing Method
10/23/2022 5:21:37 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:21:37 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:21:37 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:21:37 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:21:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:21:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:21:37 PM=>Info - End of callingService Method
10/23/2022 5:23:37 PM=>Info - Check time Elapsed
10/23/2022 5:23:37 PM=>Info - Call callingService Method
10/23/2022 5:23:37 PM=>Info:- Call Both
10/23/2022 5:23:37 PM=>Info:- Start Executing SMS Method
10/23/2022 5:23:37 PM=>Info:- End Executing SMS Method
10/23/2022 5:23:37 PM=>Info:- Start Mailing Method
10/23/2022 5:23:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:23:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:23:37 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:23:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:23:37 PM=>Info:- Count = 1
10/23/2022 5:23:37 PM=>Info:- Count 1
10/23/2022 5:23:37 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:23:37 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:23:37 PM=>Info:- Start SenMail Method
10/23/2022 5:23:37 PM=>UseDefaultCredentials
10/23/2022 5:23:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:23:37 PM=>EnableSsl = true
10/23/2022 5:23:37 PM=>DeliveryMethod
10/23/2022 5:23:37 PM=>Before Send
10/23/2022 5:23:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:23:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:23:47 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:23:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:23:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:23:47 PM=>Info:- END Mailing Method
10/23/2022 5:23:47 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:23:47 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:23:47 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:23:47 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:23:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:23:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:23:47 PM=>Info - End of callingService Method
10/23/2022 5:25:47 PM=>Info - Check time Elapsed
10/23/2022 5:25:47 PM=>Info - Call callingService Method
10/23/2022 5:25:47 PM=>Info:- Call Both
10/23/2022 5:25:47 PM=>Info:- Start Executing SMS Method
10/23/2022 5:25:47 PM=>Info:- End Executing SMS Method
10/23/2022 5:25:47 PM=>Info:- Start Mailing Method
10/23/2022 5:25:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:25:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:25:47 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:25:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:25:47 PM=>Info:- Count = 1
10/23/2022 5:25:47 PM=>Info:- Count 1
10/23/2022 5:25:47 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:25:47 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:25:47 PM=>Info:- Start SenMail Method
10/23/2022 5:25:47 PM=>UseDefaultCredentials
10/23/2022 5:25:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:25:47 PM=>EnableSsl = true
10/23/2022 5:25:47 PM=>DeliveryMethod
10/23/2022 5:25:47 PM=>Before Send
10/23/2022 5:25:56 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:25:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:25:56 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:25:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:25:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:25:56 PM=>Info:- END Mailing Method
10/23/2022 5:25:56 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:25:56 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:25:56 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:25:56 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:25:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:25:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:25:56 PM=>Info - End of callingService Method
10/23/2022 5:27:56 PM=>Info - Check time Elapsed
10/23/2022 5:27:56 PM=>Info - Call callingService Method
10/23/2022 5:27:56 PM=>Info:- Call Both
10/23/2022 5:27:56 PM=>Info:- Start Executing SMS Method
10/23/2022 5:27:56 PM=>Info:- End Executing SMS Method
10/23/2022 5:27:56 PM=>Info:- Start Mailing Method
10/23/2022 5:27:56 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:27:56 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:27:56 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:27:56 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:27:56 PM=>Info:- Count = 1
10/23/2022 5:27:56 PM=>Info:- Count 1
10/23/2022 5:27:56 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:27:56 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:27:56 PM=>Info:- Start SenMail Method
10/23/2022 5:27:56 PM=>UseDefaultCredentials
10/23/2022 5:27:56 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:27:56 PM=>EnableSsl = true
10/23/2022 5:27:56 PM=>DeliveryMethod
10/23/2022 5:27:56 PM=>Before Send
10/23/2022 5:28:05 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:28:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:28:05 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:28:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:28:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:28:06 PM=>Info:- END Mailing Method
10/23/2022 5:28:06 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:28:06 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:28:06 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:28:06 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:28:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:28:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:28:06 PM=>Info - End of callingService Method
10/23/2022 5:30:06 PM=>Info - Check time Elapsed
10/23/2022 5:30:06 PM=>Info - Call callingService Method
10/23/2022 5:30:06 PM=>Info:- Call Both
10/23/2022 5:30:06 PM=>Info:- Start Executing SMS Method
10/23/2022 5:30:06 PM=>Info:- End Executing SMS Method
10/23/2022 5:30:06 PM=>Info:- Start Mailing Method
10/23/2022 5:30:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:30:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:30:06 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:30:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:30:06 PM=>Info:- Count = 1
10/23/2022 5:30:06 PM=>Info:- Count 1
10/23/2022 5:30:06 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:30:06 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:30:06 PM=>Info:- Start SenMail Method
10/23/2022 5:30:06 PM=>UseDefaultCredentials
10/23/2022 5:30:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:30:06 PM=>EnableSsl = true
10/23/2022 5:30:06 PM=>DeliveryMethod
10/23/2022 5:30:06 PM=>Before Send
10/23/2022 5:31:30 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.181.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:31:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:31:30 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:31:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:31:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:31:30 PM=>Info:- END Mailing Method
10/23/2022 5:31:30 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:31:30 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:31:30 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:31:30 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:31:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:31:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:31:30 PM=>Info - End of callingService Method
10/23/2022 5:33:30 PM=>Info - Check time Elapsed
10/23/2022 5:33:30 PM=>Info - Call callingService Method
10/23/2022 5:33:30 PM=>Info:- Call Both
10/23/2022 5:33:30 PM=>Info:- Start Executing SMS Method
10/23/2022 5:33:30 PM=>Info:- End Executing SMS Method
10/23/2022 5:33:30 PM=>Info:- Start Mailing Method
10/23/2022 5:33:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:33:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:33:30 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:33:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:33:30 PM=>Info:- Count = 1
10/23/2022 5:33:30 PM=>Info:- Count 1
10/23/2022 5:33:30 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:33:30 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:33:30 PM=>Info:- Start SenMail Method
10/23/2022 5:33:30 PM=>UseDefaultCredentials
10/23/2022 5:33:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:33:30 PM=>EnableSsl = true
10/23/2022 5:33:30 PM=>DeliveryMethod
10/23/2022 5:33:30 PM=>Before Send
10/23/2022 5:33:51 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:33:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:33:51 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:33:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:33:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:33:52 PM=>Info:- END Mailing Method
10/23/2022 5:33:52 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:33:52 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:33:52 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:33:52 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:33:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:33:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:33:52 PM=>Info - End of callingService Method
10/23/2022 5:35:52 PM=>Info - Check time Elapsed
10/23/2022 5:35:52 PM=>Info - Call callingService Method
10/23/2022 5:35:52 PM=>Info:- Call Both
10/23/2022 5:35:52 PM=>Info:- Start Executing SMS Method
10/23/2022 5:35:52 PM=>Info:- End Executing SMS Method
10/23/2022 5:35:52 PM=>Info:- Start Mailing Method
10/23/2022 5:35:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:35:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:35:52 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:35:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:35:52 PM=>Info:- Count = 1
10/23/2022 5:35:52 PM=>Info:- Count 1
10/23/2022 5:35:52 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:35:52 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:35:52 PM=>Info:- Start SenMail Method
10/23/2022 5:35:52 PM=>UseDefaultCredentials
10/23/2022 5:35:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:35:52 PM=>EnableSsl = true
10/23/2022 5:35:52 PM=>DeliveryMethod
10/23/2022 5:35:52 PM=>Before Send
10/23/2022 5:35:52 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:35:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:35:52 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:35:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:35:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:35:52 PM=>Info:- END Mailing Method
10/23/2022 5:35:52 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:35:52 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:35:52 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:35:52 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:35:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:35:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:35:52 PM=>Info - End of callingService Method
10/23/2022 5:37:52 PM=>Info - Check time Elapsed
10/23/2022 5:37:52 PM=>Info - Call callingService Method
10/23/2022 5:37:52 PM=>Info:- Call Both
10/23/2022 5:37:52 PM=>Info:- Start Executing SMS Method
10/23/2022 5:37:52 PM=>Info:- End Executing SMS Method
10/23/2022 5:37:52 PM=>Info:- Start Mailing Method
10/23/2022 5:37:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:37:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:37:52 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:37:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:37:52 PM=>Info:- Count = 1
10/23/2022 5:37:52 PM=>Info:- Count 1
10/23/2022 5:37:52 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:37:52 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:37:52 PM=>Info:- Start SenMail Method
10/23/2022 5:37:52 PM=>UseDefaultCredentials
10/23/2022 5:37:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:37:52 PM=>EnableSsl = true
10/23/2022 5:37:52 PM=>DeliveryMethod
10/23/2022 5:37:52 PM=>Before Send
10/23/2022 5:39:16 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.182.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:39:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:39:16 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:39:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:39:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:39:16 PM=>Info:- END Mailing Method
10/23/2022 5:39:16 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:39:16 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:39:16 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:39:16 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:39:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:39:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:39:16 PM=>Info - End of callingService Method
10/23/2022 5:41:16 PM=>Info - Check time Elapsed
10/23/2022 5:41:16 PM=>Info - Call callingService Method
10/23/2022 5:41:16 PM=>Info:- Call Both
10/23/2022 5:41:16 PM=>Info:- Start Executing SMS Method
10/23/2022 5:41:16 PM=>Info:- End Executing SMS Method
10/23/2022 5:41:16 PM=>Info:- Start Mailing Method
10/23/2022 5:41:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:41:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:41:16 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:41:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:41:16 PM=>Info:- Count = 1
10/23/2022 5:41:16 PM=>Info:- Count 1
10/23/2022 5:41:16 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:41:16 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:41:16 PM=>Info:- Start SenMail Method
10/23/2022 5:41:16 PM=>UseDefaultCredentials
10/23/2022 5:41:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:41:16 PM=>EnableSsl = true
10/23/2022 5:41:16 PM=>DeliveryMethod
10/23/2022 5:41:16 PM=>Before Send
10/23/2022 5:42:41 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:42:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:42:41 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:42:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:42:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:42:41 PM=>Info:- END Mailing Method
10/23/2022 5:42:41 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:42:41 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:42:41 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:42:41 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:42:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:42:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:42:41 PM=>Info - End of callingService Method
10/23/2022 5:44:41 PM=>Info - Check time Elapsed
10/23/2022 5:44:41 PM=>Info - Call callingService Method
10/23/2022 5:44:41 PM=>Info:- Call Both
10/23/2022 5:44:41 PM=>Info:- Start Executing SMS Method
10/23/2022 5:44:41 PM=>Info:- End Executing SMS Method
10/23/2022 5:44:41 PM=>Info:- Start Mailing Method
10/23/2022 5:44:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:44:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:44:41 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:44:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:44:41 PM=>Info:- Count = 1
10/23/2022 5:44:41 PM=>Info:- Count 1
10/23/2022 5:44:41 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:44:41 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:44:41 PM=>Info:- Start SenMail Method
10/23/2022 5:44:41 PM=>UseDefaultCredentials
10/23/2022 5:44:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:44:41 PM=>EnableSsl = true
10/23/2022 5:44:41 PM=>DeliveryMethod
10/23/2022 5:44:41 PM=>Before Send
10/23/2022 5:46:05 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.15.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:46:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:46:05 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:46:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:46:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:46:05 PM=>Info:- END Mailing Method
10/23/2022 5:46:05 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:46:05 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:46:05 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:46:05 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:46:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:46:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:46:05 PM=>Info - End of callingService Method
10/23/2022 5:48:05 PM=>Info - Check time Elapsed
10/23/2022 5:48:05 PM=>Info - Call callingService Method
10/23/2022 5:48:05 PM=>Info:- Call Both
10/23/2022 5:48:05 PM=>Info:- Start Executing SMS Method
10/23/2022 5:48:05 PM=>Info:- End Executing SMS Method
10/23/2022 5:48:05 PM=>Info:- Start Mailing Method
10/23/2022 5:48:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:48:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:48:05 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:48:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:48:05 PM=>Info:- Count = 1
10/23/2022 5:48:05 PM=>Info:- Count 1
10/23/2022 5:48:05 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:48:05 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:48:05 PM=>Info:- Start SenMail Method
10/23/2022 5:48:05 PM=>UseDefaultCredentials
10/23/2022 5:48:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:48:05 PM=>EnableSsl = true
10/23/2022 5:48:05 PM=>DeliveryMethod
10/23/2022 5:48:05 PM=>Before Send
10/23/2022 5:49:30 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.9.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:49:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:49:30 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:49:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:49:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:49:30 PM=>Info:- END Mailing Method
10/23/2022 5:49:30 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:49:30 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:49:30 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:49:30 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:49:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:49:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:49:30 PM=>Info - End of callingService Method
10/23/2022 5:51:30 PM=>Info - Check time Elapsed
10/23/2022 5:51:30 PM=>Info - Call callingService Method
10/23/2022 5:51:30 PM=>Info:- Call Both
10/23/2022 5:51:30 PM=>Info:- Start Executing SMS Method
10/23/2022 5:51:30 PM=>Info:- End Executing SMS Method
10/23/2022 5:51:30 PM=>Info:- Start Mailing Method
10/23/2022 5:51:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:51:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:51:30 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:51:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:51:30 PM=>Info:- Count = 1
10/23/2022 5:51:30 PM=>Info:- Count 1
10/23/2022 5:51:30 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:51:30 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:51:30 PM=>Info:- Start SenMail Method
10/23/2022 5:51:30 PM=>UseDefaultCredentials
10/23/2022 5:51:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:51:30 PM=>EnableSsl = true
10/23/2022 5:51:30 PM=>DeliveryMethod
10/23/2022 5:51:30 PM=>Before Send
10/23/2022 5:52:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.62.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:52:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:52:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:52:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:52:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:52:54 PM=>Info:- END Mailing Method
10/23/2022 5:52:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:52:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:52:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:52:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:52:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:52:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:52:54 PM=>Info - End of callingService Method
10/23/2022 5:54:54 PM=>Info - Check time Elapsed
10/23/2022 5:54:54 PM=>Info - Call callingService Method
10/23/2022 5:54:54 PM=>Info:- Call Both
10/23/2022 5:54:54 PM=>Info:- Start Executing SMS Method
10/23/2022 5:54:54 PM=>Info:- End Executing SMS Method
10/23/2022 5:54:54 PM=>Info:- Start Mailing Method
10/23/2022 5:54:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:54:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:54:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:54:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:54:54 PM=>Info:- Count = 1
10/23/2022 5:54:54 PM=>Info:- Count 1
10/23/2022 5:54:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:54:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:54:54 PM=>Info:- Start SenMail Method
10/23/2022 5:54:54 PM=>UseDefaultCredentials
10/23/2022 5:54:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:54:54 PM=>EnableSsl = true
10/23/2022 5:54:54 PM=>DeliveryMethod
10/23/2022 5:54:54 PM=>Before Send
10/23/2022 5:56:19 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.66:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:56:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:56:19 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:56:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:56:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:56:19 PM=>Info:- END Mailing Method
10/23/2022 5:56:19 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:56:19 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:56:19 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:56:19 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:56:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:56:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:56:19 PM=>Info - End of callingService Method
10/23/2022 5:58:19 PM=>Info - Check time Elapsed
10/23/2022 5:58:19 PM=>Info - Call callingService Method
10/23/2022 5:58:19 PM=>Info:- Call Both
10/23/2022 5:58:19 PM=>Info:- Start Executing SMS Method
10/23/2022 5:58:19 PM=>Info:- End Executing SMS Method
10/23/2022 5:58:19 PM=>Info:- Start Mailing Method
10/23/2022 5:58:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 5:58:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 5:58:19 PM=>Info:- PendingMail.xml file read to list
10/23/2022 5:58:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 5:58:19 PM=>Info:- Count = 1
10/23/2022 5:58:19 PM=>Info:- Count 1
10/23/2022 5:58:19 PM=>Info - Fetching Data From MAIL XML
10/23/2022 5:58:19 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 5:58:19 PM=>Info:- Start SenMail Method
10/23/2022 5:58:19 PM=>UseDefaultCredentials
10/23/2022 5:58:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 5:58:19 PM=>EnableSsl = true
10/23/2022 5:58:19 PM=>DeliveryMethod
10/23/2022 5:58:19 PM=>Before Send
10/23/2022 5:59:43 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.9.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 5:59:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 5:59:43 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 5:59:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 5:59:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 5:59:43 PM=>Info:- END Mailing Method
10/23/2022 5:59:43 PM=>Info:- Start Executing Telegram Method
10/23/2022 5:59:43 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 5:59:43 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 5:59:43 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 5:59:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 5:59:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 5:59:43 PM=>Info - End of callingService Method
10/23/2022 6:01:43 PM=>Info - Check time Elapsed
10/23/2022 6:01:43 PM=>Info - Call callingService Method
10/23/2022 6:01:43 PM=>Info:- Call Both
10/23/2022 6:01:43 PM=>Info:- Start Executing SMS Method
10/23/2022 6:01:43 PM=>Info:- End Executing SMS Method
10/23/2022 6:01:43 PM=>Info:- Start Mailing Method
10/23/2022 6:01:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:01:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:01:43 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:01:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:01:43 PM=>Info:- Count = 1
10/23/2022 6:01:43 PM=>Info:- Count 1
10/23/2022 6:01:43 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:01:43 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:01:43 PM=>Info:- Start SenMail Method
10/23/2022 6:01:43 PM=>UseDefaultCredentials
10/23/2022 6:01:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:01:43 PM=>EnableSsl = true
10/23/2022 6:01:43 PM=>DeliveryMethod
10/23/2022 6:01:43 PM=>Before Send
10/23/2022 6:03:08 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.35.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:03:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:03:08 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:03:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:03:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:03:08 PM=>Info:- END Mailing Method
10/23/2022 6:03:08 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:03:08 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:03:08 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:03:08 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:03:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:03:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:03:08 PM=>Info - End of callingService Method
10/23/2022 6:05:08 PM=>Info - Check time Elapsed
10/23/2022 6:05:08 PM=>Info - Call callingService Method
10/23/2022 6:05:08 PM=>Info:- Call Both
10/23/2022 6:05:08 PM=>Info:- Start Executing SMS Method
10/23/2022 6:05:08 PM=>Info:- End Executing SMS Method
10/23/2022 6:05:08 PM=>Info:- Start Mailing Method
10/23/2022 6:05:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:05:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:05:08 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:05:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:05:08 PM=>Info:- Count = 1
10/23/2022 6:05:08 PM=>Info:- Count 1
10/23/2022 6:05:08 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:05:08 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:05:08 PM=>Info:- Start SenMail Method
10/23/2022 6:05:08 PM=>UseDefaultCredentials
10/23/2022 6:05:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:05:08 PM=>EnableSsl = true
10/23/2022 6:05:08 PM=>DeliveryMethod
10/23/2022 6:05:08 PM=>Before Send
10/23/2022 6:06:32 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.190.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:06:32 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:06:32 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:06:32 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:06:32 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:06:32 PM=>Info:- END Mailing Method
10/23/2022 6:06:32 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:06:32 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:06:32 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:06:32 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:06:32 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:06:32 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:06:32 PM=>Info - End of callingService Method
10/23/2022 6:08:32 PM=>Info - Check time Elapsed
10/23/2022 6:08:32 PM=>Info - Call callingService Method
10/23/2022 6:08:32 PM=>Info:- Call Both
10/23/2022 6:08:32 PM=>Info:- Start Executing SMS Method
10/23/2022 6:08:32 PM=>Info:- End Executing SMS Method
10/23/2022 6:08:32 PM=>Info:- Start Mailing Method
10/23/2022 6:08:32 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:08:32 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:08:32 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:08:32 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:08:32 PM=>Info:- Count = 1
10/23/2022 6:08:32 PM=>Info:- Count 1
10/23/2022 6:08:32 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:08:33 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:08:33 PM=>Info:- Start SenMail Method
10/23/2022 6:08:33 PM=>UseDefaultCredentials
10/23/2022 6:08:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:08:33 PM=>EnableSsl = true
10/23/2022 6:08:33 PM=>DeliveryMethod
10/23/2022 6:08:33 PM=>Before Send
10/23/2022 6:08:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:08:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:08:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:08:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:08:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:08:54 PM=>Info:- END Mailing Method
10/23/2022 6:08:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:08:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:08:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:08:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:08:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:08:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:08:54 PM=>Info - End of callingService Method
10/23/2022 6:10:54 PM=>Info - Check time Elapsed
10/23/2022 6:10:54 PM=>Info - Call callingService Method
10/23/2022 6:10:54 PM=>Info:- Call Both
10/23/2022 6:10:54 PM=>Info:- Start Executing SMS Method
10/23/2022 6:10:54 PM=>Info:- End Executing SMS Method
10/23/2022 6:10:54 PM=>Info:- Start Mailing Method
10/23/2022 6:10:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:10:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:10:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:10:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:10:54 PM=>Info:- Count = 1
10/23/2022 6:10:54 PM=>Info:- Count 1
10/23/2022 6:10:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:10:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:10:54 PM=>Info:- Start SenMail Method
10/23/2022 6:10:54 PM=>UseDefaultCredentials
10/23/2022 6:10:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:10:54 PM=>EnableSsl = true
10/23/2022 6:10:54 PM=>DeliveryMethod
10/23/2022 6:10:54 PM=>Before Send
10/23/2022 6:10:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:10:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:10:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:10:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:10:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:10:54 PM=>Info:- END Mailing Method
10/23/2022 6:10:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:10:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:10:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:10:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:10:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:10:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:10:54 PM=>Info - End of callingService Method
10/23/2022 6:12:54 PM=>Info - Check time Elapsed
10/23/2022 6:12:54 PM=>Info - Call callingService Method
10/23/2022 6:12:54 PM=>Info:- Call Both
10/23/2022 6:12:54 PM=>Info:- Start Executing SMS Method
10/23/2022 6:12:54 PM=>Info:- End Executing SMS Method
10/23/2022 6:12:54 PM=>Info:- Start Mailing Method
10/23/2022 6:12:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:12:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:12:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:12:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:12:54 PM=>Info:- Count = 1
10/23/2022 6:12:54 PM=>Info:- Count 1
10/23/2022 6:12:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:12:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:12:54 PM=>Info:- Start SenMail Method
10/23/2022 6:12:54 PM=>UseDefaultCredentials
10/23/2022 6:12:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:12:54 PM=>EnableSsl = true
10/23/2022 6:12:54 PM=>DeliveryMethod
10/23/2022 6:12:54 PM=>Before Send
10/23/2022 6:13:05 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: The remote name could not be resolved: 'smtp.office365.com'
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:13:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:13:05 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:13:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:13:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:13:05 PM=>Info:- END Mailing Method
10/23/2022 6:13:05 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:13:05 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:13:05 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:13:05 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:13:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:13:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:13:05 PM=>Info - End of callingService Method
10/23/2022 6:15:05 PM=>Info - Check time Elapsed
10/23/2022 6:15:05 PM=>Info - Call callingService Method
10/23/2022 6:15:05 PM=>Info:- Call Both
10/23/2022 6:15:05 PM=>Info:- Start Executing SMS Method
10/23/2022 6:15:05 PM=>Info:- End Executing SMS Method
10/23/2022 6:15:05 PM=>Info:- Start Mailing Method
10/23/2022 6:15:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:15:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:15:05 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:15:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:15:05 PM=>Info:- Count = 1
10/23/2022 6:15:05 PM=>Info:- Count 1
10/23/2022 6:15:05 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:15:05 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:15:05 PM=>Info:- Start SenMail Method
10/23/2022 6:15:05 PM=>UseDefaultCredentials
10/23/2022 6:15:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:15:05 PM=>EnableSsl = true
10/23/2022 6:15:05 PM=>DeliveryMethod
10/23/2022 6:15:05 PM=>Before Send
10/23/2022 6:16:30 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.9.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:16:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:16:30 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:16:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:16:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:16:30 PM=>Info:- END Mailing Method
10/23/2022 6:16:30 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:16:30 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:16:30 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:16:30 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:16:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:16:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:16:30 PM=>Info - End of callingService Method
10/23/2022 6:18:30 PM=>Info - Check time Elapsed
10/23/2022 6:18:30 PM=>Info - Call callingService Method
10/23/2022 6:18:30 PM=>Info:- Call Both
10/23/2022 6:18:30 PM=>Info:- Start Executing SMS Method
10/23/2022 6:18:30 PM=>Info:- End Executing SMS Method
10/23/2022 6:18:30 PM=>Info:- Start Mailing Method
10/23/2022 6:18:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:18:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:18:30 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:18:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:18:30 PM=>Info:- Count = 1
10/23/2022 6:18:30 PM=>Info:- Count 1
10/23/2022 6:18:30 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:18:30 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:18:30 PM=>Info:- Start SenMail Method
10/23/2022 6:18:30 PM=>UseDefaultCredentials
10/23/2022 6:18:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:18:30 PM=>EnableSsl = true
10/23/2022 6:18:30 PM=>DeliveryMethod
10/23/2022 6:18:30 PM=>Before Send
10/23/2022 6:19:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:19:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:19:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:19:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:19:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:19:55 PM=>Info:- END Mailing Method
10/23/2022 6:19:55 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:19:55 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:19:55 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:19:55 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:19:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:19:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:19:55 PM=>Info - End of callingService Method
10/23/2022 6:21:55 PM=>Info - Check time Elapsed
10/23/2022 6:21:55 PM=>Info - Call callingService Method
10/23/2022 6:21:55 PM=>Info:- Call Both
10/23/2022 6:21:55 PM=>Info:- Start Executing SMS Method
10/23/2022 6:21:55 PM=>Info:- End Executing SMS Method
10/23/2022 6:21:55 PM=>Info:- Start Mailing Method
10/23/2022 6:21:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:21:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:21:55 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:21:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:21:55 PM=>Info:- Count = 1
10/23/2022 6:21:55 PM=>Info:- Count 1
10/23/2022 6:21:55 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:21:55 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:21:55 PM=>Info:- Start SenMail Method
10/23/2022 6:21:55 PM=>UseDefaultCredentials
10/23/2022 6:21:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:21:55 PM=>EnableSsl = true
10/23/2022 6:21:55 PM=>DeliveryMethod
10/23/2022 6:21:55 PM=>Before Send
10/23/2022 6:21:55 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:21:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:21:55 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:21:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:21:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:21:55 PM=>Info:- END Mailing Method
10/23/2022 6:21:55 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:21:55 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:21:55 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:21:55 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:21:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:21:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:21:55 PM=>Info - End of callingService Method
10/23/2022 6:23:55 PM=>Info - Check time Elapsed
10/23/2022 6:23:55 PM=>Info - Call callingService Method
10/23/2022 6:23:55 PM=>Info:- Call Both
10/23/2022 6:23:55 PM=>Info:- Start Executing SMS Method
10/23/2022 6:23:55 PM=>Info:- End Executing SMS Method
10/23/2022 6:23:55 PM=>Info:- Start Mailing Method
10/23/2022 6:23:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:23:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:23:55 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:23:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:23:55 PM=>Info:- Count = 1
10/23/2022 6:23:55 PM=>Info:- Count 1
10/23/2022 6:23:55 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:23:55 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:23:55 PM=>Info:- Start SenMail Method
10/23/2022 6:23:55 PM=>UseDefaultCredentials
10/23/2022 6:23:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:23:55 PM=>EnableSsl = true
10/23/2022 6:23:55 PM=>DeliveryMethod
10/23/2022 6:23:55 PM=>Before Send
10/23/2022 6:24:04 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:24:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:24:04 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:24:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:24:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:24:04 PM=>Info:- END Mailing Method
10/23/2022 6:24:04 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:24:04 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:24:04 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:24:04 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:24:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:24:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:24:04 PM=>Info - End of callingService Method
10/23/2022 6:26:04 PM=>Info - Check time Elapsed
10/23/2022 6:26:04 PM=>Info - Call callingService Method
10/23/2022 6:26:04 PM=>Info:- Call Both
10/23/2022 6:26:05 PM=>Info:- Start Executing SMS Method
10/23/2022 6:26:05 PM=>Info:- End Executing SMS Method
10/23/2022 6:26:05 PM=>Info:- Start Mailing Method
10/23/2022 6:26:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:26:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:26:05 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:26:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:26:05 PM=>Info:- Count = 1
10/23/2022 6:26:05 PM=>Info:- Count 1
10/23/2022 6:26:05 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:26:05 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:26:05 PM=>Info:- Start SenMail Method
10/23/2022 6:26:05 PM=>UseDefaultCredentials
10/23/2022 6:26:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:26:05 PM=>EnableSsl = true
10/23/2022 6:26:05 PM=>DeliveryMethod
10/23/2022 6:26:05 PM=>Before Send
10/23/2022 6:26:14 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:26:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:26:14 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:26:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:26:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:26:14 PM=>Info:- END Mailing Method
10/23/2022 6:26:14 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:26:14 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:26:14 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:26:14 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:26:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:26:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:26:14 PM=>Info - End of callingService Method
10/23/2022 6:28:14 PM=>Info - Check time Elapsed
10/23/2022 6:28:14 PM=>Info - Call callingService Method
10/23/2022 6:28:14 PM=>Info:- Call Both
10/23/2022 6:28:14 PM=>Info:- Start Executing SMS Method
10/23/2022 6:28:14 PM=>Info:- End Executing SMS Method
10/23/2022 6:28:14 PM=>Info:- Start Mailing Method
10/23/2022 6:28:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:28:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:28:14 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:28:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:28:14 PM=>Info:- Count = 1
10/23/2022 6:28:14 PM=>Info:- Count 1
10/23/2022 6:28:14 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:28:14 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:28:14 PM=>Info:- Start SenMail Method
10/23/2022 6:28:14 PM=>UseDefaultCredentials
10/23/2022 6:28:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:28:14 PM=>EnableSsl = true
10/23/2022 6:28:14 PM=>DeliveryMethod
10/23/2022 6:28:14 PM=>Before Send
10/23/2022 6:29:38 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.179.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:29:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:29:38 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:29:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:29:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:29:39 PM=>Info:- END Mailing Method
10/23/2022 6:29:39 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:29:39 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:29:39 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:29:39 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:29:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:29:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:29:39 PM=>Info - End of callingService Method
10/23/2022 6:31:39 PM=>Info - Check time Elapsed
10/23/2022 6:31:39 PM=>Info - Call callingService Method
10/23/2022 6:31:39 PM=>Info:- Call Both
10/23/2022 6:31:39 PM=>Info:- Start Executing SMS Method
10/23/2022 6:31:39 PM=>Info:- End Executing SMS Method
10/23/2022 6:31:39 PM=>Info:- Start Mailing Method
10/23/2022 6:31:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:31:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:31:39 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:31:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:31:39 PM=>Info:- Count = 1
10/23/2022 6:31:39 PM=>Info:- Count 1
10/23/2022 6:31:39 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:31:39 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:31:39 PM=>Info:- Start SenMail Method
10/23/2022 6:31:39 PM=>UseDefaultCredentials
10/23/2022 6:31:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:31:39 PM=>EnableSsl = true
10/23/2022 6:31:39 PM=>DeliveryMethod
10/23/2022 6:31:39 PM=>Before Send
10/23/2022 6:31:39 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:31:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:31:39 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:31:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:31:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:31:39 PM=>Info:- END Mailing Method
10/23/2022 6:31:39 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:31:39 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:31:39 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:31:39 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:31:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:31:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:31:39 PM=>Info - End of callingService Method
10/23/2022 6:33:39 PM=>Info - Check time Elapsed
10/23/2022 6:33:39 PM=>Info - Call callingService Method
10/23/2022 6:33:39 PM=>Info:- Call Both
10/23/2022 6:33:39 PM=>Info:- Start Executing SMS Method
10/23/2022 6:33:39 PM=>Info:- End Executing SMS Method
10/23/2022 6:33:39 PM=>Info:- Start Mailing Method
10/23/2022 6:33:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:33:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:33:39 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:33:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:33:39 PM=>Info:- Count = 1
10/23/2022 6:33:39 PM=>Info:- Count 1
10/23/2022 6:33:39 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:33:39 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:33:39 PM=>Info:- Start SenMail Method
10/23/2022 6:33:39 PM=>UseDefaultCredentials
10/23/2022 6:33:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:33:39 PM=>EnableSsl = true
10/23/2022 6:33:39 PM=>DeliveryMethod
10/23/2022 6:33:39 PM=>Before Send
10/23/2022 6:35:03 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:35:03 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:35:03 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:35:03 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:35:03 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:35:04 PM=>Info:- END Mailing Method
10/23/2022 6:35:04 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:35:04 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:35:04 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:35:04 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:35:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:35:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:35:04 PM=>Info - End of callingService Method
10/23/2022 6:37:04 PM=>Info - Check time Elapsed
10/23/2022 6:37:04 PM=>Info - Call callingService Method
10/23/2022 6:37:04 PM=>Info:- Call Both
10/23/2022 6:37:04 PM=>Info:- Start Executing SMS Method
10/23/2022 6:37:04 PM=>Info:- End Executing SMS Method
10/23/2022 6:37:04 PM=>Info:- Start Mailing Method
10/23/2022 6:37:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:37:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:37:04 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:37:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:37:04 PM=>Info:- Count = 1
10/23/2022 6:37:04 PM=>Info:- Count 1
10/23/2022 6:37:04 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:37:04 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:37:04 PM=>Info:- Start SenMail Method
10/23/2022 6:37:04 PM=>UseDefaultCredentials
10/23/2022 6:37:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:37:04 PM=>EnableSsl = true
10/23/2022 6:37:04 PM=>DeliveryMethod
10/23/2022 6:37:04 PM=>Before Send
10/23/2022 6:38:28 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:38:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:38:28 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:38:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:38:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:38:28 PM=>Info:- END Mailing Method
10/23/2022 6:38:28 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:38:28 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:38:28 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:38:28 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:38:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:38:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:38:28 PM=>Info - End of callingService Method
10/23/2022 6:40:28 PM=>Info - Check time Elapsed
10/23/2022 6:40:28 PM=>Info - Call callingService Method
10/23/2022 6:40:28 PM=>Info:- Call Both
10/23/2022 6:40:28 PM=>Info:- Start Executing SMS Method
10/23/2022 6:40:28 PM=>Info:- End Executing SMS Method
10/23/2022 6:40:29 PM=>Info:- Start Mailing Method
10/23/2022 6:40:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:40:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:40:29 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:40:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:40:29 PM=>Info:- Count = 1
10/23/2022 6:40:29 PM=>Info:- Count 1
10/23/2022 6:40:29 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:40:29 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:40:29 PM=>Info:- Start SenMail Method
10/23/2022 6:40:29 PM=>UseDefaultCredentials
10/23/2022 6:40:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:40:29 PM=>EnableSsl = true
10/23/2022 6:40:29 PM=>DeliveryMethod
10/23/2022 6:40:29 PM=>Before Send
10/23/2022 6:41:11 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:41:11 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:41:11 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:41:11 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:41:11 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:41:11 PM=>Info:- END Mailing Method
10/23/2022 6:41:11 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:41:11 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:41:11 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:41:11 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:41:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:41:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:41:11 PM=>Info - End of callingService Method
10/23/2022 6:43:11 PM=>Info - Check time Elapsed
10/23/2022 6:43:11 PM=>Info - Call callingService Method
10/23/2022 6:43:11 PM=>Info:- Call Both
10/23/2022 6:43:11 PM=>Info:- Start Executing SMS Method
10/23/2022 6:43:11 PM=>Info:- End Executing SMS Method
10/23/2022 6:43:11 PM=>Info:- Start Mailing Method
10/23/2022 6:43:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:43:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:43:11 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:43:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:43:11 PM=>Info:- Count = 1
10/23/2022 6:43:11 PM=>Info:- Count 1
10/23/2022 6:43:11 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:43:11 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:43:11 PM=>Info:- Start SenMail Method
10/23/2022 6:43:11 PM=>UseDefaultCredentials
10/23/2022 6:43:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:43:11 PM=>EnableSsl = true
10/23/2022 6:43:11 PM=>DeliveryMethod
10/23/2022 6:43:11 PM=>Before Send
10/23/2022 6:43:20 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:43:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:43:20 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:43:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:43:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:43:21 PM=>Info:- END Mailing Method
10/23/2022 6:43:21 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:43:21 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:43:21 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:43:21 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:43:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:43:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:43:21 PM=>Info - End of callingService Method
10/23/2022 6:45:21 PM=>Info - Check time Elapsed
10/23/2022 6:45:21 PM=>Info - Call callingService Method
10/23/2022 6:45:21 PM=>Info:- Call Both
10/23/2022 6:45:21 PM=>Info:- Start Executing SMS Method
10/23/2022 6:45:21 PM=>Info:- End Executing SMS Method
10/23/2022 6:45:21 PM=>Info:- Start Mailing Method
10/23/2022 6:45:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:45:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:45:21 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:45:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:45:21 PM=>Info:- Count = 1
10/23/2022 6:45:21 PM=>Info:- Count 1
10/23/2022 6:45:21 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:45:21 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:45:21 PM=>Info:- Start SenMail Method
10/23/2022 6:45:21 PM=>UseDefaultCredentials
10/23/2022 6:45:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:45:21 PM=>EnableSsl = true
10/23/2022 6:45:21 PM=>DeliveryMethod
10/23/2022 6:45:21 PM=>Before Send
10/23/2022 6:45:42 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:45:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:45:42 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:45:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:45:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:45:42 PM=>Info:- END Mailing Method
10/23/2022 6:45:42 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:45:42 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:45:42 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:45:42 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:45:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:45:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:45:42 PM=>Info - End of callingService Method
10/23/2022 6:47:42 PM=>Info - Check time Elapsed
10/23/2022 6:47:42 PM=>Info - Call callingService Method
10/23/2022 6:47:42 PM=>Info:- Call Both
10/23/2022 6:47:42 PM=>Info:- Start Executing SMS Method
10/23/2022 6:47:42 PM=>Info:- End Executing SMS Method
10/23/2022 6:47:42 PM=>Info:- Start Mailing Method
10/23/2022 6:47:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:47:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:47:42 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:47:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:47:42 PM=>Info:- Count = 1
10/23/2022 6:47:42 PM=>Info:- Count 1
10/23/2022 6:47:42 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:47:42 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:47:42 PM=>Info:- Start SenMail Method
10/23/2022 6:47:42 PM=>UseDefaultCredentials
10/23/2022 6:47:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:47:42 PM=>EnableSsl = true
10/23/2022 6:47:42 PM=>DeliveryMethod
10/23/2022 6:47:42 PM=>Before Send
10/23/2022 6:49:06 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:49:06 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:49:06 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:49:06 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:49:06 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:49:07 PM=>Info:- END Mailing Method
10/23/2022 6:49:07 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:49:07 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:49:07 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:49:07 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:49:07 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:49:07 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:49:07 PM=>Info - End of callingService Method
10/23/2022 6:51:07 PM=>Info - Check time Elapsed
10/23/2022 6:51:07 PM=>Info - Call callingService Method
10/23/2022 6:51:07 PM=>Info:- Call Both
10/23/2022 6:51:07 PM=>Info:- Start Executing SMS Method
10/23/2022 6:51:07 PM=>Info:- End Executing SMS Method
10/23/2022 6:51:07 PM=>Info:- Start Mailing Method
10/23/2022 6:51:07 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:51:07 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:51:07 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:51:07 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:51:07 PM=>Info:- Count = 1
10/23/2022 6:51:07 PM=>Info:- Count 1
10/23/2022 6:51:07 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:51:07 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:51:07 PM=>Info:- Start SenMail Method
10/23/2022 6:51:07 PM=>UseDefaultCredentials
10/23/2022 6:51:07 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:51:07 PM=>EnableSsl = true
10/23/2022 6:51:07 PM=>DeliveryMethod
10/23/2022 6:51:07 PM=>Before Send
10/23/2022 6:52:31 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:52:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:52:31 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:52:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:52:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:52:31 PM=>Info:- END Mailing Method
10/23/2022 6:52:31 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:52:31 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:52:31 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:52:31 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:52:31 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:52:31 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:52:31 PM=>Info - End of callingService Method
10/23/2022 6:54:31 PM=>Info - Check time Elapsed
10/23/2022 6:54:31 PM=>Info - Call callingService Method
10/23/2022 6:54:31 PM=>Info:- Call Both
10/23/2022 6:54:31 PM=>Info:- Start Executing SMS Method
10/23/2022 6:54:31 PM=>Info:- End Executing SMS Method
10/23/2022 6:54:31 PM=>Info:- Start Mailing Method
10/23/2022 6:54:31 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:54:31 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:54:31 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:54:31 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:54:31 PM=>Info:- Count = 1
10/23/2022 6:54:31 PM=>Info:- Count 1
10/23/2022 6:54:31 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:54:31 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:54:31 PM=>Info:- Start SenMail Method
10/23/2022 6:54:31 PM=>UseDefaultCredentials
10/23/2022 6:54:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:54:31 PM=>EnableSsl = true
10/23/2022 6:54:31 PM=>DeliveryMethod
10/23/2022 6:54:31 PM=>Before Send
10/23/2022 6:54:34 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:54:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:54:34 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:54:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:54:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:54:35 PM=>Info:- END Mailing Method
10/23/2022 6:54:35 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:54:35 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:54:35 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:54:35 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:54:35 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:54:35 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:54:35 PM=>Info - End of callingService Method
10/23/2022 6:56:35 PM=>Info - Check time Elapsed
10/23/2022 6:56:35 PM=>Info - Call callingService Method
10/23/2022 6:56:35 PM=>Info:- Call Both
10/23/2022 6:56:35 PM=>Info:- Start Executing SMS Method
10/23/2022 6:56:35 PM=>Info:- End Executing SMS Method
10/23/2022 6:56:35 PM=>Info:- Start Mailing Method
10/23/2022 6:56:35 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:56:35 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:56:35 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:56:35 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:56:35 PM=>Info:- Count = 1
10/23/2022 6:56:35 PM=>Info:- Count 1
10/23/2022 6:56:35 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:56:35 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:56:35 PM=>Info:- Start SenMail Method
10/23/2022 6:56:35 PM=>UseDefaultCredentials
10/23/2022 6:56:35 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:56:35 PM=>EnableSsl = true
10/23/2022 6:56:35 PM=>DeliveryMethod
10/23/2022 6:56:35 PM=>Before Send
10/23/2022 6:56:44 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:56:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:56:44 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:56:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:56:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:56:44 PM=>Info:- END Mailing Method
10/23/2022 6:56:44 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:56:44 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:56:44 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:56:44 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:56:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:56:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:56:44 PM=>Info - End of callingService Method
10/23/2022 6:58:44 PM=>Info - Check time Elapsed
10/23/2022 6:58:44 PM=>Info - Call callingService Method
10/23/2022 6:58:44 PM=>Info:- Call Both
10/23/2022 6:58:44 PM=>Info:- Start Executing SMS Method
10/23/2022 6:58:44 PM=>Info:- End Executing SMS Method
10/23/2022 6:58:44 PM=>Info:- Start Mailing Method
10/23/2022 6:58:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 6:58:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 6:58:44 PM=>Info:- PendingMail.xml file read to list
10/23/2022 6:58:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 6:58:44 PM=>Info:- Count = 1
10/23/2022 6:58:44 PM=>Info:- Count 1
10/23/2022 6:58:44 PM=>Info - Fetching Data From MAIL XML
10/23/2022 6:58:44 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 6:58:44 PM=>Info:- Start SenMail Method
10/23/2022 6:58:44 PM=>UseDefaultCredentials
10/23/2022 6:58:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 6:58:44 PM=>EnableSsl = true
10/23/2022 6:58:44 PM=>DeliveryMethod
10/23/2022 6:58:44 PM=>Before Send
10/23/2022 6:58:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 6:58:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 6:58:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 6:58:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 6:58:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 6:58:54 PM=>Info:- END Mailing Method
10/23/2022 6:58:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 6:58:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 6:58:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 6:58:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 6:58:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 6:58:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 6:58:54 PM=>Info - End of callingService Method
10/23/2022 7:00:54 PM=>Info - Check time Elapsed
10/23/2022 7:00:54 PM=>Info - Call callingService Method
10/23/2022 7:00:54 PM=>Info:- Call Both
10/23/2022 7:00:54 PM=>Info:- Start Executing SMS Method
10/23/2022 7:00:54 PM=>Info:- End Executing SMS Method
10/23/2022 7:00:54 PM=>Info:- Start Mailing Method
10/23/2022 7:00:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:00:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:00:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:00:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:00:54 PM=>Info:- Count = 1
10/23/2022 7:00:54 PM=>Info:- Count 1
10/23/2022 7:00:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:00:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:00:54 PM=>Info:- Start SenMail Method
10/23/2022 7:00:54 PM=>UseDefaultCredentials
10/23/2022 7:00:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:00:54 PM=>EnableSsl = true
10/23/2022 7:00:54 PM=>DeliveryMethod
10/23/2022 7:00:54 PM=>Before Send
10/23/2022 7:00:57 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:00:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:00:57 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:00:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:00:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:00:57 PM=>Info:- END Mailing Method
10/23/2022 7:00:57 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:00:57 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:00:57 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:00:57 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:00:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:00:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:00:57 PM=>Info - End of callingService Method
10/23/2022 7:02:57 PM=>Info - Check time Elapsed
10/23/2022 7:02:57 PM=>Info - Call callingService Method
10/23/2022 7:02:58 PM=>Info:- Call Both
10/23/2022 7:02:58 PM=>Info:- Start Executing SMS Method
10/23/2022 7:02:58 PM=>Info:- End Executing SMS Method
10/23/2022 7:02:58 PM=>Info:- Start Mailing Method
10/23/2022 7:02:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:02:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:02:58 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:02:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:02:58 PM=>Info:- Count = 1
10/23/2022 7:02:58 PM=>Info:- Count 1
10/23/2022 7:02:58 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:02:58 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:02:58 PM=>Info:- Start SenMail Method
10/23/2022 7:02:58 PM=>UseDefaultCredentials
10/23/2022 7:02:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:02:58 PM=>EnableSsl = true
10/23/2022 7:02:58 PM=>DeliveryMethod
10/23/2022 7:02:58 PM=>Before Send
10/23/2022 7:02:58 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:02:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:02:58 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:02:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:02:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:02:58 PM=>Info:- END Mailing Method
10/23/2022 7:02:58 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:02:58 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:02:58 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:02:58 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:02:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:02:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:02:58 PM=>Info - End of callingService Method
10/23/2022 7:04:58 PM=>Info - Check time Elapsed
10/23/2022 7:04:58 PM=>Info - Call callingService Method
10/23/2022 7:04:58 PM=>Info:- Call Both
10/23/2022 7:04:58 PM=>Info:- Start Executing SMS Method
10/23/2022 7:04:58 PM=>Info:- End Executing SMS Method
10/23/2022 7:04:58 PM=>Info:- Start Mailing Method
10/23/2022 7:04:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:04:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:04:58 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:04:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:04:58 PM=>Info:- Count = 1
10/23/2022 7:04:58 PM=>Info:- Count 1
10/23/2022 7:04:58 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:04:58 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:04:58 PM=>Info:- Start SenMail Method
10/23/2022 7:04:58 PM=>UseDefaultCredentials
10/23/2022 7:04:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:04:58 PM=>EnableSsl = true
10/23/2022 7:04:58 PM=>DeliveryMethod
10/23/2022 7:04:58 PM=>Before Send
10/23/2022 7:06:22 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:06:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:06:22 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:06:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:06:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:06:23 PM=>Info:- END Mailing Method
10/23/2022 7:06:23 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:06:23 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:06:23 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:06:23 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:06:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:06:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:06:23 PM=>Info - End of callingService Method
10/23/2022 7:08:23 PM=>Info - Check time Elapsed
10/23/2022 7:08:23 PM=>Info - Call callingService Method
10/23/2022 7:08:23 PM=>Info:- Call Both
10/23/2022 7:08:23 PM=>Info:- Start Executing SMS Method
10/23/2022 7:08:23 PM=>Info:- End Executing SMS Method
10/23/2022 7:08:23 PM=>Info:- Start Mailing Method
10/23/2022 7:08:23 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:08:23 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:08:23 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:08:23 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:08:23 PM=>Info:- Count = 1
10/23/2022 7:08:23 PM=>Info:- Count 1
10/23/2022 7:08:23 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:08:23 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:08:23 PM=>Info:- Start SenMail Method
10/23/2022 7:08:23 PM=>UseDefaultCredentials
10/23/2022 7:08:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:08:23 PM=>EnableSsl = true
10/23/2022 7:08:23 PM=>DeliveryMethod
10/23/2022 7:08:23 PM=>Before Send
10/23/2022 7:09:47 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.190.18:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:09:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:09:47 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:09:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:09:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:09:48 PM=>Info:- END Mailing Method
10/23/2022 7:09:48 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:09:48 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:09:48 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:09:48 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:09:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:09:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:09:48 PM=>Info - End of callingService Method
10/23/2022 7:11:48 PM=>Info - Check time Elapsed
10/23/2022 7:11:48 PM=>Info - Call callingService Method
10/23/2022 7:11:48 PM=>Info:- Call Both
10/23/2022 7:11:48 PM=>Info:- Start Executing SMS Method
10/23/2022 7:11:48 PM=>Info:- End Executing SMS Method
10/23/2022 7:11:48 PM=>Info:- Start Mailing Method
10/23/2022 7:11:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:11:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:11:48 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:11:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:11:48 PM=>Info:- Count = 1
10/23/2022 7:11:48 PM=>Info:- Count 1
10/23/2022 7:11:48 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:11:48 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:11:48 PM=>Info:- Start SenMail Method
10/23/2022 7:11:48 PM=>UseDefaultCredentials
10/23/2022 7:11:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:11:48 PM=>EnableSsl = true
10/23/2022 7:11:48 PM=>DeliveryMethod
10/23/2022 7:11:48 PM=>Before Send
10/23/2022 7:11:57 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:11:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:11:57 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:11:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:11:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:11:57 PM=>Info:- END Mailing Method
10/23/2022 7:11:57 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:11:57 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:11:57 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:11:57 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:11:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:11:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:11:57 PM=>Info - End of callingService Method
10/23/2022 7:13:57 PM=>Info - Check time Elapsed
10/23/2022 7:13:57 PM=>Info - Call callingService Method
10/23/2022 7:13:57 PM=>Info:- Call Both
10/23/2022 7:13:57 PM=>Info:- Start Executing SMS Method
10/23/2022 7:13:57 PM=>Info:- End Executing SMS Method
10/23/2022 7:13:57 PM=>Info:- Start Mailing Method
10/23/2022 7:13:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:13:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:13:57 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:13:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:13:57 PM=>Info:- Count = 1
10/23/2022 7:13:57 PM=>Info:- Count 1
10/23/2022 7:13:57 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:13:57 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:13:57 PM=>Info:- Start SenMail Method
10/23/2022 7:13:57 PM=>UseDefaultCredentials
10/23/2022 7:13:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:13:57 PM=>EnableSsl = true
10/23/2022 7:13:57 PM=>DeliveryMethod
10/23/2022 7:13:57 PM=>Before Send
10/23/2022 7:13:57 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:13:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:13:57 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:13:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:13:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:13:58 PM=>Info:- END Mailing Method
10/23/2022 7:13:58 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:13:58 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:13:58 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:13:58 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:13:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:13:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:13:58 PM=>Info - End of callingService Method
10/23/2022 7:15:58 PM=>Info - Check time Elapsed
10/23/2022 7:15:58 PM=>Info - Call callingService Method
10/23/2022 7:15:58 PM=>Info:- Call Both
10/23/2022 7:15:58 PM=>Info:- Start Executing SMS Method
10/23/2022 7:15:58 PM=>Info:- End Executing SMS Method
10/23/2022 7:15:58 PM=>Info:- Start Mailing Method
10/23/2022 7:15:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:15:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:15:58 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:15:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:15:58 PM=>Info:- Count = 1
10/23/2022 7:15:58 PM=>Info:- Count 1
10/23/2022 7:15:58 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:15:58 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:15:58 PM=>Info:- Start SenMail Method
10/23/2022 7:15:58 PM=>UseDefaultCredentials
10/23/2022 7:15:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:15:58 PM=>EnableSsl = true
10/23/2022 7:15:58 PM=>DeliveryMethod
10/23/2022 7:15:58 PM=>Before Send
10/23/2022 7:17:22 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:17:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:17:22 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:17:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:17:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:17:22 PM=>Info:- END Mailing Method
10/23/2022 7:17:22 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:17:22 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:17:22 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:17:22 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:17:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:17:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:17:22 PM=>Info - End of callingService Method
10/23/2022 7:19:22 PM=>Info - Check time Elapsed
10/23/2022 7:19:22 PM=>Info - Call callingService Method
10/23/2022 7:19:22 PM=>Info:- Call Both
10/23/2022 7:19:22 PM=>Info:- Start Executing SMS Method
10/23/2022 7:19:22 PM=>Info:- End Executing SMS Method
10/23/2022 7:19:22 PM=>Info:- Start Mailing Method
10/23/2022 7:19:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:19:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:19:22 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:19:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:19:23 PM=>Info:- Count = 1
10/23/2022 7:19:23 PM=>Info:- Count 1
10/23/2022 7:19:23 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:19:23 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:19:23 PM=>Info:- Start SenMail Method
10/23/2022 7:19:23 PM=>UseDefaultCredentials
10/23/2022 7:19:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:19:23 PM=>EnableSsl = true
10/23/2022 7:19:23 PM=>DeliveryMethod
10/23/2022 7:19:23 PM=>Before Send
10/23/2022 7:20:26 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:20:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:20:26 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:20:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:20:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:20:26 PM=>Info:- END Mailing Method
10/23/2022 7:20:26 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:20:26 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:20:26 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:20:26 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:20:26 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:20:26 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:20:26 PM=>Info - End of callingService Method
10/23/2022 7:22:26 PM=>Info - Check time Elapsed
10/23/2022 7:22:26 PM=>Info - Call callingService Method
10/23/2022 7:22:26 PM=>Info:- Call Both
10/23/2022 7:22:26 PM=>Info:- Start Executing SMS Method
10/23/2022 7:22:26 PM=>Info:- End Executing SMS Method
10/23/2022 7:22:26 PM=>Info:- Start Mailing Method
10/23/2022 7:22:26 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:22:26 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:22:26 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:22:26 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:22:26 PM=>Info:- Count = 1
10/23/2022 7:22:26 PM=>Info:- Count 1
10/23/2022 7:22:26 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:22:26 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:22:26 PM=>Info:- Start SenMail Method
10/23/2022 7:22:26 PM=>UseDefaultCredentials
10/23/2022 7:22:26 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:22:26 PM=>EnableSsl = true
10/23/2022 7:22:26 PM=>DeliveryMethod
10/23/2022 7:22:26 PM=>Before Send
10/23/2022 7:23:50 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.162:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:23:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:23:50 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:23:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:23:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:23:51 PM=>Info:- END Mailing Method
10/23/2022 7:23:51 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:23:51 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:23:51 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:23:51 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:23:51 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:23:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:23:51 PM=>Info - End of callingService Method
10/23/2022 7:25:51 PM=>Info - Check time Elapsed
10/23/2022 7:25:51 PM=>Info - Call callingService Method
10/23/2022 7:25:51 PM=>Info:- Call Both
10/23/2022 7:25:51 PM=>Info:- Start Executing SMS Method
10/23/2022 7:25:51 PM=>Info:- End Executing SMS Method
10/23/2022 7:25:51 PM=>Info:- Start Mailing Method
10/23/2022 7:25:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:25:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:25:51 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:25:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:25:51 PM=>Info:- Count = 1
10/23/2022 7:25:51 PM=>Info:- Count 1
10/23/2022 7:25:51 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:25:51 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:25:51 PM=>Info:- Start SenMail Method
10/23/2022 7:25:51 PM=>UseDefaultCredentials
10/23/2022 7:25:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:25:51 PM=>EnableSsl = true
10/23/2022 7:25:51 PM=>DeliveryMethod
10/23/2022 7:25:51 PM=>Before Send
10/23/2022 7:27:15 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.179.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:27:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:27:15 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:27:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:27:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:27:15 PM=>Info:- END Mailing Method
10/23/2022 7:27:15 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:27:15 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:27:15 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:27:15 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:27:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:27:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:27:15 PM=>Info - End of callingService Method
10/23/2022 7:29:15 PM=>Info - Check time Elapsed
10/23/2022 7:29:15 PM=>Info - Call callingService Method
10/23/2022 7:29:15 PM=>Info:- Call Both
10/23/2022 7:29:15 PM=>Info:- Start Executing SMS Method
10/23/2022 7:29:15 PM=>Info:- End Executing SMS Method
10/23/2022 7:29:15 PM=>Info:- Start Mailing Method
10/23/2022 7:29:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:29:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:29:15 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:29:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:29:15 PM=>Info:- Count = 1
10/23/2022 7:29:15 PM=>Info:- Count 1
10/23/2022 7:29:15 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:29:15 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:29:15 PM=>Info:- Start SenMail Method
10/23/2022 7:29:15 PM=>UseDefaultCredentials
10/23/2022 7:29:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:29:15 PM=>EnableSsl = true
10/23/2022 7:29:15 PM=>DeliveryMethod
10/23/2022 7:29:15 PM=>Before Send
10/23/2022 7:30:39 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.188.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:30:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:30:39 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:30:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:30:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:30:40 PM=>Info:- END Mailing Method
10/23/2022 7:30:40 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:30:40 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:30:40 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:30:40 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:30:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:30:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:30:40 PM=>Info - End of callingService Method
10/23/2022 7:32:40 PM=>Info - Check time Elapsed
10/23/2022 7:32:40 PM=>Info - Call callingService Method
10/23/2022 7:32:40 PM=>Info:- Call Both
10/23/2022 7:32:40 PM=>Info:- Start Executing SMS Method
10/23/2022 7:32:40 PM=>Info:- End Executing SMS Method
10/23/2022 7:32:40 PM=>Info:- Start Mailing Method
10/23/2022 7:32:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:32:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:32:40 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:32:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:32:40 PM=>Info:- Count = 1
10/23/2022 7:32:40 PM=>Info:- Count 1
10/23/2022 7:32:40 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:32:40 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:32:40 PM=>Info:- Start SenMail Method
10/23/2022 7:32:40 PM=>UseDefaultCredentials
10/23/2022 7:32:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:32:40 PM=>EnableSsl = true
10/23/2022 7:32:40 PM=>DeliveryMethod
10/23/2022 7:32:40 PM=>Before Send
10/23/2022 7:32:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:32:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:32:40 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:32:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:32:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:32:40 PM=>Info:- END Mailing Method
10/23/2022 7:32:40 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:32:40 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:32:40 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:32:40 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:32:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:32:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:32:40 PM=>Info - End of callingService Method
10/23/2022 7:34:40 PM=>Info - Check time Elapsed
10/23/2022 7:34:40 PM=>Info - Call callingService Method
10/23/2022 7:34:40 PM=>Info:- Call Both
10/23/2022 7:34:40 PM=>Info:- Start Executing SMS Method
10/23/2022 7:34:40 PM=>Info:- End Executing SMS Method
10/23/2022 7:34:40 PM=>Info:- Start Mailing Method
10/23/2022 7:34:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:34:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:34:40 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:34:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:34:40 PM=>Info:- Count = 1
10/23/2022 7:34:40 PM=>Info:- Count 1
10/23/2022 7:34:40 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:34:40 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:34:40 PM=>Info:- Start SenMail Method
10/23/2022 7:34:40 PM=>UseDefaultCredentials
10/23/2022 7:34:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:34:40 PM=>EnableSsl = true
10/23/2022 7:34:40 PM=>DeliveryMethod
10/23/2022 7:34:40 PM=>Before Send
10/23/2022 7:34:49 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:34:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:34:49 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:34:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:34:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:34:50 PM=>Info:- END Mailing Method
10/23/2022 7:34:50 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:34:50 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:34:50 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:34:50 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:34:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:34:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:34:50 PM=>Info - End of callingService Method
10/23/2022 7:36:50 PM=>Info - Check time Elapsed
10/23/2022 7:36:50 PM=>Info - Call callingService Method
10/23/2022 7:36:50 PM=>Info:- Call Both
10/23/2022 7:36:50 PM=>Info:- Start Executing SMS Method
10/23/2022 7:36:50 PM=>Info:- End Executing SMS Method
10/23/2022 7:36:50 PM=>Info:- Start Mailing Method
10/23/2022 7:36:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:36:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:36:50 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:36:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:36:50 PM=>Info:- Count = 1
10/23/2022 7:36:50 PM=>Info:- Count 1
10/23/2022 7:36:50 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:36:50 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:36:50 PM=>Info:- Start SenMail Method
10/23/2022 7:36:50 PM=>UseDefaultCredentials
10/23/2022 7:36:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:36:50 PM=>EnableSsl = true
10/23/2022 7:36:50 PM=>DeliveryMethod
10/23/2022 7:36:50 PM=>Before Send
10/23/2022 7:37:56 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:37:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:37:56 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:37:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:37:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:37:56 PM=>Info:- END Mailing Method
10/23/2022 7:37:56 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:37:56 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:37:56 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:37:56 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:37:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:37:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:37:56 PM=>Info - End of callingService Method
10/23/2022 7:39:56 PM=>Info - Check time Elapsed
10/23/2022 7:39:56 PM=>Info - Call callingService Method
10/23/2022 7:39:56 PM=>Info:- Call Both
10/23/2022 7:39:56 PM=>Info:- Start Executing SMS Method
10/23/2022 7:39:56 PM=>Info:- End Executing SMS Method
10/23/2022 7:39:56 PM=>Info:- Start Mailing Method
10/23/2022 7:39:56 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:39:56 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:39:56 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:39:56 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:39:56 PM=>Info:- Count = 1
10/23/2022 7:39:56 PM=>Info:- Count 1
10/23/2022 7:39:56 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:39:56 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:39:56 PM=>Info:- Start SenMail Method
10/23/2022 7:39:56 PM=>UseDefaultCredentials
10/23/2022 7:39:56 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:39:56 PM=>EnableSsl = true
10/23/2022 7:39:56 PM=>DeliveryMethod
10/23/2022 7:39:56 PM=>Before Send
10/23/2022 7:40:05 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:40:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:40:05 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:40:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:40:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:40:05 PM=>Info:- END Mailing Method
10/23/2022 7:40:05 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:40:05 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:40:05 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:40:05 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:40:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:40:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:40:05 PM=>Info - End of callingService Method
10/23/2022 7:42:05 PM=>Info - Check time Elapsed
10/23/2022 7:42:05 PM=>Info - Call callingService Method
10/23/2022 7:42:05 PM=>Info:- Call Both
10/23/2022 7:42:06 PM=>Info:- Start Executing SMS Method
10/23/2022 7:42:06 PM=>Info:- End Executing SMS Method
10/23/2022 7:42:06 PM=>Info:- Start Mailing Method
10/23/2022 7:42:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:42:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:42:06 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:42:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:42:06 PM=>Info:- Count = 1
10/23/2022 7:42:06 PM=>Info:- Count 1
10/23/2022 7:42:06 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:42:06 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:42:06 PM=>Info:- Start SenMail Method
10/23/2022 7:42:06 PM=>UseDefaultCredentials
10/23/2022 7:42:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:42:06 PM=>EnableSsl = true
10/23/2022 7:42:06 PM=>DeliveryMethod
10/23/2022 7:42:06 PM=>Before Send
10/23/2022 7:42:06 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:42:06 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:42:06 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:42:06 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:42:06 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:42:06 PM=>Info:- END Mailing Method
10/23/2022 7:42:06 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:42:06 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:42:06 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:42:06 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:42:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:42:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:42:06 PM=>Info - End of callingService Method
10/23/2022 7:44:06 PM=>Info - Check time Elapsed
10/23/2022 7:44:06 PM=>Info - Call callingService Method
10/23/2022 7:44:06 PM=>Info:- Call Both
10/23/2022 7:44:06 PM=>Info:- Start Executing SMS Method
10/23/2022 7:44:06 PM=>Info:- End Executing SMS Method
10/23/2022 7:44:06 PM=>Info:- Start Mailing Method
10/23/2022 7:44:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:44:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:44:06 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:44:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:44:06 PM=>Info:- Count = 1
10/23/2022 7:44:06 PM=>Info:- Count 1
10/23/2022 7:44:06 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:44:06 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:44:06 PM=>Info:- Start SenMail Method
10/23/2022 7:44:06 PM=>UseDefaultCredentials
10/23/2022 7:44:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:44:06 PM=>EnableSsl = true
10/23/2022 7:44:06 PM=>DeliveryMethod
10/23/2022 7:44:06 PM=>Before Send
10/23/2022 7:45:30 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.38.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:45:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:45:30 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:45:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:45:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:45:30 PM=>Info:- END Mailing Method
10/23/2022 7:45:30 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:45:30 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:45:30 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:45:30 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:45:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:45:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:45:30 PM=>Info - End of callingService Method
10/23/2022 7:47:30 PM=>Info - Check time Elapsed
10/23/2022 7:47:30 PM=>Info - Call callingService Method
10/23/2022 7:47:30 PM=>Info:- Call Both
10/23/2022 7:47:30 PM=>Info:- Start Executing SMS Method
10/23/2022 7:47:30 PM=>Info:- End Executing SMS Method
10/23/2022 7:47:30 PM=>Info:- Start Mailing Method
10/23/2022 7:47:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:47:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:47:30 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:47:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:47:30 PM=>Info:- Count = 1
10/23/2022 7:47:30 PM=>Info:- Count 1
10/23/2022 7:47:30 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:47:30 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:47:30 PM=>Info:- Start SenMail Method
10/23/2022 7:47:30 PM=>UseDefaultCredentials
10/23/2022 7:47:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:47:30 PM=>EnableSsl = true
10/23/2022 7:47:30 PM=>DeliveryMethod
10/23/2022 7:47:30 PM=>Before Send
10/23/2022 7:47:39 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:47:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:47:39 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:47:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:47:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:47:40 PM=>Info:- END Mailing Method
10/23/2022 7:47:40 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:47:40 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:47:40 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:47:40 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:47:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:47:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:47:40 PM=>Info - End of callingService Method
10/23/2022 7:49:40 PM=>Info - Check time Elapsed
10/23/2022 7:49:40 PM=>Info - Call callingService Method
10/23/2022 7:49:40 PM=>Info:- Call Both
10/23/2022 7:49:40 PM=>Info:- Start Executing SMS Method
10/23/2022 7:49:40 PM=>Info:- End Executing SMS Method
10/23/2022 7:49:40 PM=>Info:- Start Mailing Method
10/23/2022 7:49:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:49:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:49:40 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:49:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:49:40 PM=>Info:- Count = 1
10/23/2022 7:49:40 PM=>Info:- Count 1
10/23/2022 7:49:40 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:49:40 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:49:40 PM=>Info:- Start SenMail Method
10/23/2022 7:49:40 PM=>UseDefaultCredentials
10/23/2022 7:49:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:49:40 PM=>EnableSsl = true
10/23/2022 7:49:40 PM=>DeliveryMethod
10/23/2022 7:49:40 PM=>Before Send
10/23/2022 7:51:04 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.15.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:51:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:51:04 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:51:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:51:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:51:04 PM=>Info:- END Mailing Method
10/23/2022 7:51:04 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:51:04 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:51:04 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:51:04 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:51:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:51:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:51:04 PM=>Info - End of callingService Method
10/23/2022 7:53:04 PM=>Info - Check time Elapsed
10/23/2022 7:53:04 PM=>Info - Call callingService Method
10/23/2022 7:53:04 PM=>Info:- Call Both
10/23/2022 7:53:04 PM=>Info:- Start Executing SMS Method
10/23/2022 7:53:04 PM=>Info:- End Executing SMS Method
10/23/2022 7:53:04 PM=>Info:- Start Mailing Method
10/23/2022 7:53:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:53:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:53:04 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:53:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:53:04 PM=>Info:- Count = 1
10/23/2022 7:53:04 PM=>Info:- Count 1
10/23/2022 7:53:04 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:53:04 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:53:04 PM=>Info:- Start SenMail Method
10/23/2022 7:53:04 PM=>UseDefaultCredentials
10/23/2022 7:53:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:53:04 PM=>EnableSsl = true
10/23/2022 7:53:04 PM=>DeliveryMethod
10/23/2022 7:53:04 PM=>Before Send
10/23/2022 7:54:28 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.179.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:54:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:54:28 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:54:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:54:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:54:29 PM=>Info:- END Mailing Method
10/23/2022 7:54:29 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:54:29 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:54:29 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:54:29 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:54:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:54:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:54:29 PM=>Info - End of callingService Method
10/23/2022 7:56:29 PM=>Info - Check time Elapsed
10/23/2022 7:56:29 PM=>Info - Call callingService Method
10/23/2022 7:56:29 PM=>Info:- Call Both
10/23/2022 7:56:29 PM=>Info:- Start Executing SMS Method
10/23/2022 7:56:29 PM=>Info:- End Executing SMS Method
10/23/2022 7:56:29 PM=>Info:- Start Mailing Method
10/23/2022 7:56:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:56:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:56:29 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:56:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:56:29 PM=>Info:- Count = 1
10/23/2022 7:56:29 PM=>Info:- Count 1
10/23/2022 7:56:29 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:56:29 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:56:29 PM=>Info:- Start SenMail Method
10/23/2022 7:56:29 PM=>UseDefaultCredentials
10/23/2022 7:56:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:56:29 PM=>EnableSsl = true
10/23/2022 7:56:29 PM=>DeliveryMethod
10/23/2022 7:56:29 PM=>Before Send
10/23/2022 7:57:53 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 7:57:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 7:57:53 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 7:57:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 7:57:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 7:57:53 PM=>Info:- END Mailing Method
10/23/2022 7:57:53 PM=>Info:- Start Executing Telegram Method
10/23/2022 7:57:53 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 7:57:53 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 7:57:53 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 7:57:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 7:57:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 7:57:53 PM=>Info - End of callingService Method
10/23/2022 7:59:53 PM=>Info - Check time Elapsed
10/23/2022 7:59:53 PM=>Info - Call callingService Method
10/23/2022 7:59:53 PM=>Info:- Call Both
10/23/2022 7:59:53 PM=>Info:- Start Executing SMS Method
10/23/2022 7:59:53 PM=>Info:- End Executing SMS Method
10/23/2022 7:59:53 PM=>Info:- Start Mailing Method
10/23/2022 7:59:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 7:59:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 7:59:53 PM=>Info:- PendingMail.xml file read to list
10/23/2022 7:59:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 7:59:53 PM=>Info:- Count = 1
10/23/2022 7:59:53 PM=>Info:- Count 1
10/23/2022 7:59:53 PM=>Info - Fetching Data From MAIL XML
10/23/2022 7:59:53 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 7:59:53 PM=>Info:- Start SenMail Method
10/23/2022 7:59:53 PM=>UseDefaultCredentials
10/23/2022 7:59:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 7:59:53 PM=>EnableSsl = true
10/23/2022 7:59:53 PM=>DeliveryMethod
10/23/2022 7:59:53 PM=>Before Send
10/23/2022 8:00:02 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:00:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:00:02 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:00:03 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:00:03 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:00:03 PM=>Info:- END Mailing Method
10/23/2022 8:00:03 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:00:03 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:00:03 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:00:03 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:00:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:00:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:00:03 PM=>Info - End of callingService Method
10/23/2022 8:02:03 PM=>Info - Check time Elapsed
10/23/2022 8:02:03 PM=>Info - Call callingService Method
10/23/2022 8:02:03 PM=>Info:- Call Both
10/23/2022 8:02:03 PM=>Info:- Start Executing SMS Method
10/23/2022 8:02:03 PM=>Info:- End Executing SMS Method
10/23/2022 8:02:03 PM=>Info:- Start Mailing Method
10/23/2022 8:02:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:02:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:02:03 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:02:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:02:03 PM=>Info:- Count = 1
10/23/2022 8:02:03 PM=>Info:- Count 1
10/23/2022 8:02:03 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:02:03 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:02:03 PM=>Info:- Start SenMail Method
10/23/2022 8:02:03 PM=>UseDefaultCredentials
10/23/2022 8:02:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:02:03 PM=>EnableSsl = true
10/23/2022 8:02:03 PM=>DeliveryMethod
10/23/2022 8:02:03 PM=>Before Send
10/23/2022 8:02:12 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:02:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:02:12 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:02:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:02:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:02:12 PM=>Info:- END Mailing Method
10/23/2022 8:02:12 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:02:12 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:02:12 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:02:12 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:02:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:02:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:02:12 PM=>Info - End of callingService Method
10/23/2022 8:04:12 PM=>Info - Check time Elapsed
10/23/2022 8:04:12 PM=>Info - Call callingService Method
10/23/2022 8:04:12 PM=>Info:- Call Both
10/23/2022 8:04:12 PM=>Info:- Start Executing SMS Method
10/23/2022 8:04:12 PM=>Info:- End Executing SMS Method
10/23/2022 8:04:12 PM=>Info:- Start Mailing Method
10/23/2022 8:04:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:04:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:04:12 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:04:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:04:12 PM=>Info:- Count = 1
10/23/2022 8:04:12 PM=>Info:- Count 1
10/23/2022 8:04:12 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:04:12 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:04:12 PM=>Info:- Start SenMail Method
10/23/2022 8:04:12 PM=>UseDefaultCredentials
10/23/2022 8:04:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:04:12 PM=>EnableSsl = true
10/23/2022 8:04:12 PM=>DeliveryMethod
10/23/2022 8:04:12 PM=>Before Send
10/23/2022 8:04:12 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:04:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:04:12 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:04:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:04:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:04:13 PM=>Info:- END Mailing Method
10/23/2022 8:04:13 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:04:13 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:04:13 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:04:13 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:04:13 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:04:13 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:04:13 PM=>Info - End of callingService Method
10/23/2022 8:06:13 PM=>Info - Check time Elapsed
10/23/2022 8:06:13 PM=>Info - Call callingService Method
10/23/2022 8:06:13 PM=>Info:- Call Both
10/23/2022 8:06:13 PM=>Info:- Start Executing SMS Method
10/23/2022 8:06:13 PM=>Info:- End Executing SMS Method
10/23/2022 8:06:13 PM=>Info:- Start Mailing Method
10/23/2022 8:06:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:06:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:06:13 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:06:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:06:13 PM=>Info:- Count = 1
10/23/2022 8:06:13 PM=>Info:- Count 1
10/23/2022 8:06:13 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:06:13 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:06:13 PM=>Info:- Start SenMail Method
10/23/2022 8:06:13 PM=>UseDefaultCredentials
10/23/2022 8:06:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:06:13 PM=>EnableSsl = true
10/23/2022 8:06:13 PM=>DeliveryMethod
10/23/2022 8:06:13 PM=>Before Send
10/23/2022 8:07:16 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:07:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:07:16 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:07:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:07:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:07:16 PM=>Info:- END Mailing Method
10/23/2022 8:07:16 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:07:16 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:07:16 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:07:16 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:07:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:07:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:07:16 PM=>Info - End of callingService Method
10/23/2022 8:09:16 PM=>Info - Check time Elapsed
10/23/2022 8:09:16 PM=>Info - Call callingService Method
10/23/2022 8:09:16 PM=>Info:- Call Both
10/23/2022 8:09:16 PM=>Info:- Start Executing SMS Method
10/23/2022 8:09:16 PM=>Info:- End Executing SMS Method
10/23/2022 8:09:16 PM=>Info:- Start Mailing Method
10/23/2022 8:09:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:09:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:09:16 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:09:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:09:16 PM=>Info:- Count = 1
10/23/2022 8:09:16 PM=>Info:- Count 1
10/23/2022 8:09:16 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:09:16 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:09:16 PM=>Info:- Start SenMail Method
10/23/2022 8:09:16 PM=>UseDefaultCredentials
10/23/2022 8:09:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:09:16 PM=>EnableSsl = true
10/23/2022 8:09:16 PM=>DeliveryMethod
10/23/2022 8:09:16 PM=>Before Send
10/23/2022 8:10:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.130:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:10:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:10:40 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:10:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:10:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:10:41 PM=>Info:- END Mailing Method
10/23/2022 8:10:41 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:10:41 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:10:41 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:10:41 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:10:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:10:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:10:41 PM=>Info - End of callingService Method
10/23/2022 8:12:41 PM=>Info - Check time Elapsed
10/23/2022 8:12:41 PM=>Info - Call callingService Method
10/23/2022 8:12:41 PM=>Info:- Call Both
10/23/2022 8:12:41 PM=>Info:- Start Executing SMS Method
10/23/2022 8:12:41 PM=>Info:- End Executing SMS Method
10/23/2022 8:12:41 PM=>Info:- Start Mailing Method
10/23/2022 8:12:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:12:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:12:41 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:12:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:12:41 PM=>Info:- Count = 1
10/23/2022 8:12:41 PM=>Info:- Count 1
10/23/2022 8:12:41 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:12:41 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:12:41 PM=>Info:- Start SenMail Method
10/23/2022 8:12:41 PM=>UseDefaultCredentials
10/23/2022 8:12:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:12:41 PM=>EnableSsl = true
10/23/2022 8:12:41 PM=>DeliveryMethod
10/23/2022 8:12:41 PM=>Before Send
10/23/2022 8:12:50 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:12:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:12:50 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:12:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:12:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:12:50 PM=>Info:- END Mailing Method
10/23/2022 8:12:50 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:12:50 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:12:50 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:12:50 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:12:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:12:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:12:50 PM=>Info - End of callingService Method
10/23/2022 8:14:50 PM=>Info - Check time Elapsed
10/23/2022 8:14:50 PM=>Info - Call callingService Method
10/23/2022 8:14:50 PM=>Info:- Call Both
10/23/2022 8:14:50 PM=>Info:- Start Executing SMS Method
10/23/2022 8:14:50 PM=>Info:- End Executing SMS Method
10/23/2022 8:14:50 PM=>Info:- Start Mailing Method
10/23/2022 8:14:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:14:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:14:50 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:14:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:14:50 PM=>Info:- Count = 1
10/23/2022 8:14:50 PM=>Info:- Count 1
10/23/2022 8:14:50 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:14:50 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:14:50 PM=>Info:- Start SenMail Method
10/23/2022 8:14:50 PM=>UseDefaultCredentials
10/23/2022 8:14:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:14:50 PM=>EnableSsl = true
10/23/2022 8:14:50 PM=>DeliveryMethod
10/23/2022 8:14:50 PM=>Before Send
10/23/2022 8:16:14 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.50:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:16:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:16:14 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:16:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:16:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:16:15 PM=>Info:- END Mailing Method
10/23/2022 8:16:15 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:16:15 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:16:15 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:16:15 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:16:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:16:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:16:15 PM=>Info - End of callingService Method
10/23/2022 8:18:15 PM=>Info - Check time Elapsed
10/23/2022 8:18:15 PM=>Info - Call callingService Method
10/23/2022 8:18:15 PM=>Info:- Call Both
10/23/2022 8:18:15 PM=>Info:- Start Executing SMS Method
10/23/2022 8:18:15 PM=>Info:- End Executing SMS Method
10/23/2022 8:18:15 PM=>Info:- Start Mailing Method
10/23/2022 8:18:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:18:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:18:15 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:18:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:18:15 PM=>Info:- Count = 1
10/23/2022 8:18:15 PM=>Info:- Count 1
10/23/2022 8:18:15 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:18:15 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:18:15 PM=>Info:- Start SenMail Method
10/23/2022 8:18:15 PM=>UseDefaultCredentials
10/23/2022 8:18:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:18:15 PM=>EnableSsl = true
10/23/2022 8:18:15 PM=>DeliveryMethod
10/23/2022 8:18:15 PM=>Before Send
10/23/2022 8:18:15 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:18:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:18:15 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:18:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:18:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:18:15 PM=>Info:- END Mailing Method
10/23/2022 8:18:15 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:18:15 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:18:15 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:18:15 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:18:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:18:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:18:15 PM=>Info - End of callingService Method
10/23/2022 8:20:15 PM=>Info - Check time Elapsed
10/23/2022 8:20:15 PM=>Info - Call callingService Method
10/23/2022 8:20:15 PM=>Info:- Call Both
10/23/2022 8:20:15 PM=>Info:- Start Executing SMS Method
10/23/2022 8:20:15 PM=>Info:- End Executing SMS Method
10/23/2022 8:20:15 PM=>Info:- Start Mailing Method
10/23/2022 8:20:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:20:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:20:15 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:20:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:20:15 PM=>Info:- Count = 1
10/23/2022 8:20:15 PM=>Info:- Count 1
10/23/2022 8:20:15 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:20:15 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:20:15 PM=>Info:- Start SenMail Method
10/23/2022 8:20:15 PM=>UseDefaultCredentials
10/23/2022 8:20:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:20:15 PM=>EnableSsl = true
10/23/2022 8:20:15 PM=>DeliveryMethod
10/23/2022 8:20:15 PM=>Before Send
10/23/2022 8:20:18 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:20:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:20:18 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:20:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:20:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:20:18 PM=>Info:- END Mailing Method
10/23/2022 8:20:18 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:20:18 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:20:18 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:20:18 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:20:18 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:20:18 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:20:18 PM=>Info - End of callingService Method
10/23/2022 8:22:18 PM=>Info - Check time Elapsed
10/23/2022 8:22:18 PM=>Info - Call callingService Method
10/23/2022 8:22:18 PM=>Info:- Call Both
10/23/2022 8:22:18 PM=>Info:- Start Executing SMS Method
10/23/2022 8:22:18 PM=>Info:- End Executing SMS Method
10/23/2022 8:22:18 PM=>Info:- Start Mailing Method
10/23/2022 8:22:18 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:22:18 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:22:18 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:22:18 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:22:18 PM=>Info:- Count = 1
10/23/2022 8:22:18 PM=>Info:- Count 1
10/23/2022 8:22:18 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:22:18 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:22:18 PM=>Info:- Start SenMail Method
10/23/2022 8:22:18 PM=>UseDefaultCredentials
10/23/2022 8:22:18 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:22:18 PM=>EnableSsl = true
10/23/2022 8:22:18 PM=>DeliveryMethod
10/23/2022 8:22:18 PM=>Before Send
10/23/2022 8:22:18 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:22:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:22:18 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:22:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:22:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:22:19 PM=>Info:- END Mailing Method
10/23/2022 8:22:19 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:22:19 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:22:19 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:22:19 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:22:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:22:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:22:19 PM=>Info - End of callingService Method
10/23/2022 8:24:19 PM=>Info - Check time Elapsed
10/23/2022 8:24:19 PM=>Info - Call callingService Method
10/23/2022 8:24:19 PM=>Info:- Call Both
10/23/2022 8:24:19 PM=>Info:- Start Executing SMS Method
10/23/2022 8:24:19 PM=>Info:- End Executing SMS Method
10/23/2022 8:24:19 PM=>Info:- Start Mailing Method
10/23/2022 8:24:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:24:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:24:19 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:24:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:24:19 PM=>Info:- Count = 1
10/23/2022 8:24:19 PM=>Info:- Count 1
10/23/2022 8:24:19 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:24:19 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:24:19 PM=>Info:- Start SenMail Method
10/23/2022 8:24:19 PM=>UseDefaultCredentials
10/23/2022 8:24:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:24:19 PM=>EnableSsl = true
10/23/2022 8:24:19 PM=>DeliveryMethod
10/23/2022 8:24:19 PM=>Before Send
10/23/2022 8:24:22 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:24:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:24:22 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:24:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:24:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:24:22 PM=>Info:- END Mailing Method
10/23/2022 8:24:22 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:24:22 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:24:22 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:24:22 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:24:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:24:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:24:22 PM=>Info - End of callingService Method
10/23/2022 8:26:22 PM=>Info - Check time Elapsed
10/23/2022 8:26:22 PM=>Info - Call callingService Method
10/23/2022 8:26:22 PM=>Info:- Call Both
10/23/2022 8:26:22 PM=>Info:- Start Executing SMS Method
10/23/2022 8:26:22 PM=>Info:- End Executing SMS Method
10/23/2022 8:26:22 PM=>Info:- Start Mailing Method
10/23/2022 8:26:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:26:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:26:22 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:26:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:26:22 PM=>Info:- Count = 1
10/23/2022 8:26:22 PM=>Info:- Count 1
10/23/2022 8:26:22 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:26:22 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:26:22 PM=>Info:- Start SenMail Method
10/23/2022 8:26:22 PM=>UseDefaultCredentials
10/23/2022 8:26:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:26:22 PM=>EnableSsl = true
10/23/2022 8:26:22 PM=>DeliveryMethod
10/23/2022 8:26:22 PM=>Before Send
10/23/2022 8:26:31 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:26:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:26:31 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:26:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:26:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:26:32 PM=>Info:- END Mailing Method
10/23/2022 8:26:32 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:26:32 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:26:32 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:26:32 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:26:32 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:26:32 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:26:32 PM=>Info - End of callingService Method
10/23/2022 8:28:32 PM=>Info - Check time Elapsed
10/23/2022 8:28:32 PM=>Info - Call callingService Method
10/23/2022 8:28:32 PM=>Info:- Call Both
10/23/2022 8:28:32 PM=>Info:- Start Executing SMS Method
10/23/2022 8:28:32 PM=>Info:- End Executing SMS Method
10/23/2022 8:28:32 PM=>Info:- Start Mailing Method
10/23/2022 8:28:32 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:28:32 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:28:32 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:28:32 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:28:32 PM=>Info:- Count = 1
10/23/2022 8:28:32 PM=>Info:- Count 1
10/23/2022 8:28:32 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:28:32 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:28:32 PM=>Info:- Start SenMail Method
10/23/2022 8:28:32 PM=>UseDefaultCredentials
10/23/2022 8:28:32 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:28:32 PM=>EnableSsl = true
10/23/2022 8:28:32 PM=>DeliveryMethod
10/23/2022 8:28:32 PM=>Before Send
10/23/2022 8:28:41 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:28:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:28:41 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:28:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:28:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:28:41 PM=>Info:- END Mailing Method
10/23/2022 8:28:41 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:28:41 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:28:41 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:28:41 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:28:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:28:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:28:41 PM=>Info - End of callingService Method
10/23/2022 8:30:41 PM=>Info - Check time Elapsed
10/23/2022 8:30:41 PM=>Info - Call callingService Method
10/23/2022 8:30:41 PM=>Info:- Call Both
10/23/2022 8:30:41 PM=>Info:- Start Executing SMS Method
10/23/2022 8:30:41 PM=>Info:- End Executing SMS Method
10/23/2022 8:30:41 PM=>Info:- Start Mailing Method
10/23/2022 8:30:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:30:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:30:41 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:30:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:30:41 PM=>Info:- Count = 1
10/23/2022 8:30:41 PM=>Info:- Count 1
10/23/2022 8:30:41 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:30:41 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:30:41 PM=>Info:- Start SenMail Method
10/23/2022 8:30:41 PM=>UseDefaultCredentials
10/23/2022 8:30:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:30:41 PM=>EnableSsl = true
10/23/2022 8:30:41 PM=>DeliveryMethod
10/23/2022 8:30:41 PM=>Before Send
10/23/2022 8:30:50 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:30:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:30:50 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:30:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:30:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:30:51 PM=>Info:- END Mailing Method
10/23/2022 8:30:51 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:30:51 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:30:51 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:30:51 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:30:51 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:30:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:30:51 PM=>Info - End of callingService Method
10/23/2022 8:32:51 PM=>Info - Check time Elapsed
10/23/2022 8:32:51 PM=>Info - Call callingService Method
10/23/2022 8:32:51 PM=>Info:- Call Both
10/23/2022 8:32:51 PM=>Info:- Start Executing SMS Method
10/23/2022 8:32:51 PM=>Info:- End Executing SMS Method
10/23/2022 8:32:51 PM=>Info:- Start Mailing Method
10/23/2022 8:32:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:32:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:32:51 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:32:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:32:51 PM=>Info:- Count = 1
10/23/2022 8:32:51 PM=>Info:- Count 1
10/23/2022 8:32:51 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:32:51 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:32:51 PM=>Info:- Start SenMail Method
10/23/2022 8:32:51 PM=>UseDefaultCredentials
10/23/2022 8:32:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:32:51 PM=>EnableSsl = true
10/23/2022 8:32:51 PM=>DeliveryMethod
10/23/2022 8:32:51 PM=>Before Send
10/23/2022 8:33:00 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:33:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:33:00 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:33:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:33:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:33:00 PM=>Info:- END Mailing Method
10/23/2022 8:33:00 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:33:00 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:33:00 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:33:00 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:33:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:33:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:33:00 PM=>Info - End of callingService Method
10/23/2022 8:35:00 PM=>Info - Check time Elapsed
10/23/2022 8:35:00 PM=>Info - Call callingService Method
10/23/2022 8:35:00 PM=>Info:- Call Both
10/23/2022 8:35:00 PM=>Info:- Start Executing SMS Method
10/23/2022 8:35:00 PM=>Info:- End Executing SMS Method
10/23/2022 8:35:00 PM=>Info:- Start Mailing Method
10/23/2022 8:35:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:35:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:35:00 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:35:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:35:00 PM=>Info:- Count = 1
10/23/2022 8:35:00 PM=>Info:- Count 1
10/23/2022 8:35:00 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:35:00 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:35:00 PM=>Info:- Start SenMail Method
10/23/2022 8:35:00 PM=>UseDefaultCredentials
10/23/2022 8:35:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:35:00 PM=>EnableSsl = true
10/23/2022 8:35:00 PM=>DeliveryMethod
10/23/2022 8:35:00 PM=>Before Send
10/23/2022 8:36:24 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.50:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:36:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:36:24 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:36:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:36:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:36:25 PM=>Info:- END Mailing Method
10/23/2022 8:36:25 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:36:25 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:36:25 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:36:25 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:36:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:36:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:36:25 PM=>Info - End of callingService Method
10/23/2022 8:38:25 PM=>Info - Check time Elapsed
10/23/2022 8:38:25 PM=>Info - Call callingService Method
10/23/2022 8:38:25 PM=>Info:- Call Both
10/23/2022 8:38:25 PM=>Info:- Start Executing SMS Method
10/23/2022 8:38:25 PM=>Info:- End Executing SMS Method
10/23/2022 8:38:25 PM=>Info:- Start Mailing Method
10/23/2022 8:38:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:38:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:38:25 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:38:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:38:25 PM=>Info:- Count = 1
10/23/2022 8:38:25 PM=>Info:- Count 1
10/23/2022 8:38:25 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:38:25 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:38:25 PM=>Info:- Start SenMail Method
10/23/2022 8:38:25 PM=>UseDefaultCredentials
10/23/2022 8:38:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:38:25 PM=>EnableSsl = true
10/23/2022 8:38:25 PM=>DeliveryMethod
10/23/2022 8:38:25 PM=>Before Send
10/23/2022 8:38:28 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:38:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:38:28 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:38:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:38:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:38:28 PM=>Info:- END Mailing Method
10/23/2022 8:38:28 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:38:28 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:38:28 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:38:28 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:38:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:38:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:38:28 PM=>Info - End of callingService Method
10/23/2022 8:40:28 PM=>Info - Check time Elapsed
10/23/2022 8:40:28 PM=>Info - Call callingService Method
10/23/2022 8:40:28 PM=>Info:- Call Both
10/23/2022 8:40:28 PM=>Info:- Start Executing SMS Method
10/23/2022 8:40:28 PM=>Info:- End Executing SMS Method
10/23/2022 8:40:28 PM=>Info:- Start Mailing Method
10/23/2022 8:40:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:40:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:40:28 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:40:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:40:28 PM=>Info:- Count = 1
10/23/2022 8:40:28 PM=>Info:- Count 1
10/23/2022 8:40:28 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:40:28 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:40:28 PM=>Info:- Start SenMail Method
10/23/2022 8:40:28 PM=>UseDefaultCredentials
10/23/2022 8:40:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:40:28 PM=>EnableSsl = true
10/23/2022 8:40:28 PM=>DeliveryMethod
10/23/2022 8:40:28 PM=>Before Send
10/23/2022 8:40:37 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:40:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:40:37 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:40:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:40:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:40:37 PM=>Info:- END Mailing Method
10/23/2022 8:40:37 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:40:37 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:40:37 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:40:37 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:40:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:40:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:40:37 PM=>Info - End of callingService Method
10/23/2022 8:42:37 PM=>Info - Check time Elapsed
10/23/2022 8:42:37 PM=>Info - Call callingService Method
10/23/2022 8:42:37 PM=>Info:- Call Both
10/23/2022 8:42:37 PM=>Info:- Start Executing SMS Method
10/23/2022 8:42:37 PM=>Info:- End Executing SMS Method
10/23/2022 8:42:37 PM=>Info:- Start Mailing Method
10/23/2022 8:42:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:42:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:42:37 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:42:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:42:37 PM=>Info:- Count = 1
10/23/2022 8:42:37 PM=>Info:- Count 1
10/23/2022 8:42:37 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:42:37 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:42:37 PM=>Info:- Start SenMail Method
10/23/2022 8:42:37 PM=>UseDefaultCredentials
10/23/2022 8:42:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:42:37 PM=>EnableSsl = true
10/23/2022 8:42:37 PM=>DeliveryMethod
10/23/2022 8:42:38 PM=>Before Send
10/23/2022 8:42:47 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:42:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:42:47 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:42:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:42:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:42:47 PM=>Info:- END Mailing Method
10/23/2022 8:42:47 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:42:47 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:42:47 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:42:47 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:42:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:42:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:42:47 PM=>Info - End of callingService Method
10/23/2022 8:44:47 PM=>Info - Check time Elapsed
10/23/2022 8:44:47 PM=>Info - Call callingService Method
10/23/2022 8:44:47 PM=>Info:- Call Both
10/23/2022 8:44:47 PM=>Info:- Start Executing SMS Method
10/23/2022 8:44:47 PM=>Info:- End Executing SMS Method
10/23/2022 8:44:47 PM=>Info:- Start Mailing Method
10/23/2022 8:44:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:44:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:44:47 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:44:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:44:47 PM=>Info:- Count = 1
10/23/2022 8:44:47 PM=>Info:- Count 1
10/23/2022 8:44:47 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:44:47 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:44:47 PM=>Info:- Start SenMail Method
10/23/2022 8:44:47 PM=>UseDefaultCredentials
10/23/2022 8:44:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:44:47 PM=>EnableSsl = true
10/23/2022 8:44:47 PM=>DeliveryMethod
10/23/2022 8:44:47 PM=>Before Send
10/23/2022 8:45:08 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:45:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:45:08 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:45:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:45:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:45:08 PM=>Info:- END Mailing Method
10/23/2022 8:45:08 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:45:08 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:45:08 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:45:08 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:45:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:45:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:45:08 PM=>Info - End of callingService Method
10/23/2022 8:47:08 PM=>Info - Check time Elapsed
10/23/2022 8:47:08 PM=>Info - Call callingService Method
10/23/2022 8:47:08 PM=>Info:- Call Both
10/23/2022 8:47:08 PM=>Info:- Start Executing SMS Method
10/23/2022 8:47:08 PM=>Info:- End Executing SMS Method
10/23/2022 8:47:08 PM=>Info:- Start Mailing Method
10/23/2022 8:47:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:47:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:47:08 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:47:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:47:08 PM=>Info:- Count = 1
10/23/2022 8:47:08 PM=>Info:- Count 1
10/23/2022 8:47:08 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:47:08 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:47:08 PM=>Info:- Start SenMail Method
10/23/2022 8:47:08 PM=>UseDefaultCredentials
10/23/2022 8:47:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:47:08 PM=>EnableSsl = true
10/23/2022 8:47:08 PM=>DeliveryMethod
10/23/2022 8:47:08 PM=>Before Send
10/23/2022 8:47:30 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:47:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:47:30 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:47:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:47:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:47:30 PM=>Info:- END Mailing Method
10/23/2022 8:47:30 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:47:30 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:47:30 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:47:30 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:47:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:47:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:47:30 PM=>Info - End of callingService Method
10/23/2022 8:49:30 PM=>Info - Check time Elapsed
10/23/2022 8:49:30 PM=>Info - Call callingService Method
10/23/2022 8:49:30 PM=>Info:- Call Both
10/23/2022 8:49:30 PM=>Info:- Start Executing SMS Method
10/23/2022 8:49:30 PM=>Info:- End Executing SMS Method
10/23/2022 8:49:30 PM=>Info:- Start Mailing Method
10/23/2022 8:49:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:49:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:49:30 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:49:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:49:30 PM=>Info:- Count = 1
10/23/2022 8:49:30 PM=>Info:- Count 1
10/23/2022 8:49:30 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:49:30 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:49:30 PM=>Info:- Start SenMail Method
10/23/2022 8:49:30 PM=>UseDefaultCredentials
10/23/2022 8:49:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:49:30 PM=>EnableSsl = true
10/23/2022 8:49:30 PM=>DeliveryMethod
10/23/2022 8:49:30 PM=>Before Send
10/23/2022 8:50:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.87.194:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:50:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:50:54 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:50:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:50:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:50:54 PM=>Info:- END Mailing Method
10/23/2022 8:50:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:50:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:50:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:50:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:50:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:50:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:50:54 PM=>Info - End of callingService Method
10/23/2022 8:52:54 PM=>Info - Check time Elapsed
10/23/2022 8:52:54 PM=>Info - Call callingService Method
10/23/2022 8:52:54 PM=>Info:- Call Both
10/23/2022 8:52:54 PM=>Info:- Start Executing SMS Method
10/23/2022 8:52:54 PM=>Info:- End Executing SMS Method
10/23/2022 8:52:54 PM=>Info:- Start Mailing Method
10/23/2022 8:52:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:52:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:52:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:52:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:52:54 PM=>Info:- Count = 1
10/23/2022 8:52:54 PM=>Info:- Count 1
10/23/2022 8:52:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:52:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:52:54 PM=>Info:- Start SenMail Method
10/23/2022 8:52:54 PM=>UseDefaultCredentials
10/23/2022 8:52:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:52:54 PM=>EnableSsl = true
10/23/2022 8:52:54 PM=>DeliveryMethod
10/23/2022 8:52:54 PM=>Before Send
10/23/2022 8:54:19 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.190.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:54:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:54:19 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:54:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:54:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:54:19 PM=>Info:- END Mailing Method
10/23/2022 8:54:19 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:54:19 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:54:19 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:54:19 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:54:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:54:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:54:19 PM=>Info - End of callingService Method
10/23/2022 8:56:19 PM=>Info - Check time Elapsed
10/23/2022 8:56:19 PM=>Info - Call callingService Method
10/23/2022 8:56:19 PM=>Info:- Call Both
10/23/2022 8:56:19 PM=>Info:- Start Executing SMS Method
10/23/2022 8:56:19 PM=>Info:- End Executing SMS Method
10/23/2022 8:56:19 PM=>Info:- Start Mailing Method
10/23/2022 8:56:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:56:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:56:19 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:56:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:56:19 PM=>Info:- Count = 1
10/23/2022 8:56:19 PM=>Info:- Count 1
10/23/2022 8:56:19 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:56:19 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:56:19 PM=>Info:- Start SenMail Method
10/23/2022 8:56:19 PM=>UseDefaultCredentials
10/23/2022 8:56:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:56:19 PM=>EnableSsl = true
10/23/2022 8:56:19 PM=>DeliveryMethod
10/23/2022 8:56:19 PM=>Before Send
10/23/2022 8:57:43 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.130:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:57:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:57:43 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:57:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:57:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:57:43 PM=>Info:- END Mailing Method
10/23/2022 8:57:43 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:57:43 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:57:43 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:57:43 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:57:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:57:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:57:43 PM=>Info - End of callingService Method
10/23/2022 8:59:43 PM=>Info - Check time Elapsed
10/23/2022 8:59:43 PM=>Info - Call callingService Method
10/23/2022 8:59:43 PM=>Info:- Call Both
10/23/2022 8:59:43 PM=>Info:- Start Executing SMS Method
10/23/2022 8:59:43 PM=>Info:- End Executing SMS Method
10/23/2022 8:59:43 PM=>Info:- Start Mailing Method
10/23/2022 8:59:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 8:59:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 8:59:43 PM=>Info:- PendingMail.xml file read to list
10/23/2022 8:59:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 8:59:43 PM=>Info:- Count = 1
10/23/2022 8:59:43 PM=>Info:- Count 1
10/23/2022 8:59:43 PM=>Info - Fetching Data From MAIL XML
10/23/2022 8:59:43 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 8:59:43 PM=>Info:- Start SenMail Method
10/23/2022 8:59:43 PM=>UseDefaultCredentials
10/23/2022 8:59:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 8:59:43 PM=>EnableSsl = true
10/23/2022 8:59:43 PM=>DeliveryMethod
10/23/2022 8:59:43 PM=>Before Send
10/23/2022 8:59:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 8:59:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 8:59:46 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 8:59:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 8:59:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 8:59:47 PM=>Info:- END Mailing Method
10/23/2022 8:59:47 PM=>Info:- Start Executing Telegram Method
10/23/2022 8:59:47 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 8:59:47 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 8:59:47 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 8:59:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 8:59:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 8:59:47 PM=>Info - End of callingService Method
10/23/2022 9:01:47 PM=>Info - Check time Elapsed
10/23/2022 9:01:47 PM=>Info - Call callingService Method
10/23/2022 9:01:47 PM=>Info:- Call Both
10/23/2022 9:01:47 PM=>Info:- Start Executing SMS Method
10/23/2022 9:01:47 PM=>Info:- End Executing SMS Method
10/23/2022 9:01:47 PM=>Info:- Start Mailing Method
10/23/2022 9:01:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:01:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:01:47 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:01:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:01:47 PM=>Info:- Count = 1
10/23/2022 9:01:47 PM=>Info:- Count 1
10/23/2022 9:01:47 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:01:47 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:01:47 PM=>Info:- Start SenMail Method
10/23/2022 9:01:47 PM=>UseDefaultCredentials
10/23/2022 9:01:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:01:47 PM=>EnableSsl = true
10/23/2022 9:01:47 PM=>DeliveryMethod
10/23/2022 9:01:47 PM=>Before Send
10/23/2022 9:02:50 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:02:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:02:50 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:02:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:02:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:02:50 PM=>Info:- END Mailing Method
10/23/2022 9:02:50 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:02:50 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:02:50 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:02:50 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:02:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:02:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:02:50 PM=>Info - End of callingService Method
10/23/2022 9:04:50 PM=>Info - Check time Elapsed
10/23/2022 9:04:50 PM=>Info - Call callingService Method
10/23/2022 9:04:50 PM=>Info:- Call Both
10/23/2022 9:04:50 PM=>Info:- Start Executing SMS Method
10/23/2022 9:04:50 PM=>Info:- End Executing SMS Method
10/23/2022 9:04:50 PM=>Info:- Start Mailing Method
10/23/2022 9:04:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:04:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:04:50 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:04:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:04:50 PM=>Info:- Count = 1
10/23/2022 9:04:50 PM=>Info:- Count 1
10/23/2022 9:04:50 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:04:50 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:04:50 PM=>Info:- Start SenMail Method
10/23/2022 9:04:50 PM=>UseDefaultCredentials
10/23/2022 9:04:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:04:50 PM=>EnableSsl = true
10/23/2022 9:04:50 PM=>DeliveryMethod
10/23/2022 9:04:50 PM=>Before Send
10/23/2022 9:04:50 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:04:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:04:50 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:04:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:04:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:04:51 PM=>Info:- END Mailing Method
10/23/2022 9:04:51 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:04:51 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:04:51 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:04:51 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:04:51 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:04:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:04:51 PM=>Info - End of callingService Method
10/23/2022 9:06:51 PM=>Info - Check time Elapsed
10/23/2022 9:06:51 PM=>Info - Call callingService Method
10/23/2022 9:06:51 PM=>Info:- Call Both
10/23/2022 9:06:51 PM=>Info:- Start Executing SMS Method
10/23/2022 9:06:51 PM=>Info:- End Executing SMS Method
10/23/2022 9:06:51 PM=>Info:- Start Mailing Method
10/23/2022 9:06:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:06:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:06:51 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:06:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:06:51 PM=>Info:- Count = 1
10/23/2022 9:06:51 PM=>Info:- Count 1
10/23/2022 9:06:51 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:06:51 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:06:51 PM=>Info:- Start SenMail Method
10/23/2022 9:06:51 PM=>UseDefaultCredentials
10/23/2022 9:06:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:06:51 PM=>EnableSsl = true
10/23/2022 9:06:51 PM=>DeliveryMethod
10/23/2022 9:06:51 PM=>Before Send
10/23/2022 9:07:00 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:07:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:07:00 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:07:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:07:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:07:00 PM=>Info:- END Mailing Method
10/23/2022 9:07:00 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:07:00 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:07:00 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:07:00 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:07:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:07:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:07:00 PM=>Info - End of callingService Method
10/23/2022 9:09:00 PM=>Info - Check time Elapsed
10/23/2022 9:09:00 PM=>Info - Call callingService Method
10/23/2022 9:09:00 PM=>Info:- Call Both
10/23/2022 9:09:00 PM=>Info:- Start Executing SMS Method
10/23/2022 9:09:00 PM=>Info:- End Executing SMS Method
10/23/2022 9:09:00 PM=>Info:- Start Mailing Method
10/23/2022 9:09:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:09:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:09:00 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:09:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:09:00 PM=>Info:- Count = 1
10/23/2022 9:09:00 PM=>Info:- Count 1
10/23/2022 9:09:00 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:09:00 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:09:00 PM=>Info:- Start SenMail Method
10/23/2022 9:09:00 PM=>UseDefaultCredentials
10/23/2022 9:09:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:09:00 PM=>EnableSsl = true
10/23/2022 9:09:00 PM=>DeliveryMethod
10/23/2022 9:09:00 PM=>Before Send
10/23/2022 9:09:42 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:09:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:09:42 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:09:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:09:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:09:43 PM=>Info:- END Mailing Method
10/23/2022 9:09:43 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:09:43 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:09:43 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:09:43 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:09:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:09:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:09:43 PM=>Info - End of callingService Method
10/23/2022 9:11:43 PM=>Info - Check time Elapsed
10/23/2022 9:11:43 PM=>Info - Call callingService Method
10/23/2022 9:11:43 PM=>Info:- Call Both
10/23/2022 9:11:43 PM=>Info:- Start Executing SMS Method
10/23/2022 9:11:43 PM=>Info:- End Executing SMS Method
10/23/2022 9:11:43 PM=>Info:- Start Mailing Method
10/23/2022 9:11:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:11:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:11:43 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:11:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:11:43 PM=>Info:- Count = 1
10/23/2022 9:11:43 PM=>Info:- Count 1
10/23/2022 9:11:43 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:11:43 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:11:43 PM=>Info:- Start SenMail Method
10/23/2022 9:11:43 PM=>UseDefaultCredentials
10/23/2022 9:11:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:11:43 PM=>EnableSsl = true
10/23/2022 9:11:43 PM=>DeliveryMethod
10/23/2022 9:11:43 PM=>Before Send
10/23/2022 9:13:07 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.62.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:13:07 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:13:07 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:13:07 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:13:07 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:13:07 PM=>Info:- END Mailing Method
10/23/2022 9:13:07 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:13:07 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:13:07 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:13:07 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:13:07 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:13:07 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:13:07 PM=>Info - End of callingService Method
10/23/2022 9:15:07 PM=>Info - Check time Elapsed
10/23/2022 9:15:07 PM=>Info - Call callingService Method
10/23/2022 9:15:07 PM=>Info:- Call Both
10/23/2022 9:15:07 PM=>Info:- Start Executing SMS Method
10/23/2022 9:15:07 PM=>Info:- End Executing SMS Method
10/23/2022 9:15:07 PM=>Info:- Start Mailing Method
10/23/2022 9:15:07 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:15:07 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:15:07 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:15:07 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:15:07 PM=>Info:- Count = 1
10/23/2022 9:15:07 PM=>Info:- Count 1
10/23/2022 9:15:07 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:15:07 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:15:07 PM=>Info:- Start SenMail Method
10/23/2022 9:15:07 PM=>UseDefaultCredentials
10/23/2022 9:15:07 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:15:07 PM=>EnableSsl = true
10/23/2022 9:15:07 PM=>DeliveryMethod
10/23/2022 9:15:07 PM=>Before Send
10/23/2022 9:16:31 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:16:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:16:31 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:16:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:16:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:16:32 PM=>Info:- END Mailing Method
10/23/2022 9:16:32 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:16:32 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:16:32 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:16:32 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:16:32 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:16:32 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:16:32 PM=>Info - End of callingService Method
10/23/2022 9:18:32 PM=>Info - Check time Elapsed
10/23/2022 9:18:32 PM=>Info - Call callingService Method
10/23/2022 9:18:32 PM=>Info:- Call Both
10/23/2022 9:18:32 PM=>Info:- Start Executing SMS Method
10/23/2022 9:18:32 PM=>Info:- End Executing SMS Method
10/23/2022 9:18:32 PM=>Info:- Start Mailing Method
10/23/2022 9:18:32 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:18:32 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:18:32 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:18:32 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:18:32 PM=>Info:- Count = 1
10/23/2022 9:18:32 PM=>Info:- Count 1
10/23/2022 9:18:32 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:18:32 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:18:32 PM=>Info:- Start SenMail Method
10/23/2022 9:18:32 PM=>UseDefaultCredentials
10/23/2022 9:18:32 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:18:32 PM=>EnableSsl = true
10/23/2022 9:18:32 PM=>DeliveryMethod
10/23/2022 9:18:32 PM=>Before Send
10/23/2022 9:19:56 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.35.178:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:19:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:19:56 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:19:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:19:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:19:56 PM=>Info:- END Mailing Method
10/23/2022 9:19:56 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:19:56 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:19:56 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:19:56 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:19:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:19:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:19:56 PM=>Info - End of callingService Method
10/23/2022 9:21:56 PM=>Info - Check time Elapsed
10/23/2022 9:21:56 PM=>Info - Call callingService Method
10/23/2022 9:21:56 PM=>Info:- Call Both
10/23/2022 9:21:56 PM=>Info:- Start Executing SMS Method
10/23/2022 9:21:56 PM=>Info:- End Executing SMS Method
10/23/2022 9:21:56 PM=>Info:- Start Mailing Method
10/23/2022 9:21:56 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:21:56 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:21:56 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:21:56 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:21:56 PM=>Info:- Count = 1
10/23/2022 9:21:56 PM=>Info:- Count 1
10/23/2022 9:21:56 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:21:56 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:21:56 PM=>Info:- Start SenMail Method
10/23/2022 9:21:56 PM=>UseDefaultCredentials
10/23/2022 9:21:56 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:21:56 PM=>EnableSsl = true
10/23/2022 9:21:56 PM=>DeliveryMethod
10/23/2022 9:21:56 PM=>Before Send
10/23/2022 9:23:20 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:23:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:23:20 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:23:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:23:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:23:21 PM=>Info:- END Mailing Method
10/23/2022 9:23:21 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:23:21 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:23:21 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:23:21 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:23:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:23:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:23:21 PM=>Info - End of callingService Method
10/23/2022 9:25:21 PM=>Info - Check time Elapsed
10/23/2022 9:25:21 PM=>Info - Call callingService Method
10/23/2022 9:25:21 PM=>Info:- Call Both
10/23/2022 9:25:21 PM=>Info:- Start Executing SMS Method
10/23/2022 9:25:21 PM=>Info:- End Executing SMS Method
10/23/2022 9:25:21 PM=>Info:- Start Mailing Method
10/23/2022 9:25:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:25:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:25:21 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:25:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:25:21 PM=>Info:- Count = 1
10/23/2022 9:25:21 PM=>Info:- Count 1
10/23/2022 9:25:21 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:25:21 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:25:21 PM=>Info:- Start SenMail Method
10/23/2022 9:25:21 PM=>UseDefaultCredentials
10/23/2022 9:25:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:25:21 PM=>EnableSsl = true
10/23/2022 9:25:21 PM=>DeliveryMethod
10/23/2022 9:25:21 PM=>Before Send
10/23/2022 9:25:21 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:25:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:25:21 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:25:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:25:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:25:21 PM=>Info:- END Mailing Method
10/23/2022 9:25:21 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:25:21 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:25:21 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:25:21 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:25:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:25:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:25:21 PM=>Info - End of callingService Method
10/23/2022 9:27:21 PM=>Info - Check time Elapsed
10/23/2022 9:27:21 PM=>Info - Call callingService Method
10/23/2022 9:27:21 PM=>Info:- Call Both
10/23/2022 9:27:21 PM=>Info:- Start Executing SMS Method
10/23/2022 9:27:21 PM=>Info:- End Executing SMS Method
10/23/2022 9:27:21 PM=>Info:- Start Mailing Method
10/23/2022 9:27:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:27:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:27:21 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:27:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:27:21 PM=>Info:- Count = 1
10/23/2022 9:27:21 PM=>Info:- Count 1
10/23/2022 9:27:21 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:27:21 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:27:21 PM=>Info:- Start SenMail Method
10/23/2022 9:27:21 PM=>UseDefaultCredentials
10/23/2022 9:27:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:27:21 PM=>EnableSsl = true
10/23/2022 9:27:21 PM=>DeliveryMethod
10/23/2022 9:27:21 PM=>Before Send
10/23/2022 9:28:45 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.50:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:28:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:28:45 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:28:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:28:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:28:46 PM=>Info:- END Mailing Method
10/23/2022 9:28:46 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:28:46 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:28:46 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:28:46 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:28:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:28:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:28:46 PM=>Info - End of callingService Method
10/23/2022 9:30:46 PM=>Info - Check time Elapsed
10/23/2022 9:30:46 PM=>Info - Call callingService Method
10/23/2022 9:30:46 PM=>Info:- Call Both
10/23/2022 9:30:46 PM=>Info:- Start Executing SMS Method
10/23/2022 9:30:46 PM=>Info:- End Executing SMS Method
10/23/2022 9:30:46 PM=>Info:- Start Mailing Method
10/23/2022 9:30:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:30:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:30:46 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:30:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:30:46 PM=>Info:- Count = 1
10/23/2022 9:30:46 PM=>Info:- Count 1
10/23/2022 9:30:46 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:30:46 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:30:46 PM=>Info:- Start SenMail Method
10/23/2022 9:30:46 PM=>UseDefaultCredentials
10/23/2022 9:30:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:30:46 PM=>EnableSsl = true
10/23/2022 9:30:46 PM=>DeliveryMethod
10/23/2022 9:30:46 PM=>Before Send
10/23/2022 9:31:16 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:31:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:31:16 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:31:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:31:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:31:16 PM=>Info:- END Mailing Method
10/23/2022 9:31:16 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:31:16 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:31:16 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:31:16 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:31:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:31:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:31:16 PM=>Info - End of callingService Method
10/23/2022 9:33:16 PM=>Info - Check time Elapsed
10/23/2022 9:33:16 PM=>Info - Call callingService Method
10/23/2022 9:33:16 PM=>Info:- Call Both
10/23/2022 9:33:16 PM=>Info:- Start Executing SMS Method
10/23/2022 9:33:16 PM=>Info:- End Executing SMS Method
10/23/2022 9:33:16 PM=>Info:- Start Mailing Method
10/23/2022 9:33:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:33:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:33:16 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:33:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:33:16 PM=>Info:- Count = 1
10/23/2022 9:33:16 PM=>Info:- Count 1
10/23/2022 9:33:16 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:33:16 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:33:16 PM=>Info:- Start SenMail Method
10/23/2022 9:33:16 PM=>UseDefaultCredentials
10/23/2022 9:33:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:33:16 PM=>EnableSsl = true
10/23/2022 9:33:16 PM=>DeliveryMethod
10/23/2022 9:33:16 PM=>Before Send
10/23/2022 9:33:19 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:33:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:33:19 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:33:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:33:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:33:19 PM=>Info:- END Mailing Method
10/23/2022 9:33:19 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:33:19 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:33:19 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:33:19 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:33:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:33:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:33:19 PM=>Info - End of callingService Method
10/23/2022 9:35:19 PM=>Info - Check time Elapsed
10/23/2022 9:35:19 PM=>Info - Call callingService Method
10/23/2022 9:35:20 PM=>Info:- Call Both
10/23/2022 9:35:20 PM=>Info:- Start Executing SMS Method
10/23/2022 9:35:20 PM=>Info:- End Executing SMS Method
10/23/2022 9:35:20 PM=>Info:- Start Mailing Method
10/23/2022 9:35:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:35:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:35:20 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:35:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:35:20 PM=>Info:- Count = 1
10/23/2022 9:35:20 PM=>Info:- Count 1
10/23/2022 9:35:20 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:35:20 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:35:20 PM=>Info:- Start SenMail Method
10/23/2022 9:35:20 PM=>UseDefaultCredentials
10/23/2022 9:35:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:35:20 PM=>EnableSsl = true
10/23/2022 9:35:20 PM=>DeliveryMethod
10/23/2022 9:35:20 PM=>Before Send
10/23/2022 9:35:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:35:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:35:29 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:35:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:35:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:35:29 PM=>Info:- END Mailing Method
10/23/2022 9:35:29 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:35:29 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:35:29 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:35:29 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:35:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:35:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:35:29 PM=>Info - End of callingService Method
10/23/2022 9:37:29 PM=>Info - Check time Elapsed
10/23/2022 9:37:29 PM=>Info - Call callingService Method
10/23/2022 9:37:29 PM=>Info:- Call Both
10/23/2022 9:37:29 PM=>Info:- Start Executing SMS Method
10/23/2022 9:37:29 PM=>Info:- End Executing SMS Method
10/23/2022 9:37:29 PM=>Info:- Start Mailing Method
10/23/2022 9:37:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:37:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:37:29 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:37:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:37:29 PM=>Info:- Count = 1
10/23/2022 9:37:29 PM=>Info:- Count 1
10/23/2022 9:37:29 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:37:29 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:37:29 PM=>Info:- Start SenMail Method
10/23/2022 9:37:29 PM=>UseDefaultCredentials
10/23/2022 9:37:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:37:29 PM=>EnableSsl = true
10/23/2022 9:37:29 PM=>DeliveryMethod
10/23/2022 9:37:29 PM=>Before Send
10/23/2022 9:37:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:37:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:37:29 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:37:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:37:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:37:29 PM=>Info:- END Mailing Method
10/23/2022 9:37:29 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:37:29 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:37:29 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:37:29 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:37:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:37:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:37:29 PM=>Info - End of callingService Method
10/23/2022 9:39:29 PM=>Info - Check time Elapsed
10/23/2022 9:39:29 PM=>Info - Call callingService Method
10/23/2022 9:39:29 PM=>Info:- Call Both
10/23/2022 9:39:29 PM=>Info:- Start Executing SMS Method
10/23/2022 9:39:29 PM=>Info:- End Executing SMS Method
10/23/2022 9:39:29 PM=>Info:- Start Mailing Method
10/23/2022 9:39:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:39:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:39:29 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:39:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:39:29 PM=>Info:- Count = 1
10/23/2022 9:39:29 PM=>Info:- Count 1
10/23/2022 9:39:29 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:39:29 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:39:29 PM=>Info:- Start SenMail Method
10/23/2022 9:39:29 PM=>UseDefaultCredentials
10/23/2022 9:39:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:39:29 PM=>EnableSsl = true
10/23/2022 9:39:29 PM=>DeliveryMethod
10/23/2022 9:39:29 PM=>Before Send
10/23/2022 9:39:38 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:39:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:39:38 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:39:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:39:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:39:39 PM=>Info:- END Mailing Method
10/23/2022 9:39:39 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:39:39 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:39:39 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:39:39 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:39:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:39:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:39:39 PM=>Info - End of callingService Method
10/23/2022 9:41:39 PM=>Info - Check time Elapsed
10/23/2022 9:41:39 PM=>Info - Call callingService Method
10/23/2022 9:41:39 PM=>Info:- Call Both
10/23/2022 9:41:39 PM=>Info:- Start Executing SMS Method
10/23/2022 9:41:39 PM=>Info:- End Executing SMS Method
10/23/2022 9:41:39 PM=>Info:- Start Mailing Method
10/23/2022 9:41:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:41:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:41:39 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:41:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:41:39 PM=>Info:- Count = 1
10/23/2022 9:41:39 PM=>Info:- Count 1
10/23/2022 9:41:39 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:41:39 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:41:39 PM=>Info:- Start SenMail Method
10/23/2022 9:41:39 PM=>UseDefaultCredentials
10/23/2022 9:41:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:41:39 PM=>EnableSsl = true
10/23/2022 9:41:39 PM=>DeliveryMethod
10/23/2022 9:41:39 PM=>Before Send
10/23/2022 9:41:42 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:41:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:41:42 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:41:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:41:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:41:42 PM=>Info:- END Mailing Method
10/23/2022 9:41:42 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:41:42 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:41:42 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:41:42 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:41:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:41:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:41:42 PM=>Info - End of callingService Method
10/23/2022 9:43:42 PM=>Info - Check time Elapsed
10/23/2022 9:43:42 PM=>Info - Call callingService Method
10/23/2022 9:43:42 PM=>Info:- Call Both
10/23/2022 9:43:42 PM=>Info:- Start Executing SMS Method
10/23/2022 9:43:42 PM=>Info:- End Executing SMS Method
10/23/2022 9:43:42 PM=>Info:- Start Mailing Method
10/23/2022 9:43:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:43:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:43:42 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:43:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:43:42 PM=>Info:- Count = 1
10/23/2022 9:43:42 PM=>Info:- Count 1
10/23/2022 9:43:42 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:43:42 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:43:42 PM=>Info:- Start SenMail Method
10/23/2022 9:43:42 PM=>UseDefaultCredentials
10/23/2022 9:43:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:43:42 PM=>EnableSsl = true
10/23/2022 9:43:42 PM=>DeliveryMethod
10/23/2022 9:43:42 PM=>Before Send
10/23/2022 9:43:51 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:43:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:43:51 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:43:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:43:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:43:52 PM=>Info:- END Mailing Method
10/23/2022 9:43:52 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:43:52 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:43:52 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:43:52 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:43:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:43:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:43:52 PM=>Info - End of callingService Method
10/23/2022 9:45:52 PM=>Info - Check time Elapsed
10/23/2022 9:45:52 PM=>Info - Call callingService Method
10/23/2022 9:45:52 PM=>Info:- Call Both
10/23/2022 9:45:52 PM=>Info:- Start Executing SMS Method
10/23/2022 9:45:52 PM=>Info:- End Executing SMS Method
10/23/2022 9:45:52 PM=>Info:- Start Mailing Method
10/23/2022 9:45:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:45:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:45:52 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:45:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:45:52 PM=>Info:- Count = 1
10/23/2022 9:45:52 PM=>Info:- Count 1
10/23/2022 9:45:52 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:45:52 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:45:52 PM=>Info:- Start SenMail Method
10/23/2022 9:45:52 PM=>UseDefaultCredentials
10/23/2022 9:45:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:45:52 PM=>EnableSsl = true
10/23/2022 9:45:52 PM=>DeliveryMethod
10/23/2022 9:45:52 PM=>Before Send
10/23/2022 9:46:43 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:46:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:46:43 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:46:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:46:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:46:43 PM=>Info:- END Mailing Method
10/23/2022 9:46:43 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:46:43 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:46:43 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:46:43 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:46:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:46:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:46:43 PM=>Info - End of callingService Method
10/23/2022 9:48:43 PM=>Info - Check time Elapsed
10/23/2022 9:48:43 PM=>Info - Call callingService Method
10/23/2022 9:48:43 PM=>Info:- Call Both
10/23/2022 9:48:43 PM=>Info:- Start Executing SMS Method
10/23/2022 9:48:43 PM=>Info:- End Executing SMS Method
10/23/2022 9:48:43 PM=>Info:- Start Mailing Method
10/23/2022 9:48:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:48:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:48:43 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:48:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:48:43 PM=>Info:- Count = 1
10/23/2022 9:48:43 PM=>Info:- Count 1
10/23/2022 9:48:43 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:48:43 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:48:43 PM=>Info:- Start SenMail Method
10/23/2022 9:48:43 PM=>UseDefaultCredentials
10/23/2022 9:48:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:48:43 PM=>EnableSsl = true
10/23/2022 9:48:43 PM=>DeliveryMethod
10/23/2022 9:48:43 PM=>Before Send
10/23/2022 9:48:52 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:48:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:48:52 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:48:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:48:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:48:53 PM=>Info:- END Mailing Method
10/23/2022 9:48:53 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:48:53 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:48:53 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:48:53 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:48:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:48:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:48:53 PM=>Info - End of callingService Method
10/23/2022 9:50:53 PM=>Info - Check time Elapsed
10/23/2022 9:50:53 PM=>Info - Call callingService Method
10/23/2022 9:50:53 PM=>Info:- Call Both
10/23/2022 9:50:53 PM=>Info:- Start Executing SMS Method
10/23/2022 9:50:53 PM=>Info:- End Executing SMS Method
10/23/2022 9:50:53 PM=>Info:- Start Mailing Method
10/23/2022 9:50:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:50:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:50:53 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:50:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:50:53 PM=>Info:- Count = 1
10/23/2022 9:50:53 PM=>Info:- Count 1
10/23/2022 9:50:53 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:50:53 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:50:53 PM=>Info:- Start SenMail Method
10/23/2022 9:50:53 PM=>UseDefaultCredentials
10/23/2022 9:50:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:50:53 PM=>EnableSsl = true
10/23/2022 9:50:53 PM=>DeliveryMethod
10/23/2022 9:50:53 PM=>Before Send
10/23/2022 9:51:02 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:51:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:51:02 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:51:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:51:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:51:02 PM=>Info:- END Mailing Method
10/23/2022 9:51:02 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:51:02 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:51:02 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:51:02 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:51:02 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:51:02 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:51:02 PM=>Info - End of callingService Method
10/23/2022 9:53:02 PM=>Info - Check time Elapsed
10/23/2022 9:53:02 PM=>Info - Call callingService Method
10/23/2022 9:53:02 PM=>Info:- Call Both
10/23/2022 9:53:02 PM=>Info:- Start Executing SMS Method
10/23/2022 9:53:02 PM=>Info:- End Executing SMS Method
10/23/2022 9:53:02 PM=>Info:- Start Mailing Method
10/23/2022 9:53:02 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:53:02 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:53:02 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:53:02 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:53:02 PM=>Info:- Count = 1
10/23/2022 9:53:02 PM=>Info:- Count 1
10/23/2022 9:53:02 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:53:02 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:53:02 PM=>Info:- Start SenMail Method
10/23/2022 9:53:02 PM=>UseDefaultCredentials
10/23/2022 9:53:02 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:53:02 PM=>EnableSsl = true
10/23/2022 9:53:02 PM=>DeliveryMethod
10/23/2022 9:53:02 PM=>Before Send
10/23/2022 9:53:23 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:53:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:53:23 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:53:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:53:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:53:24 PM=>Info:- END Mailing Method
10/23/2022 9:53:24 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:53:24 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:53:24 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:53:24 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:53:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:53:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:53:24 PM=>Info - End of callingService Method
10/23/2022 9:55:24 PM=>Info - Check time Elapsed
10/23/2022 9:55:24 PM=>Info - Call callingService Method
10/23/2022 9:55:24 PM=>Info:- Call Both
10/23/2022 9:55:24 PM=>Info:- Start Executing SMS Method
10/23/2022 9:55:24 PM=>Info:- End Executing SMS Method
10/23/2022 9:55:24 PM=>Info:- Start Mailing Method
10/23/2022 9:55:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:55:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:55:24 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:55:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:55:24 PM=>Info:- Count = 1
10/23/2022 9:55:24 PM=>Info:- Count 1
10/23/2022 9:55:24 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:55:24 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:55:24 PM=>Info:- Start SenMail Method
10/23/2022 9:55:24 PM=>UseDefaultCredentials
10/23/2022 9:55:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:55:24 PM=>EnableSsl = true
10/23/2022 9:55:24 PM=>DeliveryMethod
10/23/2022 9:55:24 PM=>Before Send
10/23/2022 9:55:33 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:55:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:55:33 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:55:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:55:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:55:33 PM=>Info:- END Mailing Method
10/23/2022 9:55:33 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:55:33 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:55:33 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:55:33 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:55:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:55:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:55:33 PM=>Info - End of callingService Method
10/23/2022 9:57:33 PM=>Info - Check time Elapsed
10/23/2022 9:57:33 PM=>Info - Call callingService Method
10/23/2022 9:57:33 PM=>Info:- Call Both
10/23/2022 9:57:33 PM=>Info:- Start Executing SMS Method
10/23/2022 9:57:33 PM=>Info:- End Executing SMS Method
10/23/2022 9:57:33 PM=>Info:- Start Mailing Method
10/23/2022 9:57:33 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:57:33 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:57:33 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:57:33 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:57:33 PM=>Info:- Count = 1
10/23/2022 9:57:33 PM=>Info:- Count 1
10/23/2022 9:57:33 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:57:33 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:57:33 PM=>Info:- Start SenMail Method
10/23/2022 9:57:33 PM=>UseDefaultCredentials
10/23/2022 9:57:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:57:33 PM=>EnableSsl = true
10/23/2022 9:57:33 PM=>DeliveryMethod
10/23/2022 9:57:33 PM=>Before Send
10/23/2022 9:57:42 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:57:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:57:42 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:57:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:57:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:57:42 PM=>Info:- END Mailing Method
10/23/2022 9:57:42 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:57:42 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:57:42 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:57:42 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:57:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:57:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:57:42 PM=>Info - End of callingService Method
10/23/2022 9:59:42 PM=>Info - Check time Elapsed
10/23/2022 9:59:42 PM=>Info - Call callingService Method
10/23/2022 9:59:42 PM=>Info:- Call Both
10/23/2022 9:59:43 PM=>Info:- Start Executing SMS Method
10/23/2022 9:59:43 PM=>Info:- End Executing SMS Method
10/23/2022 9:59:43 PM=>Info:- Start Mailing Method
10/23/2022 9:59:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 9:59:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 9:59:43 PM=>Info:- PendingMail.xml file read to list
10/23/2022 9:59:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 9:59:43 PM=>Info:- Count = 1
10/23/2022 9:59:43 PM=>Info:- Count 1
10/23/2022 9:59:43 PM=>Info - Fetching Data From MAIL XML
10/23/2022 9:59:43 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 9:59:43 PM=>Info:- Start SenMail Method
10/23/2022 9:59:43 PM=>UseDefaultCredentials
10/23/2022 9:59:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 9:59:43 PM=>EnableSsl = true
10/23/2022 9:59:43 PM=>DeliveryMethod
10/23/2022 9:59:43 PM=>Before Send
10/23/2022 9:59:52 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 9:59:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 9:59:52 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 9:59:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 9:59:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 9:59:52 PM=>Info:- END Mailing Method
10/23/2022 9:59:52 PM=>Info:- Start Executing Telegram Method
10/23/2022 9:59:52 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 9:59:52 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 9:59:52 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 9:59:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 9:59:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 9:59:52 PM=>Info - End of callingService Method
10/23/2022 10:01:52 PM=>Info - Check time Elapsed
10/23/2022 10:01:52 PM=>Info - Call callingService Method
10/23/2022 10:01:52 PM=>Info:- Call Both
10/23/2022 10:01:52 PM=>Info:- Start Executing SMS Method
10/23/2022 10:01:52 PM=>Info:- End Executing SMS Method
10/23/2022 10:01:52 PM=>Info:- Start Mailing Method
10/23/2022 10:01:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:01:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:01:52 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:01:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:01:52 PM=>Info:- Count = 1
10/23/2022 10:01:52 PM=>Info:- Count 1
10/23/2022 10:01:52 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:01:52 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:01:52 PM=>Info:- Start SenMail Method
10/23/2022 10:01:52 PM=>UseDefaultCredentials
10/23/2022 10:01:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:01:52 PM=>EnableSsl = true
10/23/2022 10:01:52 PM=>DeliveryMethod
10/23/2022 10:01:52 PM=>Before Send
10/23/2022 10:03:16 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.40.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:03:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:03:16 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:03:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:03:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:03:16 PM=>Info:- END Mailing Method
10/23/2022 10:03:16 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:03:16 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:03:16 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:03:16 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:03:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:03:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:03:17 PM=>Info - End of callingService Method
10/23/2022 10:05:17 PM=>Info - Check time Elapsed
10/23/2022 10:05:17 PM=>Info - Call callingService Method
10/23/2022 10:05:17 PM=>Info:- Call Both
10/23/2022 10:05:17 PM=>Info:- Start Executing SMS Method
10/23/2022 10:05:17 PM=>Info:- End Executing SMS Method
10/23/2022 10:05:17 PM=>Info:- Start Mailing Method
10/23/2022 10:05:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:05:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:05:17 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:05:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:05:17 PM=>Info:- Count = 1
10/23/2022 10:05:17 PM=>Info:- Count 1
10/23/2022 10:05:17 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:05:17 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:05:17 PM=>Info:- Start SenMail Method
10/23/2022 10:05:17 PM=>UseDefaultCredentials
10/23/2022 10:05:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:05:17 PM=>EnableSsl = true
10/23/2022 10:05:17 PM=>DeliveryMethod
10/23/2022 10:05:17 PM=>Before Send
10/23/2022 10:05:20 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:05:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:05:20 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:05:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:05:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:05:20 PM=>Info:- END Mailing Method
10/23/2022 10:05:20 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:05:20 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:05:20 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:05:20 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:05:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:05:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:05:20 PM=>Info - End of callingService Method
10/23/2022 10:07:20 PM=>Info - Check time Elapsed
10/23/2022 10:07:20 PM=>Info - Call callingService Method
10/23/2022 10:07:20 PM=>Info:- Call Both
10/23/2022 10:07:20 PM=>Info:- Start Executing SMS Method
10/23/2022 10:07:20 PM=>Info:- End Executing SMS Method
10/23/2022 10:07:20 PM=>Info:- Start Mailing Method
10/23/2022 10:07:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:07:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:07:20 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:07:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:07:20 PM=>Info:- Count = 1
10/23/2022 10:07:20 PM=>Info:- Count 1
10/23/2022 10:07:20 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:07:20 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:07:20 PM=>Info:- Start SenMail Method
10/23/2022 10:07:20 PM=>UseDefaultCredentials
10/23/2022 10:07:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:07:20 PM=>EnableSsl = true
10/23/2022 10:07:20 PM=>DeliveryMethod
10/23/2022 10:07:20 PM=>Before Send
10/23/2022 10:08:44 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.18:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:08:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:08:44 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:08:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:08:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:08:45 PM=>Info:- END Mailing Method
10/23/2022 10:08:45 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:08:45 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:08:45 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:08:45 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:08:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:08:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:08:45 PM=>Info - End of callingService Method
10/23/2022 10:10:45 PM=>Info - Check time Elapsed
10/23/2022 10:10:45 PM=>Info - Call callingService Method
10/23/2022 10:10:45 PM=>Info:- Call Both
10/23/2022 10:10:45 PM=>Info:- Start Executing SMS Method
10/23/2022 10:10:45 PM=>Info:- End Executing SMS Method
10/23/2022 10:10:45 PM=>Info:- Start Mailing Method
10/23/2022 10:10:45 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:10:45 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:10:45 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:10:45 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:10:45 PM=>Info:- Count = 1
10/23/2022 10:10:45 PM=>Info:- Count 1
10/23/2022 10:10:45 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:10:45 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:10:45 PM=>Info:- Start SenMail Method
10/23/2022 10:10:45 PM=>UseDefaultCredentials
10/23/2022 10:10:45 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:10:45 PM=>EnableSsl = true
10/23/2022 10:10:45 PM=>DeliveryMethod
10/23/2022 10:10:45 PM=>Before Send
10/23/2022 10:12:09 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.111.18:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:12:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:12:09 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:12:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:12:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:12:10 PM=>Info:- END Mailing Method
10/23/2022 10:12:10 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:12:10 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:12:10 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:12:10 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:12:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:12:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:12:10 PM=>Info - End of callingService Method
10/23/2022 10:14:10 PM=>Info - Check time Elapsed
10/23/2022 10:14:10 PM=>Info - Call callingService Method
10/23/2022 10:14:10 PM=>Info:- Call Both
10/23/2022 10:14:10 PM=>Info:- Start Executing SMS Method
10/23/2022 10:14:10 PM=>Info:- End Executing SMS Method
10/23/2022 10:14:10 PM=>Info:- Start Mailing Method
10/23/2022 10:14:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:14:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:14:10 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:14:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:14:10 PM=>Info:- Count = 1
10/23/2022 10:14:10 PM=>Info:- Count 1
10/23/2022 10:14:10 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:14:10 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:14:10 PM=>Info:- Start SenMail Method
10/23/2022 10:14:10 PM=>UseDefaultCredentials
10/23/2022 10:14:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:14:10 PM=>EnableSsl = true
10/23/2022 10:14:10 PM=>DeliveryMethod
10/23/2022 10:14:10 PM=>Before Send
10/23/2022 10:14:10 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:14:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:14:10 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:14:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:14:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:14:10 PM=>Info:- END Mailing Method
10/23/2022 10:14:10 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:14:10 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:14:10 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:14:10 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:14:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:14:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:14:10 PM=>Info - End of callingService Method
10/23/2022 10:16:10 PM=>Info - Check time Elapsed
10/23/2022 10:16:10 PM=>Info - Call callingService Method
10/23/2022 10:16:10 PM=>Info:- Call Both
10/23/2022 10:16:10 PM=>Info:- Start Executing SMS Method
10/23/2022 10:16:10 PM=>Info:- End Executing SMS Method
10/23/2022 10:16:10 PM=>Info:- Start Mailing Method
10/23/2022 10:16:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:16:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:16:10 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:16:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:16:10 PM=>Info:- Count = 1
10/23/2022 10:16:10 PM=>Info:- Count 1
10/23/2022 10:16:10 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:16:10 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:16:10 PM=>Info:- Start SenMail Method
10/23/2022 10:16:10 PM=>UseDefaultCredentials
10/23/2022 10:16:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:16:10 PM=>EnableSsl = true
10/23/2022 10:16:10 PM=>DeliveryMethod
10/23/2022 10:16:10 PM=>Before Send
10/23/2022 10:17:34 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.35.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:17:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:17:34 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:17:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:17:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:17:35 PM=>Info:- END Mailing Method
10/23/2022 10:17:35 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:17:35 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:17:35 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:17:35 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:17:35 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:17:35 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:17:35 PM=>Info - End of callingService Method
10/23/2022 10:19:35 PM=>Info - Check time Elapsed
10/23/2022 10:19:35 PM=>Info - Call callingService Method
10/23/2022 10:19:35 PM=>Info:- Call Both
10/23/2022 10:19:35 PM=>Info:- Start Executing SMS Method
10/23/2022 10:19:35 PM=>Info:- End Executing SMS Method
10/23/2022 10:19:35 PM=>Info:- Start Mailing Method
10/23/2022 10:19:35 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:19:35 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:19:35 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:19:35 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:19:35 PM=>Info:- Count = 1
10/23/2022 10:19:35 PM=>Info:- Count 1
10/23/2022 10:19:35 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:19:35 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:19:35 PM=>Info:- Start SenMail Method
10/23/2022 10:19:35 PM=>UseDefaultCredentials
10/23/2022 10:19:35 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:19:35 PM=>EnableSsl = true
10/23/2022 10:19:35 PM=>DeliveryMethod
10/23/2022 10:19:35 PM=>Before Send
10/23/2022 10:19:44 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:19:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:19:44 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:19:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:19:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:19:44 PM=>Info:- END Mailing Method
10/23/2022 10:19:44 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:19:44 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:19:44 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:19:44 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:19:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:19:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:19:44 PM=>Info - End of callingService Method
10/23/2022 10:21:44 PM=>Info - Check time Elapsed
10/23/2022 10:21:44 PM=>Info - Call callingService Method
10/23/2022 10:21:44 PM=>Info:- Call Both
10/23/2022 10:21:44 PM=>Info:- Start Executing SMS Method
10/23/2022 10:21:44 PM=>Info:- End Executing SMS Method
10/23/2022 10:21:44 PM=>Info:- Start Mailing Method
10/23/2022 10:21:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:21:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:21:44 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:21:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:21:44 PM=>Info:- Count = 1
10/23/2022 10:21:44 PM=>Info:- Count 1
10/23/2022 10:21:44 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:21:44 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:21:44 PM=>Info:- Start SenMail Method
10/23/2022 10:21:44 PM=>UseDefaultCredentials
10/23/2022 10:21:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:21:44 PM=>EnableSsl = true
10/23/2022 10:21:44 PM=>DeliveryMethod
10/23/2022 10:21:44 PM=>Before Send
10/23/2022 10:21:53 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:21:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:21:53 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:21:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:21:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:21:54 PM=>Info:- END Mailing Method
10/23/2022 10:21:54 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:21:54 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:21:54 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:21:54 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:21:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:21:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:21:54 PM=>Info - End of callingService Method
10/23/2022 10:23:54 PM=>Info - Check time Elapsed
10/23/2022 10:23:54 PM=>Info - Call callingService Method
10/23/2022 10:23:54 PM=>Info:- Call Both
10/23/2022 10:23:54 PM=>Info:- Start Executing SMS Method
10/23/2022 10:23:54 PM=>Info:- End Executing SMS Method
10/23/2022 10:23:54 PM=>Info:- Start Mailing Method
10/23/2022 10:23:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:23:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:23:54 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:23:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:23:54 PM=>Info:- Count = 1
10/23/2022 10:23:54 PM=>Info:- Count 1
10/23/2022 10:23:54 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:23:54 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:23:54 PM=>Info:- Start SenMail Method
10/23/2022 10:23:54 PM=>UseDefaultCredentials
10/23/2022 10:23:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:23:54 PM=>EnableSsl = true
10/23/2022 10:23:54 PM=>DeliveryMethod
10/23/2022 10:23:54 PM=>Before Send
10/23/2022 10:24:03 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:24:03 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:24:03 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:24:03 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:24:03 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:24:03 PM=>Info:- END Mailing Method
10/23/2022 10:24:03 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:24:03 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:24:03 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:24:03 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:24:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:24:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:24:03 PM=>Info - End of callingService Method
10/23/2022 10:26:03 PM=>Info - Check time Elapsed
10/23/2022 10:26:03 PM=>Info - Call callingService Method
10/23/2022 10:26:03 PM=>Info:- Call Both
10/23/2022 10:26:03 PM=>Info:- Start Executing SMS Method
10/23/2022 10:26:03 PM=>Info:- End Executing SMS Method
10/23/2022 10:26:03 PM=>Info:- Start Mailing Method
10/23/2022 10:26:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:26:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:26:03 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:26:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:26:03 PM=>Info:- Count = 1
10/23/2022 10:26:03 PM=>Info:- Count 1
10/23/2022 10:26:03 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:26:03 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:26:03 PM=>Info:- Start SenMail Method
10/23/2022 10:26:03 PM=>UseDefaultCredentials
10/23/2022 10:26:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:26:03 PM=>EnableSsl = true
10/23/2022 10:26:03 PM=>DeliveryMethod
10/23/2022 10:26:03 PM=>Before Send
10/23/2022 10:26:06 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:26:06 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:26:06 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:26:06 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:26:06 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:26:07 PM=>Info:- END Mailing Method
10/23/2022 10:26:07 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:26:07 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:26:07 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:26:07 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:26:07 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:26:07 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:26:07 PM=>Info - End of callingService Method
10/23/2022 10:28:07 PM=>Info - Check time Elapsed
10/23/2022 10:28:07 PM=>Info - Call callingService Method
10/23/2022 10:28:07 PM=>Info:- Call Both
10/23/2022 10:28:07 PM=>Info:- Start Executing SMS Method
10/23/2022 10:28:07 PM=>Info:- End Executing SMS Method
10/23/2022 10:28:07 PM=>Info:- Start Mailing Method
10/23/2022 10:28:07 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:28:07 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:28:07 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:28:07 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:28:07 PM=>Info:- Count = 1
10/23/2022 10:28:07 PM=>Info:- Count 1
10/23/2022 10:28:07 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:28:07 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:28:07 PM=>Info:- Start SenMail Method
10/23/2022 10:28:07 PM=>UseDefaultCredentials
10/23/2022 10:28:07 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:28:07 PM=>EnableSsl = true
10/23/2022 10:28:07 PM=>DeliveryMethod
10/23/2022 10:28:07 PM=>Before Send
10/23/2022 10:28:16 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:28:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:28:16 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:28:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:28:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:28:16 PM=>Info:- END Mailing Method
10/23/2022 10:28:16 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:28:16 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:28:16 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:28:16 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:28:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:28:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:28:16 PM=>Info - End of callingService Method
10/23/2022 10:30:16 PM=>Info - Check time Elapsed
10/23/2022 10:30:16 PM=>Info - Call callingService Method
10/23/2022 10:30:16 PM=>Info:- Call Both
10/23/2022 10:30:16 PM=>Info:- Start Executing SMS Method
10/23/2022 10:30:16 PM=>Info:- End Executing SMS Method
10/23/2022 10:30:16 PM=>Info:- Start Mailing Method
10/23/2022 10:30:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:30:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:30:16 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:30:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:30:16 PM=>Info:- Count = 1
10/23/2022 10:30:16 PM=>Info:- Count 1
10/23/2022 10:30:16 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:30:16 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:30:16 PM=>Info:- Start SenMail Method
10/23/2022 10:30:16 PM=>UseDefaultCredentials
10/23/2022 10:30:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:30:16 PM=>EnableSsl = true
10/23/2022 10:30:16 PM=>DeliveryMethod
10/23/2022 10:30:16 PM=>Before Send
10/23/2022 10:30:25 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:30:25 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:30:25 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:30:25 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:30:25 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:30:26 PM=>Info:- END Mailing Method
10/23/2022 10:30:26 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:30:26 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:30:26 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:30:26 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:30:26 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:30:26 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:30:26 PM=>Info - End of callingService Method
10/23/2022 10:32:26 PM=>Info - Check time Elapsed
10/23/2022 10:32:26 PM=>Info - Call callingService Method
10/23/2022 10:32:26 PM=>Info:- Call Both
10/23/2022 10:32:26 PM=>Info:- Start Executing SMS Method
10/23/2022 10:32:26 PM=>Info:- End Executing SMS Method
10/23/2022 10:32:26 PM=>Info:- Start Mailing Method
10/23/2022 10:32:26 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:32:26 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:32:26 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:32:26 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:32:26 PM=>Info:- Count = 1
10/23/2022 10:32:26 PM=>Info:- Count 1
10/23/2022 10:32:26 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:32:26 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:32:26 PM=>Info:- Start SenMail Method
10/23/2022 10:32:26 PM=>UseDefaultCredentials
10/23/2022 10:32:26 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:32:26 PM=>EnableSsl = true
10/23/2022 10:32:26 PM=>DeliveryMethod
10/23/2022 10:32:26 PM=>Before Send
10/23/2022 10:32:35 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:32:35 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:32:35 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:32:35 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:32:35 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:32:35 PM=>Info:- END Mailing Method
10/23/2022 10:32:35 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:32:35 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:32:35 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:32:35 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:32:35 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:32:35 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:32:35 PM=>Info - End of callingService Method
10/23/2022 10:34:35 PM=>Info - Check time Elapsed
10/23/2022 10:34:35 PM=>Info - Call callingService Method
10/23/2022 10:34:35 PM=>Info:- Call Both
10/23/2022 10:34:35 PM=>Info:- Start Executing SMS Method
10/23/2022 10:34:35 PM=>Info:- End Executing SMS Method
10/23/2022 10:34:35 PM=>Info:- Start Mailing Method
10/23/2022 10:34:35 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:34:35 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:34:35 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:34:35 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:34:35 PM=>Info:- Count = 1
10/23/2022 10:34:35 PM=>Info:- Count 1
10/23/2022 10:34:35 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:34:35 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:34:35 PM=>Info:- Start SenMail Method
10/23/2022 10:34:35 PM=>UseDefaultCredentials
10/23/2022 10:34:35 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:34:35 PM=>EnableSsl = true
10/23/2022 10:34:35 PM=>DeliveryMethod
10/23/2022 10:34:35 PM=>Before Send
10/23/2022 10:34:38 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:34:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:34:38 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:34:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:34:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:34:39 PM=>Info:- END Mailing Method
10/23/2022 10:34:39 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:34:39 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:34:39 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:34:39 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:34:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:34:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:34:39 PM=>Info - End of callingService Method
10/23/2022 10:36:39 PM=>Info - Check time Elapsed
10/23/2022 10:36:39 PM=>Info - Call callingService Method
10/23/2022 10:36:39 PM=>Info:- Call Both
10/23/2022 10:36:39 PM=>Info:- Start Executing SMS Method
10/23/2022 10:36:39 PM=>Info:- End Executing SMS Method
10/23/2022 10:36:39 PM=>Info:- Start Mailing Method
10/23/2022 10:36:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:36:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:36:39 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:36:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:36:39 PM=>Info:- Count = 1
10/23/2022 10:36:39 PM=>Info:- Count 1
10/23/2022 10:36:39 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:36:39 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:36:39 PM=>Info:- Start SenMail Method
10/23/2022 10:36:39 PM=>UseDefaultCredentials
10/23/2022 10:36:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:36:39 PM=>EnableSsl = true
10/23/2022 10:36:39 PM=>DeliveryMethod
10/23/2022 10:36:39 PM=>Before Send
10/23/2022 10:36:48 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:36:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:36:48 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:36:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:36:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:36:48 PM=>Info:- END Mailing Method
10/23/2022 10:36:48 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:36:48 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:36:48 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:36:48 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:36:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:36:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:36:48 PM=>Info - End of callingService Method
10/23/2022 10:38:48 PM=>Info - Check time Elapsed
10/23/2022 10:38:48 PM=>Info - Call callingService Method
10/23/2022 10:38:48 PM=>Info:- Call Both
10/23/2022 10:38:48 PM=>Info:- Start Executing SMS Method
10/23/2022 10:38:48 PM=>Info:- End Executing SMS Method
10/23/2022 10:38:48 PM=>Info:- Start Mailing Method
10/23/2022 10:38:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:38:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:38:48 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:38:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:38:48 PM=>Info:- Count = 1
10/23/2022 10:38:48 PM=>Info:- Count 1
10/23/2022 10:38:48 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:38:48 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:38:48 PM=>Info:- Start SenMail Method
10/23/2022 10:38:48 PM=>UseDefaultCredentials
10/23/2022 10:38:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:38:48 PM=>EnableSsl = true
10/23/2022 10:38:48 PM=>DeliveryMethod
10/23/2022 10:38:48 PM=>Before Send
10/23/2022 10:40:12 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:40:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:40:12 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:40:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:40:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:40:12 PM=>Info:- END Mailing Method
10/23/2022 10:40:12 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:40:12 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:40:12 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:40:12 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:40:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:40:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:40:12 PM=>Info - End of callingService Method
10/23/2022 10:42:12 PM=>Info - Check time Elapsed
10/23/2022 10:42:12 PM=>Info - Call callingService Method
10/23/2022 10:42:13 PM=>Info:- Call Both
10/23/2022 10:42:13 PM=>Info:- Start Executing SMS Method
10/23/2022 10:42:13 PM=>Info:- End Executing SMS Method
10/23/2022 10:42:13 PM=>Info:- Start Mailing Method
10/23/2022 10:42:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:42:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:42:13 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:42:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:42:13 PM=>Info:- Count = 1
10/23/2022 10:42:13 PM=>Info:- Count 1
10/23/2022 10:42:13 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:42:13 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:42:13 PM=>Info:- Start SenMail Method
10/23/2022 10:42:13 PM=>UseDefaultCredentials
10/23/2022 10:42:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:42:13 PM=>EnableSsl = true
10/23/2022 10:42:13 PM=>DeliveryMethod
10/23/2022 10:42:13 PM=>Before Send
10/23/2022 10:42:13 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:42:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:42:13 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:42:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:42:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:42:13 PM=>Info:- END Mailing Method
10/23/2022 10:42:13 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:42:13 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:42:13 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:42:13 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:42:13 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:42:13 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:42:13 PM=>Info - End of callingService Method
10/23/2022 10:44:13 PM=>Info - Check time Elapsed
10/23/2022 10:44:13 PM=>Info - Call callingService Method
10/23/2022 10:44:13 PM=>Info:- Call Both
10/23/2022 10:44:13 PM=>Info:- Start Executing SMS Method
10/23/2022 10:44:13 PM=>Info:- End Executing SMS Method
10/23/2022 10:44:13 PM=>Info:- Start Mailing Method
10/23/2022 10:44:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:44:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:44:13 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:44:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:44:13 PM=>Info:- Count = 1
10/23/2022 10:44:13 PM=>Info:- Count 1
10/23/2022 10:44:13 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:44:13 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:44:13 PM=>Info:- Start SenMail Method
10/23/2022 10:44:13 PM=>UseDefaultCredentials
10/23/2022 10:44:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:44:13 PM=>EnableSsl = true
10/23/2022 10:44:13 PM=>DeliveryMethod
10/23/2022 10:44:13 PM=>Before Send
10/23/2022 10:44:34 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:44:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:44:34 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:44:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:44:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:44:34 PM=>Info:- END Mailing Method
10/23/2022 10:44:34 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:44:34 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:44:34 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:44:34 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:44:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:44:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:44:34 PM=>Info - End of callingService Method
10/23/2022 10:46:34 PM=>Info - Check time Elapsed
10/23/2022 10:46:34 PM=>Info - Call callingService Method
10/23/2022 10:46:34 PM=>Info:- Call Both
10/23/2022 10:46:34 PM=>Info:- Start Executing SMS Method
10/23/2022 10:46:34 PM=>Info:- End Executing SMS Method
10/23/2022 10:46:34 PM=>Info:- Start Mailing Method
10/23/2022 10:46:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:46:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:46:34 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:46:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:46:34 PM=>Info:- Count = 1
10/23/2022 10:46:34 PM=>Info:- Count 1
10/23/2022 10:46:34 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:46:34 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:46:34 PM=>Info:- Start SenMail Method
10/23/2022 10:46:34 PM=>UseDefaultCredentials
10/23/2022 10:46:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:46:34 PM=>EnableSsl = true
10/23/2022 10:46:34 PM=>DeliveryMethod
10/23/2022 10:46:34 PM=>Before Send
10/23/2022 10:46:43 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:46:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:46:43 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:46:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:46:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:46:44 PM=>Info:- END Mailing Method
10/23/2022 10:46:44 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:46:44 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:46:44 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:46:44 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:46:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:46:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:46:44 PM=>Info - End of callingService Method
10/23/2022 10:48:44 PM=>Info - Check time Elapsed
10/23/2022 10:48:44 PM=>Info - Call callingService Method
10/23/2022 10:48:44 PM=>Info:- Call Both
10/23/2022 10:48:44 PM=>Info:- Start Executing SMS Method
10/23/2022 10:48:44 PM=>Info:- End Executing SMS Method
10/23/2022 10:48:44 PM=>Info:- Start Mailing Method
10/23/2022 10:48:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:48:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:48:44 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:48:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:48:44 PM=>Info:- Count = 1
10/23/2022 10:48:44 PM=>Info:- Count 1
10/23/2022 10:48:44 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:48:44 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:48:44 PM=>Info:- Start SenMail Method
10/23/2022 10:48:44 PM=>UseDefaultCredentials
10/23/2022 10:48:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:48:44 PM=>EnableSsl = true
10/23/2022 10:48:44 PM=>DeliveryMethod
10/23/2022 10:48:44 PM=>Before Send
10/23/2022 10:48:53 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:48:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:48:53 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:48:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:48:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:48:53 PM=>Info:- END Mailing Method
10/23/2022 10:48:53 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:48:53 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:48:53 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:48:53 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:48:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:48:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:48:53 PM=>Info - End of callingService Method
10/23/2022 10:50:53 PM=>Info - Check time Elapsed
10/23/2022 10:50:53 PM=>Info - Call callingService Method
10/23/2022 10:50:53 PM=>Info:- Call Both
10/23/2022 10:50:53 PM=>Info:- Start Executing SMS Method
10/23/2022 10:50:53 PM=>Info:- End Executing SMS Method
10/23/2022 10:50:53 PM=>Info:- Start Mailing Method
10/23/2022 10:50:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:50:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:50:53 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:50:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:50:53 PM=>Info:- Count = 1
10/23/2022 10:50:53 PM=>Info:- Count 1
10/23/2022 10:50:53 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:50:53 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:50:53 PM=>Info:- Start SenMail Method
10/23/2022 10:50:53 PM=>UseDefaultCredentials
10/23/2022 10:50:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:50:53 PM=>EnableSsl = true
10/23/2022 10:50:53 PM=>DeliveryMethod
10/23/2022 10:50:53 PM=>Before Send
10/23/2022 10:51:02 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:51:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:51:02 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:51:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:51:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:51:03 PM=>Info:- END Mailing Method
10/23/2022 10:51:03 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:51:03 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:51:03 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:51:03 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:51:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:51:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:51:03 PM=>Info - End of callingService Method
10/23/2022 10:53:03 PM=>Info - Check time Elapsed
10/23/2022 10:53:03 PM=>Info - Call callingService Method
10/23/2022 10:53:03 PM=>Info:- Call Both
10/23/2022 10:53:03 PM=>Info:- Start Executing SMS Method
10/23/2022 10:53:03 PM=>Info:- End Executing SMS Method
10/23/2022 10:53:03 PM=>Info:- Start Mailing Method
10/23/2022 10:53:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:53:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:53:03 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:53:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:53:03 PM=>Info:- Count = 1
10/23/2022 10:53:03 PM=>Info:- Count 1
10/23/2022 10:53:03 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:53:03 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:53:03 PM=>Info:- Start SenMail Method
10/23/2022 10:53:03 PM=>UseDefaultCredentials
10/23/2022 10:53:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:53:03 PM=>EnableSsl = true
10/23/2022 10:53:03 PM=>DeliveryMethod
10/23/2022 10:53:03 PM=>Before Send
10/23/2022 10:53:06 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:53:06 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:53:06 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:53:06 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:53:06 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:53:06 PM=>Info:- END Mailing Method
10/23/2022 10:53:06 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:53:06 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:53:06 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:53:06 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:53:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:53:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:53:06 PM=>Info - End of callingService Method
10/23/2022 10:55:06 PM=>Info - Check time Elapsed
10/23/2022 10:55:06 PM=>Info - Call callingService Method
10/23/2022 10:55:06 PM=>Info:- Call Both
10/23/2022 10:55:06 PM=>Info:- Start Executing SMS Method
10/23/2022 10:55:06 PM=>Info:- End Executing SMS Method
10/23/2022 10:55:06 PM=>Info:- Start Mailing Method
10/23/2022 10:55:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:55:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:55:06 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:55:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:55:06 PM=>Info:- Count = 1
10/23/2022 10:55:06 PM=>Info:- Count 1
10/23/2022 10:55:06 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:55:06 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:55:06 PM=>Info:- Start SenMail Method
10/23/2022 10:55:06 PM=>UseDefaultCredentials
10/23/2022 10:55:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:55:06 PM=>EnableSsl = true
10/23/2022 10:55:06 PM=>DeliveryMethod
10/23/2022 10:55:06 PM=>Before Send
10/23/2022 10:55:15 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:55:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:55:15 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:55:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:55:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:55:15 PM=>Info:- END Mailing Method
10/23/2022 10:55:16 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:55:16 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:55:16 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:55:16 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:55:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:55:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:55:16 PM=>Info - End of callingService Method
10/23/2022 10:57:16 PM=>Info - Check time Elapsed
10/23/2022 10:57:16 PM=>Info - Call callingService Method
10/23/2022 10:57:16 PM=>Info:- Call Both
10/23/2022 10:57:16 PM=>Info:- Start Executing SMS Method
10/23/2022 10:57:16 PM=>Info:- End Executing SMS Method
10/23/2022 10:57:16 PM=>Info:- Start Mailing Method
10/23/2022 10:57:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:57:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:57:16 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:57:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:57:16 PM=>Info:- Count = 1
10/23/2022 10:57:16 PM=>Info:- Count 1
10/23/2022 10:57:16 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:57:16 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:57:16 PM=>Info:- Start SenMail Method
10/23/2022 10:57:16 PM=>UseDefaultCredentials
10/23/2022 10:57:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:57:16 PM=>EnableSsl = true
10/23/2022 10:57:16 PM=>DeliveryMethod
10/23/2022 10:57:16 PM=>Before Send
10/23/2022 10:57:25 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:57:25 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:57:25 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:57:25 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:57:25 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:57:25 PM=>Info:- END Mailing Method
10/23/2022 10:57:25 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:57:25 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:57:25 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:57:25 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:57:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:57:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:57:25 PM=>Info - End of callingService Method
10/23/2022 10:59:25 PM=>Info - Check time Elapsed
10/23/2022 10:59:25 PM=>Info - Call callingService Method
10/23/2022 10:59:25 PM=>Info:- Call Both
10/23/2022 10:59:25 PM=>Info:- Start Executing SMS Method
10/23/2022 10:59:25 PM=>Info:- End Executing SMS Method
10/23/2022 10:59:25 PM=>Info:- Start Mailing Method
10/23/2022 10:59:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 10:59:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 10:59:25 PM=>Info:- PendingMail.xml file read to list
10/23/2022 10:59:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 10:59:25 PM=>Info:- Count = 1
10/23/2022 10:59:25 PM=>Info:- Count 1
10/23/2022 10:59:25 PM=>Info - Fetching Data From MAIL XML
10/23/2022 10:59:25 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 10:59:25 PM=>Info:- Start SenMail Method
10/23/2022 10:59:25 PM=>UseDefaultCredentials
10/23/2022 10:59:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 10:59:25 PM=>EnableSsl = true
10/23/2022 10:59:25 PM=>DeliveryMethod
10/23/2022 10:59:25 PM=>Before Send
10/23/2022 10:59:34 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 10:59:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 10:59:34 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 10:59:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 10:59:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 10:59:34 PM=>Info:- END Mailing Method
10/23/2022 10:59:34 PM=>Info:- Start Executing Telegram Method
10/23/2022 10:59:34 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 10:59:34 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 10:59:34 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 10:59:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 10:59:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 10:59:34 PM=>Info - End of callingService Method
10/23/2022 11:01:34 PM=>Info - Check time Elapsed
10/23/2022 11:01:34 PM=>Info - Call callingService Method
10/23/2022 11:01:34 PM=>Info:- Call Both
10/23/2022 11:01:34 PM=>Info:- Start Executing SMS Method
10/23/2022 11:01:34 PM=>Info:- End Executing SMS Method
10/23/2022 11:01:34 PM=>Info:- Start Mailing Method
10/23/2022 11:01:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:01:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:01:34 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:01:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:01:34 PM=>Info:- Count = 1
10/23/2022 11:01:34 PM=>Info:- Count 1
10/23/2022 11:01:34 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:01:34 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:01:34 PM=>Info:- Start SenMail Method
10/23/2022 11:01:34 PM=>UseDefaultCredentials
10/23/2022 11:01:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:01:34 PM=>EnableSsl = true
10/23/2022 11:01:34 PM=>DeliveryMethod
10/23/2022 11:01:34 PM=>Before Send
10/23/2022 11:02:59 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.188.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:02:59 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:02:59 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:02:59 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:02:59 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:02:59 PM=>Info:- END Mailing Method
10/23/2022 11:02:59 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:02:59 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:02:59 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:02:59 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:02:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:02:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:02:59 PM=>Info - End of callingService Method
10/23/2022 11:04:59 PM=>Info - Check time Elapsed
10/23/2022 11:04:59 PM=>Info - Call callingService Method
10/23/2022 11:04:59 PM=>Info:- Call Both
10/23/2022 11:04:59 PM=>Info:- Start Executing SMS Method
10/23/2022 11:04:59 PM=>Info:- End Executing SMS Method
10/23/2022 11:04:59 PM=>Info:- Start Mailing Method
10/23/2022 11:04:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:04:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:04:59 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:04:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:04:59 PM=>Info:- Count = 1
10/23/2022 11:04:59 PM=>Info:- Count 1
10/23/2022 11:04:59 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:04:59 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:04:59 PM=>Info:- Start SenMail Method
10/23/2022 11:04:59 PM=>UseDefaultCredentials
10/23/2022 11:04:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:04:59 PM=>EnableSsl = true
10/23/2022 11:04:59 PM=>DeliveryMethod
10/23/2022 11:04:59 PM=>Before Send
10/23/2022 11:06:23 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.88.34:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:06:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:06:23 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:06:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:06:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:06:23 PM=>Info:- END Mailing Method
10/23/2022 11:06:23 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:06:23 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:06:23 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:06:23 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:06:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:06:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:06:23 PM=>Info - End of callingService Method
10/23/2022 11:08:23 PM=>Info - Check time Elapsed
10/23/2022 11:08:23 PM=>Info - Call callingService Method
10/23/2022 11:08:23 PM=>Info:- Call Both
10/23/2022 11:08:24 PM=>Info:- Start Executing SMS Method
10/23/2022 11:08:24 PM=>Info:- End Executing SMS Method
10/23/2022 11:08:24 PM=>Info:- Start Mailing Method
10/23/2022 11:08:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:08:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:08:24 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:08:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:08:24 PM=>Info:- Count = 1
10/23/2022 11:08:24 PM=>Info:- Count 1
10/23/2022 11:08:24 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:08:24 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:08:24 PM=>Info:- Start SenMail Method
10/23/2022 11:08:24 PM=>UseDefaultCredentials
10/23/2022 11:08:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:08:24 PM=>EnableSsl = true
10/23/2022 11:08:24 PM=>DeliveryMethod
10/23/2022 11:08:24 PM=>Before Send
10/23/2022 11:08:24 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:08:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:08:24 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:08:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:08:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:08:24 PM=>Info:- END Mailing Method
10/23/2022 11:08:24 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:08:24 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:08:24 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:08:24 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:08:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:08:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:08:24 PM=>Info - End of callingService Method
10/23/2022 11:10:24 PM=>Info - Check time Elapsed
10/23/2022 11:10:24 PM=>Info - Call callingService Method
10/23/2022 11:10:24 PM=>Info:- Call Both
10/23/2022 11:10:24 PM=>Info:- Start Executing SMS Method
10/23/2022 11:10:24 PM=>Info:- End Executing SMS Method
10/23/2022 11:10:24 PM=>Info:- Start Mailing Method
10/23/2022 11:10:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:10:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:10:24 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:10:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:10:24 PM=>Info:- Count = 1
10/23/2022 11:10:24 PM=>Info:- Count 1
10/23/2022 11:10:24 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:10:24 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:10:24 PM=>Info:- Start SenMail Method
10/23/2022 11:10:24 PM=>UseDefaultCredentials
10/23/2022 11:10:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:10:24 PM=>EnableSsl = true
10/23/2022 11:10:24 PM=>DeliveryMethod
10/23/2022 11:10:24 PM=>Before Send
10/23/2022 11:10:24 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:10:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:10:24 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:10:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:10:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:10:24 PM=>Info:- END Mailing Method
10/23/2022 11:10:24 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:10:24 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:10:24 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:10:24 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:10:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:10:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:10:24 PM=>Info - End of callingService Method
10/23/2022 11:12:24 PM=>Info - Check time Elapsed
10/23/2022 11:12:24 PM=>Info - Call callingService Method
10/23/2022 11:12:24 PM=>Info:- Call Both
10/23/2022 11:12:24 PM=>Info:- Start Executing SMS Method
10/23/2022 11:12:24 PM=>Info:- End Executing SMS Method
10/23/2022 11:12:24 PM=>Info:- Start Mailing Method
10/23/2022 11:12:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:12:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:12:25 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:12:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:12:25 PM=>Info:- Count = 1
10/23/2022 11:12:25 PM=>Info:- Count 1
10/23/2022 11:12:25 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:12:25 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:12:25 PM=>Info:- Start SenMail Method
10/23/2022 11:12:25 PM=>UseDefaultCredentials
10/23/2022 11:12:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:12:25 PM=>EnableSsl = true
10/23/2022 11:12:25 PM=>DeliveryMethod
10/23/2022 11:12:25 PM=>Before Send
10/23/2022 11:12:34 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:12:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:12:34 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:12:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:12:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:12:34 PM=>Info:- END Mailing Method
10/23/2022 11:12:34 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:12:34 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:12:34 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:12:34 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:12:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:12:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:12:34 PM=>Info - End of callingService Method
10/23/2022 11:14:34 PM=>Info - Check time Elapsed
10/23/2022 11:14:34 PM=>Info - Call callingService Method
10/23/2022 11:14:34 PM=>Info:- Call Both
10/23/2022 11:14:34 PM=>Info:- Start Executing SMS Method
10/23/2022 11:14:34 PM=>Info:- End Executing SMS Method
10/23/2022 11:14:34 PM=>Info:- Start Mailing Method
10/23/2022 11:14:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:14:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:14:34 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:14:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:14:34 PM=>Info:- Count = 1
10/23/2022 11:14:34 PM=>Info:- Count 1
10/23/2022 11:14:34 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:14:34 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:14:34 PM=>Info:- Start SenMail Method
10/23/2022 11:14:34 PM=>UseDefaultCredentials
10/23/2022 11:14:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:14:34 PM=>EnableSsl = true
10/23/2022 11:14:34 PM=>DeliveryMethod
10/23/2022 11:14:34 PM=>Before Send
10/23/2022 11:14:34 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:14:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:14:34 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:14:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:14:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:14:34 PM=>Info:- END Mailing Method
10/23/2022 11:14:34 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:14:34 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:14:34 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:14:34 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:14:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:14:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:14:34 PM=>Info - End of callingService Method
10/23/2022 11:16:34 PM=>Info - Check time Elapsed
10/23/2022 11:16:34 PM=>Info - Call callingService Method
10/23/2022 11:16:34 PM=>Info:- Call Both
10/23/2022 11:16:34 PM=>Info:- Start Executing SMS Method
10/23/2022 11:16:34 PM=>Info:- End Executing SMS Method
10/23/2022 11:16:34 PM=>Info:- Start Mailing Method
10/23/2022 11:16:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:16:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:16:34 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:16:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:16:34 PM=>Info:- Count = 1
10/23/2022 11:16:34 PM=>Info:- Count 1
10/23/2022 11:16:34 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:16:34 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:16:34 PM=>Info:- Start SenMail Method
10/23/2022 11:16:34 PM=>UseDefaultCredentials
10/23/2022 11:16:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:16:34 PM=>EnableSsl = true
10/23/2022 11:16:34 PM=>DeliveryMethod
10/23/2022 11:16:34 PM=>Before Send
10/23/2022 11:16:43 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:16:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:16:43 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:16:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:16:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:16:44 PM=>Info:- END Mailing Method
10/23/2022 11:16:44 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:16:44 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:16:44 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:16:44 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:16:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:16:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:16:44 PM=>Info - End of callingService Method
10/23/2022 11:18:44 PM=>Info - Check time Elapsed
10/23/2022 11:18:44 PM=>Info - Call callingService Method
10/23/2022 11:18:44 PM=>Info:- Call Both
10/23/2022 11:18:44 PM=>Info:- Start Executing SMS Method
10/23/2022 11:18:44 PM=>Info:- End Executing SMS Method
10/23/2022 11:18:44 PM=>Info:- Start Mailing Method
10/23/2022 11:18:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:18:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:18:44 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:18:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:18:44 PM=>Info:- Count = 1
10/23/2022 11:18:44 PM=>Info:- Count 1
10/23/2022 11:18:44 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:18:44 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:18:44 PM=>Info:- Start SenMail Method
10/23/2022 11:18:44 PM=>UseDefaultCredentials
10/23/2022 11:18:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:18:44 PM=>EnableSsl = true
10/23/2022 11:18:44 PM=>DeliveryMethod
10/23/2022 11:18:44 PM=>Before Send
10/23/2022 11:18:53 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:18:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:18:53 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:18:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:18:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:18:53 PM=>Info:- END Mailing Method
10/23/2022 11:18:53 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:18:53 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:18:53 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:18:53 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:18:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:18:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:18:53 PM=>Info - End of callingService Method
10/23/2022 11:20:53 PM=>Info - Check time Elapsed
10/23/2022 11:20:53 PM=>Info - Call callingService Method
10/23/2022 11:20:53 PM=>Info:- Call Both
10/23/2022 11:20:53 PM=>Info:- Start Executing SMS Method
10/23/2022 11:20:53 PM=>Info:- End Executing SMS Method
10/23/2022 11:20:53 PM=>Info:- Start Mailing Method
10/23/2022 11:20:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:20:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:20:53 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:20:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:20:53 PM=>Info:- Count = 1
10/23/2022 11:20:53 PM=>Info:- Count 1
10/23/2022 11:20:53 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:20:53 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:20:53 PM=>Info:- Start SenMail Method
10/23/2022 11:20:53 PM=>UseDefaultCredentials
10/23/2022 11:20:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:20:53 PM=>EnableSsl = true
10/23/2022 11:20:53 PM=>DeliveryMethod
10/23/2022 11:20:53 PM=>Before Send
10/23/2022 11:21:02 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:21:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:21:02 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:21:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:21:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:21:03 PM=>Info:- END Mailing Method
10/23/2022 11:21:03 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:21:03 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:21:03 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:21:03 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:21:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:21:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:21:03 PM=>Info - End of callingService Method
10/23/2022 11:23:03 PM=>Info - Check time Elapsed
10/23/2022 11:23:03 PM=>Info - Call callingService Method
10/23/2022 11:23:03 PM=>Info:- Call Both
10/23/2022 11:23:03 PM=>Info:- Start Executing SMS Method
10/23/2022 11:23:03 PM=>Info:- End Executing SMS Method
10/23/2022 11:23:03 PM=>Info:- Start Mailing Method
10/23/2022 11:23:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:23:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:23:03 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:23:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:23:03 PM=>Info:- Count = 1
10/23/2022 11:23:03 PM=>Info:- Count 1
10/23/2022 11:23:03 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:23:03 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:23:03 PM=>Info:- Start SenMail Method
10/23/2022 11:23:03 PM=>UseDefaultCredentials
10/23/2022 11:23:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:23:03 PM=>EnableSsl = true
10/23/2022 11:23:03 PM=>DeliveryMethod
10/23/2022 11:23:03 PM=>Before Send
10/23/2022 11:23:12 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:23:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:23:12 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:23:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:23:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:23:12 PM=>Info:- END Mailing Method
10/23/2022 11:23:12 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:23:12 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:23:12 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:23:12 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:23:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:23:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:23:12 PM=>Info - End of callingService Method
10/23/2022 11:25:12 PM=>Info - Check time Elapsed
10/23/2022 11:25:12 PM=>Info - Call callingService Method
10/23/2022 11:25:12 PM=>Info:- Call Both
10/23/2022 11:25:12 PM=>Info:- Start Executing SMS Method
10/23/2022 11:25:12 PM=>Info:- End Executing SMS Method
10/23/2022 11:25:12 PM=>Info:- Start Mailing Method
10/23/2022 11:25:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:25:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:25:12 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:25:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:25:12 PM=>Info:- Count = 1
10/23/2022 11:25:12 PM=>Info:- Count 1
10/23/2022 11:25:12 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:25:12 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:25:12 PM=>Info:- Start SenMail Method
10/23/2022 11:25:12 PM=>UseDefaultCredentials
10/23/2022 11:25:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:25:12 PM=>EnableSsl = true
10/23/2022 11:25:12 PM=>DeliveryMethod
10/23/2022 11:25:12 PM=>Before Send
10/23/2022 11:25:15 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:25:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:25:15 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:25:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:25:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:25:16 PM=>Info:- END Mailing Method
10/23/2022 11:25:16 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:25:16 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:25:16 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:25:16 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:25:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:25:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:25:16 PM=>Info - End of callingService Method
10/23/2022 11:27:16 PM=>Info - Check time Elapsed
10/23/2022 11:27:16 PM=>Info - Call callingService Method
10/23/2022 11:27:16 PM=>Info:- Call Both
10/23/2022 11:27:16 PM=>Info:- Start Executing SMS Method
10/23/2022 11:27:16 PM=>Info:- End Executing SMS Method
10/23/2022 11:27:16 PM=>Info:- Start Mailing Method
10/23/2022 11:27:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:27:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:27:16 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:27:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:27:16 PM=>Info:- Count = 1
10/23/2022 11:27:16 PM=>Info:- Count 1
10/23/2022 11:27:16 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:27:16 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:27:16 PM=>Info:- Start SenMail Method
10/23/2022 11:27:16 PM=>UseDefaultCredentials
10/23/2022 11:27:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:27:16 PM=>EnableSsl = true
10/23/2022 11:27:16 PM=>DeliveryMethod
10/23/2022 11:27:16 PM=>Before Send
10/23/2022 11:27:25 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:27:25 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:27:25 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:27:25 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:27:25 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:27:25 PM=>Info:- END Mailing Method
10/23/2022 11:27:25 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:27:25 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:27:25 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:27:25 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:27:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:27:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:27:25 PM=>Info - End of callingService Method
10/23/2022 11:29:25 PM=>Info - Check time Elapsed
10/23/2022 11:29:25 PM=>Info - Call callingService Method
10/23/2022 11:29:25 PM=>Info:- Call Both
10/23/2022 11:29:25 PM=>Info:- Start Executing SMS Method
10/23/2022 11:29:25 PM=>Info:- End Executing SMS Method
10/23/2022 11:29:25 PM=>Info:- Start Mailing Method
10/23/2022 11:29:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:29:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:29:25 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:29:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:29:25 PM=>Info:- Count = 1
10/23/2022 11:29:25 PM=>Info:- Count 1
10/23/2022 11:29:25 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:29:25 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:29:25 PM=>Info:- Start SenMail Method
10/23/2022 11:29:25 PM=>UseDefaultCredentials
10/23/2022 11:29:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:29:25 PM=>EnableSsl = true
10/23/2022 11:29:25 PM=>DeliveryMethod
10/23/2022 11:29:25 PM=>Before Send
10/23/2022 11:29:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:29:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:29:46 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:29:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:29:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:29:46 PM=>Info:- END Mailing Method
10/23/2022 11:29:46 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:29:46 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:29:46 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:29:46 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:29:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:29:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:29:46 PM=>Info - End of callingService Method
10/23/2022 11:31:46 PM=>Info - Check time Elapsed
10/23/2022 11:31:46 PM=>Info - Call callingService Method
10/23/2022 11:31:46 PM=>Info:- Call Both
10/23/2022 11:31:47 PM=>Info:- Start Executing SMS Method
10/23/2022 11:31:47 PM=>Info:- End Executing SMS Method
10/23/2022 11:31:47 PM=>Info:- Start Mailing Method
10/23/2022 11:31:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:31:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:31:47 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:31:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:31:47 PM=>Info:- Count = 1
10/23/2022 11:31:47 PM=>Info:- Count 1
10/23/2022 11:31:47 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:31:47 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:31:47 PM=>Info:- Start SenMail Method
10/23/2022 11:31:47 PM=>UseDefaultCredentials
10/23/2022 11:31:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:31:47 PM=>EnableSsl = true
10/23/2022 11:31:47 PM=>DeliveryMethod
10/23/2022 11:31:47 PM=>Before Send
10/23/2022 11:33:11 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.40.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:33:11 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:33:11 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:33:11 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:33:11 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:33:11 PM=>Info:- END Mailing Method
10/23/2022 11:33:11 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:33:11 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:33:11 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:33:11 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:33:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:33:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:33:11 PM=>Info - End of callingService Method
10/23/2022 11:35:11 PM=>Info - Check time Elapsed
10/23/2022 11:35:11 PM=>Info - Call callingService Method
10/23/2022 11:35:11 PM=>Info:- Call Both
10/23/2022 11:35:11 PM=>Info:- Start Executing SMS Method
10/23/2022 11:35:11 PM=>Info:- End Executing SMS Method
10/23/2022 11:35:11 PM=>Info:- Start Mailing Method
10/23/2022 11:35:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:35:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:35:11 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:35:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:35:11 PM=>Info:- Count = 1
10/23/2022 11:35:11 PM=>Info:- Count 1
10/23/2022 11:35:11 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:35:11 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:35:11 PM=>Info:- Start SenMail Method
10/23/2022 11:35:11 PM=>UseDefaultCredentials
10/23/2022 11:35:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:35:11 PM=>EnableSsl = true
10/23/2022 11:35:11 PM=>DeliveryMethod
10/23/2022 11:35:11 PM=>Before Send
10/23/2022 11:35:14 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:35:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:35:14 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:35:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:35:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:35:14 PM=>Info:- END Mailing Method
10/23/2022 11:35:15 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:35:15 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:35:15 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:35:15 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:35:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:35:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:35:15 PM=>Info - End of callingService Method
10/23/2022 11:37:15 PM=>Info - Check time Elapsed
10/23/2022 11:37:15 PM=>Info - Call callingService Method
10/23/2022 11:37:15 PM=>Info:- Call Both
10/23/2022 11:37:15 PM=>Info:- Start Executing SMS Method
10/23/2022 11:37:15 PM=>Info:- End Executing SMS Method
10/23/2022 11:37:15 PM=>Info:- Start Mailing Method
10/23/2022 11:37:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:37:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:37:15 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:37:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:37:15 PM=>Info:- Count = 1
10/23/2022 11:37:15 PM=>Info:- Count 1
10/23/2022 11:37:15 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:37:15 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:37:15 PM=>Info:- Start SenMail Method
10/23/2022 11:37:15 PM=>UseDefaultCredentials
10/23/2022 11:37:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:37:15 PM=>EnableSsl = true
10/23/2022 11:37:15 PM=>DeliveryMethod
10/23/2022 11:37:15 PM=>Before Send
10/23/2022 11:37:24 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:37:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:37:24 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:37:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:37:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:37:24 PM=>Info:- END Mailing Method
10/23/2022 11:37:24 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:37:24 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:37:24 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:37:24 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:37:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:37:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:37:24 PM=>Info - End of callingService Method
10/23/2022 11:39:24 PM=>Info - Check time Elapsed
10/23/2022 11:39:24 PM=>Info - Call callingService Method
10/23/2022 11:39:24 PM=>Info:- Call Both
10/23/2022 11:39:24 PM=>Info:- Start Executing SMS Method
10/23/2022 11:39:24 PM=>Info:- End Executing SMS Method
10/23/2022 11:39:24 PM=>Info:- Start Mailing Method
10/23/2022 11:39:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:39:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:39:24 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:39:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:39:24 PM=>Info:- Count = 1
10/23/2022 11:39:24 PM=>Info:- Count 1
10/23/2022 11:39:24 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:39:24 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:39:24 PM=>Info:- Start SenMail Method
10/23/2022 11:39:24 PM=>UseDefaultCredentials
10/23/2022 11:39:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:39:24 PM=>EnableSsl = true
10/23/2022 11:39:24 PM=>DeliveryMethod
10/23/2022 11:39:24 PM=>Before Send
10/23/2022 11:40:48 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 40.97.188.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:40:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:40:48 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:40:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:40:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:40:49 PM=>Info:- END Mailing Method
10/23/2022 11:40:49 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:40:49 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:40:49 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:40:49 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:40:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:40:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:40:49 PM=>Info - End of callingService Method
10/23/2022 11:42:49 PM=>Info - Check time Elapsed
10/23/2022 11:42:49 PM=>Info - Call callingService Method
10/23/2022 11:42:49 PM=>Info:- Call Both
10/23/2022 11:42:49 PM=>Info:- Start Executing SMS Method
10/23/2022 11:42:49 PM=>Info:- End Executing SMS Method
10/23/2022 11:42:49 PM=>Info:- Start Mailing Method
10/23/2022 11:42:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:42:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:42:49 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:42:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:42:49 PM=>Info:- Count = 1
10/23/2022 11:42:49 PM=>Info:- Count 1
10/23/2022 11:42:49 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:42:49 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:42:49 PM=>Info:- Start SenMail Method
10/23/2022 11:42:49 PM=>UseDefaultCredentials
10/23/2022 11:42:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:42:49 PM=>EnableSsl = true
10/23/2022 11:42:49 PM=>DeliveryMethod
10/23/2022 11:42:49 PM=>Before Send
10/23/2022 11:42:49 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:42:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:42:49 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:42:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:42:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:42:49 PM=>Info:- END Mailing Method
10/23/2022 11:42:49 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:42:49 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:42:49 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:42:49 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:42:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:42:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:42:49 PM=>Info - End of callingService Method
10/23/2022 11:44:49 PM=>Info - Check time Elapsed
10/23/2022 11:44:49 PM=>Info - Call callingService Method
10/23/2022 11:44:49 PM=>Info:- Call Both
10/23/2022 11:44:49 PM=>Info:- Start Executing SMS Method
10/23/2022 11:44:49 PM=>Info:- End Executing SMS Method
10/23/2022 11:44:49 PM=>Info:- Start Mailing Method
10/23/2022 11:44:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:44:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:44:49 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:44:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:44:49 PM=>Info:- Count = 1
10/23/2022 11:44:49 PM=>Info:- Count 1
10/23/2022 11:44:49 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:44:49 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:44:49 PM=>Info:- Start SenMail Method
10/23/2022 11:44:49 PM=>UseDefaultCredentials
10/23/2022 11:44:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:44:49 PM=>EnableSsl = true
10/23/2022 11:44:49 PM=>DeliveryMethod
10/23/2022 11:44:49 PM=>Before Send
10/23/2022 11:44:49 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:44:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:44:49 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:44:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:44:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:44:49 PM=>Info:- END Mailing Method
10/23/2022 11:44:49 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:44:49 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:44:49 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:44:49 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:44:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:44:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:44:49 PM=>Info - End of callingService Method
10/23/2022 11:46:49 PM=>Info - Check time Elapsed
10/23/2022 11:46:49 PM=>Info - Call callingService Method
10/23/2022 11:46:49 PM=>Info:- Call Both
10/23/2022 11:46:49 PM=>Info:- Start Executing SMS Method
10/23/2022 11:46:49 PM=>Info:- End Executing SMS Method
10/23/2022 11:46:49 PM=>Info:- Start Mailing Method
10/23/2022 11:46:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:46:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:46:49 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:46:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:46:49 PM=>Info:- Count = 1
10/23/2022 11:46:49 PM=>Info:- Count 1
10/23/2022 11:46:49 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:46:49 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:46:49 PM=>Info:- Start SenMail Method
10/23/2022 11:46:49 PM=>UseDefaultCredentials
10/23/2022 11:46:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:46:49 PM=>EnableSsl = true
10/23/2022 11:46:49 PM=>DeliveryMethod
10/23/2022 11:46:49 PM=>Before Send
10/23/2022 11:46:58 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:46:59 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:46:59 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:46:59 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:46:59 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:46:59 PM=>Info:- END Mailing Method
10/23/2022 11:46:59 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:46:59 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:46:59 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:46:59 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:46:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:46:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:46:59 PM=>Info - End of callingService Method
10/23/2022 11:48:59 PM=>Info - Check time Elapsed
10/23/2022 11:48:59 PM=>Info - Call callingService Method
10/23/2022 11:48:59 PM=>Info:- Call Both
10/23/2022 11:48:59 PM=>Info:- Start Executing SMS Method
10/23/2022 11:48:59 PM=>Info:- End Executing SMS Method
10/23/2022 11:48:59 PM=>Info:- Start Mailing Method
10/23/2022 11:48:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:48:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:48:59 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:48:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:48:59 PM=>Info:- Count = 1
10/23/2022 11:48:59 PM=>Info:- Count 1
10/23/2022 11:48:59 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:48:59 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:48:59 PM=>Info:- Start SenMail Method
10/23/2022 11:48:59 PM=>UseDefaultCredentials
10/23/2022 11:48:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:48:59 PM=>EnableSsl = true
10/23/2022 11:48:59 PM=>DeliveryMethod
10/23/2022 11:48:59 PM=>Before Send
10/23/2022 11:50:23 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> 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 52.96.109.226:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:50:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:50:23 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:50:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:50:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:50:23 PM=>Info:- END Mailing Method
10/23/2022 11:50:23 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:50:23 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:50:23 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:50:23 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:50:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:50:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:50:23 PM=>Info - End of callingService Method
10/23/2022 11:52:23 PM=>Info - Check time Elapsed
10/23/2022 11:52:23 PM=>Info - Call callingService Method
10/23/2022 11:52:23 PM=>Info:- Call Both
10/23/2022 11:52:23 PM=>Info:- Start Executing SMS Method
10/23/2022 11:52:23 PM=>Info:- End Executing SMS Method
10/23/2022 11:52:23 PM=>Info:- Start Mailing Method
10/23/2022 11:52:23 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:52:23 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:52:23 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:52:23 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:52:23 PM=>Info:- Count = 1
10/23/2022 11:52:23 PM=>Info:- Count 1
10/23/2022 11:52:23 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:52:23 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:52:23 PM=>Info:- Start SenMail Method
10/23/2022 11:52:23 PM=>UseDefaultCredentials
10/23/2022 11:52:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:52:23 PM=>EnableSsl = true
10/23/2022 11:52:23 PM=>DeliveryMethod
10/23/2022 11:52:23 PM=>Before Send
10/23/2022 11:52:23 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:52:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:52:23 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:52:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:52:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:52:24 PM=>Info:- END Mailing Method
10/23/2022 11:52:24 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:52:24 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:52:24 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:52:24 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:52:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:52:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:52:24 PM=>Info - End of callingService Method
10/23/2022 11:54:24 PM=>Info - Check time Elapsed
10/23/2022 11:54:24 PM=>Info - Call callingService Method
10/23/2022 11:54:24 PM=>Info:- Call Both
10/23/2022 11:54:24 PM=>Info:- Start Executing SMS Method
10/23/2022 11:54:24 PM=>Info:- End Executing SMS Method
10/23/2022 11:54:24 PM=>Info:- Start Mailing Method
10/23/2022 11:54:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:54:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:54:24 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:54:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:54:24 PM=>Info:- Count = 1
10/23/2022 11:54:24 PM=>Info:- Count 1
10/23/2022 11:54:24 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:54:24 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:54:24 PM=>Info:- Start SenMail Method
10/23/2022 11:54:24 PM=>UseDefaultCredentials
10/23/2022 11:54:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:54:24 PM=>EnableSsl = true
10/23/2022 11:54:24 PM=>DeliveryMethod
10/23/2022 11:54:24 PM=>Before Send
10/23/2022 11:54:27 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:54:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:54:27 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:54:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:54:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:54:27 PM=>Info:- END Mailing Method
10/23/2022 11:54:27 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:54:27 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:54:27 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:54:27 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:54:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:54:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:54:27 PM=>Info - End of callingService Method
10/23/2022 11:56:27 PM=>Info - Check time Elapsed
10/23/2022 11:56:27 PM=>Info - Call callingService Method
10/23/2022 11:56:27 PM=>Info:- Call Both
10/23/2022 11:56:27 PM=>Info:- Start Executing SMS Method
10/23/2022 11:56:27 PM=>Info:- End Executing SMS Method
10/23/2022 11:56:27 PM=>Info:- Start Mailing Method
10/23/2022 11:56:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:56:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:56:27 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:56:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:56:27 PM=>Info:- Count = 1
10/23/2022 11:56:27 PM=>Info:- Count 1
10/23/2022 11:56:27 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:56:27 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:56:27 PM=>Info:- Start SenMail Method
10/23/2022 11:56:27 PM=>UseDefaultCredentials
10/23/2022 11:56:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:56:27 PM=>EnableSsl = true
10/23/2022 11:56:27 PM=>DeliveryMethod
10/23/2022 11:56:27 PM=>Before Send
10/23/2022 11:56:36 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:56:36 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:56:36 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:56:36 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:56:36 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:56:37 PM=>Info:- END Mailing Method
10/23/2022 11:56:37 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:56:37 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:56:37 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:56:37 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:56:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:56:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:56:37 PM=>Info - End of callingService Method
10/23/2022 11:58:37 PM=>Info - Check time Elapsed
10/23/2022 11:58:37 PM=>Info - Call callingService Method
10/23/2022 11:58:37 PM=>Info:- Call Both
10/23/2022 11:58:37 PM=>Info:- Start Executing SMS Method
10/23/2022 11:58:37 PM=>Info:- End Executing SMS Method
10/23/2022 11:58:37 PM=>Info:- Start Mailing Method
10/23/2022 11:58:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/23/2022 11:58:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/23/2022 11:58:37 PM=>Info:- PendingMail.xml file read to list
10/23/2022 11:58:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/23/2022 11:58:37 PM=>Info:- Count = 1
10/23/2022 11:58:37 PM=>Info:- Count 1
10/23/2022 11:58:37 PM=>Info - Fetching Data From MAIL XML
10/23/2022 11:58:37 PM=>Info - End of Fetching Data From Mail XML
10/23/2022 11:58:37 PM=>Info:- Start SenMail Method
10/23/2022 11:58:37 PM=>UseDefaultCredentials
10/23/2022 11:58:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/23/2022 11:58:37 PM=>EnableSsl = true
10/23/2022 11:58:37 PM=>DeliveryMethod
10/23/2022 11:58:37 PM=>Before Send
10/23/2022 11:58:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/23/2022 11:58:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/23/2022 11:58:46 PM=>(SenMail)Failure sending CC mail ID :
10/23/2022 11:58:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/23/2022 11:58:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/23/2022 11:58:46 PM=>Info:- END Mailing Method
10/23/2022 11:58:46 PM=>Info:- Start Executing Telegram Method
10/23/2022 11:58:46 PM=>Info:- PendingTelegram.xml not exists
10/23/2022 11:58:46 PM=>Info:- End Executing TELEGRAM Method
10/23/2022 11:58:46 PM=>WriteToPendingXML ErrorAlert Start
10/23/2022 11:58:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/23/2022 11:58:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/23/2022 11:58:46 PM=>Info - End of callingService Method
