10/24/2022 12:00:46 AM=>Info - Check time Elapsed
10/24/2022 12:00:46 AM=>Info - Call callingService Method
10/24/2022 12:00:46 AM=>Info:- Call Both
10/24/2022 12:00:46 AM=>Info:- Start Executing SMS Method
10/24/2022 12:00:46 AM=>Info:- End Executing SMS Method
10/24/2022 12:00:46 AM=>Info:- Start Mailing Method
10/24/2022 12:00:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:00:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:00:46 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:00:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:00:46 AM=>Info:- Count = 1
10/24/2022 12:00:46 AM=>Info:- Count 1
10/24/2022 12:00:46 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:00:46 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:00:46 AM=>Info:- Start SenMail Method
10/24/2022 12:00:46 AM=>UseDefaultCredentials
10/24/2022 12:00:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:00:46 AM=>EnableSsl = true
10/24/2022 12:00:46 AM=>DeliveryMethod
10/24/2022 12:00:46 AM=>Before Send
10/24/2022 12:00: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/24/2022 12:00:55 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:00:55 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:00:55 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:00:55 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:00:56 AM=>Info:- END Mailing Method
10/24/2022 12:00:56 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:00:56 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:00:56 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:00:56 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:00:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:00:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:00:56 AM=>Info - End of callingService Method
10/24/2022 12:02:56 AM=>Info - Check time Elapsed
10/24/2022 12:02:56 AM=>Info - Call callingService Method
10/24/2022 12:02:56 AM=>Info:- Call Both
10/24/2022 12:02:56 AM=>Info:- Start Executing SMS Method
10/24/2022 12:02:56 AM=>Info:- End Executing SMS Method
10/24/2022 12:02:56 AM=>Info:- Start Mailing Method
10/24/2022 12:02:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:02:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:02:56 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:02:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:02:56 AM=>Info:- Count = 1
10/24/2022 12:02:56 AM=>Info:- Count 1
10/24/2022 12:02:56 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:02:56 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:02:56 AM=>Info:- Start SenMail Method
10/24/2022 12:02:56 AM=>UseDefaultCredentials
10/24/2022 12:02:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:02:56 AM=>EnableSsl = true
10/24/2022 12:02:56 AM=>DeliveryMethod
10/24/2022 12:02:56 AM=>Before Send
10/24/2022 12: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/24/2022 12:02:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:02:56 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:02:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:02:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:02:56 AM=>Info:- END Mailing Method
10/24/2022 12:02:56 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:02:56 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:02:56 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:02:56 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:02:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:02:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:02:56 AM=>Info - End of callingService Method
10/24/2022 12:04:56 AM=>Info - Check time Elapsed
10/24/2022 12:04:56 AM=>Info - Call callingService Method
10/24/2022 12:04:56 AM=>Info:- Call Both
10/24/2022 12:04:56 AM=>Info:- Start Executing SMS Method
10/24/2022 12:04:56 AM=>Info:- End Executing SMS Method
10/24/2022 12:04:56 AM=>Info:- Start Mailing Method
10/24/2022 12:04:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:04:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:04:56 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:04:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:04:56 AM=>Info:- Count = 1
10/24/2022 12:04:56 AM=>Info:- Count 1
10/24/2022 12:04:56 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:04:56 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:04:56 AM=>Info:- Start SenMail Method
10/24/2022 12:04:56 AM=>UseDefaultCredentials
10/24/2022 12:04:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:04:56 AM=>EnableSsl = true
10/24/2022 12:04:56 AM=>DeliveryMethod
10/24/2022 12:04:56 AM=>Before Send
10/24/2022 12: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.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/24/2022 12:06:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:06:20 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:06:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:06:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:06:20 AM=>Info:- END Mailing Method
10/24/2022 12:06:20 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:06:20 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:06:20 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:06:20 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:06:21 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:06:21 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:06:21 AM=>Info - End of callingService Method
10/24/2022 12:08:21 AM=>Info - Check time Elapsed
10/24/2022 12:08:21 AM=>Info - Call callingService Method
10/24/2022 12:08:21 AM=>Info:- Call Both
10/24/2022 12:08:21 AM=>Info:- Start Executing SMS Method
10/24/2022 12:08:21 AM=>Info:- End Executing SMS Method
10/24/2022 12:08:21 AM=>Info:- Start Mailing Method
10/24/2022 12:08:21 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:08:21 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:08:21 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:08:21 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:08:21 AM=>Info:- Count = 1
10/24/2022 12:08:21 AM=>Info:- Count 1
10/24/2022 12:08:21 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:08:21 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:08:21 AM=>Info:- Start SenMail Method
10/24/2022 12:08:21 AM=>UseDefaultCredentials
10/24/2022 12:08:21 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:08:21 AM=>EnableSsl = true
10/24/2022 12:08:21 AM=>DeliveryMethod
10/24/2022 12:08:21 AM=>Before Send
10/24/2022 12:08:30 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/24/2022 12:08:30 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:08:30 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:08:30 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:08:30 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:08:30 AM=>Info:- END Mailing Method
10/24/2022 12:08:30 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:08:30 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:08:30 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:08:30 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:08:30 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:08:30 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:08:30 AM=>Info - End of callingService Method
10/24/2022 12:10:30 AM=>Info - Check time Elapsed
10/24/2022 12:10:30 AM=>Info - Call callingService Method
10/24/2022 12:10:30 AM=>Info:- Call Both
10/24/2022 12:10:30 AM=>Info:- Start Executing SMS Method
10/24/2022 12:10:30 AM=>Info:- End Executing SMS Method
10/24/2022 12:10:30 AM=>Info:- Start Mailing Method
10/24/2022 12:10:30 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:10:30 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:10:30 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:10:30 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:10:30 AM=>Info:- Count = 1
10/24/2022 12:10:30 AM=>Info:- Count 1
10/24/2022 12:10:30 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:10:30 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:10:30 AM=>Info:- Start SenMail Method
10/24/2022 12:10:30 AM=>UseDefaultCredentials
10/24/2022 12:10:30 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:10:30 AM=>EnableSsl = true
10/24/2022 12:10:30 AM=>DeliveryMethod
10/24/2022 12:10:30 AM=>Before Send
10/24/2022 12:10: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/24/2022 12:10:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:10:39 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:10:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:10:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:10:40 AM=>Info:- END Mailing Method
10/24/2022 12:10:40 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:10:40 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:10:40 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:10:40 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:10:40 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:10:40 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:10:40 AM=>Info - End of callingService Method
10/24/2022 12:12:40 AM=>Info - Check time Elapsed
10/24/2022 12:12:40 AM=>Info - Call callingService Method
10/24/2022 12:12:40 AM=>Info:- Call Both
10/24/2022 12:12:40 AM=>Info:- Start Executing SMS Method
10/24/2022 12:12:40 AM=>Info:- End Executing SMS Method
10/24/2022 12:12:40 AM=>Info:- Start Mailing Method
10/24/2022 12:12:40 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:12:40 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:12:40 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:12:40 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:12:40 AM=>Info:- Count = 1
10/24/2022 12:12:40 AM=>Info:- Count 1
10/24/2022 12:12:40 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:12:40 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:12:40 AM=>Info:- Start SenMail Method
10/24/2022 12:12:40 AM=>UseDefaultCredentials
10/24/2022 12:12:40 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:12:40 AM=>EnableSsl = true
10/24/2022 12:12:40 AM=>DeliveryMethod
10/24/2022 12:12:40 AM=>Before Send
10/24/2022 12:12: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/24/2022 12:12:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:12:49 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:12:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:12:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:12:49 AM=>Info:- END Mailing Method
10/24/2022 12:12:49 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:12:49 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:12:49 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:12:49 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:12:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:12:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:12:49 AM=>Info - End of callingService Method
10/24/2022 12:14:49 AM=>Info - Check time Elapsed
10/24/2022 12:14:49 AM=>Info - Call callingService Method
10/24/2022 12:14:49 AM=>Info:- Call Both
10/24/2022 12:14:49 AM=>Info:- Start Executing SMS Method
10/24/2022 12:14:49 AM=>Info:- End Executing SMS Method
10/24/2022 12:14:49 AM=>Info:- Start Mailing Method
10/24/2022 12:14:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:14:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:14:49 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:14:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:14:49 AM=>Info:- Count = 1
10/24/2022 12:14:49 AM=>Info:- Count 1
10/24/2022 12:14:49 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:14:49 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:14:49 AM=>Info:- Start SenMail Method
10/24/2022 12:14:49 AM=>UseDefaultCredentials
10/24/2022 12:14:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:14:49 AM=>EnableSsl = true
10/24/2022 12:14:49 AM=>DeliveryMethod
10/24/2022 12:14:49 AM=>Before Send
10/24/2022 12:14: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/24/2022 12:14:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:14:52 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:14:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:14:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:14:52 AM=>Info:- END Mailing Method
10/24/2022 12:14:52 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:14:52 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:14:52 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:14:52 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:14:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:14:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:14:52 AM=>Info - End of callingService Method
10/24/2022 12:16:52 AM=>Info - Check time Elapsed
10/24/2022 12:16:52 AM=>Info - Call callingService Method
10/24/2022 12:16:52 AM=>Info:- Call Both
10/24/2022 12:16:52 AM=>Info:- Start Executing SMS Method
10/24/2022 12:16:52 AM=>Info:- End Executing SMS Method
10/24/2022 12:16:52 AM=>Info:- Start Mailing Method
10/24/2022 12:16:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:16:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:16:52 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:16:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:16:52 AM=>Info:- Count = 1
10/24/2022 12:16:52 AM=>Info:- Count 1
10/24/2022 12:16:52 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:16:52 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:16:52 AM=>Info:- Start SenMail Method
10/24/2022 12:16:52 AM=>UseDefaultCredentials
10/24/2022 12:16:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:16:52 AM=>EnableSsl = true
10/24/2022 12:16:52 AM=>DeliveryMethod
10/24/2022 12:16:52 AM=>Before Send
10/24/2022 12:17: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/24/2022 12:17:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:17:01 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:17:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:17:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:17:02 AM=>Info:- END Mailing Method
10/24/2022 12:17:02 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:17:02 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:17:02 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:17:02 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:17:02 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:17:02 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:17:02 AM=>Info - End of callingService Method
10/24/2022 12:19:02 AM=>Info - Check time Elapsed
10/24/2022 12:19:02 AM=>Info - Call callingService Method
10/24/2022 12:19:02 AM=>Info:- Call Both
10/24/2022 12:19:02 AM=>Info:- Start Executing SMS Method
10/24/2022 12:19:02 AM=>Info:- End Executing SMS Method
10/24/2022 12:19:02 AM=>Info:- Start Mailing Method
10/24/2022 12:19:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:19:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:19:02 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:19:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:19:02 AM=>Info:- Count = 1
10/24/2022 12:19:02 AM=>Info:- Count 1
10/24/2022 12:19:02 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:19:02 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:19:02 AM=>Info:- Start SenMail Method
10/24/2022 12:19:02 AM=>UseDefaultCredentials
10/24/2022 12:19:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:19:02 AM=>EnableSsl = true
10/24/2022 12:19:02 AM=>DeliveryMethod
10/24/2022 12:19:02 AM=>Before Send
10/24/2022 12: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/24/2022 12:19:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:19:23 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:19:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:19:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:19:23 AM=>Info:- END Mailing Method
10/24/2022 12:19:23 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:19:23 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:19:23 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:19:23 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:19:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:19:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:19:23 AM=>Info - End of callingService Method
10/24/2022 12:21:23 AM=>Info - Check time Elapsed
10/24/2022 12:21:23 AM=>Info - Call callingService Method
10/24/2022 12:21:23 AM=>Info:- Call Both
10/24/2022 12:21:23 AM=>Info:- Start Executing SMS Method
10/24/2022 12:21:23 AM=>Info:- End Executing SMS Method
10/24/2022 12:21:23 AM=>Info:- Start Mailing Method
10/24/2022 12:21:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:21:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:21:23 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:21:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:21:23 AM=>Info:- Count = 1
10/24/2022 12:21:23 AM=>Info:- Count 1
10/24/2022 12:21:23 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:21:23 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:21:23 AM=>Info:- Start SenMail Method
10/24/2022 12:21:23 AM=>UseDefaultCredentials
10/24/2022 12:21:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:21:23 AM=>EnableSsl = true
10/24/2022 12:21:23 AM=>DeliveryMethod
10/24/2022 12:21:23 AM=>Before Send
10/24/2022 12: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/24/2022 12:21:32 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:21:32 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:21:32 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:21:32 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:21:33 AM=>Info:- END Mailing Method
10/24/2022 12:21:33 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:21:33 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:21:33 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:21:33 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:21:33 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:21:33 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:21:33 AM=>Info - End of callingService Method
10/24/2022 12:23:33 AM=>Info - Check time Elapsed
10/24/2022 12:23:33 AM=>Info - Call callingService Method
10/24/2022 12:23:33 AM=>Info:- Call Both
10/24/2022 12:23:33 AM=>Info:- Start Executing SMS Method
10/24/2022 12:23:33 AM=>Info:- End Executing SMS Method
10/24/2022 12:23:33 AM=>Info:- Start Mailing Method
10/24/2022 12:23:33 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:23:33 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:23:33 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:23:33 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:23:33 AM=>Info:- Count = 1
10/24/2022 12:23:33 AM=>Info:- Count 1
10/24/2022 12:23:33 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:23:33 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:23:33 AM=>Info:- Start SenMail Method
10/24/2022 12:23:33 AM=>UseDefaultCredentials
10/24/2022 12:23:33 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:23:33 AM=>EnableSsl = true
10/24/2022 12:23:33 AM=>DeliveryMethod
10/24/2022 12:23:33 AM=>Before Send
10/24/2022 12:23: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/24/2022 12:23:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:23:54 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:23:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:23:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:23:54 AM=>Info:- END Mailing Method
10/24/2022 12:23:54 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:23:54 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:23:54 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:23:54 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:23:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:23:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:23:54 AM=>Info - End of callingService Method
10/24/2022 12:25:54 AM=>Info - Check time Elapsed
10/24/2022 12:25:54 AM=>Info - Call callingService Method
10/24/2022 12:25:54 AM=>Info:- Call Both
10/24/2022 12:25:54 AM=>Info:- Start Executing SMS Method
10/24/2022 12:25:54 AM=>Info:- End Executing SMS Method
10/24/2022 12:25:54 AM=>Info:- Start Mailing Method
10/24/2022 12:25:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:25:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:25:54 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:25:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:25:54 AM=>Info:- Count = 1
10/24/2022 12:25:54 AM=>Info:- Count 1
10/24/2022 12:25:54 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:25:54 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:25:54 AM=>Info:- Start SenMail Method
10/24/2022 12:25:54 AM=>UseDefaultCredentials
10/24/2022 12:25:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:25:54 AM=>EnableSsl = true
10/24/2022 12:25:54 AM=>DeliveryMethod
10/24/2022 12:25:54 AM=>Before Send
10/24/2022 12:26: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/24/2022 12:26:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:26:03 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:26:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:26:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:26:03 AM=>Info:- END Mailing Method
10/24/2022 12:26:03 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:26:03 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:26:03 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:26:03 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:26:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:26:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:26:03 AM=>Info - End of callingService Method
10/24/2022 12:28:03 AM=>Info - Check time Elapsed
10/24/2022 12:28:03 AM=>Info - Call callingService Method
10/24/2022 12:28:03 AM=>Info:- Call Both
10/24/2022 12:28:03 AM=>Info:- Start Executing SMS Method
10/24/2022 12:28:03 AM=>Info:- End Executing SMS Method
10/24/2022 12:28:03 AM=>Info:- Start Mailing Method
10/24/2022 12:28:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:28:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:28:03 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:28:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:28:03 AM=>Info:- Count = 1
10/24/2022 12:28:03 AM=>Info:- Count 1
10/24/2022 12:28:03 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:28:03 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:28:03 AM=>Info:- Start SenMail Method
10/24/2022 12:28:03 AM=>UseDefaultCredentials
10/24/2022 12:28:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:28:03 AM=>EnableSsl = true
10/24/2022 12:28:03 AM=>DeliveryMethod
10/24/2022 12:28:03 AM=>Before Send
10/24/2022 12:28: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/24/2022 12:28:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:28:13 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:28:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:28:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:28:13 AM=>Info:- END Mailing Method
10/24/2022 12:28:13 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:28:13 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:28:13 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:28:13 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:28:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:28:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:28:13 AM=>Info - End of callingService Method
10/24/2022 12:30:13 AM=>Info - Check time Elapsed
10/24/2022 12:30:13 AM=>Info - Call callingService Method
10/24/2022 12:30:13 AM=>Info:- Call Both
10/24/2022 12:30:13 AM=>Info:- Start Executing SMS Method
10/24/2022 12:30:13 AM=>Info:- End Executing SMS Method
10/24/2022 12:30:13 AM=>Info:- Start Mailing Method
10/24/2022 12:30:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:30:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:30:13 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:30:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:30:13 AM=>Info:- Count = 1
10/24/2022 12:30:13 AM=>Info:- Count 1
10/24/2022 12:30:13 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:30:13 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:30:13 AM=>Info:- Start SenMail Method
10/24/2022 12:30:13 AM=>UseDefaultCredentials
10/24/2022 12:30:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:30:13 AM=>EnableSsl = true
10/24/2022 12:30:13 AM=>DeliveryMethod
10/24/2022 12:30:13 AM=>Before Send
10/24/2022 12:30: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/24/2022 12:30:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:30:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:30:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:30:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:30:16 AM=>Info:- END Mailing Method
10/24/2022 12:30:16 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:30:16 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:30:16 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:30:16 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:30:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:30:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:30:16 AM=>Info - End of callingService Method
10/24/2022 12:32:16 AM=>Info - Check time Elapsed
10/24/2022 12:32:16 AM=>Info - Call callingService Method
10/24/2022 12:32:16 AM=>Info:- Call Both
10/24/2022 12:32:16 AM=>Info:- Start Executing SMS Method
10/24/2022 12:32:16 AM=>Info:- End Executing SMS Method
10/24/2022 12:32:16 AM=>Info:- Start Mailing Method
10/24/2022 12:32:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:32:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:32:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:32:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:32:16 AM=>Info:- Count = 1
10/24/2022 12:32:16 AM=>Info:- Count 1
10/24/2022 12:32:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:32:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:32:16 AM=>Info:- Start SenMail Method
10/24/2022 12:32:16 AM=>UseDefaultCredentials
10/24/2022 12:32:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:32:16 AM=>EnableSsl = true
10/24/2022 12:32:16 AM=>DeliveryMethod
10/24/2022 12:32:16 AM=>Before Send
10/24/2022 12:32: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/24/2022 12:32:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:32:25 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:32:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:32:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:32:26 AM=>Info:- END Mailing Method
10/24/2022 12:32:26 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:32:26 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:32:26 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:32:26 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:32:26 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:32:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:32:26 AM=>Info - End of callingService Method
10/24/2022 12:34:26 AM=>Info - Check time Elapsed
10/24/2022 12:34:26 AM=>Info - Call callingService Method
10/24/2022 12:34:26 AM=>Info:- Call Both
10/24/2022 12:34:26 AM=>Info:- Start Executing SMS Method
10/24/2022 12:34:26 AM=>Info:- End Executing SMS Method
10/24/2022 12:34:26 AM=>Info:- Start Mailing Method
10/24/2022 12:34:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:34:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:34:26 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:34:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:34:26 AM=>Info:- Count = 1
10/24/2022 12:34:26 AM=>Info:- Count 1
10/24/2022 12:34:26 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:34:26 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:34:26 AM=>Info:- Start SenMail Method
10/24/2022 12:34:26 AM=>UseDefaultCredentials
10/24/2022 12:34:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:34:26 AM=>EnableSsl = true
10/24/2022 12:34:26 AM=>DeliveryMethod
10/24/2022 12:34:26 AM=>Before Send
10/24/2022 12:34: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/24/2022 12:34:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:34:47 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:34:47 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:34:47 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:34:47 AM=>Info:- END Mailing Method
10/24/2022 12:34:47 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:34:47 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:34:47 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:34:47 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:34:47 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:34:47 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:34:47 AM=>Info - End of callingService Method
10/24/2022 12:36:47 AM=>Info - Check time Elapsed
10/24/2022 12:36:47 AM=>Info - Call callingService Method
10/24/2022 12:36:47 AM=>Info:- Call Both
10/24/2022 12:36:47 AM=>Info:- Start Executing SMS Method
10/24/2022 12:36:47 AM=>Info:- End Executing SMS Method
10/24/2022 12:36:47 AM=>Info:- Start Mailing Method
10/24/2022 12:36:47 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:36:47 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:36:47 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:36:47 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:36:47 AM=>Info:- Count = 1
10/24/2022 12:36:47 AM=>Info:- Count 1
10/24/2022 12:36:47 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:36:47 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:36:47 AM=>Info:- Start SenMail Method
10/24/2022 12:36:47 AM=>UseDefaultCredentials
10/24/2022 12:36:47 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:36:47 AM=>EnableSsl = true
10/24/2022 12:36:47 AM=>DeliveryMethod
10/24/2022 12:36:47 AM=>Before Send
10/24/2022 12:38: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.109.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/24/2022 12:38:11 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:38:11 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:38:11 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:38:11 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:38:12 AM=>Info:- END Mailing Method
10/24/2022 12:38:12 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:38:12 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:38:12 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:38:12 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:38:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:38:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:38:12 AM=>Info - End of callingService Method
10/24/2022 12:40:12 AM=>Info - Check time Elapsed
10/24/2022 12:40:12 AM=>Info - Call callingService Method
10/24/2022 12:40:12 AM=>Info:- Call Both
10/24/2022 12:40:12 AM=>Info:- Start Executing SMS Method
10/24/2022 12:40:12 AM=>Info:- End Executing SMS Method
10/24/2022 12:40:12 AM=>Info:- Start Mailing Method
10/24/2022 12:40:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:40:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:40:12 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:40:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:40:12 AM=>Info:- Count = 1
10/24/2022 12:40:12 AM=>Info:- Count 1
10/24/2022 12:40:12 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:40:12 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:40:12 AM=>Info:- Start SenMail Method
10/24/2022 12:40:12 AM=>UseDefaultCredentials
10/24/2022 12:40:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:40:12 AM=>EnableSsl = true
10/24/2022 12:40:12 AM=>DeliveryMethod
10/24/2022 12:40:12 AM=>Before Send
10/24/2022 12:40:33 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/24/2022 12:40:33 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:40:33 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:40:33 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:40:33 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:40:33 AM=>Info:- END Mailing Method
10/24/2022 12:40:33 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:40:33 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:40:33 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:40:33 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:40:33 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:40:33 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:40:33 AM=>Info - End of callingService Method
10/24/2022 12:42:33 AM=>Info - Check time Elapsed
10/24/2022 12:42:33 AM=>Info - Call callingService Method
10/24/2022 12:42:33 AM=>Info:- Call Both
10/24/2022 12:42:33 AM=>Info:- Start Executing SMS Method
10/24/2022 12:42:33 AM=>Info:- End Executing SMS Method
10/24/2022 12:42:33 AM=>Info:- Start Mailing Method
10/24/2022 12:42:33 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:42:33 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:42:33 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:42:33 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:42:33 AM=>Info:- Count = 1
10/24/2022 12:42:33 AM=>Info:- Count 1
10/24/2022 12:42:33 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:42:33 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:42:33 AM=>Info:- Start SenMail Method
10/24/2022 12:42:33 AM=>UseDefaultCredentials
10/24/2022 12:42:33 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:42:33 AM=>EnableSsl = true
10/24/2022 12:42:33 AM=>DeliveryMethod
10/24/2022 12:42:33 AM=>Before Send
10/24/2022 12:43:57 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.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/24/2022 12:43:57 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:43:57 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:43:57 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:43:57 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:43:58 AM=>Info:- END Mailing Method
10/24/2022 12:43:58 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:43:58 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:43:58 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:43:58 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:43:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:43:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:43:58 AM=>Info - End of callingService Method
10/24/2022 12:45:58 AM=>Info - Check time Elapsed
10/24/2022 12:45:58 AM=>Info - Call callingService Method
10/24/2022 12:45:58 AM=>Info:- Call Both
10/24/2022 12:45:58 AM=>Info:- Start Executing SMS Method
10/24/2022 12:45:58 AM=>Info:- End Executing SMS Method
10/24/2022 12:45:58 AM=>Info:- Start Mailing Method
10/24/2022 12:45:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:45:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:45:58 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:45:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:45:58 AM=>Info:- Count = 1
10/24/2022 12:45:58 AM=>Info:- Count 1
10/24/2022 12:45:58 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:45:58 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:45:58 AM=>Info:- Start SenMail Method
10/24/2022 12:45:58 AM=>UseDefaultCredentials
10/24/2022 12:45:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:45:58 AM=>EnableSsl = true
10/24/2022 12:45:58 AM=>DeliveryMethod
10/24/2022 12:45:58 AM=>Before Send
10/24/2022 12:47:22 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/24/2022 12:47:22 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:47:22 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:47:22 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:47:22 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:47:22 AM=>Info:- END Mailing Method
10/24/2022 12:47:22 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:47:22 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:47:22 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:47:22 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:47:22 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:47:22 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:47:22 AM=>Info - End of callingService Method
10/24/2022 12:49:22 AM=>Info - Check time Elapsed
10/24/2022 12:49:22 AM=>Info - Call callingService Method
10/24/2022 12:49:22 AM=>Info:- Call Both
10/24/2022 12:49:22 AM=>Info:- Start Executing SMS Method
10/24/2022 12:49:22 AM=>Info:- End Executing SMS Method
10/24/2022 12:49:22 AM=>Info:- Start Mailing Method
10/24/2022 12:49:22 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:49:22 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:49:22 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:49:22 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:49:22 AM=>Info:- Count = 1
10/24/2022 12:49:22 AM=>Info:- Count 1
10/24/2022 12:49:22 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:49:22 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:49:22 AM=>Info:- Start SenMail Method
10/24/2022 12:49:22 AM=>UseDefaultCredentials
10/24/2022 12:49:22 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:49:22 AM=>EnableSsl = true
10/24/2022 12:49:22 AM=>DeliveryMethod
10/24/2022 12:49:22 AM=>Before Send
10/24/2022 12:49: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/24/2022 12:49:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:49:25 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:49:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:49:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:49:25 AM=>Info:- END Mailing Method
10/24/2022 12:49:25 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:49:25 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:49:25 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:49:25 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:49:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:49:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:49:25 AM=>Info - End of callingService Method
10/24/2022 12:51:25 AM=>Info - Check time Elapsed
10/24/2022 12:51:25 AM=>Info - Call callingService Method
10/24/2022 12:51:25 AM=>Info:- Call Both
10/24/2022 12:51:25 AM=>Info:- Start Executing SMS Method
10/24/2022 12:51:25 AM=>Info:- End Executing SMS Method
10/24/2022 12:51:25 AM=>Info:- Start Mailing Method
10/24/2022 12:51:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:51:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:51:25 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:51:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:51:25 AM=>Info:- Count = 1
10/24/2022 12:51:25 AM=>Info:- Count 1
10/24/2022 12:51:25 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:51:25 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:51:25 AM=>Info:- Start SenMail Method
10/24/2022 12:51:25 AM=>UseDefaultCredentials
10/24/2022 12:51:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:51:25 AM=>EnableSsl = true
10/24/2022 12:51:25 AM=>DeliveryMethod
10/24/2022 12:51:25 AM=>Before Send
10/24/2022 12:51: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/24/2022 12:51:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:51:28 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:51:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:51:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:51:29 AM=>Info:- END Mailing Method
10/24/2022 12:51:29 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:51:29 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:51:29 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:51:29 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:51:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:51:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:51:29 AM=>Info - End of callingService Method
10/24/2022 12:53:29 AM=>Info - Check time Elapsed
10/24/2022 12:53:29 AM=>Info - Call callingService Method
10/24/2022 12:53:29 AM=>Info:- Call Both
10/24/2022 12:53:29 AM=>Info:- Start Executing SMS Method
10/24/2022 12:53:29 AM=>Info:- End Executing SMS Method
10/24/2022 12:53:29 AM=>Info:- Start Mailing Method
10/24/2022 12:53:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:53:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:53:29 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:53:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:53:29 AM=>Info:- Count = 1
10/24/2022 12:53:29 AM=>Info:- Count 1
10/24/2022 12:53:29 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:53:29 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:53:29 AM=>Info:- Start SenMail Method
10/24/2022 12:53:29 AM=>UseDefaultCredentials
10/24/2022 12:53:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:53:29 AM=>EnableSsl = true
10/24/2022 12:53:29 AM=>DeliveryMethod
10/24/2022 12:53:29 AM=>Before Send
10/24/2022 12:54:53 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.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/24/2022 12:54:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:54:53 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:54:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:54:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:54:53 AM=>Info:- END Mailing Method
10/24/2022 12:54:53 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:54:53 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:54:53 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:54:53 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:54:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:54:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:54:53 AM=>Info - End of callingService Method
10/24/2022 12:56:53 AM=>Info - Check time Elapsed
10/24/2022 12:56:53 AM=>Info - Call callingService Method
10/24/2022 12:56:53 AM=>Info:- Call Both
10/24/2022 12:56:53 AM=>Info:- Start Executing SMS Method
10/24/2022 12:56:53 AM=>Info:- End Executing SMS Method
10/24/2022 12:56:53 AM=>Info:- Start Mailing Method
10/24/2022 12:56:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:56:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:56:53 AM=>Info:- PendingMail.xml file read to list
10/24/2022 12:56:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:56:53 AM=>Info:- Count = 1
10/24/2022 12:56:53 AM=>Info:- Count 1
10/24/2022 12:56:53 AM=>Info - Fetching Data From MAIL XML
10/24/2022 12:56:53 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:56:53 AM=>Info:- Start SenMail Method
10/24/2022 12:56:53 AM=>UseDefaultCredentials
10/24/2022 12:56:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:56:53 AM=>EnableSsl = true
10/24/2022 12:56:53 AM=>DeliveryMethod
10/24/2022 12:56:53 AM=>Before Send
10/24/2022 12:58: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.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/24/2022 12:58:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:58:17 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:58:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:58:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:58:18 AM=>Info:- END Mailing Method
10/24/2022 12:58:18 AM=>Info:- Start Executing Telegram Method
10/24/2022 12:58:18 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:58:18 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:58:18 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:58:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:58:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:58:18 AM=>Info - End of callingService Method
10/24/2022 1:00:18 AM=>Info - Check time Elapsed
10/24/2022 1:00:18 AM=>Info - Call callingService Method
10/24/2022 1:00:18 AM=>Info:- Call Both
10/24/2022 1:00:18 AM=>Info:- Start Executing SMS Method
10/24/2022 1:00:18 AM=>Info:- End Executing SMS Method
10/24/2022 1:00:18 AM=>Info:- Start Mailing Method
10/24/2022 1:00:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:00:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:00:18 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:00:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:00:18 AM=>Info:- Count = 1
10/24/2022 1:00:18 AM=>Info:- Count 1
10/24/2022 1:00:18 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:00:18 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:00:18 AM=>Info:- Start SenMail Method
10/24/2022 1:00:18 AM=>UseDefaultCredentials
10/24/2022 1:00:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:00:18 AM=>EnableSsl = true
10/24/2022 1:00:18 AM=>DeliveryMethod
10/24/2022 1:00:18 AM=>Before Send
10/24/2022 1:00: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/24/2022 1:00:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:00:18 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:00:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:00:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:00:18 AM=>Info:- END Mailing Method
10/24/2022 1:00:18 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:00:18 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:00:18 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:00:18 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:00:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:00:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:00:18 AM=>Info - End of callingService Method
10/24/2022 1:02:18 AM=>Info - Check time Elapsed
10/24/2022 1:02:18 AM=>Info - Call callingService Method
10/24/2022 1:02:18 AM=>Info:- Call Both
10/24/2022 1:02:18 AM=>Info:- Start Executing SMS Method
10/24/2022 1:02:18 AM=>Info:- End Executing SMS Method
10/24/2022 1:02:18 AM=>Info:- Start Mailing Method
10/24/2022 1:02:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:02:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:02:18 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:02:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:02:18 AM=>Info:- Count = 1
10/24/2022 1:02:18 AM=>Info:- Count 1
10/24/2022 1:02:18 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:02:18 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:02:18 AM=>Info:- Start SenMail Method
10/24/2022 1:02:18 AM=>UseDefaultCredentials
10/24/2022 1:02:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:02:18 AM=>EnableSsl = true
10/24/2022 1:02:18 AM=>DeliveryMethod
10/24/2022 1:02:18 AM=>Before Send
10/24/2022 1:03:42 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.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/24/2022 1:03:42 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:03:42 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:03:42 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:03:42 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:03:42 AM=>Info:- END Mailing Method
10/24/2022 1:03:42 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:03:42 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:03:42 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:03:42 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:03:42 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:03:42 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:03:42 AM=>Info - End of callingService Method
10/24/2022 1:05:42 AM=>Info - Check time Elapsed
10/24/2022 1:05:42 AM=>Info - Call callingService Method
10/24/2022 1:05:42 AM=>Info:- Call Both
10/24/2022 1:05:42 AM=>Info:- Start Executing SMS Method
10/24/2022 1:05:42 AM=>Info:- End Executing SMS Method
10/24/2022 1:05:42 AM=>Info:- Start Mailing Method
10/24/2022 1:05:42 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:05:42 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:05:42 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:05:42 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:05:42 AM=>Info:- Count = 1
10/24/2022 1:05:42 AM=>Info:- Count 1
10/24/2022 1:05:42 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:05:42 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:05:42 AM=>Info:- Start SenMail Method
10/24/2022 1:05:42 AM=>UseDefaultCredentials
10/24/2022 1:05:42 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:05:42 AM=>EnableSsl = true
10/24/2022 1:05:42 AM=>DeliveryMethod
10/24/2022 1:05:42 AM=>Before Send
10/24/2022 1:07: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.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/24/2022 1:07:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:07:07 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:07:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:07:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:07:07 AM=>Info:- END Mailing Method
10/24/2022 1:07:07 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:07:07 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:07:07 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:07:07 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:07:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:07:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:07:07 AM=>Info - End of callingService Method
10/24/2022 1:09:07 AM=>Info - Check time Elapsed
10/24/2022 1:09:07 AM=>Info - Call callingService Method
10/24/2022 1:09:07 AM=>Info:- Call Both
10/24/2022 1:09:07 AM=>Info:- Start Executing SMS Method
10/24/2022 1:09:07 AM=>Info:- End Executing SMS Method
10/24/2022 1:09:07 AM=>Info:- Start Mailing Method
10/24/2022 1:09:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:09:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:09:07 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:09:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:09:07 AM=>Info:- Count = 1
10/24/2022 1:09:07 AM=>Info:- Count 1
10/24/2022 1:09:07 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:09:07 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:09:07 AM=>Info:- Start SenMail Method
10/24/2022 1:09:07 AM=>UseDefaultCredentials
10/24/2022 1:09:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:09:07 AM=>EnableSsl = true
10/24/2022 1:09:07 AM=>DeliveryMethod
10/24/2022 1:09:07 AM=>Before Send
10/24/2022 1:09: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/24/2022 1:09:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:09:07 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:09:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:09:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:09:07 AM=>Info:- END Mailing Method
10/24/2022 1:09:07 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:09:07 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:09:07 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:09:07 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:09:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:09:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:09:07 AM=>Info - End of callingService Method
10/24/2022 1:11:07 AM=>Info - Check time Elapsed
10/24/2022 1:11:07 AM=>Info - Call callingService Method
10/24/2022 1:11:07 AM=>Info:- Call Both
10/24/2022 1:11:07 AM=>Info:- Start Executing SMS Method
10/24/2022 1:11:07 AM=>Info:- End Executing SMS Method
10/24/2022 1:11:07 AM=>Info:- Start Mailing Method
10/24/2022 1:11:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:11:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:11:07 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:11:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:11:07 AM=>Info:- Count = 1
10/24/2022 1:11:07 AM=>Info:- Count 1
10/24/2022 1:11:07 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:11:07 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:11:07 AM=>Info:- Start SenMail Method
10/24/2022 1:11:07 AM=>UseDefaultCredentials
10/24/2022 1:11:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:11:07 AM=>EnableSsl = true
10/24/2022 1:11:07 AM=>DeliveryMethod
10/24/2022 1:11:07 AM=>Before Send
10/24/2022 1:12: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.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/24/2022 1:12:31 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:12:31 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:12:31 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:12:31 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:12:32 AM=>Info:- END Mailing Method
10/24/2022 1:12:32 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:12:32 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:12:32 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:12:32 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:12:32 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:12:32 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:12:32 AM=>Info - End of callingService Method
10/24/2022 1:14:32 AM=>Info - Check time Elapsed
10/24/2022 1:14:32 AM=>Info - Call callingService Method
10/24/2022 1:14:32 AM=>Info:- Call Both
10/24/2022 1:14:32 AM=>Info:- Start Executing SMS Method
10/24/2022 1:14:32 AM=>Info:- End Executing SMS Method
10/24/2022 1:14:32 AM=>Info:- Start Mailing Method
10/24/2022 1:14:32 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:14:32 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:14:32 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:14:32 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:14:32 AM=>Info:- Count = 1
10/24/2022 1:14:32 AM=>Info:- Count 1
10/24/2022 1:14:32 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:14:32 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:14:32 AM=>Info:- Start SenMail Method
10/24/2022 1:14:32 AM=>UseDefaultCredentials
10/24/2022 1:14:32 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:14:32 AM=>EnableSsl = true
10/24/2022 1:14:32 AM=>DeliveryMethod
10/24/2022 1:14:32 AM=>Before Send
10/24/2022 1:14: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/24/2022 1:14:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:14:35 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:14:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:14:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:14:35 AM=>Info:- END Mailing Method
10/24/2022 1:14:35 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:14:35 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:14:35 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:14:35 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:14:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:14:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:14:35 AM=>Info - End of callingService Method
10/24/2022 1:16:35 AM=>Info - Check time Elapsed
10/24/2022 1:16:35 AM=>Info - Call callingService Method
10/24/2022 1:16:35 AM=>Info:- Call Both
10/24/2022 1:16:35 AM=>Info:- Start Executing SMS Method
10/24/2022 1:16:35 AM=>Info:- End Executing SMS Method
10/24/2022 1:16:35 AM=>Info:- Start Mailing Method
10/24/2022 1:16:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:16:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:16:35 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:16:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:16:35 AM=>Info:- Count = 1
10/24/2022 1:16:35 AM=>Info:- Count 1
10/24/2022 1:16:35 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:16:35 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:16:35 AM=>Info:- Start SenMail Method
10/24/2022 1:16:35 AM=>UseDefaultCredentials
10/24/2022 1:16:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:16:35 AM=>EnableSsl = true
10/24/2022 1:16:35 AM=>DeliveryMethod
10/24/2022 1:16:35 AM=>Before Send
10/24/2022 1:16: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/24/2022 1:16:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:16:44 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:16:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:16:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:16:44 AM=>Info:- END Mailing Method
10/24/2022 1:16:44 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:16:44 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:16:44 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:16:44 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:16:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:16:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:16:44 AM=>Info - End of callingService Method
10/24/2022 1:18:44 AM=>Info - Check time Elapsed
10/24/2022 1:18:44 AM=>Info - Call callingService Method
10/24/2022 1:18:44 AM=>Info:- Call Both
10/24/2022 1:18:44 AM=>Info:- Start Executing SMS Method
10/24/2022 1:18:44 AM=>Info:- End Executing SMS Method
10/24/2022 1:18:44 AM=>Info:- Start Mailing Method
10/24/2022 1:18:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:18:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:18:44 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:18:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:18:44 AM=>Info:- Count = 1
10/24/2022 1:18:44 AM=>Info:- Count 1
10/24/2022 1:18:44 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:18:44 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:18:44 AM=>Info:- Start SenMail Method
10/24/2022 1:18:44 AM=>UseDefaultCredentials
10/24/2022 1:18:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:18:45 AM=>EnableSsl = true
10/24/2022 1:18:45 AM=>DeliveryMethod
10/24/2022 1:18:45 AM=>Before Send
10/24/2022 1:18: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/24/2022 1:18:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:18:54 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:18:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:18:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:18:54 AM=>Info:- END Mailing Method
10/24/2022 1:18:54 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:18:54 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:18:54 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:18:54 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:18:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:18:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:18:54 AM=>Info - End of callingService Method
10/24/2022 1:20:54 AM=>Info - Check time Elapsed
10/24/2022 1:20:54 AM=>Info - Call callingService Method
10/24/2022 1:20:54 AM=>Info:- Call Both
10/24/2022 1:20:54 AM=>Info:- Start Executing SMS Method
10/24/2022 1:20:54 AM=>Info:- End Executing SMS Method
10/24/2022 1:20:54 AM=>Info:- Start Mailing Method
10/24/2022 1:20:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:20:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:20:54 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:20:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:20:54 AM=>Info:- Count = 1
10/24/2022 1:20:54 AM=>Info:- Count 1
10/24/2022 1:20:54 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:20:54 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:20:54 AM=>Info:- Start SenMail Method
10/24/2022 1:20:54 AM=>UseDefaultCredentials
10/24/2022 1:20:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:20:54 AM=>EnableSsl = true
10/24/2022 1:20:54 AM=>DeliveryMethod
10/24/2022 1:20:54 AM=>Before Send
10/24/2022 1:21: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/24/2022 1:21:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:21:36 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:21:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:21:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:21:36 AM=>Info:- END Mailing Method
10/24/2022 1:21:36 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:21:36 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:21:36 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:21:36 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:21:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:21:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:21:36 AM=>Info - End of callingService Method
10/24/2022 1:23:36 AM=>Info - Check time Elapsed
10/24/2022 1:23:36 AM=>Info - Call callingService Method
10/24/2022 1:23:36 AM=>Info:- Call Both
10/24/2022 1:23:36 AM=>Info:- Start Executing SMS Method
10/24/2022 1:23:36 AM=>Info:- End Executing SMS Method
10/24/2022 1:23:36 AM=>Info:- Start Mailing Method
10/24/2022 1:23:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:23:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:23:36 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:23:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:23:36 AM=>Info:- Count = 1
10/24/2022 1:23:36 AM=>Info:- Count 1
10/24/2022 1:23:36 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:23:36 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:23:36 AM=>Info:- Start SenMail Method
10/24/2022 1:23:36 AM=>UseDefaultCredentials
10/24/2022 1:23:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:23:36 AM=>EnableSsl = true
10/24/2022 1:23:36 AM=>DeliveryMethod
10/24/2022 1:23:36 AM=>Before Send
10/24/2022 1:25: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.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/24/2022 1:25:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:25:00 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:25:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:25:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:25:01 AM=>Info:- END Mailing Method
10/24/2022 1:25:01 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:25:01 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:25:01 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:25:01 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:25:01 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:25:01 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:25:01 AM=>Info - End of callingService Method
10/24/2022 1:27:01 AM=>Info - Check time Elapsed
10/24/2022 1:27:01 AM=>Info - Call callingService Method
10/24/2022 1:27:01 AM=>Info:- Call Both
10/24/2022 1:27:01 AM=>Info:- Start Executing SMS Method
10/24/2022 1:27:01 AM=>Info:- End Executing SMS Method
10/24/2022 1:27:01 AM=>Info:- Start Mailing Method
10/24/2022 1:27:01 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:27:01 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:27:01 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:27:01 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:27:01 AM=>Info:- Count = 1
10/24/2022 1:27:01 AM=>Info:- Count 1
10/24/2022 1:27:01 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:27:01 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:27:01 AM=>Info:- Start SenMail Method
10/24/2022 1:27:01 AM=>UseDefaultCredentials
10/24/2022 1:27:01 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:27:01 AM=>EnableSsl = true
10/24/2022 1:27:01 AM=>DeliveryMethod
10/24/2022 1:27:01 AM=>Before Send
10/24/2022 1:28:25 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.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/24/2022 1:28:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:28:25 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:28:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:28:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:28:25 AM=>Info:- END Mailing Method
10/24/2022 1:28:25 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:28:25 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:28:25 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:28:25 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:28:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:28:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:28:25 AM=>Info - End of callingService Method
10/24/2022 1:30:25 AM=>Info - Check time Elapsed
10/24/2022 1:30:25 AM=>Info - Call callingService Method
10/24/2022 1:30:25 AM=>Info:- Call Both
10/24/2022 1:30:25 AM=>Info:- Start Executing SMS Method
10/24/2022 1:30:25 AM=>Info:- End Executing SMS Method
10/24/2022 1:30:25 AM=>Info:- Start Mailing Method
10/24/2022 1:30:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:30:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:30:25 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:30:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:30:25 AM=>Info:- Count = 1
10/24/2022 1:30:25 AM=>Info:- Count 1
10/24/2022 1:30:25 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:30:25 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:30:25 AM=>Info:- Start SenMail Method
10/24/2022 1:30:25 AM=>UseDefaultCredentials
10/24/2022 1:30:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:30:25 AM=>EnableSsl = true
10/24/2022 1:30:25 AM=>DeliveryMethod
10/24/2022 1:30:25 AM=>Before Send
10/24/2022 1:31: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.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/24/2022 1:31:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:31:49 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:31:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:31:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:31:50 AM=>Info:- END Mailing Method
10/24/2022 1:31:50 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:31:50 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:31:50 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:31:50 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:31:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:31:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:31:50 AM=>Info - End of callingService Method
10/24/2022 1:33:50 AM=>Info - Check time Elapsed
10/24/2022 1:33:50 AM=>Info - Call callingService Method
10/24/2022 1:33:50 AM=>Info:- Call Both
10/24/2022 1:33:50 AM=>Info:- Start Executing SMS Method
10/24/2022 1:33:50 AM=>Info:- End Executing SMS Method
10/24/2022 1:33:50 AM=>Info:- Start Mailing Method
10/24/2022 1:33:50 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:33:50 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:33:50 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:33:50 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:33:50 AM=>Info:- Count = 1
10/24/2022 1:33:50 AM=>Info:- Count 1
10/24/2022 1:33:50 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:33:50 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:33:50 AM=>Info:- Start SenMail Method
10/24/2022 1:33:50 AM=>UseDefaultCredentials
10/24/2022 1:33:50 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:33:50 AM=>EnableSsl = true
10/24/2022 1:33:50 AM=>DeliveryMethod
10/24/2022 1:33:50 AM=>Before Send
10/24/2022 1:33: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/24/2022 1:33:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:33:53 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:33:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:33:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:33:53 AM=>Info:- END Mailing Method
10/24/2022 1:33:53 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:33:53 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:33:53 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:33:53 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:33:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:33:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:33:53 AM=>Info - End of callingService Method
10/24/2022 1:35:53 AM=>Info - Check time Elapsed
10/24/2022 1:35:53 AM=>Info - Call callingService Method
10/24/2022 1:35:53 AM=>Info:- Call Both
10/24/2022 1:35:53 AM=>Info:- Start Executing SMS Method
10/24/2022 1:35:53 AM=>Info:- End Executing SMS Method
10/24/2022 1:35:53 AM=>Info:- Start Mailing Method
10/24/2022 1:35:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:35:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:35:53 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:35:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:35:53 AM=>Info:- Count = 1
10/24/2022 1:35:53 AM=>Info:- Count 1
10/24/2022 1:35:53 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:35:53 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:35:53 AM=>Info:- Start SenMail Method
10/24/2022 1:35:53 AM=>UseDefaultCredentials
10/24/2022 1:35:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:35:53 AM=>EnableSsl = true
10/24/2022 1:35:53 AM=>DeliveryMethod
10/24/2022 1:35:53 AM=>Before Send
10/24/2022 1:37: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.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/24/2022 1:37:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:37:17 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:37:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:37:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:37:17 AM=>Info:- END Mailing Method
10/24/2022 1:37:17 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:37:17 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:37:17 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:37:17 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:37:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:37:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:37:17 AM=>Info - End of callingService Method
10/24/2022 1:39:17 AM=>Info - Check time Elapsed
10/24/2022 1:39:17 AM=>Info - Call callingService Method
10/24/2022 1:39:17 AM=>Info:- Call Both
10/24/2022 1:39:17 AM=>Info:- Start Executing SMS Method
10/24/2022 1:39:17 AM=>Info:- End Executing SMS Method
10/24/2022 1:39:17 AM=>Info:- Start Mailing Method
10/24/2022 1:39:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:39:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:39:17 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:39:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:39:17 AM=>Info:- Count = 1
10/24/2022 1:39:17 AM=>Info:- Count 1
10/24/2022 1:39:17 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:39:17 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:39:17 AM=>Info:- Start SenMail Method
10/24/2022 1:39:17 AM=>UseDefaultCredentials
10/24/2022 1:39:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:39:17 AM=>EnableSsl = true
10/24/2022 1:39:17 AM=>DeliveryMethod
10/24/2022 1:39:17 AM=>Before Send
10/24/2022 1:40:42 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/24/2022 1:40:42 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:40:42 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:40:42 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:40:42 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:40:42 AM=>Info:- END Mailing Method
10/24/2022 1:40:42 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:40:42 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:40:42 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:40:42 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:40:42 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:40:42 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:40:42 AM=>Info - End of callingService Method
10/24/2022 1:42:42 AM=>Info - Check time Elapsed
10/24/2022 1:42:42 AM=>Info - Call callingService Method
10/24/2022 1:42:42 AM=>Info:- Call Both
10/24/2022 1:42:42 AM=>Info:- Start Executing SMS Method
10/24/2022 1:42:42 AM=>Info:- End Executing SMS Method
10/24/2022 1:42:42 AM=>Info:- Start Mailing Method
10/24/2022 1:42:42 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:42:42 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:42:42 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:42:42 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:42:42 AM=>Info:- Count = 1
10/24/2022 1:42:42 AM=>Info:- Count 1
10/24/2022 1:42:42 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:42:42 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:42:42 AM=>Info:- Start SenMail Method
10/24/2022 1:42:42 AM=>UseDefaultCredentials
10/24/2022 1:42:42 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:42:42 AM=>EnableSsl = true
10/24/2022 1:42:42 AM=>DeliveryMethod
10/24/2022 1:42:42 AM=>Before Send
10/24/2022 1:44:06 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.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/24/2022 1:44:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:44:06 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:44:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:44:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:44:06 AM=>Info:- END Mailing Method
10/24/2022 1:44:06 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:44:06 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:44:06 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:44:06 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:44:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:44:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:44:06 AM=>Info - End of callingService Method
10/24/2022 1:46:06 AM=>Info - Check time Elapsed
10/24/2022 1:46:06 AM=>Info - Call callingService Method
10/24/2022 1:46:06 AM=>Info:- Call Both
10/24/2022 1:46:06 AM=>Info:- Start Executing SMS Method
10/24/2022 1:46:06 AM=>Info:- End Executing SMS Method
10/24/2022 1:46:06 AM=>Info:- Start Mailing Method
10/24/2022 1:46:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:46:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:46:06 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:46:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:46:06 AM=>Info:- Count = 1
10/24/2022 1:46:06 AM=>Info:- Count 1
10/24/2022 1:46:06 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:46:06 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:46:06 AM=>Info:- Start SenMail Method
10/24/2022 1:46:06 AM=>UseDefaultCredentials
10/24/2022 1:46:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:46:06 AM=>EnableSsl = true
10/24/2022 1:46:06 AM=>DeliveryMethod
10/24/2022 1:46:06 AM=>Before Send
10/24/2022 1:46: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/24/2022 1:46:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:46:06 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:46:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:46:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:46:07 AM=>Info:- END Mailing Method
10/24/2022 1:46:07 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:46:07 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:46:07 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:46:07 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:46:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:46:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:46:07 AM=>Info - End of callingService Method
10/24/2022 1:48:07 AM=>Info - Check time Elapsed
10/24/2022 1:48:07 AM=>Info - Call callingService Method
10/24/2022 1:48:07 AM=>Info:- Call Both
10/24/2022 1:48:07 AM=>Info:- Start Executing SMS Method
10/24/2022 1:48:07 AM=>Info:- End Executing SMS Method
10/24/2022 1:48:07 AM=>Info:- Start Mailing Method
10/24/2022 1:48:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:48:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:48:07 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:48:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:48:07 AM=>Info:- Count = 1
10/24/2022 1:48:07 AM=>Info:- Count 1
10/24/2022 1:48:07 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:48:07 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:48:07 AM=>Info:- Start SenMail Method
10/24/2022 1:48:07 AM=>UseDefaultCredentials
10/24/2022 1:48:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:48:07 AM=>EnableSsl = true
10/24/2022 1:48:07 AM=>DeliveryMethod
10/24/2022 1:48:07 AM=>Before Send
10/24/2022 1:48: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/24/2022 1:48:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:48:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:48:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:48:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:48:16 AM=>Info:- END Mailing Method
10/24/2022 1:48:16 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:48:16 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:48:16 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:48:16 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:48:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:48:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:48:16 AM=>Info - End of callingService Method
10/24/2022 1:50:16 AM=>Info - Check time Elapsed
10/24/2022 1:50:16 AM=>Info - Call callingService Method
10/24/2022 1:50:16 AM=>Info:- Call Both
10/24/2022 1:50:16 AM=>Info:- Start Executing SMS Method
10/24/2022 1:50:16 AM=>Info:- End Executing SMS Method
10/24/2022 1:50:16 AM=>Info:- Start Mailing Method
10/24/2022 1:50:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:50:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:50:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:50:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:50:16 AM=>Info:- Count = 1
10/24/2022 1:50:16 AM=>Info:- Count 1
10/24/2022 1:50:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:50:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:50:16 AM=>Info:- Start SenMail Method
10/24/2022 1:50:16 AM=>UseDefaultCredentials
10/24/2022 1:50:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:50:16 AM=>EnableSsl = true
10/24/2022 1:50:16 AM=>DeliveryMethod
10/24/2022 1:50:16 AM=>Before Send
10/24/2022 1:50: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/24/2022 1:50:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:50:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:50:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:50:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:50:16 AM=>Info:- END Mailing Method
10/24/2022 1:50:16 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:50:16 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:50:16 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:50:16 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:50:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:50:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:50:16 AM=>Info - End of callingService Method
10/24/2022 1:52:16 AM=>Info - Check time Elapsed
10/24/2022 1:52:16 AM=>Info - Call callingService Method
10/24/2022 1:52:16 AM=>Info:- Call Both
10/24/2022 1:52:16 AM=>Info:- Start Executing SMS Method
10/24/2022 1:52:16 AM=>Info:- End Executing SMS Method
10/24/2022 1:52:16 AM=>Info:- Start Mailing Method
10/24/2022 1:52:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:52:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:52:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:52:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:52:16 AM=>Info:- Count = 1
10/24/2022 1:52:16 AM=>Info:- Count 1
10/24/2022 1:52:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:52:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:52:16 AM=>Info:- Start SenMail Method
10/24/2022 1:52:16 AM=>UseDefaultCredentials
10/24/2022 1:52:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:52:16 AM=>EnableSsl = true
10/24/2022 1:52:16 AM=>DeliveryMethod
10/24/2022 1:52:16 AM=>Before Send
10/24/2022 1:52: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/24/2022 1:52:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:52:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:52:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:52:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:52:17 AM=>Info:- END Mailing Method
10/24/2022 1:52:17 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:52:17 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:52:17 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:52:17 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:52:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:52:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:52:17 AM=>Info - End of callingService Method
10/24/2022 1:54:17 AM=>Info - Check time Elapsed
10/24/2022 1:54:17 AM=>Info - Call callingService Method
10/24/2022 1:54:17 AM=>Info:- Call Both
10/24/2022 1:54:17 AM=>Info:- Start Executing SMS Method
10/24/2022 1:54:17 AM=>Info:- End Executing SMS Method
10/24/2022 1:54:17 AM=>Info:- Start Mailing Method
10/24/2022 1:54:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:54:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:54:17 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:54:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:54:17 AM=>Info:- Count = 1
10/24/2022 1:54:17 AM=>Info:- Count 1
10/24/2022 1:54:17 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:54:17 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:54:17 AM=>Info:- Start SenMail Method
10/24/2022 1:54:17 AM=>UseDefaultCredentials
10/24/2022 1:54:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:54:17 AM=>EnableSsl = true
10/24/2022 1:54:17 AM=>DeliveryMethod
10/24/2022 1:54:17 AM=>Before Send
10/24/2022 1:54: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/24/2022 1:54:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:54:26 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:54:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:54:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:54:26 AM=>Info:- END Mailing Method
10/24/2022 1:54:26 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:54:26 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:54:26 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:54:26 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:54:26 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:54:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:54:26 AM=>Info - End of callingService Method
10/24/2022 1:56:26 AM=>Info - Check time Elapsed
10/24/2022 1:56:26 AM=>Info - Call callingService Method
10/24/2022 1:56:26 AM=>Info:- Call Both
10/24/2022 1:56:26 AM=>Info:- Start Executing SMS Method
10/24/2022 1:56:26 AM=>Info:- End Executing SMS Method
10/24/2022 1:56:26 AM=>Info:- Start Mailing Method
10/24/2022 1:56:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:56:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:56:26 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:56:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:56:26 AM=>Info:- Count = 1
10/24/2022 1:56:26 AM=>Info:- Count 1
10/24/2022 1:56:26 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:56:26 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:56:26 AM=>Info:- Start SenMail Method
10/24/2022 1:56:26 AM=>UseDefaultCredentials
10/24/2022 1:56:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:56:26 AM=>EnableSsl = true
10/24/2022 1:56:26 AM=>DeliveryMethod
10/24/2022 1:56:26 AM=>Before Send
10/24/2022 1:56: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/24/2022 1:56:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:56:35 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:56:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:56:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:56:36 AM=>Info:- END Mailing Method
10/24/2022 1:56:36 AM=>Info:- Start Executing Telegram Method
10/24/2022 1:56:36 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:56:36 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:56:36 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:56:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:56:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:56:36 AM=>Info - End of callingService Method
10/24/2022 1:58:36 AM=>Info - Check time Elapsed
10/24/2022 1:58:36 AM=>Info - Call callingService Method
10/24/2022 1:58:36 AM=>Info:- Call Both
10/24/2022 1:58:36 AM=>Info:- Start Executing SMS Method
10/24/2022 1:58:36 AM=>Info:- End Executing SMS Method
10/24/2022 1:58:36 AM=>Info:- Start Mailing Method
10/24/2022 1:58:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:58:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:58:36 AM=>Info:- PendingMail.xml file read to list
10/24/2022 1:58:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:58:36 AM=>Info:- Count = 1
10/24/2022 1:58:36 AM=>Info:- Count 1
10/24/2022 1:58:36 AM=>Info - Fetching Data From MAIL XML
10/24/2022 1:58:36 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:58:36 AM=>Info:- Start SenMail Method
10/24/2022 1:58:36 AM=>UseDefaultCredentials
10/24/2022 1:58:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:58:36 AM=>EnableSsl = true
10/24/2022 1:58:36 AM=>DeliveryMethod
10/24/2022 1:58:36 AM=>Before Send
10/24/2022 2:00: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.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/24/2022 2:00:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:00:00 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:00:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:00:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:00:00 AM=>Info:- END Mailing Method
10/24/2022 2:00:00 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:00:00 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:00:00 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:00:00 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:00:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:00:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:00:00 AM=>Info - End of callingService Method
10/24/2022 2:02:00 AM=>Info - Check time Elapsed
10/24/2022 2:02:00 AM=>Info - Call callingService Method
10/24/2022 2:02:00 AM=>Info:- Call Both
10/24/2022 2:02:00 AM=>Info:- Start Executing SMS Method
10/24/2022 2:02:00 AM=>Info:- End Executing SMS Method
10/24/2022 2:02:00 AM=>Info:- Start Mailing Method
10/24/2022 2:02:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:02:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:02:00 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:02:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:02:00 AM=>Info:- Count = 1
10/24/2022 2:02:00 AM=>Info:- Count 1
10/24/2022 2:02:00 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:02:00 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:02:00 AM=>Info:- Start SenMail Method
10/24/2022 2:02:00 AM=>UseDefaultCredentials
10/24/2022 2:02:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:02:00 AM=>EnableSsl = true
10/24/2022 2:02:00 AM=>DeliveryMethod
10/24/2022 2:02:00 AM=>Before Send
10/24/2022 2:02: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/24/2022 2:02:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:02:09 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:02:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:02:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:02:09 AM=>Info:- END Mailing Method
10/24/2022 2:02:09 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:02:09 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:02:09 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:02:09 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:02:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:02:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:02:09 AM=>Info - End of callingService Method
10/24/2022 2:04:09 AM=>Info - Check time Elapsed
10/24/2022 2:04:09 AM=>Info - Call callingService Method
10/24/2022 2:04:09 AM=>Info:- Call Both
10/24/2022 2:04:09 AM=>Info:- Start Executing SMS Method
10/24/2022 2:04:09 AM=>Info:- End Executing SMS Method
10/24/2022 2:04:10 AM=>Info:- Start Mailing Method
10/24/2022 2:04:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:04:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:04:10 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:04:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:04:10 AM=>Info:- Count = 1
10/24/2022 2:04:10 AM=>Info:- Count 1
10/24/2022 2:04:10 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:04:10 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:04:10 AM=>Info:- Start SenMail Method
10/24/2022 2:04:10 AM=>UseDefaultCredentials
10/24/2022 2:04:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:04:10 AM=>EnableSsl = true
10/24/2022 2:04:10 AM=>DeliveryMethod
10/24/2022 2:04:10 AM=>Before Send
10/24/2022 2:04: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/24/2022 2:04:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:04:52 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:04:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:04:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:04:52 AM=>Info:- END Mailing Method
10/24/2022 2:04:52 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:04:52 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:04:52 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:04:52 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:04:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:04:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:04:52 AM=>Info - End of callingService Method
10/24/2022 2:06:52 AM=>Info - Check time Elapsed
10/24/2022 2:06:52 AM=>Info - Call callingService Method
10/24/2022 2:06:52 AM=>Info:- Call Both
10/24/2022 2:06:52 AM=>Info:- Start Executing SMS Method
10/24/2022 2:06:52 AM=>Info:- End Executing SMS Method
10/24/2022 2:06:52 AM=>Info:- Start Mailing Method
10/24/2022 2:06:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:06:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:06:52 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:06:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:06:52 AM=>Info:- Count = 1
10/24/2022 2:06:52 AM=>Info:- Count 1
10/24/2022 2:06:52 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:06:52 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:06:52 AM=>Info:- Start SenMail Method
10/24/2022 2:06:52 AM=>UseDefaultCredentials
10/24/2022 2:06:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:06:52 AM=>EnableSsl = true
10/24/2022 2:06:52 AM=>DeliveryMethod
10/24/2022 2:06:52 AM=>Before Send
10/24/2022 2:06: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/24/2022 2:06:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:06:52 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:06:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:06:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:06:52 AM=>Info:- END Mailing Method
10/24/2022 2:06:52 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:06:52 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:06:52 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:06:52 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:06:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:06:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:06:52 AM=>Info - End of callingService Method
10/24/2022 2:08:52 AM=>Info - Check time Elapsed
10/24/2022 2:08:52 AM=>Info - Call callingService Method
10/24/2022 2:08:52 AM=>Info:- Call Both
10/24/2022 2:08:52 AM=>Info:- Start Executing SMS Method
10/24/2022 2:08:52 AM=>Info:- End Executing SMS Method
10/24/2022 2:08:52 AM=>Info:- Start Mailing Method
10/24/2022 2:08:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:08:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:08:52 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:08:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:08:52 AM=>Info:- Count = 1
10/24/2022 2:08:52 AM=>Info:- Count 1
10/24/2022 2:08:52 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:08:52 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:08:52 AM=>Info:- Start SenMail Method
10/24/2022 2:08:52 AM=>UseDefaultCredentials
10/24/2022 2:08:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:08:52 AM=>EnableSsl = true
10/24/2022 2:08:52 AM=>DeliveryMethod
10/24/2022 2:08:52 AM=>Before Send
10/24/2022 2:08: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/24/2022 2:08:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:08:52 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:08:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:08:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:08:53 AM=>Info:- END Mailing Method
10/24/2022 2:08:53 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:08:53 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:08:53 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:08:53 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:08:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:08:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:08:53 AM=>Info - End of callingService Method
10/24/2022 2:10:53 AM=>Info - Check time Elapsed
10/24/2022 2:10:53 AM=>Info - Call callingService Method
10/24/2022 2:10:53 AM=>Info:- Call Both
10/24/2022 2:10:53 AM=>Info:- Start Executing SMS Method
10/24/2022 2:10:53 AM=>Info:- End Executing SMS Method
10/24/2022 2:10:53 AM=>Info:- Start Mailing Method
10/24/2022 2:10:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:10:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:10:53 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:10:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:10:53 AM=>Info:- Count = 1
10/24/2022 2:10:53 AM=>Info:- Count 1
10/24/2022 2:10:53 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:10:53 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:10:53 AM=>Info:- Start SenMail Method
10/24/2022 2:10:53 AM=>UseDefaultCredentials
10/24/2022 2:10:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:10:53 AM=>EnableSsl = true
10/24/2022 2:10:53 AM=>DeliveryMethod
10/24/2022 2:10:53 AM=>Before Send
10/24/2022 2:12: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.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/24/2022 2:12:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:12:17 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:12:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:12:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:12:17 AM=>Info:- END Mailing Method
10/24/2022 2:12:17 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:12:17 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:12:17 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:12:17 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:12:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:12:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:12:17 AM=>Info - End of callingService Method
10/24/2022 2:14:17 AM=>Info - Check time Elapsed
10/24/2022 2:14:17 AM=>Info - Call callingService Method
10/24/2022 2:14:17 AM=>Info:- Call Both
10/24/2022 2:14:17 AM=>Info:- Start Executing SMS Method
10/24/2022 2:14:17 AM=>Info:- End Executing SMS Method
10/24/2022 2:14:17 AM=>Info:- Start Mailing Method
10/24/2022 2:14:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:14:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:14:17 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:14:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:14:17 AM=>Info:- Count = 1
10/24/2022 2:14:17 AM=>Info:- Count 1
10/24/2022 2:14:17 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:14:17 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:14:17 AM=>Info:- Start SenMail Method
10/24/2022 2:14:17 AM=>UseDefaultCredentials
10/24/2022 2:14:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:14:17 AM=>EnableSsl = true
10/24/2022 2:14:17 AM=>DeliveryMethod
10/24/2022 2:14:17 AM=>Before Send
10/24/2022 2:14: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/24/2022 2:14:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:14:47 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:14:47 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:14:47 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:14:48 AM=>Info:- END Mailing Method
10/24/2022 2:14:48 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:14:48 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:14:48 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:14:48 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:14:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:14:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:14:48 AM=>Info - End of callingService Method
10/24/2022 2:16:48 AM=>Info - Check time Elapsed
10/24/2022 2:16:48 AM=>Info - Call callingService Method
10/24/2022 2:16:48 AM=>Info:- Call Both
10/24/2022 2:16:48 AM=>Info:- Start Executing SMS Method
10/24/2022 2:16:48 AM=>Info:- End Executing SMS Method
10/24/2022 2:16:48 AM=>Info:- Start Mailing Method
10/24/2022 2:16:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:16:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:16:48 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:16:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:16:48 AM=>Info:- Count = 1
10/24/2022 2:16:48 AM=>Info:- Count 1
10/24/2022 2:16:48 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:16:48 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:16:48 AM=>Info:- Start SenMail Method
10/24/2022 2:16:48 AM=>UseDefaultCredentials
10/24/2022 2:16:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:16:48 AM=>EnableSsl = true
10/24/2022 2:16:48 AM=>DeliveryMethod
10/24/2022 2:16:48 AM=>Before Send
10/24/2022 2:16: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/24/2022 2:16:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:16:48 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:16:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:16:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:16:48 AM=>Info:- END Mailing Method
10/24/2022 2:16:48 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:16:48 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:16:48 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:16:48 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:16:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:16:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:16:48 AM=>Info - End of callingService Method
10/24/2022 2:18:48 AM=>Info - Check time Elapsed
10/24/2022 2:18:48 AM=>Info - Call callingService Method
10/24/2022 2:18:48 AM=>Info:- Call Both
10/24/2022 2:18:48 AM=>Info:- Start Executing SMS Method
10/24/2022 2:18:48 AM=>Info:- End Executing SMS Method
10/24/2022 2:18:48 AM=>Info:- Start Mailing Method
10/24/2022 2:18:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:18:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:18:48 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:18:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:18:48 AM=>Info:- Count = 1
10/24/2022 2:18:48 AM=>Info:- Count 1
10/24/2022 2:18:48 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:18:48 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:18:48 AM=>Info:- Start SenMail Method
10/24/2022 2:18:48 AM=>UseDefaultCredentials
10/24/2022 2:18:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:18:48 AM=>EnableSsl = true
10/24/2022 2:18:48 AM=>DeliveryMethod
10/24/2022 2:18:48 AM=>Before Send
10/24/2022 2:20: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 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/24/2022 2:20:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:20:12 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:20:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:20:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:20:12 AM=>Info:- END Mailing Method
10/24/2022 2:20:12 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:20:12 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:20:12 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:20:12 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:20:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:20:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:20:12 AM=>Info - End of callingService Method
10/24/2022 2:22:12 AM=>Info - Check time Elapsed
10/24/2022 2:22:12 AM=>Info - Call callingService Method
10/24/2022 2:22:12 AM=>Info:- Call Both
10/24/2022 2:22:12 AM=>Info:- Start Executing SMS Method
10/24/2022 2:22:12 AM=>Info:- End Executing SMS Method
10/24/2022 2:22:12 AM=>Info:- Start Mailing Method
10/24/2022 2:22:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:22:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:22:12 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:22:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:22:12 AM=>Info:- Count = 1
10/24/2022 2:22:12 AM=>Info:- Count 1
10/24/2022 2:22:12 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:22:12 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:22:12 AM=>Info:- Start SenMail Method
10/24/2022 2:22:12 AM=>UseDefaultCredentials
10/24/2022 2:22:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:22:12 AM=>EnableSsl = true
10/24/2022 2:22:12 AM=>DeliveryMethod
10/24/2022 2:22:12 AM=>Before Send
10/24/2022 2:23: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 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/24/2022 2:23:37 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:23:37 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:23:37 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:23:37 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:23:37 AM=>Info:- END Mailing Method
10/24/2022 2:23:37 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:23:37 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:23:37 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:23:37 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:23:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:23:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:23:37 AM=>Info - End of callingService Method
10/24/2022 2:25:37 AM=>Info - Check time Elapsed
10/24/2022 2:25:37 AM=>Info - Call callingService Method
10/24/2022 2:25:37 AM=>Info:- Call Both
10/24/2022 2:25:37 AM=>Info:- Start Executing SMS Method
10/24/2022 2:25:37 AM=>Info:- End Executing SMS Method
10/24/2022 2:25:37 AM=>Info:- Start Mailing Method
10/24/2022 2:25:37 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:25:37 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:25:37 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:25:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:25:37 AM=>Info:- Count = 1
10/24/2022 2:25:37 AM=>Info:- Count 1
10/24/2022 2:25:37 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:25:37 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:25:37 AM=>Info:- Start SenMail Method
10/24/2022 2:25:37 AM=>UseDefaultCredentials
10/24/2022 2:25:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:25:37 AM=>EnableSsl = true
10/24/2022 2:25:37 AM=>DeliveryMethod
10/24/2022 2:25:37 AM=>Before Send
10/24/2022 2:25:40 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/24/2022 2:25:40 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:25:40 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:25:40 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:25:40 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:25:40 AM=>Info:- END Mailing Method
10/24/2022 2:25:40 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:25:40 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:25:40 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:25:40 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:25:40 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:25:40 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:25:40 AM=>Info - End of callingService Method
10/24/2022 2:27:40 AM=>Info - Check time Elapsed
10/24/2022 2:27:40 AM=>Info - Call callingService Method
10/24/2022 2:27:40 AM=>Info:- Call Both
10/24/2022 2:27:40 AM=>Info:- Start Executing SMS Method
10/24/2022 2:27:40 AM=>Info:- End Executing SMS Method
10/24/2022 2:27:40 AM=>Info:- Start Mailing Method
10/24/2022 2:27:40 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:27:40 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:27:40 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:27:40 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:27:40 AM=>Info:- Count = 1
10/24/2022 2:27:40 AM=>Info:- Count 1
10/24/2022 2:27:40 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:27:40 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:27:40 AM=>Info:- Start SenMail Method
10/24/2022 2:27:40 AM=>UseDefaultCredentials
10/24/2022 2:27:40 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:27:40 AM=>EnableSsl = true
10/24/2022 2:27:40 AM=>DeliveryMethod
10/24/2022 2:27:40 AM=>Before Send
10/24/2022 2:29:04 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/24/2022 2:29:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:29:04 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:29:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:29:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:29:05 AM=>Info:- END Mailing Method
10/24/2022 2:29:05 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:29:05 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:29:05 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:29:05 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:29:05 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:29:05 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:29:05 AM=>Info - End of callingService Method
10/24/2022 2:31:05 AM=>Info - Check time Elapsed
10/24/2022 2:31:05 AM=>Info - Call callingService Method
10/24/2022 2:31:05 AM=>Info:- Call Both
10/24/2022 2:31:05 AM=>Info:- Start Executing SMS Method
10/24/2022 2:31:05 AM=>Info:- End Executing SMS Method
10/24/2022 2:31:05 AM=>Info:- Start Mailing Method
10/24/2022 2:31:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:31:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:31:05 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:31:05 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:31:05 AM=>Info:- Count = 1
10/24/2022 2:31:05 AM=>Info:- Count 1
10/24/2022 2:31:05 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:31:05 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:31:05 AM=>Info:- Start SenMail Method
10/24/2022 2:31:05 AM=>UseDefaultCredentials
10/24/2022 2:31:05 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:31:05 AM=>EnableSsl = true
10/24/2022 2:31:05 AM=>DeliveryMethod
10/24/2022 2:31:05 AM=>Before Send
10/24/2022 2:32: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.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/24/2022 2:32:29 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:32:29 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:32:29 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:32:29 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:32:29 AM=>Info:- END Mailing Method
10/24/2022 2:32:29 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:32:29 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:32:29 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:32:29 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:32:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:32:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:32:29 AM=>Info - End of callingService Method
10/24/2022 2:34:29 AM=>Info - Check time Elapsed
10/24/2022 2:34:29 AM=>Info - Call callingService Method
10/24/2022 2:34:29 AM=>Info:- Call Both
10/24/2022 2:34:29 AM=>Info:- Start Executing SMS Method
10/24/2022 2:34:29 AM=>Info:- End Executing SMS Method
10/24/2022 2:34:29 AM=>Info:- Start Mailing Method
10/24/2022 2:34:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:34:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:34:29 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:34:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:34:29 AM=>Info:- Count = 1
10/24/2022 2:34:29 AM=>Info:- Count 1
10/24/2022 2:34:29 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:34:29 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:34:29 AM=>Info:- Start SenMail Method
10/24/2022 2:34:29 AM=>UseDefaultCredentials
10/24/2022 2:34:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:34:29 AM=>EnableSsl = true
10/24/2022 2:34:29 AM=>DeliveryMethod
10/24/2022 2:34:29 AM=>Before Send
10/24/2022 2:35:53 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/24/2022 2:35:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:35:53 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:35:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:35:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:35:54 AM=>Info:- END Mailing Method
10/24/2022 2:35:54 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:35:54 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:35:54 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:35:54 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:35:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:35:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:35:54 AM=>Info - End of callingService Method
10/24/2022 2:37:54 AM=>Info - Check time Elapsed
10/24/2022 2:37:54 AM=>Info - Call callingService Method
10/24/2022 2:37:54 AM=>Info:- Call Both
10/24/2022 2:37:54 AM=>Info:- Start Executing SMS Method
10/24/2022 2:37:54 AM=>Info:- End Executing SMS Method
10/24/2022 2:37:54 AM=>Info:- Start Mailing Method
10/24/2022 2:37:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:37:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:37:54 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:37:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:37:54 AM=>Info:- Count = 1
10/24/2022 2:37:54 AM=>Info:- Count 1
10/24/2022 2:37:54 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:37:54 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:37:54 AM=>Info:- Start SenMail Method
10/24/2022 2:37:54 AM=>UseDefaultCredentials
10/24/2022 2:37:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:37:54 AM=>EnableSsl = true
10/24/2022 2:37:54 AM=>DeliveryMethod
10/24/2022 2:37:54 AM=>Before Send
10/24/2022 2:37: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/24/2022 2:37:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:37:54 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:37:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:37:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:37:54 AM=>Info:- END Mailing Method
10/24/2022 2:37:54 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:37:54 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:37:54 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:37:54 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:37:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:37:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:37:54 AM=>Info - End of callingService Method
10/24/2022 2:39:54 AM=>Info - Check time Elapsed
10/24/2022 2:39:54 AM=>Info - Call callingService Method
10/24/2022 2:39:54 AM=>Info:- Call Both
10/24/2022 2:39:54 AM=>Info:- Start Executing SMS Method
10/24/2022 2:39:54 AM=>Info:- End Executing SMS Method
10/24/2022 2:39:54 AM=>Info:- Start Mailing Method
10/24/2022 2:39:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:39:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:39:54 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:39:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:39:54 AM=>Info:- Count = 1
10/24/2022 2:39:54 AM=>Info:- Count 1
10/24/2022 2:39:54 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:39:54 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:39:54 AM=>Info:- Start SenMail Method
10/24/2022 2:39:54 AM=>UseDefaultCredentials
10/24/2022 2:39:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:39:54 AM=>EnableSsl = true
10/24/2022 2:39:54 AM=>DeliveryMethod
10/24/2022 2:39:54 AM=>Before Send
10/24/2022 2:40: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/24/2022 2:40:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:40:03 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:40:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:40:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:40:03 AM=>Info:- END Mailing Method
10/24/2022 2:40:03 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:40:03 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:40:03 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:40:03 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:40:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:40:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:40:03 AM=>Info - End of callingService Method
10/24/2022 2:42:03 AM=>Info - Check time Elapsed
10/24/2022 2:42:03 AM=>Info - Call callingService Method
10/24/2022 2:42:03 AM=>Info:- Call Both
10/24/2022 2:42:03 AM=>Info:- Start Executing SMS Method
10/24/2022 2:42:03 AM=>Info:- End Executing SMS Method
10/24/2022 2:42:04 AM=>Info:- Start Mailing Method
10/24/2022 2:42:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:42:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:42:04 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:42:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:42:04 AM=>Info:- Count = 1
10/24/2022 2:42:04 AM=>Info:- Count 1
10/24/2022 2:42:04 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:42:04 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:42:04 AM=>Info:- Start SenMail Method
10/24/2022 2:42:04 AM=>UseDefaultCredentials
10/24/2022 2:42:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:42:04 AM=>EnableSsl = true
10/24/2022 2:42:04 AM=>DeliveryMethod
10/24/2022 2:42:04 AM=>Before Send
10/24/2022 2:42: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/24/2022 2:42:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:42:07 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:42:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:42:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:42:07 AM=>Info:- END Mailing Method
10/24/2022 2:42:07 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:42:07 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:42:07 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:42:07 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:42:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:42:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:42:07 AM=>Info - End of callingService Method
10/24/2022 2:44:07 AM=>Info - Check time Elapsed
10/24/2022 2:44:07 AM=>Info - Call callingService Method
10/24/2022 2:44:07 AM=>Info:- Call Both
10/24/2022 2:44:07 AM=>Info:- Start Executing SMS Method
10/24/2022 2:44:07 AM=>Info:- End Executing SMS Method
10/24/2022 2:44:07 AM=>Info:- Start Mailing Method
10/24/2022 2:44:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:44:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:44:07 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:44:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:44:07 AM=>Info:- Count = 1
10/24/2022 2:44:07 AM=>Info:- Count 1
10/24/2022 2:44:07 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:44:07 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:44:07 AM=>Info:- Start SenMail Method
10/24/2022 2:44:07 AM=>UseDefaultCredentials
10/24/2022 2:44:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:44:07 AM=>EnableSsl = true
10/24/2022 2:44:07 AM=>DeliveryMethod
10/24/2022 2:44:07 AM=>Before Send
10/24/2022 2:44: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/24/2022 2:44:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:44:07 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:44:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:44:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:44:07 AM=>Info:- END Mailing Method
10/24/2022 2:44:07 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:44:07 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:44:07 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:44:07 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:44:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:44:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:44:07 AM=>Info - End of callingService Method
10/24/2022 2:46:07 AM=>Info - Check time Elapsed
10/24/2022 2:46:07 AM=>Info - Call callingService Method
10/24/2022 2:46:07 AM=>Info:- Call Both
10/24/2022 2:46:07 AM=>Info:- Start Executing SMS Method
10/24/2022 2:46:07 AM=>Info:- End Executing SMS Method
10/24/2022 2:46:07 AM=>Info:- Start Mailing Method
10/24/2022 2:46:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:46:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:46:07 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:46:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:46:07 AM=>Info:- Count = 1
10/24/2022 2:46:07 AM=>Info:- Count 1
10/24/2022 2:46:07 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:46:07 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:46:07 AM=>Info:- Start SenMail Method
10/24/2022 2:46:07 AM=>UseDefaultCredentials
10/24/2022 2:46:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:46:07 AM=>EnableSsl = true
10/24/2022 2:46:07 AM=>DeliveryMethod
10/24/2022 2:46:07 AM=>Before Send
10/24/2022 2:46: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/24/2022 2:46:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:46:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:46:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:46:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:46:17 AM=>Info:- END Mailing Method
10/24/2022 2:46:17 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:46:17 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:46:17 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:46:17 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:46:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:46:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:46:17 AM=>Info - End of callingService Method
10/24/2022 2:48:17 AM=>Info - Check time Elapsed
10/24/2022 2:48:17 AM=>Info - Call callingService Method
10/24/2022 2:48:17 AM=>Info:- Call Both
10/24/2022 2:48:17 AM=>Info:- Start Executing SMS Method
10/24/2022 2:48:17 AM=>Info:- End Executing SMS Method
10/24/2022 2:48:17 AM=>Info:- Start Mailing Method
10/24/2022 2:48:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:48:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:48:17 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:48:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:48:17 AM=>Info:- Count = 1
10/24/2022 2:48:17 AM=>Info:- Count 1
10/24/2022 2:48:17 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:48:17 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:48:17 AM=>Info:- Start SenMail Method
10/24/2022 2:48:17 AM=>UseDefaultCredentials
10/24/2022 2:48:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:48:17 AM=>EnableSsl = true
10/24/2022 2:48:17 AM=>DeliveryMethod
10/24/2022 2:48:17 AM=>Before Send
10/24/2022 2:48: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/24/2022 2:48:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:48:20 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:48:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:48:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:48:20 AM=>Info:- END Mailing Method
10/24/2022 2:48:20 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:48:20 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:48:20 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:48:20 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:48:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:48:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:48:20 AM=>Info - End of callingService Method
10/24/2022 2:50:20 AM=>Info - Check time Elapsed
10/24/2022 2:50:20 AM=>Info - Call callingService Method
10/24/2022 2:50:20 AM=>Info:- Call Both
10/24/2022 2:50:20 AM=>Info:- Start Executing SMS Method
10/24/2022 2:50:20 AM=>Info:- End Executing SMS Method
10/24/2022 2:50:20 AM=>Info:- Start Mailing Method
10/24/2022 2:50:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:50:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:50:20 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:50:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:50:20 AM=>Info:- Count = 1
10/24/2022 2:50:20 AM=>Info:- Count 1
10/24/2022 2:50:20 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:50:20 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:50:20 AM=>Info:- Start SenMail Method
10/24/2022 2:50:20 AM=>UseDefaultCredentials
10/24/2022 2:50:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:50:20 AM=>EnableSsl = true
10/24/2022 2:50:20 AM=>DeliveryMethod
10/24/2022 2:50:20 AM=>Before Send
10/24/2022 2:51: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.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/24/2022 2:51:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:51:44 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:51:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:51:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:51:44 AM=>Info:- END Mailing Method
10/24/2022 2:51:45 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:51:45 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:51:45 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:51:45 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:51:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:51:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:51:45 AM=>Info - End of callingService Method
10/24/2022 2:53:45 AM=>Info - Check time Elapsed
10/24/2022 2:53:45 AM=>Info - Call callingService Method
10/24/2022 2:53:45 AM=>Info:- Call Both
10/24/2022 2:53:45 AM=>Info:- Start Executing SMS Method
10/24/2022 2:53:45 AM=>Info:- End Executing SMS Method
10/24/2022 2:53:45 AM=>Info:- Start Mailing Method
10/24/2022 2:53:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:53:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:53:45 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:53:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:53:45 AM=>Info:- Count = 1
10/24/2022 2:53:45 AM=>Info:- Count 1
10/24/2022 2:53:45 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:53:45 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:53:45 AM=>Info:- Start SenMail Method
10/24/2022 2:53:45 AM=>UseDefaultCredentials
10/24/2022 2:53:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:53:45 AM=>EnableSsl = true
10/24/2022 2:53:45 AM=>DeliveryMethod
10/24/2022 2:53:45 AM=>Before Send
10/24/2022 2: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/24/2022 2:54:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:54:06 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:54:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:54:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:54:06 AM=>Info:- END Mailing Method
10/24/2022 2:54:06 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:54:06 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:54:06 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:54:06 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:54:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:54:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:54:06 AM=>Info - End of callingService Method
10/24/2022 2:56:06 AM=>Info - Check time Elapsed
10/24/2022 2:56:06 AM=>Info - Call callingService Method
10/24/2022 2:56:06 AM=>Info:- Call Both
10/24/2022 2:56:06 AM=>Info:- Start Executing SMS Method
10/24/2022 2:56:06 AM=>Info:- End Executing SMS Method
10/24/2022 2:56:06 AM=>Info:- Start Mailing Method
10/24/2022 2:56:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:56:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:56:06 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:56:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:56:06 AM=>Info:- Count = 1
10/24/2022 2:56:06 AM=>Info:- Count 1
10/24/2022 2:56:06 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:56:06 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:56:06 AM=>Info:- Start SenMail Method
10/24/2022 2:56:06 AM=>UseDefaultCredentials
10/24/2022 2:56:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:56:06 AM=>EnableSsl = true
10/24/2022 2:56:06 AM=>DeliveryMethod
10/24/2022 2:56:06 AM=>Before Send
10/24/2022 2:56: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/24/2022 2:56:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:56:06 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:56:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:56:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:56:06 AM=>Info:- END Mailing Method
10/24/2022 2:56:06 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:56:06 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:56:06 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:56:06 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:56:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:56:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:56:06 AM=>Info - End of callingService Method
10/24/2022 2:58:06 AM=>Info - Check time Elapsed
10/24/2022 2:58:06 AM=>Info - Call callingService Method
10/24/2022 2:58:06 AM=>Info:- Call Both
10/24/2022 2:58:06 AM=>Info:- Start Executing SMS Method
10/24/2022 2:58:06 AM=>Info:- End Executing SMS Method
10/24/2022 2:58:06 AM=>Info:- Start Mailing Method
10/24/2022 2:58:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:58:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:58:06 AM=>Info:- PendingMail.xml file read to list
10/24/2022 2:58:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:58:06 AM=>Info:- Count = 1
10/24/2022 2:58:06 AM=>Info:- Count 1
10/24/2022 2:58:06 AM=>Info - Fetching Data From MAIL XML
10/24/2022 2:58:06 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:58:06 AM=>Info:- Start SenMail Method
10/24/2022 2:58:06 AM=>UseDefaultCredentials
10/24/2022 2:58:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:58:06 AM=>EnableSsl = true
10/24/2022 2:58:06 AM=>DeliveryMethod
10/24/2022 2:58:06 AM=>Before Send
10/24/2022 2:58: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/24/2022 2:58:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:58:06 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:58:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:58:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:58:07 AM=>Info:- END Mailing Method
10/24/2022 2:58:07 AM=>Info:- Start Executing Telegram Method
10/24/2022 2:58:07 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:58:07 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:58:07 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:58:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:58:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:58:07 AM=>Info - End of callingService Method
10/24/2022 3:00:07 AM=>Info - Check time Elapsed
10/24/2022 3:00:07 AM=>Info - Call callingService Method
10/24/2022 3:00:07 AM=>Info:- Call Both
10/24/2022 3:00:07 AM=>Info:- Start Executing SMS Method
10/24/2022 3:00:07 AM=>Info:- End Executing SMS Method
10/24/2022 3:00:07 AM=>Info:- Start Mailing Method
10/24/2022 3:00:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:00:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:00:07 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:00:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:00:07 AM=>Info:- Count = 1
10/24/2022 3:00:07 AM=>Info:- Count 1
10/24/2022 3:00:07 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:00:07 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:00:07 AM=>Info:- Start SenMail Method
10/24/2022 3:00:07 AM=>UseDefaultCredentials
10/24/2022 3:00:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:00:07 AM=>EnableSsl = true
10/24/2022 3:00:07 AM=>DeliveryMethod
10/24/2022 3:00:07 AM=>Before Send
10/24/2022 3:01: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.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/24/2022 3:01:31 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:01:31 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:01:31 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:01:31 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:01:31 AM=>Info:- END Mailing Method
10/24/2022 3:01:31 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:01:31 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:01:31 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:01:31 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:01:31 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:01:31 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:01:31 AM=>Info - End of callingService Method
10/24/2022 3:03:31 AM=>Info - Check time Elapsed
10/24/2022 3:03:31 AM=>Info - Call callingService Method
10/24/2022 3:03:31 AM=>Info:- Call Both
10/24/2022 3:03:31 AM=>Info:- Start Executing SMS Method
10/24/2022 3:03:31 AM=>Info:- End Executing SMS Method
10/24/2022 3:03:31 AM=>Info:- Start Mailing Method
10/24/2022 3:03:31 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:03:31 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:03:31 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:03:31 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:03:31 AM=>Info:- Count = 1
10/24/2022 3:03:31 AM=>Info:- Count 1
10/24/2022 3:03:31 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:03:31 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:03:31 AM=>Info:- Start SenMail Method
10/24/2022 3:03:31 AM=>UseDefaultCredentials
10/24/2022 3:03:31 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:03:31 AM=>EnableSsl = true
10/24/2022 3:03:31 AM=>DeliveryMethod
10/24/2022 3:03:31 AM=>Before Send
10/24/2022 3:03: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/24/2022 3:03:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:03:34 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:03:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:03:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:03:34 AM=>Info:- END Mailing Method
10/24/2022 3:03:34 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:03:34 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:03:34 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:03:34 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:03:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:03:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:03:34 AM=>Info - End of callingService Method
10/24/2022 3:05:35 AM=>Info - Check time Elapsed
10/24/2022 3:05:35 AM=>Info - Call callingService Method
10/24/2022 3:05:35 AM=>Info:- Call Both
10/24/2022 3:05:35 AM=>Info:- Start Executing SMS Method
10/24/2022 3:05:35 AM=>Info:- End Executing SMS Method
10/24/2022 3:05:35 AM=>Info:- Start Mailing Method
10/24/2022 3:05:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:05:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:05:35 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:05:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:05:35 AM=>Info:- Count = 1
10/24/2022 3:05:35 AM=>Info:- Count 1
10/24/2022 3:05:35 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:05:35 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:05:35 AM=>Info:- Start SenMail Method
10/24/2022 3:05:35 AM=>UseDefaultCredentials
10/24/2022 3:05:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:05:35 AM=>EnableSsl = true
10/24/2022 3:05:35 AM=>DeliveryMethod
10/24/2022 3:05:35 AM=>Before Send
10/24/2022 3:05: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/24/2022 3:05:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:05:44 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:05:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:05:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:05:44 AM=>Info:- END Mailing Method
10/24/2022 3:05:44 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:05:44 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:05:44 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:05:44 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:05:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:05:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:05:44 AM=>Info - End of callingService Method
10/24/2022 3:07:44 AM=>Info - Check time Elapsed
10/24/2022 3:07:44 AM=>Info - Call callingService Method
10/24/2022 3:07:44 AM=>Info:- Call Both
10/24/2022 3:07:44 AM=>Info:- Start Executing SMS Method
10/24/2022 3:07:44 AM=>Info:- End Executing SMS Method
10/24/2022 3:07:44 AM=>Info:- Start Mailing Method
10/24/2022 3:07:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:07:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:07:44 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:07:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:07:44 AM=>Info:- Count = 1
10/24/2022 3:07:44 AM=>Info:- Count 1
10/24/2022 3:07:44 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:07:44 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:07:44 AM=>Info:- Start SenMail Method
10/24/2022 3:07:44 AM=>UseDefaultCredentials
10/24/2022 3:07:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:07:44 AM=>EnableSsl = true
10/24/2022 3:07:44 AM=>DeliveryMethod
10/24/2022 3:07:44 AM=>Before Send
10/24/2022 3:07: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/24/2022 3:07:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:07:53 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:07:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:07:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:07:53 AM=>Info:- END Mailing Method
10/24/2022 3:07:53 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:07:53 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:07:53 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:07:53 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:07:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:07:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:07:53 AM=>Info - End of callingService Method
10/24/2022 3:09:53 AM=>Info - Check time Elapsed
10/24/2022 3:09:53 AM=>Info - Call callingService Method
10/24/2022 3:09:53 AM=>Info:- Call Both
10/24/2022 3:09:53 AM=>Info:- Start Executing SMS Method
10/24/2022 3:09:53 AM=>Info:- End Executing SMS Method
10/24/2022 3:09:53 AM=>Info:- Start Mailing Method
10/24/2022 3:09:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:09:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:09:53 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:09:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:09:53 AM=>Info:- Count = 1
10/24/2022 3:09:53 AM=>Info:- Count 1
10/24/2022 3:09:53 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:09:53 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:09:53 AM=>Info:- Start SenMail Method
10/24/2022 3:09:53 AM=>UseDefaultCredentials
10/24/2022 3:09:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:09:53 AM=>EnableSsl = true
10/24/2022 3:09:53 AM=>DeliveryMethod
10/24/2022 3:09:53 AM=>Before Send
10/24/2022 3:09: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/24/2022 3:09:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:09:53 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:09:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:09:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:09:54 AM=>Info:- END Mailing Method
10/24/2022 3:09:54 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:09:54 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:09:54 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:09:54 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:09:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:09:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:09:54 AM=>Info - End of callingService Method
10/24/2022 3:11:54 AM=>Info - Check time Elapsed
10/24/2022 3:11:54 AM=>Info - Call callingService Method
10/24/2022 3:11:54 AM=>Info:- Call Both
10/24/2022 3:11:54 AM=>Info:- Start Executing SMS Method
10/24/2022 3:11:54 AM=>Info:- End Executing SMS Method
10/24/2022 3:11:54 AM=>Info:- Start Mailing Method
10/24/2022 3:11:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:11:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:11:54 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:11:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:11:54 AM=>Info:- Count = 1
10/24/2022 3:11:54 AM=>Info:- Count 1
10/24/2022 3:11:54 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:11:54 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:11:54 AM=>Info:- Start SenMail Method
10/24/2022 3:11:54 AM=>UseDefaultCredentials
10/24/2022 3:11:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:11:54 AM=>EnableSsl = true
10/24/2022 3:11:54 AM=>DeliveryMethod
10/24/2022 3:11:54 AM=>Before Send
10/24/2022 3:13: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.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/24/2022 3:13:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:13:18 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:13:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:13:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:13:18 AM=>Info:- END Mailing Method
10/24/2022 3:13:18 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:13:18 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:13:18 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:13:18 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:13:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:13:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:13:18 AM=>Info - End of callingService Method
10/24/2022 3:15:18 AM=>Info - Check time Elapsed
10/24/2022 3:15:18 AM=>Info - Call callingService Method
10/24/2022 3:15:18 AM=>Info:- Call Both
10/24/2022 3:15:18 AM=>Info:- Start Executing SMS Method
10/24/2022 3:15:18 AM=>Info:- End Executing SMS Method
10/24/2022 3:15:18 AM=>Info:- Start Mailing Method
10/24/2022 3:15:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:15:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:15:18 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:15:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:15:18 AM=>Info:- Count = 1
10/24/2022 3:15:18 AM=>Info:- Count 1
10/24/2022 3:15:18 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:15:18 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:15:18 AM=>Info:- Start SenMail Method
10/24/2022 3:15:18 AM=>UseDefaultCredentials
10/24/2022 3:15:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:15:18 AM=>EnableSsl = true
10/24/2022 3:15:18 AM=>DeliveryMethod
10/24/2022 3:15:18 AM=>Before Send
10/24/2022 3:16:42 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.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/24/2022 3:16:42 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:16:42 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:16:42 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:16:42 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:16:43 AM=>Info:- END Mailing Method
10/24/2022 3:16:43 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:16:43 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:16:43 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:16:43 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:16:43 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:16:43 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:16:43 AM=>Info - End of callingService Method
10/24/2022 3:18:43 AM=>Info - Check time Elapsed
10/24/2022 3:18:43 AM=>Info - Call callingService Method
10/24/2022 3:18:43 AM=>Info:- Call Both
10/24/2022 3:18:43 AM=>Info:- Start Executing SMS Method
10/24/2022 3:18:43 AM=>Info:- End Executing SMS Method
10/24/2022 3:18:43 AM=>Info:- Start Mailing Method
10/24/2022 3:18:43 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:18:43 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:18:43 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:18:43 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:18:43 AM=>Info:- Count = 1
10/24/2022 3:18:43 AM=>Info:- Count 1
10/24/2022 3:18:43 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:18:43 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:18:43 AM=>Info:- Start SenMail Method
10/24/2022 3:18:43 AM=>UseDefaultCredentials
10/24/2022 3:18:43 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:18:43 AM=>EnableSsl = true
10/24/2022 3:18:43 AM=>DeliveryMethod
10/24/2022 3:18:43 AM=>Before Send
10/24/2022 3:19: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/24/2022 3:19:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:19:49 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:19:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:19:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:19:49 AM=>Info:- END Mailing Method
10/24/2022 3:19:49 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:19:49 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:19:49 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:19:49 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:19:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:19:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:19:49 AM=>Info - End of callingService Method
10/24/2022 3:21:49 AM=>Info - Check time Elapsed
10/24/2022 3:21:49 AM=>Info - Call callingService Method
10/24/2022 3:21:49 AM=>Info:- Call Both
10/24/2022 3:21:49 AM=>Info:- Start Executing SMS Method
10/24/2022 3:21:49 AM=>Info:- End Executing SMS Method
10/24/2022 3:21:49 AM=>Info:- Start Mailing Method
10/24/2022 3:21:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:21:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:21:49 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:21:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:21:49 AM=>Info:- Count = 1
10/24/2022 3:21:49 AM=>Info:- Count 1
10/24/2022 3:21:49 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:21:49 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:21:49 AM=>Info:- Start SenMail Method
10/24/2022 3:21:49 AM=>UseDefaultCredentials
10/24/2022 3:21:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:21:49 AM=>EnableSsl = true
10/24/2022 3:21:49 AM=>DeliveryMethod
10/24/2022 3:21:49 AM=>Before Send
10/24/2022 3:22: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/24/2022 3:22:31 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:22:31 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:22:31 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:22:31 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:22:32 AM=>Info:- END Mailing Method
10/24/2022 3:22:32 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:22:32 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:22:32 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:22:32 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:22:32 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:22:32 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:22:32 AM=>Info - End of callingService Method
10/24/2022 3:24:32 AM=>Info - Check time Elapsed
10/24/2022 3:24:32 AM=>Info - Call callingService Method
10/24/2022 3:24:32 AM=>Info:- Call Both
10/24/2022 3:24:32 AM=>Info:- Start Executing SMS Method
10/24/2022 3:24:32 AM=>Info:- End Executing SMS Method
10/24/2022 3:24:32 AM=>Info:- Start Mailing Method
10/24/2022 3:24:32 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:24:32 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:24:32 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:24:32 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:24:32 AM=>Info:- Count = 1
10/24/2022 3:24:32 AM=>Info:- Count 1
10/24/2022 3:24:32 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:24:32 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:24:32 AM=>Info:- Start SenMail Method
10/24/2022 3:24:32 AM=>UseDefaultCredentials
10/24/2022 3:24:32 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:24:32 AM=>EnableSsl = true
10/24/2022 3:24:32 AM=>DeliveryMethod
10/24/2022 3:24:32 AM=>Before Send
10/24/2022 3:25: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.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/24/2022 3:25:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:25:56 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:25:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:25:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:25:56 AM=>Info:- END Mailing Method
10/24/2022 3:25:56 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:25:56 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:25:56 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:25:56 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:25:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:25:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:25:56 AM=>Info - End of callingService Method
10/24/2022 3:27:56 AM=>Info - Check time Elapsed
10/24/2022 3:27:56 AM=>Info - Call callingService Method
10/24/2022 3:27:56 AM=>Info:- Call Both
10/24/2022 3:27:56 AM=>Info:- Start Executing SMS Method
10/24/2022 3:27:56 AM=>Info:- End Executing SMS Method
10/24/2022 3:27:56 AM=>Info:- Start Mailing Method
10/24/2022 3:27:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:27:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:27:56 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:27:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:27:56 AM=>Info:- Count = 1
10/24/2022 3:27:56 AM=>Info:- Count 1
10/24/2022 3:27:56 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:27:56 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:27:56 AM=>Info:- Start SenMail Method
10/24/2022 3:27:56 AM=>UseDefaultCredentials
10/24/2022 3:27:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:27:56 AM=>EnableSsl = true
10/24/2022 3:27:56 AM=>DeliveryMethod
10/24/2022 3:27:56 AM=>Before Send
10/24/2022 3:27: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/24/2022 3:27:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:27:56 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:27:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:27:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:27:56 AM=>Info:- END Mailing Method
10/24/2022 3:27:56 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:27:56 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:27:56 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:27:56 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:27:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:27:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:27:56 AM=>Info - End of callingService Method
10/24/2022 3:29:56 AM=>Info - Check time Elapsed
10/24/2022 3:29:56 AM=>Info - Call callingService Method
10/24/2022 3:29:56 AM=>Info:- Call Both
10/24/2022 3:29:56 AM=>Info:- Start Executing SMS Method
10/24/2022 3:29:56 AM=>Info:- End Executing SMS Method
10/24/2022 3:29:56 AM=>Info:- Start Mailing Method
10/24/2022 3:29:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:29:57 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:29:57 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:29:57 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:29:57 AM=>Info:- Count = 1
10/24/2022 3:29:57 AM=>Info:- Count 1
10/24/2022 3:29:57 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:29:57 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:29:57 AM=>Info:- Start SenMail Method
10/24/2022 3:29:57 AM=>UseDefaultCredentials
10/24/2022 3:29:57 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:29:57 AM=>EnableSsl = true
10/24/2022 3:29:57 AM=>DeliveryMethod
10/24/2022 3:29:57 AM=>Before Send
10/24/2022 3:30: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/24/2022 3:30:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:30:39 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:30:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:30:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:30:39 AM=>Info:- END Mailing Method
10/24/2022 3:30:39 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:30:39 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:30:39 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:30:39 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:30:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:30:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:30:39 AM=>Info - End of callingService Method
10/24/2022 3:32:39 AM=>Info - Check time Elapsed
10/24/2022 3:32:39 AM=>Info - Call callingService Method
10/24/2022 3:32:39 AM=>Info:- Call Both
10/24/2022 3:32:39 AM=>Info:- Start Executing SMS Method
10/24/2022 3:32:39 AM=>Info:- End Executing SMS Method
10/24/2022 3:32:39 AM=>Info:- Start Mailing Method
10/24/2022 3:32:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:32:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:32:39 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:32:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:32:39 AM=>Info:- Count = 1
10/24/2022 3:32:39 AM=>Info:- Count 1
10/24/2022 3:32:39 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:32:39 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:32:39 AM=>Info:- Start SenMail Method
10/24/2022 3:32:39 AM=>UseDefaultCredentials
10/24/2022 3:32:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:32:39 AM=>EnableSsl = true
10/24/2022 3:32:39 AM=>DeliveryMethod
10/24/2022 3:32:39 AM=>Before Send
10/24/2022 3:34: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.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/24/2022 3:34:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:34:03 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:34:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:34:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:34:03 AM=>Info:- END Mailing Method
10/24/2022 3:34:03 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:34:03 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:34:03 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:34:03 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:34:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:34:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:34:03 AM=>Info - End of callingService Method
10/24/2022 3:36:03 AM=>Info - Check time Elapsed
10/24/2022 3:36:03 AM=>Info - Call callingService Method
10/24/2022 3:36:03 AM=>Info:- Call Both
10/24/2022 3:36:03 AM=>Info:- Start Executing SMS Method
10/24/2022 3:36:03 AM=>Info:- End Executing SMS Method
10/24/2022 3:36:03 AM=>Info:- Start Mailing Method
10/24/2022 3:36:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:36:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:36:03 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:36:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:36:03 AM=>Info:- Count = 1
10/24/2022 3:36:03 AM=>Info:- Count 1
10/24/2022 3:36:03 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:36:03 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:36:03 AM=>Info:- Start SenMail Method
10/24/2022 3:36:03 AM=>UseDefaultCredentials
10/24/2022 3:36:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:36:03 AM=>EnableSsl = true
10/24/2022 3:36:03 AM=>DeliveryMethod
10/24/2022 3:36:03 AM=>Before Send
10/24/2022 3:36: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/24/2022 3:36:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:36:25 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:36:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:36:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:36:25 AM=>Info:- END Mailing Method
10/24/2022 3:36:25 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:36:25 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:36:25 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:36:25 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:36:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:36:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:36:25 AM=>Info - End of callingService Method
10/24/2022 3:38:25 AM=>Info - Check time Elapsed
10/24/2022 3:38:25 AM=>Info - Call callingService Method
10/24/2022 3:38:25 AM=>Info:- Call Both
10/24/2022 3:38:25 AM=>Info:- Start Executing SMS Method
10/24/2022 3:38:25 AM=>Info:- End Executing SMS Method
10/24/2022 3:38:25 AM=>Info:- Start Mailing Method
10/24/2022 3:38:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:38:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:38:25 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:38:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:38:25 AM=>Info:- Count = 1
10/24/2022 3:38:25 AM=>Info:- Count 1
10/24/2022 3:38:25 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:38:25 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:38:25 AM=>Info:- Start SenMail Method
10/24/2022 3:38:25 AM=>UseDefaultCredentials
10/24/2022 3:38:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:38:25 AM=>EnableSsl = true
10/24/2022 3:38:25 AM=>DeliveryMethod
10/24/2022 3:38:25 AM=>Before Send
10/24/2022 3:38: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/24/2022 3:38:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:38:34 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:38:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:38:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:38:34 AM=>Info:- END Mailing Method
10/24/2022 3:38:34 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:38:34 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:38:34 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:38:34 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:38:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:38:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:38:34 AM=>Info - End of callingService Method
10/24/2022 3:40:34 AM=>Info - Check time Elapsed
10/24/2022 3:40:34 AM=>Info - Call callingService Method
10/24/2022 3:40:34 AM=>Info:- Call Both
10/24/2022 3:40:34 AM=>Info:- Start Executing SMS Method
10/24/2022 3:40:34 AM=>Info:- End Executing SMS Method
10/24/2022 3:40:34 AM=>Info:- Start Mailing Method
10/24/2022 3:40:34 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:40:34 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:40:34 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:40:34 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:40:34 AM=>Info:- Count = 1
10/24/2022 3:40:34 AM=>Info:- Count 1
10/24/2022 3:40:34 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:40:34 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:40:34 AM=>Info:- Start SenMail Method
10/24/2022 3:40:34 AM=>UseDefaultCredentials
10/24/2022 3:40:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:40:34 AM=>EnableSsl = true
10/24/2022 3:40:34 AM=>DeliveryMethod
10/24/2022 3:40:34 AM=>Before Send
10/24/2022 3:41: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.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/24/2022 3:41:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:41:58 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:41:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:41:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:41:59 AM=>Info:- END Mailing Method
10/24/2022 3:41:59 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:41:59 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:41:59 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:41:59 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:41:59 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:41:59 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:41:59 AM=>Info - End of callingService Method
10/24/2022 3:43:59 AM=>Info - Check time Elapsed
10/24/2022 3:43:59 AM=>Info - Call callingService Method
10/24/2022 3:43:59 AM=>Info:- Call Both
10/24/2022 3:43:59 AM=>Info:- Start Executing SMS Method
10/24/2022 3:43:59 AM=>Info:- End Executing SMS Method
10/24/2022 3:43:59 AM=>Info:- Start Mailing Method
10/24/2022 3:43:59 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:43:59 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:43:59 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:43:59 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:43:59 AM=>Info:- Count = 1
10/24/2022 3:43:59 AM=>Info:- Count 1
10/24/2022 3:43:59 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:43:59 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:43:59 AM=>Info:- Start SenMail Method
10/24/2022 3:43:59 AM=>UseDefaultCredentials
10/24/2022 3:43:59 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:43:59 AM=>EnableSsl = true
10/24/2022 3:43:59 AM=>DeliveryMethod
10/24/2022 3:43:59 AM=>Before Send
10/24/2022 3:44: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/24/2022 3:44:08 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:44:08 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:44:08 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:44:08 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:44:08 AM=>Info:- END Mailing Method
10/24/2022 3:44:08 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:44:08 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:44:08 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:44:08 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:44:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:44:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:44:08 AM=>Info - End of callingService Method
10/24/2022 3:46:08 AM=>Info - Check time Elapsed
10/24/2022 3:46:08 AM=>Info - Call callingService Method
10/24/2022 3:46:08 AM=>Info:- Call Both
10/24/2022 3:46:08 AM=>Info:- Start Executing SMS Method
10/24/2022 3:46:08 AM=>Info:- End Executing SMS Method
10/24/2022 3:46:08 AM=>Info:- Start Mailing Method
10/24/2022 3:46:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:46:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:46:08 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:46:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:46:08 AM=>Info:- Count = 1
10/24/2022 3:46:08 AM=>Info:- Count 1
10/24/2022 3:46:08 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:46:08 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:46:08 AM=>Info:- Start SenMail Method
10/24/2022 3:46:08 AM=>UseDefaultCredentials
10/24/2022 3:46:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:46:08 AM=>EnableSsl = true
10/24/2022 3:46:08 AM=>DeliveryMethod
10/24/2022 3:46:08 AM=>Before Send
10/24/2022 3:46: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/24/2022 3:46:08 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:46:08 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:46:08 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:46:08 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:46:09 AM=>Info:- END Mailing Method
10/24/2022 3:46:09 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:46:09 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:46:09 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:46:09 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:46:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:46:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:46:09 AM=>Info - End of callingService Method
10/24/2022 3:48:09 AM=>Info - Check time Elapsed
10/24/2022 3:48:09 AM=>Info - Call callingService Method
10/24/2022 3:48:09 AM=>Info:- Call Both
10/24/2022 3:48:09 AM=>Info:- Start Executing SMS Method
10/24/2022 3:48:09 AM=>Info:- End Executing SMS Method
10/24/2022 3:48:09 AM=>Info:- Start Mailing Method
10/24/2022 3:48:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:48:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:48:09 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:48:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:48:09 AM=>Info:- Count = 1
10/24/2022 3:48:09 AM=>Info:- Count 1
10/24/2022 3:48:09 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:48:09 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:48:09 AM=>Info:- Start SenMail Method
10/24/2022 3:48:09 AM=>UseDefaultCredentials
10/24/2022 3:48:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:48:09 AM=>EnableSsl = true
10/24/2022 3:48:09 AM=>DeliveryMethod
10/24/2022 3:48:09 AM=>Before Send
10/24/2022 3:48: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/24/2022 3:48:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:48:54 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:48:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:48:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:48:54 AM=>Info:- END Mailing Method
10/24/2022 3:48:54 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:48:54 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:48:54 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:48:54 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:48:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:48:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:48:54 AM=>Info - End of callingService Method
10/24/2022 3:50:54 AM=>Info - Check time Elapsed
10/24/2022 3:50:54 AM=>Info - Call callingService Method
10/24/2022 3:50:54 AM=>Info:- Call Both
10/24/2022 3:50:54 AM=>Info:- Start Executing SMS Method
10/24/2022 3:50:54 AM=>Info:- End Executing SMS Method
10/24/2022 3:50:54 AM=>Info:- Start Mailing Method
10/24/2022 3:50:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:50:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:50:54 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:50:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:50:54 AM=>Info:- Count = 1
10/24/2022 3:50:54 AM=>Info:- Count 1
10/24/2022 3:50:54 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:50:54 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:50:54 AM=>Info:- Start SenMail Method
10/24/2022 3:50:54 AM=>UseDefaultCredentials
10/24/2022 3:50:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:50:54 AM=>EnableSsl = true
10/24/2022 3:50:54 AM=>DeliveryMethod
10/24/2022 3:50:54 AM=>Before Send
10/24/2022 3:51:15 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/24/2022 3:51:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:51:15 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:51:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:51:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:51:15 AM=>Info:- END Mailing Method
10/24/2022 3:51:16 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:51:16 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:51:16 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:51:16 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:51:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:51:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:51:16 AM=>Info - End of callingService Method
10/24/2022 3:53:16 AM=>Info - Check time Elapsed
10/24/2022 3:53:16 AM=>Info - Call callingService Method
10/24/2022 3:53:16 AM=>Info:- Call Both
10/24/2022 3:53:16 AM=>Info:- Start Executing SMS Method
10/24/2022 3:53:16 AM=>Info:- End Executing SMS Method
10/24/2022 3:53:16 AM=>Info:- Start Mailing Method
10/24/2022 3:53:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:53:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:53:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:53:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:53:16 AM=>Info:- Count = 1
10/24/2022 3:53:16 AM=>Info:- Count 1
10/24/2022 3:53:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:53:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:53:16 AM=>Info:- Start SenMail Method
10/24/2022 3:53:16 AM=>UseDefaultCredentials
10/24/2022 3:53:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:53:16 AM=>EnableSsl = true
10/24/2022 3:53:16 AM=>DeliveryMethod
10/24/2022 3:53:16 AM=>Before Send
10/24/2022 3:53: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/24/2022 3:53:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:53:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:53:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:53:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:53:16 AM=>Info:- END Mailing Method
10/24/2022 3:53:16 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:53:16 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:53:16 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:53:16 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:53:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:53:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:53:16 AM=>Info - End of callingService Method
10/24/2022 3:55:16 AM=>Info - Check time Elapsed
10/24/2022 3:55:16 AM=>Info - Call callingService Method
10/24/2022 3:55:16 AM=>Info:- Call Both
10/24/2022 3:55:16 AM=>Info:- Start Executing SMS Method
10/24/2022 3:55:16 AM=>Info:- End Executing SMS Method
10/24/2022 3:55:16 AM=>Info:- Start Mailing Method
10/24/2022 3:55:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:55:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:55:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:55:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:55:16 AM=>Info:- Count = 1
10/24/2022 3:55:16 AM=>Info:- Count 1
10/24/2022 3:55:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:55:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:55:16 AM=>Info:- Start SenMail Method
10/24/2022 3:55:16 AM=>UseDefaultCredentials
10/24/2022 3:55:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:55:16 AM=>EnableSsl = true
10/24/2022 3:55:16 AM=>DeliveryMethod
10/24/2022 3:55:16 AM=>Before Send
10/24/2022 3:55: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/24/2022 3:55:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:55:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:55:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:55:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:55:16 AM=>Info:- END Mailing Method
10/24/2022 3:55:16 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:55:16 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:55:16 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:55:16 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:55:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:55:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:55:16 AM=>Info - End of callingService Method
10/24/2022 3:57:16 AM=>Info - Check time Elapsed
10/24/2022 3:57:16 AM=>Info - Call callingService Method
10/24/2022 3:57:16 AM=>Info:- Call Both
10/24/2022 3:57:16 AM=>Info:- Start Executing SMS Method
10/24/2022 3:57:16 AM=>Info:- End Executing SMS Method
10/24/2022 3:57:16 AM=>Info:- Start Mailing Method
10/24/2022 3:57:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:57:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:57:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 3:57:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:57:16 AM=>Info:- Count = 1
10/24/2022 3:57:16 AM=>Info:- Count 1
10/24/2022 3:57:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 3:57:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:57:16 AM=>Info:- Start SenMail Method
10/24/2022 3:57:16 AM=>UseDefaultCredentials
10/24/2022 3:57:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:57:16 AM=>EnableSsl = true
10/24/2022 3:57:16 AM=>DeliveryMethod
10/24/2022 3:57:16 AM=>Before Send
10/24/2022 3:58: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.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/24/2022 3:58:41 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:58:41 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:58:41 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:58:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:58:41 AM=>Info:- END Mailing Method
10/24/2022 3:58:41 AM=>Info:- Start Executing Telegram Method
10/24/2022 3:58:41 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:58:41 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:58:41 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:58:41 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:58:41 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:58:41 AM=>Info - End of callingService Method
10/24/2022 4:00:41 AM=>Info - Check time Elapsed
10/24/2022 4:00:41 AM=>Info - Call callingService Method
10/24/2022 4:00:41 AM=>Info:- Call Both
10/24/2022 4:00:41 AM=>Info:- Start Executing SMS Method
10/24/2022 4:00:41 AM=>Info:- End Executing SMS Method
10/24/2022 4:00:41 AM=>Info:- Start Mailing Method
10/24/2022 4:00:41 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:00:41 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:00:41 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:00:41 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:00:41 AM=>Info:- Count = 1
10/24/2022 4:00:41 AM=>Info:- Count 1
10/24/2022 4:00:41 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:00:41 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:00:41 AM=>Info:- Start SenMail Method
10/24/2022 4:00:41 AM=>UseDefaultCredentials
10/24/2022 4:00:41 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:00:41 AM=>EnableSsl = true
10/24/2022 4:00:41 AM=>DeliveryMethod
10/24/2022 4:00:41 AM=>Before Send
10/24/2022 4:02: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.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/24/2022 4:02:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:02:05 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:02:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:02:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:02:06 AM=>Info:- END Mailing Method
10/24/2022 4:02:06 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:02:06 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:02:06 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:02:06 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:02:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:02:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:02:06 AM=>Info - End of callingService Method
10/24/2022 4:04:06 AM=>Info - Check time Elapsed
10/24/2022 4:04:06 AM=>Info - Call callingService Method
10/24/2022 4:04:06 AM=>Info:- Call Both
10/24/2022 4:04:06 AM=>Info:- Start Executing SMS Method
10/24/2022 4:04:06 AM=>Info:- End Executing SMS Method
10/24/2022 4:04:06 AM=>Info:- Start Mailing Method
10/24/2022 4:04:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:04:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:04:06 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:04:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:04:06 AM=>Info:- Count = 1
10/24/2022 4:04:06 AM=>Info:- Count 1
10/24/2022 4:04:06 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:04:06 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:04:06 AM=>Info:- Start SenMail Method
10/24/2022 4:04:06 AM=>UseDefaultCredentials
10/24/2022 4:04:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:04:06 AM=>EnableSsl = true
10/24/2022 4:04:06 AM=>DeliveryMethod
10/24/2022 4:04:06 AM=>Before Send
10/24/2022 4:05:30 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/24/2022 4:05:30 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:05:30 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:05:30 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:05:30 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:05:30 AM=>Info:- END Mailing Method
10/24/2022 4:05:30 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:05:30 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:05:30 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:05:30 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:05:30 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:05:30 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:05:30 AM=>Info - End of callingService Method
10/24/2022 4:07:30 AM=>Info - Check time Elapsed
10/24/2022 4:07:30 AM=>Info - Call callingService Method
10/24/2022 4:07:30 AM=>Info:- Call Both
10/24/2022 4:07:30 AM=>Info:- Start Executing SMS Method
10/24/2022 4:07:30 AM=>Info:- End Executing SMS Method
10/24/2022 4:07:30 AM=>Info:- Start Mailing Method
10/24/2022 4:07:30 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:07:30 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:07:30 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:07:30 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:07:30 AM=>Info:- Count = 1
10/24/2022 4:07:30 AM=>Info:- Count 1
10/24/2022 4:07:30 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:07:30 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:07:30 AM=>Info:- Start SenMail Method
10/24/2022 4:07:30 AM=>UseDefaultCredentials
10/24/2022 4:07:30 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:07:30 AM=>EnableSsl = true
10/24/2022 4:07:30 AM=>DeliveryMethod
10/24/2022 4:07:30 AM=>Before Send
10/24/2022 4:07: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/24/2022 4:07:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:07:39 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:07:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:07:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:07:40 AM=>Info:- END Mailing Method
10/24/2022 4:07:40 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:07:40 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:07:40 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:07:40 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:07:40 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:07:40 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:07:40 AM=>Info - End of callingService Method
10/24/2022 4:09:40 AM=>Info - Check time Elapsed
10/24/2022 4:09:40 AM=>Info - Call callingService Method
10/24/2022 4:09:40 AM=>Info:- Call Both
10/24/2022 4:09:40 AM=>Info:- Start Executing SMS Method
10/24/2022 4:09:40 AM=>Info:- End Executing SMS Method
10/24/2022 4:09:40 AM=>Info:- Start Mailing Method
10/24/2022 4:09:40 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:09:40 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:09:40 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:09:40 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:09:40 AM=>Info:- Count = 1
10/24/2022 4:09:40 AM=>Info:- Count 1
10/24/2022 4:09:40 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:09:40 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:09:40 AM=>Info:- Start SenMail Method
10/24/2022 4:09:40 AM=>UseDefaultCredentials
10/24/2022 4:09:40 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:09:40 AM=>EnableSsl = true
10/24/2022 4:09:40 AM=>DeliveryMethod
10/24/2022 4:09:40 AM=>Before Send
10/24/2022 4:09:40 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/24/2022 4:09:40 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:09:40 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:09:40 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:09:40 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:09:40 AM=>Info:- END Mailing Method
10/24/2022 4:09:40 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:09:40 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:09:40 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:09:40 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:09:40 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:09:40 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:09:40 AM=>Info - End of callingService Method
10/24/2022 4:11:40 AM=>Info - Check time Elapsed
10/24/2022 4:11:40 AM=>Info - Call callingService Method
10/24/2022 4:11:40 AM=>Info:- Call Both
10/24/2022 4:11:40 AM=>Info:- Start Executing SMS Method
10/24/2022 4:11:40 AM=>Info:- End Executing SMS Method
10/24/2022 4:11:40 AM=>Info:- Start Mailing Method
10/24/2022 4:11:40 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:11:40 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:11:40 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:11:40 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:11:40 AM=>Info:- Count = 1
10/24/2022 4:11:40 AM=>Info:- Count 1
10/24/2022 4:11:40 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:11:40 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:11:40 AM=>Info:- Start SenMail Method
10/24/2022 4:11:40 AM=>UseDefaultCredentials
10/24/2022 4:11:40 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:11:40 AM=>EnableSsl = true
10/24/2022 4:11:40 AM=>DeliveryMethod
10/24/2022 4:11:40 AM=>Before Send
10/24/2022 4:14:28 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/24/2022 4:14:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:14:28 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:14:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:14:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:14:29 AM=>Info:- END Mailing Method
10/24/2022 4:14:29 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:14:29 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:14:29 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:14:29 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:14:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:14:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:14:29 AM=>Info - End of callingService Method
10/24/2022 4:16:29 AM=>Info - Check time Elapsed
10/24/2022 4:16:29 AM=>Info - Call callingService Method
10/24/2022 4:16:29 AM=>Info:- Call Both
10/24/2022 4:16:29 AM=>Info:- Start Executing SMS Method
10/24/2022 4:16:29 AM=>Info:- End Executing SMS Method
10/24/2022 4:16:29 AM=>Info:- Start Mailing Method
10/24/2022 4:16:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:16:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:16:29 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:16:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:16:29 AM=>Info:- Count = 1
10/24/2022 4:16:29 AM=>Info:- Count 1
10/24/2022 4:16:29 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:16:29 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:16:29 AM=>Info:- Start SenMail Method
10/24/2022 4:16:29 AM=>UseDefaultCredentials
10/24/2022 4:16:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:16:29 AM=>EnableSsl = true
10/24/2022 4:16:29 AM=>DeliveryMethod
10/24/2022 4:16:29 AM=>Before Send
10/24/2022 4:16: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/24/2022 4:16:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:16:38 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:16:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:16:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:16:38 AM=>Info:- END Mailing Method
10/24/2022 4:16:38 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:16:38 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:16:38 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:16:38 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:16:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:16:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:16:38 AM=>Info - End of callingService Method
10/24/2022 4:18:38 AM=>Info - Check time Elapsed
10/24/2022 4:18:38 AM=>Info - Call callingService Method
10/24/2022 4:18:38 AM=>Info:- Call Both
10/24/2022 4:18:38 AM=>Info:- Start Executing SMS Method
10/24/2022 4:18:38 AM=>Info:- End Executing SMS Method
10/24/2022 4:18:38 AM=>Info:- Start Mailing Method
10/24/2022 4:18:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:18:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:18:38 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:18:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:18:38 AM=>Info:- Count = 1
10/24/2022 4:18:38 AM=>Info:- Count 1
10/24/2022 4:18:38 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:18:38 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:18:38 AM=>Info:- Start SenMail Method
10/24/2022 4:18:38 AM=>UseDefaultCredentials
10/24/2022 4:18:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:18:38 AM=>EnableSsl = true
10/24/2022 4:18:38 AM=>DeliveryMethod
10/24/2022 4:18:38 AM=>Before Send
10/24/2022 4:18: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/24/2022 4:18:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:18:38 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:18:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:18:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:18:38 AM=>Info:- END Mailing Method
10/24/2022 4:18:38 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:18:38 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:18:38 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:18:38 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:18:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:18:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:18:38 AM=>Info - End of callingService Method
10/24/2022 4:20:38 AM=>Info - Check time Elapsed
10/24/2022 4:20:38 AM=>Info - Call callingService Method
10/24/2022 4:20:38 AM=>Info:- Call Both
10/24/2022 4:20:38 AM=>Info:- Start Executing SMS Method
10/24/2022 4:20:38 AM=>Info:- End Executing SMS Method
10/24/2022 4:20:38 AM=>Info:- Start Mailing Method
10/24/2022 4:20:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:20:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:20:38 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:20:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:20:38 AM=>Info:- Count = 1
10/24/2022 4:20:38 AM=>Info:- Count 1
10/24/2022 4:20:38 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:20:38 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:20:38 AM=>Info:- Start SenMail Method
10/24/2022 4:20:38 AM=>UseDefaultCredentials
10/24/2022 4:20:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:20:38 AM=>EnableSsl = true
10/24/2022 4:20:38 AM=>DeliveryMethod
10/24/2022 4:20:38 AM=>Before Send
10/24/2022 4:20: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/24/2022 4:20:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:20:38 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:20:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:20:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:20:39 AM=>Info:- END Mailing Method
10/24/2022 4:20:39 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:20:39 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:20:39 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:20:39 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:20:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:20:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:20:39 AM=>Info - End of callingService Method
10/24/2022 4:22:39 AM=>Info - Check time Elapsed
10/24/2022 4:22:39 AM=>Info - Call callingService Method
10/24/2022 4:22:39 AM=>Info:- Call Both
10/24/2022 4:22:39 AM=>Info:- Start Executing SMS Method
10/24/2022 4:22:39 AM=>Info:- End Executing SMS Method
10/24/2022 4:22:39 AM=>Info:- Start Mailing Method
10/24/2022 4:22:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:22:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:22:39 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:22:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:22:39 AM=>Info:- Count = 1
10/24/2022 4:22:39 AM=>Info:- Count 1
10/24/2022 4:22:39 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:22:39 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:22:39 AM=>Info:- Start SenMail Method
10/24/2022 4:22:39 AM=>UseDefaultCredentials
10/24/2022 4:22:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:22:39 AM=>EnableSsl = true
10/24/2022 4:22:39 AM=>DeliveryMethod
10/24/2022 4:22:39 AM=>Before Send
10/24/2022 4:23: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/24/2022 4:23:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:23:24 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:23:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:23:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:23:24 AM=>Info:- END Mailing Method
10/24/2022 4:23:24 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:23:24 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:23:24 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:23:24 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:23:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:23:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:23:24 AM=>Info - End of callingService Method
10/24/2022 4:25:24 AM=>Info - Check time Elapsed
10/24/2022 4:25:24 AM=>Info - Call callingService Method
10/24/2022 4:25:24 AM=>Info:- Call Both
10/24/2022 4:25:24 AM=>Info:- Start Executing SMS Method
10/24/2022 4:25:24 AM=>Info:- End Executing SMS Method
10/24/2022 4:25:24 AM=>Info:- Start Mailing Method
10/24/2022 4:25:24 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:25:24 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:25:24 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:25:24 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:25:24 AM=>Info:- Count = 1
10/24/2022 4:25:24 AM=>Info:- Count 1
10/24/2022 4:25:24 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:25:24 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:25:24 AM=>Info:- Start SenMail Method
10/24/2022 4:25:24 AM=>UseDefaultCredentials
10/24/2022 4:25:24 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:25:24 AM=>EnableSsl = true
10/24/2022 4:25:24 AM=>DeliveryMethod
10/24/2022 4:25:24 AM=>Before Send
10/24/2022 4:26: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/24/2022 4:26:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:26:27 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:26:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:26:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:26:28 AM=>Info:- END Mailing Method
10/24/2022 4:26:28 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:26:28 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:26:28 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:26:28 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:26:28 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:26:28 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:26:28 AM=>Info - End of callingService Method
10/24/2022 4:28:28 AM=>Info - Check time Elapsed
10/24/2022 4:28:28 AM=>Info - Call callingService Method
10/24/2022 4:28:28 AM=>Info:- Call Both
10/24/2022 4:28:28 AM=>Info:- Start Executing SMS Method
10/24/2022 4:28:28 AM=>Info:- End Executing SMS Method
10/24/2022 4:28:28 AM=>Info:- Start Mailing Method
10/24/2022 4:28:28 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:28:28 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:28:28 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:28:28 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:28:28 AM=>Info:- Count = 1
10/24/2022 4:28:28 AM=>Info:- Count 1
10/24/2022 4:28:28 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:28:28 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:28:28 AM=>Info:- Start SenMail Method
10/24/2022 4:28:28 AM=>UseDefaultCredentials
10/24/2022 4:28:28 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:28:28 AM=>EnableSsl = true
10/24/2022 4:28:28 AM=>DeliveryMethod
10/24/2022 4:28:28 AM=>Before Send
10/24/2022 4:28: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/24/2022 4:28:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:28:49 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:28:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:28:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:28:49 AM=>Info:- END Mailing Method
10/24/2022 4:28:49 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:28:49 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:28:49 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:28:49 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:28:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:28:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:28:49 AM=>Info - End of callingService Method
10/24/2022 4:30:49 AM=>Info - Check time Elapsed
10/24/2022 4:30:49 AM=>Info - Call callingService Method
10/24/2022 4:30:49 AM=>Info:- Call Both
10/24/2022 4:30:49 AM=>Info:- Start Executing SMS Method
10/24/2022 4:30:49 AM=>Info:- End Executing SMS Method
10/24/2022 4:30:49 AM=>Info:- Start Mailing Method
10/24/2022 4:30:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:30:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:30:49 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:30:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:30:49 AM=>Info:- Count = 1
10/24/2022 4:30:49 AM=>Info:- Count 1
10/24/2022 4:30:49 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:30:49 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:30:49 AM=>Info:- Start SenMail Method
10/24/2022 4:30:49 AM=>UseDefaultCredentials
10/24/2022 4:30:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:30:49 AM=>EnableSsl = true
10/24/2022 4:30:49 AM=>DeliveryMethod
10/24/2022 4:30:49 AM=>Before Send
10/24/2022 4:30: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/24/2022 4:30:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:30:52 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:30:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:30:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:30:52 AM=>Info:- END Mailing Method
10/24/2022 4:30:53 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:30:53 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:30:53 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:30:53 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:30:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:30:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:30:53 AM=>Info - End of callingService Method
10/24/2022 4:32:53 AM=>Info - Check time Elapsed
10/24/2022 4:32:53 AM=>Info - Call callingService Method
10/24/2022 4:32:53 AM=>Info:- Call Both
10/24/2022 4:32:53 AM=>Info:- Start Executing SMS Method
10/24/2022 4:32:53 AM=>Info:- End Executing SMS Method
10/24/2022 4:32:53 AM=>Info:- Start Mailing Method
10/24/2022 4:32:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:32:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:32:53 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:32:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:32:53 AM=>Info:- Count = 1
10/24/2022 4:32:53 AM=>Info:- Count 1
10/24/2022 4:32:53 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:32:53 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:32:53 AM=>Info:- Start SenMail Method
10/24/2022 4:32:53 AM=>UseDefaultCredentials
10/24/2022 4:32:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:32:53 AM=>EnableSsl = true
10/24/2022 4:32:53 AM=>DeliveryMethod
10/24/2022 4:32:53 AM=>Before Send
10/24/2022 4:33: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/24/2022 4:33:02 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:33:02 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:33:02 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:33:02 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:33:02 AM=>Info:- END Mailing Method
10/24/2022 4:33:02 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:33:02 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:33:02 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:33:02 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:33:02 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:33:02 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:33:02 AM=>Info - End of callingService Method
10/24/2022 4:35:02 AM=>Info - Check time Elapsed
10/24/2022 4:35:02 AM=>Info - Call callingService Method
10/24/2022 4:35:02 AM=>Info:- Call Both
10/24/2022 4:35:02 AM=>Info:- Start Executing SMS Method
10/24/2022 4:35:02 AM=>Info:- End Executing SMS Method
10/24/2022 4:35:02 AM=>Info:- Start Mailing Method
10/24/2022 4:35:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:35:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:35:02 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:35:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:35:02 AM=>Info:- Count = 1
10/24/2022 4:35:02 AM=>Info:- Count 1
10/24/2022 4:35:02 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:35:02 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:35:02 AM=>Info:- Start SenMail Method
10/24/2022 4:35:02 AM=>UseDefaultCredentials
10/24/2022 4:35:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:35:02 AM=>EnableSsl = true
10/24/2022 4:35:02 AM=>DeliveryMethod
10/24/2022 4:35:02 AM=>Before Send
10/24/2022 4:36: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.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/24/2022 4:36:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:36:26 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:36:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:36:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:36:26 AM=>Info:- END Mailing Method
10/24/2022 4:36:26 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:36:26 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:36:26 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:36:26 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:36:26 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:36:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:36:26 AM=>Info - End of callingService Method
10/24/2022 4:38:26 AM=>Info - Check time Elapsed
10/24/2022 4:38:26 AM=>Info - Call callingService Method
10/24/2022 4:38:26 AM=>Info:- Call Both
10/24/2022 4:38:26 AM=>Info:- Start Executing SMS Method
10/24/2022 4:38:26 AM=>Info:- End Executing SMS Method
10/24/2022 4:38:26 AM=>Info:- Start Mailing Method
10/24/2022 4:38:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:38:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:38:26 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:38:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:38:26 AM=>Info:- Count = 1
10/24/2022 4:38:26 AM=>Info:- Count 1
10/24/2022 4:38:26 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:38:26 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:38:26 AM=>Info:- Start SenMail Method
10/24/2022 4:38:26 AM=>UseDefaultCredentials
10/24/2022 4:38:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:38:26 AM=>EnableSsl = true
10/24/2022 4:38:26 AM=>DeliveryMethod
10/24/2022 4:38:26 AM=>Before Send
10/24/2022 4:39: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 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/24/2022 4:39:51 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:39:51 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:39:51 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:39:51 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:39:51 AM=>Info:- END Mailing Method
10/24/2022 4:39:51 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:39:51 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:39:51 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:39:51 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:39:51 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:39:51 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:39:51 AM=>Info - End of callingService Method
10/24/2022 4:41:51 AM=>Info - Check time Elapsed
10/24/2022 4:41:51 AM=>Info - Call callingService Method
10/24/2022 4:41:51 AM=>Info:- Call Both
10/24/2022 4:41:51 AM=>Info:- Start Executing SMS Method
10/24/2022 4:41:51 AM=>Info:- End Executing SMS Method
10/24/2022 4:41:51 AM=>Info:- Start Mailing Method
10/24/2022 4:41:51 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:41:51 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:41:51 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:41:51 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:41:51 AM=>Info:- Count = 1
10/24/2022 4:41:51 AM=>Info:- Count 1
10/24/2022 4:41:51 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:41:51 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:41:51 AM=>Info:- Start SenMail Method
10/24/2022 4:41:51 AM=>UseDefaultCredentials
10/24/2022 4:41:51 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:41:51 AM=>EnableSsl = true
10/24/2022 4:41:51 AM=>DeliveryMethod
10/24/2022 4:41:51 AM=>Before Send
10/24/2022 4:43: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.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/24/2022 4:43:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:43:15 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:43:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:43:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:43:15 AM=>Info:- END Mailing Method
10/24/2022 4:43:15 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:43:15 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:43:15 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:43:15 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:43:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:43:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:43:15 AM=>Info - End of callingService Method
10/24/2022 4:45:15 AM=>Info - Check time Elapsed
10/24/2022 4:45:15 AM=>Info - Call callingService Method
10/24/2022 4:45:15 AM=>Info:- Call Both
10/24/2022 4:45:15 AM=>Info:- Start Executing SMS Method
10/24/2022 4:45:15 AM=>Info:- End Executing SMS Method
10/24/2022 4:45:15 AM=>Info:- Start Mailing Method
10/24/2022 4:45:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:45:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:45:15 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:45:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:45:15 AM=>Info:- Count = 1
10/24/2022 4:45:15 AM=>Info:- Count 1
10/24/2022 4:45:15 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:45:15 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:45:15 AM=>Info:- Start SenMail Method
10/24/2022 4:45:15 AM=>UseDefaultCredentials
10/24/2022 4:45:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:45:15 AM=>EnableSsl = true
10/24/2022 4:45:15 AM=>DeliveryMethod
10/24/2022 4:45:15 AM=>Before Send
10/24/2022 4:45: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/24/2022 4:45:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:45:24 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:45:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:45:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:45:25 AM=>Info:- END Mailing Method
10/24/2022 4:45:25 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:45:25 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:45:25 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:45:25 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:45:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:45:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:45:25 AM=>Info - End of callingService Method
10/24/2022 4:47:25 AM=>Info - Check time Elapsed
10/24/2022 4:47:25 AM=>Info - Call callingService Method
10/24/2022 4:47:25 AM=>Info:- Call Both
10/24/2022 4:47:25 AM=>Info:- Start Executing SMS Method
10/24/2022 4:47:25 AM=>Info:- End Executing SMS Method
10/24/2022 4:47:25 AM=>Info:- Start Mailing Method
10/24/2022 4:47:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:47:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:47:25 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:47:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:47:25 AM=>Info:- Count = 1
10/24/2022 4:47:25 AM=>Info:- Count 1
10/24/2022 4:47:25 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:47:25 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:47:25 AM=>Info:- Start SenMail Method
10/24/2022 4:47:25 AM=>UseDefaultCredentials
10/24/2022 4:47:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:47:25 AM=>EnableSsl = true
10/24/2022 4:47:25 AM=>DeliveryMethod
10/24/2022 4:47:25 AM=>Before Send
10/24/2022 4:47: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/24/2022 4:47:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:47:25 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:47:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:47:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:47:25 AM=>Info:- END Mailing Method
10/24/2022 4:47:25 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:47:25 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:47:25 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:47:25 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:47:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:47:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:47:25 AM=>Info - End of callingService Method
10/24/2022 4:49:25 AM=>Info - Check time Elapsed
10/24/2022 4:49:25 AM=>Info - Call callingService Method
10/24/2022 4:49:25 AM=>Info:- Call Both
10/24/2022 4:49:25 AM=>Info:- Start Executing SMS Method
10/24/2022 4:49:25 AM=>Info:- End Executing SMS Method
10/24/2022 4:49:25 AM=>Info:- Start Mailing Method
10/24/2022 4:49:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:49:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:49:25 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:49:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:49:25 AM=>Info:- Count = 1
10/24/2022 4:49:25 AM=>Info:- Count 1
10/24/2022 4:49:25 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:49:25 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:49:25 AM=>Info:- Start SenMail Method
10/24/2022 4:49:25 AM=>UseDefaultCredentials
10/24/2022 4:49:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:49:25 AM=>EnableSsl = true
10/24/2022 4:49:25 AM=>DeliveryMethod
10/24/2022 4:49:25 AM=>Before Send
10/24/2022 4:49: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/24/2022 4:49:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:49:34 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:49:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:49:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:49:35 AM=>Info:- END Mailing Method
10/24/2022 4:49:35 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:49:35 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:49:35 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:49:35 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:49:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:49:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:49:35 AM=>Info - End of callingService Method
10/24/2022 4:51:35 AM=>Info - Check time Elapsed
10/24/2022 4:51:35 AM=>Info - Call callingService Method
10/24/2022 4:51:35 AM=>Info:- Call Both
10/24/2022 4:51:35 AM=>Info:- Start Executing SMS Method
10/24/2022 4:51:35 AM=>Info:- End Executing SMS Method
10/24/2022 4:51:35 AM=>Info:- Start Mailing Method
10/24/2022 4:51:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:51:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:51:35 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:51:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:51:35 AM=>Info:- Count = 1
10/24/2022 4:51:35 AM=>Info:- Count 1
10/24/2022 4:51:35 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:51:35 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:51:35 AM=>Info:- Start SenMail Method
10/24/2022 4:51:35 AM=>UseDefaultCredentials
10/24/2022 4:51:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:51:35 AM=>EnableSsl = true
10/24/2022 4:51:35 AM=>DeliveryMethod
10/24/2022 4:51:35 AM=>Before Send
10/24/2022 4:52: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 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/24/2022 4:52:59 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:52:59 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:52:59 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:52:59 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:52:59 AM=>Info:- END Mailing Method
10/24/2022 4:52:59 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:52:59 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:52:59 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:52:59 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:52:59 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:52:59 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:52:59 AM=>Info - End of callingService Method
10/24/2022 4:54:59 AM=>Info - Check time Elapsed
10/24/2022 4:54:59 AM=>Info - Call callingService Method
10/24/2022 4:54:59 AM=>Info:- Call Both
10/24/2022 4:54:59 AM=>Info:- Start Executing SMS Method
10/24/2022 4:54:59 AM=>Info:- End Executing SMS Method
10/24/2022 4:54:59 AM=>Info:- Start Mailing Method
10/24/2022 4:54:59 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:54:59 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:54:59 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:54:59 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:54:59 AM=>Info:- Count = 1
10/24/2022 4:54:59 AM=>Info:- Count 1
10/24/2022 4:54:59 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:54:59 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:54:59 AM=>Info:- Start SenMail Method
10/24/2022 4:54:59 AM=>UseDefaultCredentials
10/24/2022 4:54:59 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:54:59 AM=>EnableSsl = true
10/24/2022 4:54:59 AM=>DeliveryMethod
10/24/2022 4:54:59 AM=>Before Send
10/24/2022 4:55: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/24/2022 4:55:08 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:55:08 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:55:08 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:55:08 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:55:08 AM=>Info:- END Mailing Method
10/24/2022 4:55:08 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:55:08 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:55:08 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:55:08 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:55:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:55:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:55:09 AM=>Info - End of callingService Method
10/24/2022 4:57:09 AM=>Info - Check time Elapsed
10/24/2022 4:57:09 AM=>Info - Call callingService Method
10/24/2022 4:57:09 AM=>Info:- Call Both
10/24/2022 4:57:09 AM=>Info:- Start Executing SMS Method
10/24/2022 4:57:09 AM=>Info:- End Executing SMS Method
10/24/2022 4:57:09 AM=>Info:- Start Mailing Method
10/24/2022 4:57:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:57:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:57:09 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:57:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:57:09 AM=>Info:- Count = 1
10/24/2022 4:57:09 AM=>Info:- Count 1
10/24/2022 4:57:09 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:57:09 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:57:09 AM=>Info:- Start SenMail Method
10/24/2022 4:57:09 AM=>UseDefaultCredentials
10/24/2022 4:57:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:57:09 AM=>EnableSsl = true
10/24/2022 4:57:09 AM=>DeliveryMethod
10/24/2022 4:57:09 AM=>Before Send
10/24/2022 4:57: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/24/2022 4:57:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:57:12 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:57:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:57:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:57:12 AM=>Info:- END Mailing Method
10/24/2022 4:57:12 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:57:12 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:57:12 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:57:12 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:57:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:57:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:57:12 AM=>Info - End of callingService Method
10/24/2022 4:59:12 AM=>Info - Check time Elapsed
10/24/2022 4:59:12 AM=>Info - Call callingService Method
10/24/2022 4:59:12 AM=>Info:- Call Both
10/24/2022 4:59:12 AM=>Info:- Start Executing SMS Method
10/24/2022 4:59:12 AM=>Info:- End Executing SMS Method
10/24/2022 4:59:12 AM=>Info:- Start Mailing Method
10/24/2022 4:59:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:59:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:59:12 AM=>Info:- PendingMail.xml file read to list
10/24/2022 4:59:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:59:12 AM=>Info:- Count = 1
10/24/2022 4:59:12 AM=>Info:- Count 1
10/24/2022 4:59:12 AM=>Info - Fetching Data From MAIL XML
10/24/2022 4:59:12 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:59:12 AM=>Info:- Start SenMail Method
10/24/2022 4:59:12 AM=>UseDefaultCredentials
10/24/2022 4:59:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:59:12 AM=>EnableSsl = true
10/24/2022 4:59:12 AM=>DeliveryMethod
10/24/2022 4:59:12 AM=>Before Send
10/24/2022 4:59:15 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/24/2022 4:59:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:59:15 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:59:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:59:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:59:15 AM=>Info:- END Mailing Method
10/24/2022 4:59:15 AM=>Info:- Start Executing Telegram Method
10/24/2022 4:59:15 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:59:15 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:59:15 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:59:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:59:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:59:15 AM=>Info - End of callingService Method
10/24/2022 5:01:15 AM=>Info - Check time Elapsed
10/24/2022 5:01:15 AM=>Info - Call callingService Method
10/24/2022 5:01:15 AM=>Info:- Call Both
10/24/2022 5:01:15 AM=>Info:- Start Executing SMS Method
10/24/2022 5:01:15 AM=>Info:- End Executing SMS Method
10/24/2022 5:01:15 AM=>Info:- Start Mailing Method
10/24/2022 5:01:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:01:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:01:15 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:01:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:01:15 AM=>Info:- Count = 1
10/24/2022 5:01:15 AM=>Info:- Count 1
10/24/2022 5:01:15 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:01:15 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:01:15 AM=>Info:- Start SenMail Method
10/24/2022 5:01:15 AM=>UseDefaultCredentials
10/24/2022 5:01:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:01:15 AM=>EnableSsl = true
10/24/2022 5:01:15 AM=>DeliveryMethod
10/24/2022 5:01:15 AM=>Before Send
10/24/2022 5:01: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/24/2022 5:01:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:01:39 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:01:40 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:01:40 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:01:40 AM=>Info:- END Mailing Method
10/24/2022 5:01:40 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:01:40 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:01:40 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:01:40 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:01:40 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:01:40 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:01:40 AM=>Info - End of callingService Method
10/24/2022 5:03:40 AM=>Info - Check time Elapsed
10/24/2022 5:03:40 AM=>Info - Call callingService Method
10/24/2022 5:03:40 AM=>Info:- Call Both
10/24/2022 5:03:40 AM=>Info:- Start Executing SMS Method
10/24/2022 5:03:40 AM=>Info:- End Executing SMS Method
10/24/2022 5:03:40 AM=>Info:- Start Mailing Method
10/24/2022 5:03:40 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:03:40 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:03:40 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:03:40 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:03:40 AM=>Info:- Count = 1
10/24/2022 5:03:40 AM=>Info:- Count 1
10/24/2022 5:03:40 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:03:40 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:03:40 AM=>Info:- Start SenMail Method
10/24/2022 5:03:40 AM=>UseDefaultCredentials
10/24/2022 5:03:40 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:03:40 AM=>EnableSsl = true
10/24/2022 5:03:40 AM=>DeliveryMethod
10/24/2022 5:03:40 AM=>Before Send
10/24/2022 5:03:40 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/24/2022 5:03:40 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:03:40 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:03:40 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:03:40 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:03:40 AM=>Info:- END Mailing Method
10/24/2022 5:03:40 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:03:40 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:03:40 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:03:40 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:03:40 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:03:40 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:03:40 AM=>Info - End of callingService Method
10/24/2022 5:05:40 AM=>Info - Check time Elapsed
10/24/2022 5:05:40 AM=>Info - Call callingService Method
10/24/2022 5:05:40 AM=>Info:- Call Both
10/24/2022 5:05:40 AM=>Info:- Start Executing SMS Method
10/24/2022 5:05:40 AM=>Info:- End Executing SMS Method
10/24/2022 5:05:40 AM=>Info:- Start Mailing Method
10/24/2022 5:05:40 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:05:40 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:05:40 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:05:40 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:05:40 AM=>Info:- Count = 1
10/24/2022 5:05:40 AM=>Info:- Count 1
10/24/2022 5:05:40 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:05:40 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:05:40 AM=>Info:- Start SenMail Method
10/24/2022 5:05:40 AM=>UseDefaultCredentials
10/24/2022 5:05:40 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:05:40 AM=>EnableSsl = true
10/24/2022 5:05:40 AM=>DeliveryMethod
10/24/2022 5:05:40 AM=>Before Send
10/24/2022 5:07:04 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/24/2022 5:07:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:07:04 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:07:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:07:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:07:05 AM=>Info:- END Mailing Method
10/24/2022 5:07:05 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:07:05 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:07:05 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:07:05 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:07:05 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:07:05 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:07:05 AM=>Info - End of callingService Method
10/24/2022 5:09:05 AM=>Info - Check time Elapsed
10/24/2022 5:09:05 AM=>Info - Call callingService Method
10/24/2022 5:09:05 AM=>Info:- Call Both
10/24/2022 5:09:05 AM=>Info:- Start Executing SMS Method
10/24/2022 5:09:05 AM=>Info:- End Executing SMS Method
10/24/2022 5:09:05 AM=>Info:- Start Mailing Method
10/24/2022 5:09:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:09:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:09:05 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:09:05 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:09:05 AM=>Info:- Count = 1
10/24/2022 5:09:05 AM=>Info:- Count 1
10/24/2022 5:09:05 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:09:05 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:09:05 AM=>Info:- Start SenMail Method
10/24/2022 5:09:05 AM=>UseDefaultCredentials
10/24/2022 5:09:05 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:09:05 AM=>EnableSsl = true
10/24/2022 5:09:05 AM=>DeliveryMethod
10/24/2022 5:09:05 AM=>Before Send
10/24/2022 5:09: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/24/2022 5:09:08 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:09:08 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:09:08 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:09:08 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:09:08 AM=>Info:- END Mailing Method
10/24/2022 5:09:08 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:09:08 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:09:08 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:09:08 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:09:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:09:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:09:08 AM=>Info - End of callingService Method
10/24/2022 5:11:08 AM=>Info - Check time Elapsed
10/24/2022 5:11:08 AM=>Info - Call callingService Method
10/24/2022 5:11:08 AM=>Info:- Call Both
10/24/2022 5:11:08 AM=>Info:- Start Executing SMS Method
10/24/2022 5:11:08 AM=>Info:- End Executing SMS Method
10/24/2022 5:11:08 AM=>Info:- Start Mailing Method
10/24/2022 5:11:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:11:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:11:08 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:11:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:11:08 AM=>Info:- Count = 1
10/24/2022 5:11:08 AM=>Info:- Count 1
10/24/2022 5:11:08 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:11:08 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:11:08 AM=>Info:- Start SenMail Method
10/24/2022 5:11:08 AM=>UseDefaultCredentials
10/24/2022 5:11:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:11:08 AM=>EnableSsl = true
10/24/2022 5:11:08 AM=>DeliveryMethod
10/24/2022 5:11:08 AM=>Before Send
10/24/2022 5: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/24/2022 5:11:11 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:11:11 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:11:11 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:11:11 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:11:11 AM=>Info:- END Mailing Method
10/24/2022 5:11:11 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:11:11 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:11:11 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:11:11 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:11:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:11:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:11:11 AM=>Info - End of callingService Method
10/24/2022 5:13:11 AM=>Info - Check time Elapsed
10/24/2022 5:13:11 AM=>Info - Call callingService Method
10/24/2022 5:13:12 AM=>Info:- Call Both
10/24/2022 5:13:12 AM=>Info:- Start Executing SMS Method
10/24/2022 5:13:12 AM=>Info:- End Executing SMS Method
10/24/2022 5:13:12 AM=>Info:- Start Mailing Method
10/24/2022 5:13:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:13:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:13:12 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:13:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:13:12 AM=>Info:- Count = 1
10/24/2022 5:13:12 AM=>Info:- Count 1
10/24/2022 5:13:12 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:13:12 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:13:12 AM=>Info:- Start SenMail Method
10/24/2022 5:13:12 AM=>UseDefaultCredentials
10/24/2022 5:13:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:13:12 AM=>EnableSsl = true
10/24/2022 5:13:12 AM=>DeliveryMethod
10/24/2022 5:13:12 AM=>Before Send
10/24/2022 5:13:15 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/24/2022 5:13:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:13:15 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:13:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:13:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:13:15 AM=>Info:- END Mailing Method
10/24/2022 5:13:15 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:13:15 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:13:15 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:13:15 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:13:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:13:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:13:15 AM=>Info - End of callingService Method
10/24/2022 5:15:15 AM=>Info - Check time Elapsed
10/24/2022 5:15:15 AM=>Info - Call callingService Method
10/24/2022 5:15:15 AM=>Info:- Call Both
10/24/2022 5:15:15 AM=>Info:- Start Executing SMS Method
10/24/2022 5:15:15 AM=>Info:- End Executing SMS Method
10/24/2022 5:15:15 AM=>Info:- Start Mailing Method
10/24/2022 5:15:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:15:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:15:15 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:15:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:15:15 AM=>Info:- Count = 1
10/24/2022 5:15:15 AM=>Info:- Count 1
10/24/2022 5:15:15 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:15:15 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:15:15 AM=>Info:- Start SenMail Method
10/24/2022 5:15:15 AM=>UseDefaultCredentials
10/24/2022 5:15:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:15:15 AM=>EnableSsl = true
10/24/2022 5:15:15 AM=>DeliveryMethod
10/24/2022 5:15:15 AM=>Before Send
10/24/2022 5:15: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/24/2022 5:15:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:15:18 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:15:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:15:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:15:18 AM=>Info:- END Mailing Method
10/24/2022 5:15:18 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:15:18 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:15:18 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:15:18 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:15:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:15:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:15:18 AM=>Info - End of callingService Method
10/24/2022 5:17:18 AM=>Info - Check time Elapsed
10/24/2022 5:17:18 AM=>Info - Call callingService Method
10/24/2022 5:17:18 AM=>Info:- Call Both
10/24/2022 5:17:18 AM=>Info:- Start Executing SMS Method
10/24/2022 5:17:18 AM=>Info:- End Executing SMS Method
10/24/2022 5:17:19 AM=>Info:- Start Mailing Method
10/24/2022 5:17:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:17:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:17:19 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:17:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:17:19 AM=>Info:- Count = 1
10/24/2022 5:17:19 AM=>Info:- Count 1
10/24/2022 5:17:19 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:17:19 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:17:19 AM=>Info:- Start SenMail Method
10/24/2022 5:17:19 AM=>UseDefaultCredentials
10/24/2022 5:17:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:17:19 AM=>EnableSsl = true
10/24/2022 5:17:19 AM=>DeliveryMethod
10/24/2022 5:17:19 AM=>Before Send
10/24/2022 5:17: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/24/2022 5:17:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:17:28 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:17:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:17:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:17:28 AM=>Info:- END Mailing Method
10/24/2022 5:17:28 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:17:28 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:17:28 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:17:28 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:17:28 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:17:28 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:17:28 AM=>Info - End of callingService Method
10/24/2022 5:19:28 AM=>Info - Check time Elapsed
10/24/2022 5:19:28 AM=>Info - Call callingService Method
10/24/2022 5:19:28 AM=>Info:- Call Both
10/24/2022 5:19:28 AM=>Info:- Start Executing SMS Method
10/24/2022 5:19:28 AM=>Info:- End Executing SMS Method
10/24/2022 5:19:28 AM=>Info:- Start Mailing Method
10/24/2022 5:19:28 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:19:28 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:19:28 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:19:28 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:19:28 AM=>Info:- Count = 1
10/24/2022 5:19:28 AM=>Info:- Count 1
10/24/2022 5:19:28 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:19:28 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:19:28 AM=>Info:- Start SenMail Method
10/24/2022 5:19:28 AM=>UseDefaultCredentials
10/24/2022 5:19:28 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:19:28 AM=>EnableSsl = true
10/24/2022 5:19:28 AM=>DeliveryMethod
10/24/2022 5:19:28 AM=>Before Send
10/24/2022 5:20: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.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/24/2022 5:20:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:20:52 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:20:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:20:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:20:52 AM=>Info:- END Mailing Method
10/24/2022 5:20:52 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:20:52 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:20:52 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:20:52 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:20:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:20:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:20:52 AM=>Info - End of callingService Method
10/24/2022 5:22:52 AM=>Info - Check time Elapsed
10/24/2022 5:22:52 AM=>Info - Call callingService Method
10/24/2022 5:22:52 AM=>Info:- Call Both
10/24/2022 5:22:52 AM=>Info:- Start Executing SMS Method
10/24/2022 5:22:52 AM=>Info:- End Executing SMS Method
10/24/2022 5:22:52 AM=>Info:- Start Mailing Method
10/24/2022 5:22:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:22:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:22:52 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:22:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:22:52 AM=>Info:- Count = 1
10/24/2022 5:22:52 AM=>Info:- Count 1
10/24/2022 5:22:52 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:22:52 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:22:52 AM=>Info:- Start SenMail Method
10/24/2022 5:22:52 AM=>UseDefaultCredentials
10/24/2022 5:22:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:22:52 AM=>EnableSsl = true
10/24/2022 5:22:52 AM=>DeliveryMethod
10/24/2022 5:22:52 AM=>Before Send
10/24/2022 5:24: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.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/24/2022 5:24:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:24:17 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:24:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:24:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:24:17 AM=>Info:- END Mailing Method
10/24/2022 5:24:17 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:24:17 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:24:17 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:24:17 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:24:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:24:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:24:17 AM=>Info - End of callingService Method
10/24/2022 5:26:17 AM=>Info - Check time Elapsed
10/24/2022 5:26:17 AM=>Info - Call callingService Method
10/24/2022 5:26:17 AM=>Info:- Call Both
10/24/2022 5:26:17 AM=>Info:- Start Executing SMS Method
10/24/2022 5:26:17 AM=>Info:- End Executing SMS Method
10/24/2022 5:26:17 AM=>Info:- Start Mailing Method
10/24/2022 5:26:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:26:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:26:17 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:26:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:26:17 AM=>Info:- Count = 1
10/24/2022 5:26:17 AM=>Info:- Count 1
10/24/2022 5:26:17 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:26:17 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:26:17 AM=>Info:- Start SenMail Method
10/24/2022 5:26:17 AM=>UseDefaultCredentials
10/24/2022 5:26:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:26:17 AM=>EnableSsl = true
10/24/2022 5:26:17 AM=>DeliveryMethod
10/24/2022 5:26:17 AM=>Before Send
10/24/2022 5:26: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/24/2022 5:26:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:26:17 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:26:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:26:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:26:17 AM=>Info:- END Mailing Method
10/24/2022 5:26:17 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:26:17 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:26:17 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:26:17 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:26:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:26:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:26:17 AM=>Info - End of callingService Method
10/24/2022 5:28:17 AM=>Info - Check time Elapsed
10/24/2022 5:28:17 AM=>Info - Call callingService Method
10/24/2022 5:28:17 AM=>Info:- Call Both
10/24/2022 5:28:17 AM=>Info:- Start Executing SMS Method
10/24/2022 5:28:17 AM=>Info:- End Executing SMS Method
10/24/2022 5:28:17 AM=>Info:- Start Mailing Method
10/24/2022 5:28:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:28:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:28:17 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:28:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:28:17 AM=>Info:- Count = 1
10/24/2022 5:28:17 AM=>Info:- Count 1
10/24/2022 5:28:17 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:28:17 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:28:17 AM=>Info:- Start SenMail Method
10/24/2022 5:28:17 AM=>UseDefaultCredentials
10/24/2022 5:28:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:28:17 AM=>EnableSsl = true
10/24/2022 5:28:17 AM=>DeliveryMethod
10/24/2022 5:28:17 AM=>Before Send
10/24/2022 5: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.109.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/24/2022 5:29:41 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:29:41 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:29:41 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:29:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:29:42 AM=>Info:- END Mailing Method
10/24/2022 5:29:42 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:29:42 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:29:42 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:29:42 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:29:42 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:29:42 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:29:42 AM=>Info - End of callingService Method
10/24/2022 5:31:42 AM=>Info - Check time Elapsed
10/24/2022 5:31:42 AM=>Info - Call callingService Method
10/24/2022 5:31:42 AM=>Info:- Call Both
10/24/2022 5:31:42 AM=>Info:- Start Executing SMS Method
10/24/2022 5:31:42 AM=>Info:- End Executing SMS Method
10/24/2022 5:31:42 AM=>Info:- Start Mailing Method
10/24/2022 5:31:42 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:31:42 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:31:42 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:31:42 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:31:42 AM=>Info:- Count = 1
10/24/2022 5:31:42 AM=>Info:- Count 1
10/24/2022 5:31:42 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:31:42 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:31:42 AM=>Info:- Start SenMail Method
10/24/2022 5:31:42 AM=>UseDefaultCredentials
10/24/2022 5:31:42 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:31:42 AM=>EnableSsl = true
10/24/2022 5:31:42 AM=>DeliveryMethod
10/24/2022 5:31:42 AM=>Before Send
10/24/2022 5:31: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/24/2022 5:31:45 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:31:45 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:31:45 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:31:45 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:31:45 AM=>Info:- END Mailing Method
10/24/2022 5:31:45 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:31:45 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:31:45 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:31:45 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:31:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:31:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:31:45 AM=>Info - End of callingService Method
10/24/2022 5:33:45 AM=>Info - Check time Elapsed
10/24/2022 5:33:45 AM=>Info - Call callingService Method
10/24/2022 5:33:45 AM=>Info:- Call Both
10/24/2022 5:33:45 AM=>Info:- Start Executing SMS Method
10/24/2022 5:33:45 AM=>Info:- End Executing SMS Method
10/24/2022 5:33:45 AM=>Info:- Start Mailing Method
10/24/2022 5:33:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:33:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:33:45 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:33:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:33:45 AM=>Info:- Count = 1
10/24/2022 5:33:45 AM=>Info:- Count 1
10/24/2022 5:33:45 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:33:45 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:33:45 AM=>Info:- Start SenMail Method
10/24/2022 5:33:45 AM=>UseDefaultCredentials
10/24/2022 5:33:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:33:45 AM=>EnableSsl = true
10/24/2022 5:33:45 AM=>DeliveryMethod
10/24/2022 5:33:45 AM=>Before Send
10/24/2022 5:33: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/24/2022 5:33:45 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:33:45 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:33:45 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:33:45 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:33:46 AM=>Info:- END Mailing Method
10/24/2022 5:33:46 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:33:46 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:33:46 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:33:46 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:33:46 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:33:46 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:33:46 AM=>Info - End of callingService Method
10/24/2022 5:35:46 AM=>Info - Check time Elapsed
10/24/2022 5:35:46 AM=>Info - Call callingService Method
10/24/2022 5:35:46 AM=>Info:- Call Both
10/24/2022 5:35:46 AM=>Info:- Start Executing SMS Method
10/24/2022 5:35:46 AM=>Info:- End Executing SMS Method
10/24/2022 5:35:46 AM=>Info:- Start Mailing Method
10/24/2022 5:35:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:35:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:35:46 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:35:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:35:46 AM=>Info:- Count = 1
10/24/2022 5:35:46 AM=>Info:- Count 1
10/24/2022 5:35:46 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:35:46 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:35:46 AM=>Info:- Start SenMail Method
10/24/2022 5:35:46 AM=>UseDefaultCredentials
10/24/2022 5:35:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:35:46 AM=>EnableSsl = true
10/24/2022 5:35:46 AM=>DeliveryMethod
10/24/2022 5:35:46 AM=>Before Send
10/24/2022 5:35: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/24/2022 5:35:55 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:35:55 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:35:55 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:35:55 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:35:55 AM=>Info:- END Mailing Method
10/24/2022 5:35:55 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:35:55 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:35:55 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:35:55 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:35:55 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:35:55 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:35:55 AM=>Info - End of callingService Method
10/24/2022 5:37:55 AM=>Info - Check time Elapsed
10/24/2022 5:37:55 AM=>Info - Call callingService Method
10/24/2022 5:37:55 AM=>Info:- Call Both
10/24/2022 5:37:55 AM=>Info:- Start Executing SMS Method
10/24/2022 5:37:55 AM=>Info:- End Executing SMS Method
10/24/2022 5:37:55 AM=>Info:- Start Mailing Method
10/24/2022 5:37:55 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:37:55 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:37:55 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:37:55 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:37:55 AM=>Info:- Count = 1
10/24/2022 5:37:55 AM=>Info:- Count 1
10/24/2022 5:37:55 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:37:55 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:37:55 AM=>Info:- Start SenMail Method
10/24/2022 5:37:55 AM=>UseDefaultCredentials
10/24/2022 5:37:55 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:37:55 AM=>EnableSsl = true
10/24/2022 5:37:55 AM=>DeliveryMethod
10/24/2022 5:37:55 AM=>Before Send
10/24/2022 5:38: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/24/2022 5:38:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:38:04 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:38:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:38:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:38:04 AM=>Info:- END Mailing Method
10/24/2022 5:38:04 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:38:04 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:38:04 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:38:04 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:38:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:38:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:38:04 AM=>Info - End of callingService Method
10/24/2022 5:40:04 AM=>Info - Check time Elapsed
10/24/2022 5:40:04 AM=>Info - Call callingService Method
10/24/2022 5:40:04 AM=>Info:- Call Both
10/24/2022 5:40:04 AM=>Info:- Start Executing SMS Method
10/24/2022 5:40:04 AM=>Info:- End Executing SMS Method
10/24/2022 5:40:04 AM=>Info:- Start Mailing Method
10/24/2022 5:40:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:40:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:40:04 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:40:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:40:04 AM=>Info:- Count = 1
10/24/2022 5:40:04 AM=>Info:- Count 1
10/24/2022 5:40:04 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:40:04 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:40:04 AM=>Info:- Start SenMail Method
10/24/2022 5:40:04 AM=>UseDefaultCredentials
10/24/2022 5:40:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:40:04 AM=>EnableSsl = true
10/24/2022 5:40:04 AM=>DeliveryMethod
10/24/2022 5:40:04 AM=>Before Send
10/24/2022 5:40: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/24/2022 5:40:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:40:13 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:40:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:40:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:40:14 AM=>Info:- END Mailing Method
10/24/2022 5:40:14 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:40:14 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:40:14 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:40:14 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:40:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:40:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:40:14 AM=>Info - End of callingService Method
10/24/2022 5:42:14 AM=>Info - Check time Elapsed
10/24/2022 5:42:14 AM=>Info - Call callingService Method
10/24/2022 5:42:14 AM=>Info:- Call Both
10/24/2022 5:42:14 AM=>Info:- Start Executing SMS Method
10/24/2022 5:42:14 AM=>Info:- End Executing SMS Method
10/24/2022 5:42:14 AM=>Info:- Start Mailing Method
10/24/2022 5:42:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:42:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:42:14 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:42:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:42:14 AM=>Info:- Count = 1
10/24/2022 5:42:14 AM=>Info:- Count 1
10/24/2022 5:42:14 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:42:14 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:42:14 AM=>Info:- Start SenMail Method
10/24/2022 5:42:14 AM=>UseDefaultCredentials
10/24/2022 5:42:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:42:14 AM=>EnableSsl = true
10/24/2022 5:42:14 AM=>DeliveryMethod
10/24/2022 5:42:14 AM=>Before Send
10/24/2022 5:42: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/24/2022 5:42:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:42:14 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:42:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:42:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:42:14 AM=>Info:- END Mailing Method
10/24/2022 5:42:14 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:42:14 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:42:14 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:42:14 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:42:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:42:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:42:14 AM=>Info - End of callingService Method
10/24/2022 5:44:14 AM=>Info - Check time Elapsed
10/24/2022 5:44:14 AM=>Info - Call callingService Method
10/24/2022 5:44:14 AM=>Info:- Call Both
10/24/2022 5:44:14 AM=>Info:- Start Executing SMS Method
10/24/2022 5:44:14 AM=>Info:- End Executing SMS Method
10/24/2022 5:44:14 AM=>Info:- Start Mailing Method
10/24/2022 5:44:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:44:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:44:14 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:44:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:44:14 AM=>Info:- Count = 1
10/24/2022 5:44:14 AM=>Info:- Count 1
10/24/2022 5:44:14 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:44:14 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:44:14 AM=>Info:- Start SenMail Method
10/24/2022 5:44:14 AM=>UseDefaultCredentials
10/24/2022 5:44:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:44:14 AM=>EnableSsl = true
10/24/2022 5:44:14 AM=>DeliveryMethod
10/24/2022 5:44:14 AM=>Before Send
10/24/2022 5:45: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.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/24/2022 5:45:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:45:38 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:45:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:45:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:45:39 AM=>Info:- END Mailing Method
10/24/2022 5:45:39 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:45:39 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:45:39 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:45:39 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:45:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:45:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:45:39 AM=>Info - End of callingService Method
10/24/2022 5:47:39 AM=>Info - Check time Elapsed
10/24/2022 5:47:39 AM=>Info - Call callingService Method
10/24/2022 5:47:39 AM=>Info:- Call Both
10/24/2022 5:47:39 AM=>Info:- Start Executing SMS Method
10/24/2022 5:47:39 AM=>Info:- End Executing SMS Method
10/24/2022 5:47:39 AM=>Info:- Start Mailing Method
10/24/2022 5:47:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:47:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:47:39 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:47:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:47:39 AM=>Info:- Count = 1
10/24/2022 5:47:39 AM=>Info:- Count 1
10/24/2022 5:47:39 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:47:39 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:47:39 AM=>Info:- Start SenMail Method
10/24/2022 5:47:39 AM=>UseDefaultCredentials
10/24/2022 5:47:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:47:39 AM=>EnableSsl = true
10/24/2022 5:47:39 AM=>DeliveryMethod
10/24/2022 5:47:39 AM=>Before Send
10/24/2022 5:49: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.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/24/2022 5:49:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:49:03 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:49:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:49:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:49:03 AM=>Info:- END Mailing Method
10/24/2022 5:49:03 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:49:03 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:49:03 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:49:03 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:49:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:49:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:49:03 AM=>Info - End of callingService Method
10/24/2022 5:51:03 AM=>Info - Check time Elapsed
10/24/2022 5:51:03 AM=>Info - Call callingService Method
10/24/2022 5:51:03 AM=>Info:- Call Both
10/24/2022 5:51:03 AM=>Info:- Start Executing SMS Method
10/24/2022 5:51:03 AM=>Info:- End Executing SMS Method
10/24/2022 5:51:03 AM=>Info:- Start Mailing Method
10/24/2022 5:51:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:51:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:51:03 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:51:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:51:03 AM=>Info:- Count = 1
10/24/2022 5:51:03 AM=>Info:- Count 1
10/24/2022 5:51:03 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:51:03 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:51:03 AM=>Info:- Start SenMail Method
10/24/2022 5:51:03 AM=>UseDefaultCredentials
10/24/2022 5:51:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:51:03 AM=>EnableSsl = true
10/24/2022 5:51:03 AM=>DeliveryMethod
10/24/2022 5:51:03 AM=>Before Send
10/24/2022 5:51: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/24/2022 5:51:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:51:48 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:51:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:51:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:51:48 AM=>Info:- END Mailing Method
10/24/2022 5:51:48 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:51:48 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:51:48 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:51:48 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:51:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:51:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:51:48 AM=>Info - End of callingService Method
10/24/2022 5:53:48 AM=>Info - Check time Elapsed
10/24/2022 5:53:48 AM=>Info - Call callingService Method
10/24/2022 5:53:48 AM=>Info:- Call Both
10/24/2022 5:53:48 AM=>Info:- Start Executing SMS Method
10/24/2022 5:53:48 AM=>Info:- End Executing SMS Method
10/24/2022 5:53:48 AM=>Info:- Start Mailing Method
10/24/2022 5:53:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:53:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:53:48 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:53:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:53:48 AM=>Info:- Count = 1
10/24/2022 5:53:48 AM=>Info:- Count 1
10/24/2022 5:53:48 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:53:48 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:53:48 AM=>Info:- Start SenMail Method
10/24/2022 5:53:48 AM=>UseDefaultCredentials
10/24/2022 5:53:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:53:48 AM=>EnableSsl = true
10/24/2022 5:53:48 AM=>DeliveryMethod
10/24/2022 5:53:48 AM=>Before Send
10/24/2022 5:54: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/24/2022 5:54:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:54:52 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:54:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:54:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:54:52 AM=>Info:- END Mailing Method
10/24/2022 5:54:52 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:54:52 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:54:52 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:54:52 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:54:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:54:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:54:52 AM=>Info - End of callingService Method
10/24/2022 5:56:52 AM=>Info - Check time Elapsed
10/24/2022 5:56:52 AM=>Info - Call callingService Method
10/24/2022 5:56:52 AM=>Info:- Call Both
10/24/2022 5:56:52 AM=>Info:- Start Executing SMS Method
10/24/2022 5:56:52 AM=>Info:- End Executing SMS Method
10/24/2022 5:56:52 AM=>Info:- Start Mailing Method
10/24/2022 5:56:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:56:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:56:52 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:56:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:56:52 AM=>Info:- Count = 1
10/24/2022 5:56:52 AM=>Info:- Count 1
10/24/2022 5:56:52 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:56:52 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:56:52 AM=>Info:- Start SenMail Method
10/24/2022 5:56:52 AM=>UseDefaultCredentials
10/24/2022 5:56:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:56:52 AM=>EnableSsl = true
10/24/2022 5:56:52 AM=>DeliveryMethod
10/24/2022 5:56:52 AM=>Before Send
10/24/2022 5:56: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/24/2022 5:56:55 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:56:55 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:56:55 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:56:55 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:56:55 AM=>Info:- END Mailing Method
10/24/2022 5:56:55 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:56:55 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:56:55 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:56:55 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:56:55 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:56:55 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:56:55 AM=>Info - End of callingService Method
10/24/2022 5:58:55 AM=>Info - Check time Elapsed
10/24/2022 5:58:55 AM=>Info - Call callingService Method
10/24/2022 5:58:55 AM=>Info:- Call Both
10/24/2022 5:58:55 AM=>Info:- Start Executing SMS Method
10/24/2022 5:58:55 AM=>Info:- End Executing SMS Method
10/24/2022 5:58:55 AM=>Info:- Start Mailing Method
10/24/2022 5:58:55 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:58:55 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:58:55 AM=>Info:- PendingMail.xml file read to list
10/24/2022 5:58:55 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:58:55 AM=>Info:- Count = 1
10/24/2022 5:58:55 AM=>Info:- Count 1
10/24/2022 5:58:55 AM=>Info - Fetching Data From MAIL XML
10/24/2022 5:58:55 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:58:55 AM=>Info:- Start SenMail Method
10/24/2022 5:58:55 AM=>UseDefaultCredentials
10/24/2022 5:58:55 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:58:55 AM=>EnableSsl = true
10/24/2022 5:58:55 AM=>DeliveryMethod
10/24/2022 5:58:55 AM=>Before Send
10/24/2022 5:59: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/24/2022 5:59:59 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:59:59 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:59:59 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:59:59 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:59:59 AM=>Info:- END Mailing Method
10/24/2022 5:59:59 AM=>Info:- Start Executing Telegram Method
10/24/2022 5:59:59 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:59:59 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:59:59 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:59:59 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:59:59 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:59:59 AM=>Info - End of callingService Method
10/24/2022 6:01:59 AM=>Info - Check time Elapsed
10/24/2022 6:01:59 AM=>Info - Call callingService Method
10/24/2022 6:01:59 AM=>Info:- Call Both
10/24/2022 6:01:59 AM=>Info:- Start Executing SMS Method
10/24/2022 6:01:59 AM=>Info:- End Executing SMS Method
10/24/2022 6:01:59 AM=>Info:- Start Mailing Method
10/24/2022 6:01:59 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:01:59 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:01:59 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:01:59 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:01:59 AM=>Info:- Count = 1
10/24/2022 6:01:59 AM=>Info:- Count 1
10/24/2022 6:01:59 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:01:59 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:01:59 AM=>Info:- Start SenMail Method
10/24/2022 6:01:59 AM=>UseDefaultCredentials
10/24/2022 6:01:59 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:01:59 AM=>EnableSsl = true
10/24/2022 6:01:59 AM=>DeliveryMethod
10/24/2022 6:01:59 AM=>Before Send
10/24/2022 6:03: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.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/24/2022 6:03:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:03:23 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:03:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:03:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:03:23 AM=>Info:- END Mailing Method
10/24/2022 6:03:23 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:03:23 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:03:23 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:03:23 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:03:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:03:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:03:23 AM=>Info - End of callingService Method
10/24/2022 6:05:23 AM=>Info - Check time Elapsed
10/24/2022 6:05:23 AM=>Info - Call callingService Method
10/24/2022 6:05:23 AM=>Info:- Call Both
10/24/2022 6:05:23 AM=>Info:- Start Executing SMS Method
10/24/2022 6:05:23 AM=>Info:- End Executing SMS Method
10/24/2022 6:05:23 AM=>Info:- Start Mailing Method
10/24/2022 6:05:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:05:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:05:23 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:05:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:05:23 AM=>Info:- Count = 1
10/24/2022 6:05:23 AM=>Info:- Count 1
10/24/2022 6:05:23 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:05:23 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:05:23 AM=>Info:- Start SenMail Method
10/24/2022 6:05:23 AM=>UseDefaultCredentials
10/24/2022 6:05:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:05:23 AM=>EnableSsl = true
10/24/2022 6:05:23 AM=>DeliveryMethod
10/24/2022 6:05:23 AM=>Before Send
10/24/2022 6:05: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/24/2022 6:05:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:05:26 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:05:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:05:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:05:27 AM=>Info:- END Mailing Method
10/24/2022 6:05:27 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:05:27 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:05:27 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:05:27 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:05:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:05:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:05:27 AM=>Info - End of callingService Method
10/24/2022 6:07:27 AM=>Info - Check time Elapsed
10/24/2022 6:07:27 AM=>Info - Call callingService Method
10/24/2022 6:07:27 AM=>Info:- Call Both
10/24/2022 6:07:27 AM=>Info:- Start Executing SMS Method
10/24/2022 6:07:27 AM=>Info:- End Executing SMS Method
10/24/2022 6:07:27 AM=>Info:- Start Mailing Method
10/24/2022 6:07:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:07:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:07:27 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:07:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:07:27 AM=>Info:- Count = 1
10/24/2022 6:07:27 AM=>Info:- Count 1
10/24/2022 6:07:27 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:07:27 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:07:27 AM=>Info:- Start SenMail Method
10/24/2022 6:07:27 AM=>UseDefaultCredentials
10/24/2022 6:07:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:07:27 AM=>EnableSsl = true
10/24/2022 6:07:27 AM=>DeliveryMethod
10/24/2022 6:07:27 AM=>Before Send
10/24/2022 6:07: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/24/2022 6:07:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:07:36 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:07:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:07:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:07:36 AM=>Info:- END Mailing Method
10/24/2022 6:07:36 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:07:36 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:07:36 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:07:36 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:07:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:07:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:07:36 AM=>Info - End of callingService Method
10/24/2022 6:09:36 AM=>Info - Check time Elapsed
10/24/2022 6:09:36 AM=>Info - Call callingService Method
10/24/2022 6:09:36 AM=>Info:- Call Both
10/24/2022 6:09:36 AM=>Info:- Start Executing SMS Method
10/24/2022 6:09:36 AM=>Info:- End Executing SMS Method
10/24/2022 6:09:36 AM=>Info:- Start Mailing Method
10/24/2022 6:09:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:09:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:09:36 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:09:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:09:36 AM=>Info:- Count = 1
10/24/2022 6:09:36 AM=>Info:- Count 1
10/24/2022 6:09:36 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:09:36 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:09:36 AM=>Info:- Start SenMail Method
10/24/2022 6:09:36 AM=>UseDefaultCredentials
10/24/2022 6:09:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:09:36 AM=>EnableSsl = true
10/24/2022 6:09:36 AM=>DeliveryMethod
10/24/2022 6:09:36 AM=>Before Send
10/24/2022 6:10: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/24/2022 6:10:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:10:06 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:10:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:10:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:10:07 AM=>Info:- END Mailing Method
10/24/2022 6:10:07 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:10:07 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:10:07 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:10:07 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:10:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:10:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:10:07 AM=>Info - End of callingService Method
10/24/2022 6:12:07 AM=>Info - Check time Elapsed
10/24/2022 6:12:07 AM=>Info - Call callingService Method
10/24/2022 6:12:07 AM=>Info:- Call Both
10/24/2022 6:12:07 AM=>Info:- Start Executing SMS Method
10/24/2022 6:12:07 AM=>Info:- End Executing SMS Method
10/24/2022 6:12:07 AM=>Info:- Start Mailing Method
10/24/2022 6:12:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:12:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:12:07 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:12:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:12:07 AM=>Info:- Count = 1
10/24/2022 6:12:07 AM=>Info:- Count 1
10/24/2022 6:12:07 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:12:07 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:12:07 AM=>Info:- Start SenMail Method
10/24/2022 6:12:07 AM=>UseDefaultCredentials
10/24/2022 6:12:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:12:07 AM=>EnableSsl = true
10/24/2022 6:12:07 AM=>DeliveryMethod
10/24/2022 6:12:07 AM=>Before Send
10/24/2022 6:12: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/24/2022 6:12:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:12:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:12:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:12:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:12:16 AM=>Info:- END Mailing Method
10/24/2022 6:12:16 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:12:16 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:12:16 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:12:16 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:12:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:12:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:12:16 AM=>Info - End of callingService Method
10/24/2022 6:14:16 AM=>Info - Check time Elapsed
10/24/2022 6:14:16 AM=>Info - Call callingService Method
10/24/2022 6:14:16 AM=>Info:- Call Both
10/24/2022 6:14:16 AM=>Info:- Start Executing SMS Method
10/24/2022 6:14:16 AM=>Info:- End Executing SMS Method
10/24/2022 6:14:16 AM=>Info:- Start Mailing Method
10/24/2022 6:14:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:14:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:14:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:14:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:14:16 AM=>Info:- Count = 1
10/24/2022 6:14:16 AM=>Info:- Count 1
10/24/2022 6:14:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:14:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:14:16 AM=>Info:- Start SenMail Method
10/24/2022 6:14:16 AM=>UseDefaultCredentials
10/24/2022 6:14:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:14:16 AM=>EnableSsl = true
10/24/2022 6:14:16 AM=>DeliveryMethod
10/24/2022 6:14:16 AM=>Before Send
10/24/2022 6:14: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/24/2022 6:14:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:14:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:14:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:14:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:14:16 AM=>Info:- END Mailing Method
10/24/2022 6:14:16 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:14:16 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:14:16 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:14:16 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:14:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:14:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:14:16 AM=>Info - End of callingService Method
10/24/2022 6:16:16 AM=>Info - Check time Elapsed
10/24/2022 6:16:16 AM=>Info - Call callingService Method
10/24/2022 6:16:16 AM=>Info:- Call Both
10/24/2022 6:16:16 AM=>Info:- Start Executing SMS Method
10/24/2022 6:16:16 AM=>Info:- End Executing SMS Method
10/24/2022 6:16:16 AM=>Info:- Start Mailing Method
10/24/2022 6:16:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:16:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:16:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:16:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:16:16 AM=>Info:- Count = 1
10/24/2022 6:16:16 AM=>Info:- Count 1
10/24/2022 6:16:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:16:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:16:16 AM=>Info:- Start SenMail Method
10/24/2022 6:16:16 AM=>UseDefaultCredentials
10/24/2022 6:16:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:16:16 AM=>EnableSsl = true
10/24/2022 6:16:16 AM=>DeliveryMethod
10/24/2022 6:16:16 AM=>Before Send
10/24/2022 6:16: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/24/2022 6:16:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:16:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:16:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:16:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:16:17 AM=>Info:- END Mailing Method
10/24/2022 6:16:17 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:16:17 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:16:17 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:16:17 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:16:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:16:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:16:17 AM=>Info - End of callingService Method
10/24/2022 6:18:17 AM=>Info - Check time Elapsed
10/24/2022 6:18:17 AM=>Info - Call callingService Method
10/24/2022 6:18:17 AM=>Info:- Call Both
10/24/2022 6:18:17 AM=>Info:- Start Executing SMS Method
10/24/2022 6:18:17 AM=>Info:- End Executing SMS Method
10/24/2022 6:18:17 AM=>Info:- Start Mailing Method
10/24/2022 6:18:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:18:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:18:17 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:18:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:18:17 AM=>Info:- Count = 1
10/24/2022 6:18:17 AM=>Info:- Count 1
10/24/2022 6:18:17 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:18:17 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:18:17 AM=>Info:- Start SenMail Method
10/24/2022 6:18:17 AM=>UseDefaultCredentials
10/24/2022 6:18:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:18:17 AM=>EnableSsl = true
10/24/2022 6:18:17 AM=>DeliveryMethod
10/24/2022 6:18:17 AM=>Before Send
10/24/2022 6:19: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.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/24/2022 6:19:41 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:19:41 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:19:41 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:19:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:19:41 AM=>Info:- END Mailing Method
10/24/2022 6:19:41 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:19:41 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:19:41 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:19:41 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:19:41 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:19:41 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:19:41 AM=>Info - End of callingService Method
10/24/2022 6:21:41 AM=>Info - Check time Elapsed
10/24/2022 6:21:41 AM=>Info - Call callingService Method
10/24/2022 6:21:41 AM=>Info:- Call Both
10/24/2022 6:21:41 AM=>Info:- Start Executing SMS Method
10/24/2022 6:21:41 AM=>Info:- End Executing SMS Method
10/24/2022 6:21:41 AM=>Info:- Start Mailing Method
10/24/2022 6:21:41 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:21:41 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:21:41 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:21:41 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:21:41 AM=>Info:- Count = 1
10/24/2022 6:21:41 AM=>Info:- Count 1
10/24/2022 6:21:41 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:21:41 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:21:41 AM=>Info:- Start SenMail Method
10/24/2022 6:21:41 AM=>UseDefaultCredentials
10/24/2022 6:21:41 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:21:41 AM=>EnableSsl = true
10/24/2022 6:21:41 AM=>DeliveryMethod
10/24/2022 6:21:41 AM=>Before Send
10/24/2022 6:21:50 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/24/2022 6:21:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:21:50 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:21:50 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:21:50 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:21:51 AM=>Info:- END Mailing Method
10/24/2022 6:21:51 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:21:51 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:21:51 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:21:51 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:21:51 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:21:51 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:21:51 AM=>Info - End of callingService Method
10/24/2022 6:23:51 AM=>Info - Check time Elapsed
10/24/2022 6:23:51 AM=>Info - Call callingService Method
10/24/2022 6:23:51 AM=>Info:- Call Both
10/24/2022 6:23:51 AM=>Info:- Start Executing SMS Method
10/24/2022 6:23:51 AM=>Info:- End Executing SMS Method
10/24/2022 6:23:51 AM=>Info:- Start Mailing Method
10/24/2022 6:23:51 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:23:51 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:23:51 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:23:51 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:23:51 AM=>Info:- Count = 1
10/24/2022 6:23:51 AM=>Info:- Count 1
10/24/2022 6:23:51 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:23:51 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:23:51 AM=>Info:- Start SenMail Method
10/24/2022 6:23:51 AM=>UseDefaultCredentials
10/24/2022 6:23:51 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:23:51 AM=>EnableSsl = true
10/24/2022 6:23:51 AM=>DeliveryMethod
10/24/2022 6:23:51 AM=>Before Send
10/24/2022 6:24: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/24/2022 6:24:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:24:00 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:24:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:24:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:24:00 AM=>Info:- END Mailing Method
10/24/2022 6:24:00 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:24:00 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:24:00 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:24:00 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:24:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:24:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:24:00 AM=>Info - End of callingService Method
10/24/2022 6:26:00 AM=>Info - Check time Elapsed
10/24/2022 6:26:00 AM=>Info - Call callingService Method
10/24/2022 6:26:00 AM=>Info:- Call Both
10/24/2022 6:26:00 AM=>Info:- Start Executing SMS Method
10/24/2022 6:26:00 AM=>Info:- End Executing SMS Method
10/24/2022 6:26:00 AM=>Info:- Start Mailing Method
10/24/2022 6:26:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:26:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:26:00 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:26:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:26:00 AM=>Info:- Count = 1
10/24/2022 6:26:00 AM=>Info:- Count 1
10/24/2022 6:26:00 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:26:00 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:26:00 AM=>Info:- Start SenMail Method
10/24/2022 6:26:00 AM=>UseDefaultCredentials
10/24/2022 6:26:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:26:00 AM=>EnableSsl = true
10/24/2022 6:26:00 AM=>DeliveryMethod
10/24/2022 6:26:00 AM=>Before Send
10/24/2022 6:27: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.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/24/2022 6:27:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:27:24 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:27:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:27:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:27:25 AM=>Info:- END Mailing Method
10/24/2022 6:27:25 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:27:25 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:27:25 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:27:25 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:27:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:27:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:27:25 AM=>Info - End of callingService Method
10/24/2022 6:29:25 AM=>Info - Check time Elapsed
10/24/2022 6:29:25 AM=>Info - Call callingService Method
10/24/2022 6:29:25 AM=>Info:- Call Both
10/24/2022 6:29:25 AM=>Info:- Start Executing SMS Method
10/24/2022 6:29:25 AM=>Info:- End Executing SMS Method
10/24/2022 6:29:25 AM=>Info:- Start Mailing Method
10/24/2022 6:29:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:29:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:29:25 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:29:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:29:25 AM=>Info:- Count = 1
10/24/2022 6:29:25 AM=>Info:- Count 1
10/24/2022 6:29:25 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:29:25 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:29:25 AM=>Info:- Start SenMail Method
10/24/2022 6:29:25 AM=>UseDefaultCredentials
10/24/2022 6:29:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:29:25 AM=>EnableSsl = true
10/24/2022 6:29:25 AM=>DeliveryMethod
10/24/2022 6:29:25 AM=>Before Send
10/24/2022 6:30: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.230.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/24/2022 6:30:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:30:49 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:30:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:30:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:30:49 AM=>Info:- END Mailing Method
10/24/2022 6:30:49 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:30:49 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:30:49 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:30:49 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:30:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:30:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:30:49 AM=>Info - End of callingService Method
10/24/2022 6:32:49 AM=>Info - Check time Elapsed
10/24/2022 6:32:49 AM=>Info - Call callingService Method
10/24/2022 6:32:49 AM=>Info:- Call Both
10/24/2022 6:32:49 AM=>Info:- Start Executing SMS Method
10/24/2022 6:32:49 AM=>Info:- End Executing SMS Method
10/24/2022 6:32:49 AM=>Info:- Start Mailing Method
10/24/2022 6:32:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:32:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:32:49 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:32:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:32:49 AM=>Info:- Count = 1
10/24/2022 6:32:49 AM=>Info:- Count 1
10/24/2022 6:32:49 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:32:49 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:32:49 AM=>Info:- Start SenMail Method
10/24/2022 6:32:49 AM=>UseDefaultCredentials
10/24/2022 6:32:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:32:49 AM=>EnableSsl = true
10/24/2022 6:32:49 AM=>DeliveryMethod
10/24/2022 6:32:49 AM=>Before Send
10/24/2022 6:34: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.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/24/2022 6:34:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:34:13 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:34:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:34:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:34:14 AM=>Info:- END Mailing Method
10/24/2022 6:34:14 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:34:14 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:34:14 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:34:14 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:34:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:34:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:34:14 AM=>Info - End of callingService Method
10/24/2022 6:36:14 AM=>Info - Check time Elapsed
10/24/2022 6:36:14 AM=>Info - Call callingService Method
10/24/2022 6:36:14 AM=>Info:- Call Both
10/24/2022 6:36:14 AM=>Info:- Start Executing SMS Method
10/24/2022 6:36:14 AM=>Info:- End Executing SMS Method
10/24/2022 6:36:14 AM=>Info:- Start Mailing Method
10/24/2022 6:36:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:36:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:36:14 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:36:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:36:14 AM=>Info:- Count = 1
10/24/2022 6:36:14 AM=>Info:- Count 1
10/24/2022 6:36:14 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:36:14 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:36:14 AM=>Info:- Start SenMail Method
10/24/2022 6:36:14 AM=>UseDefaultCredentials
10/24/2022 6:36:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:36:14 AM=>EnableSsl = true
10/24/2022 6:36:14 AM=>DeliveryMethod
10/24/2022 6:36:14 AM=>Before Send
10/24/2022 6:36: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/24/2022 6:36:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:36:14 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:36:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:36:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:36:14 AM=>Info:- END Mailing Method
10/24/2022 6:36:14 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:36:14 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:36:14 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:36:14 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:36:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:36:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:36:14 AM=>Info - End of callingService Method
10/24/2022 6:38:14 AM=>Info - Check time Elapsed
10/24/2022 6:38:14 AM=>Info - Call callingService Method
10/24/2022 6:38:14 AM=>Info:- Call Both
10/24/2022 6:38:14 AM=>Info:- Start Executing SMS Method
10/24/2022 6:38:14 AM=>Info:- End Executing SMS Method
10/24/2022 6:38:14 AM=>Info:- Start Mailing Method
10/24/2022 6:38:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:38:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:38:14 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:38:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:38:14 AM=>Info:- Count = 1
10/24/2022 6:38:14 AM=>Info:- Count 1
10/24/2022 6:38:14 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:38:14 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:38:14 AM=>Info:- Start SenMail Method
10/24/2022 6:38:14 AM=>UseDefaultCredentials
10/24/2022 6:38:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:38:14 AM=>EnableSsl = true
10/24/2022 6:38:14 AM=>DeliveryMethod
10/24/2022 6:38:14 AM=>Before Send
10/24/2022 6:38: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/24/2022 6:38:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:38:14 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:38:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:38:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:38:14 AM=>Info:- END Mailing Method
10/24/2022 6:38:14 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:38:14 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:38:14 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:38:14 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:38:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:38:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:38:14 AM=>Info - End of callingService Method
10/24/2022 6:40:14 AM=>Info - Check time Elapsed
10/24/2022 6:40:14 AM=>Info - Call callingService Method
10/24/2022 6:40:14 AM=>Info:- Call Both
10/24/2022 6:40:14 AM=>Info:- Start Executing SMS Method
10/24/2022 6:40:14 AM=>Info:- End Executing SMS Method
10/24/2022 6:40:14 AM=>Info:- Start Mailing Method
10/24/2022 6:40:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:40:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:40:14 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:40:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:40:14 AM=>Info:- Count = 1
10/24/2022 6:40:14 AM=>Info:- Count 1
10/24/2022 6:40:14 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:40:14 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:40:14 AM=>Info:- Start SenMail Method
10/24/2022 6:40:14 AM=>UseDefaultCredentials
10/24/2022 6:40:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:40:14 AM=>EnableSsl = true
10/24/2022 6:40:14 AM=>DeliveryMethod
10/24/2022 6:40:14 AM=>Before Send
10/24/2022 6:40: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/24/2022 6:40:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:40:14 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:40:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:40:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:40:15 AM=>Info:- END Mailing Method
10/24/2022 6:40:15 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:40:15 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:40:15 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:40:15 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:40:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:40:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:40:15 AM=>Info - End of callingService Method
10/24/2022 6:42:15 AM=>Info - Check time Elapsed
10/24/2022 6:42:15 AM=>Info - Call callingService Method
10/24/2022 6:42:15 AM=>Info:- Call Both
10/24/2022 6:42:15 AM=>Info:- Start Executing SMS Method
10/24/2022 6:42:15 AM=>Info:- End Executing SMS Method
10/24/2022 6:42:15 AM=>Info:- Start Mailing Method
10/24/2022 6:42:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:42:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:42:15 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:42:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:42:15 AM=>Info:- Count = 1
10/24/2022 6:42:15 AM=>Info:- Count 1
10/24/2022 6:42:15 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:42:15 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:42:15 AM=>Info:- Start SenMail Method
10/24/2022 6:42:15 AM=>UseDefaultCredentials
10/24/2022 6:42:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:42:15 AM=>EnableSsl = true
10/24/2022 6:42:15 AM=>DeliveryMethod
10/24/2022 6:42:15 AM=>Before Send
10/24/2022 6:42: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/24/2022 6:42:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:42:18 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:42:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:42:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:42:18 AM=>Info:- END Mailing Method
10/24/2022 6:42:18 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:42:18 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:42:18 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:42:18 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:42:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:42:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:42:18 AM=>Info - End of callingService Method
10/24/2022 6:44:18 AM=>Info - Check time Elapsed
10/24/2022 6:44:18 AM=>Info - Call callingService Method
10/24/2022 6:44:18 AM=>Info:- Call Both
10/24/2022 6:44:18 AM=>Info:- Start Executing SMS Method
10/24/2022 6:44:18 AM=>Info:- End Executing SMS Method
10/24/2022 6:44:18 AM=>Info:- Start Mailing Method
10/24/2022 6:44:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:44:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:44:18 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:44:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:44:18 AM=>Info:- Count = 1
10/24/2022 6:44:18 AM=>Info:- Count 1
10/24/2022 6:44:18 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:44:18 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:44:18 AM=>Info:- Start SenMail Method
10/24/2022 6:44:18 AM=>UseDefaultCredentials
10/24/2022 6:44:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:44:18 AM=>EnableSsl = true
10/24/2022 6:44:18 AM=>DeliveryMethod
10/24/2022 6:44:18 AM=>Before Send
10/24/2022 6:45:42 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/24/2022 6:45:42 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:45:42 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:45:42 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:45:42 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:45:43 AM=>Info:- END Mailing Method
10/24/2022 6:45:43 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:45:43 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:45:43 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:45:43 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:45:43 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:45:43 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:45:43 AM=>Info - End of callingService Method
10/24/2022 6:47:43 AM=>Info - Check time Elapsed
10/24/2022 6:47:43 AM=>Info - Call callingService Method
10/24/2022 6:47:43 AM=>Info:- Call Both
10/24/2022 6:47:43 AM=>Info:- Start Executing SMS Method
10/24/2022 6:47:43 AM=>Info:- End Executing SMS Method
10/24/2022 6:47:43 AM=>Info:- Start Mailing Method
10/24/2022 6:47:43 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:47:43 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:47:43 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:47:43 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:47:43 AM=>Info:- Count = 1
10/24/2022 6:47:43 AM=>Info:- Count 1
10/24/2022 6:47:43 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:47:43 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:47:43 AM=>Info:- Start SenMail Method
10/24/2022 6:47:43 AM=>UseDefaultCredentials
10/24/2022 6:47:43 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:47:43 AM=>EnableSsl = true
10/24/2022 6:47:43 AM=>DeliveryMethod
10/24/2022 6:47:43 AM=>Before Send
10/24/2022 6:47: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/24/2022 6:47:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:47:52 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:47:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:47:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:47:52 AM=>Info:- END Mailing Method
10/24/2022 6:47:52 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:47:52 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:47:52 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:47:52 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:47:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:47:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:47:52 AM=>Info - End of callingService Method
10/24/2022 6:49:52 AM=>Info - Check time Elapsed
10/24/2022 6:49:52 AM=>Info - Call callingService Method
10/24/2022 6:49:52 AM=>Info:- Call Both
10/24/2022 6:49:52 AM=>Info:- Start Executing SMS Method
10/24/2022 6:49:52 AM=>Info:- End Executing SMS Method
10/24/2022 6:49:52 AM=>Info:- Start Mailing Method
10/24/2022 6:49:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:49:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:49:52 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:49:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:49:52 AM=>Info:- Count = 1
10/24/2022 6:49:52 AM=>Info:- Count 1
10/24/2022 6:49:52 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:49:52 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:49:52 AM=>Info:- Start SenMail Method
10/24/2022 6:49:52 AM=>UseDefaultCredentials
10/24/2022 6:49:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:49:52 AM=>EnableSsl = true
10/24/2022 6:49:52 AM=>DeliveryMethod
10/24/2022 6:49:52 AM=>Before Send
10/24/2022 6:51:16 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/24/2022 6:51:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:51:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:51:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:51:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:51:17 AM=>Info:- END Mailing Method
10/24/2022 6:51:17 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:51:17 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:51:17 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:51:17 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:51:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:51:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:51:17 AM=>Info - End of callingService Method
10/24/2022 6:53:17 AM=>Info - Check time Elapsed
10/24/2022 6:53:17 AM=>Info - Call callingService Method
10/24/2022 6:53:17 AM=>Info:- Call Both
10/24/2022 6:53:17 AM=>Info:- Start Executing SMS Method
10/24/2022 6:53:17 AM=>Info:- End Executing SMS Method
10/24/2022 6:53:17 AM=>Info:- Start Mailing Method
10/24/2022 6:53:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:53:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:53:17 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:53:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:53:17 AM=>Info:- Count = 1
10/24/2022 6:53:17 AM=>Info:- Count 1
10/24/2022 6:53:17 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:53:17 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:53:17 AM=>Info:- Start SenMail Method
10/24/2022 6:53:17 AM=>UseDefaultCredentials
10/24/2022 6:53:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:53:17 AM=>EnableSsl = true
10/24/2022 6:53:17 AM=>DeliveryMethod
10/24/2022 6:53:17 AM=>Before Send
10/24/2022 6:53: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/24/2022 6:53:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:53:38 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:53:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:53:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:53:38 AM=>Info:- END Mailing Method
10/24/2022 6:53:38 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:53:38 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:53:38 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:53:38 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:53:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:53:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:53:38 AM=>Info - End of callingService Method
10/24/2022 6:55:38 AM=>Info - Check time Elapsed
10/24/2022 6:55:38 AM=>Info - Call callingService Method
10/24/2022 6:55:38 AM=>Info:- Call Both
10/24/2022 6:55:38 AM=>Info:- Start Executing SMS Method
10/24/2022 6:55:38 AM=>Info:- End Executing SMS Method
10/24/2022 6:55:38 AM=>Info:- Start Mailing Method
10/24/2022 6:55:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:55:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:55:38 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:55:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:55:38 AM=>Info:- Count = 1
10/24/2022 6:55:38 AM=>Info:- Count 1
10/24/2022 6:55:38 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:55:38 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:55:38 AM=>Info:- Start SenMail Method
10/24/2022 6:55:38 AM=>UseDefaultCredentials
10/24/2022 6:55:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:55:38 AM=>EnableSsl = true
10/24/2022 6:55:38 AM=>DeliveryMethod
10/24/2022 6:55:38 AM=>Before Send
10/24/2022 6:57:02 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/24/2022 6:57:02 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:57:02 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:57:02 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:57:02 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:57:03 AM=>Info:- END Mailing Method
10/24/2022 6:57:03 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:57:03 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:57:03 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:57:03 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:57:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:57:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:57:03 AM=>Info - End of callingService Method
10/24/2022 6:59:03 AM=>Info - Check time Elapsed
10/24/2022 6:59:03 AM=>Info - Call callingService Method
10/24/2022 6:59:03 AM=>Info:- Call Both
10/24/2022 6:59:03 AM=>Info:- Start Executing SMS Method
10/24/2022 6:59:03 AM=>Info:- End Executing SMS Method
10/24/2022 6:59:03 AM=>Info:- Start Mailing Method
10/24/2022 6:59:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:59:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:59:03 AM=>Info:- PendingMail.xml file read to list
10/24/2022 6:59:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:59:03 AM=>Info:- Count = 1
10/24/2022 6:59:03 AM=>Info:- Count 1
10/24/2022 6:59:03 AM=>Info - Fetching Data From MAIL XML
10/24/2022 6:59:03 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:59:03 AM=>Info:- Start SenMail Method
10/24/2022 6:59:03 AM=>UseDefaultCredentials
10/24/2022 6:59:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:59:03 AM=>EnableSsl = true
10/24/2022 6:59:03 AM=>DeliveryMethod
10/24/2022 6:59:03 AM=>Before Send
10/24/2022 6:59: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/24/2022 6:59:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:59:12 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:59:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:59:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:59:12 AM=>Info:- END Mailing Method
10/24/2022 6:59:12 AM=>Info:- Start Executing Telegram Method
10/24/2022 6:59:12 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:59:12 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:59:12 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:59:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:59:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:59:12 AM=>Info - End of callingService Method
10/24/2022 7:01:12 AM=>Info - Check time Elapsed
10/24/2022 7:01:12 AM=>Info - Call callingService Method
10/24/2022 7:01:12 AM=>Info:- Call Both
10/24/2022 7:01:12 AM=>Info:- Start Executing SMS Method
10/24/2022 7:01:12 AM=>Info:- End Executing SMS Method
10/24/2022 7:01:12 AM=>Info:- Start Mailing Method
10/24/2022 7:01:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:01:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:01:12 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:01:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:01:12 AM=>Info:- Count = 1
10/24/2022 7:01:12 AM=>Info:- Count 1
10/24/2022 7:01:12 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:01:12 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:01:12 AM=>Info:- Start SenMail Method
10/24/2022 7:01:12 AM=>UseDefaultCredentials
10/24/2022 7:01:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:01:12 AM=>EnableSsl = true
10/24/2022 7:01:12 AM=>DeliveryMethod
10/24/2022 7:01:12 AM=>Before Send
10/24/2022 7:01: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/24/2022 7:01:21 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:01:21 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:01:21 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:01:21 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:01:21 AM=>Info:- END Mailing Method
10/24/2022 7:01:21 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:01:21 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:01:21 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:01:21 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:01:21 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:01:21 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:01:21 AM=>Info - End of callingService Method
10/24/2022 7:03:21 AM=>Info - Check time Elapsed
10/24/2022 7:03:21 AM=>Info - Call callingService Method
10/24/2022 7:03:21 AM=>Info:- Call Both
10/24/2022 7:03:21 AM=>Info:- Start Executing SMS Method
10/24/2022 7:03:21 AM=>Info:- End Executing SMS Method
10/24/2022 7:03:21 AM=>Info:- Start Mailing Method
10/24/2022 7:03:21 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:03:21 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:03:21 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:03:21 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:03:21 AM=>Info:- Count = 1
10/24/2022 7:03:21 AM=>Info:- Count 1
10/24/2022 7:03:21 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:03:21 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:03:21 AM=>Info:- Start SenMail Method
10/24/2022 7:03:21 AM=>UseDefaultCredentials
10/24/2022 7:03:21 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:03:21 AM=>EnableSsl = true
10/24/2022 7:03:21 AM=>DeliveryMethod
10/24/2022 7:03:21 AM=>Before Send
10/24/2022 7:03: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/24/2022 7:03:22 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:03:22 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:03:22 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:03:22 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:03:22 AM=>Info:- END Mailing Method
10/24/2022 7:03:22 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:03:22 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:03:22 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:03:22 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:03:22 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:03:22 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:03:22 AM=>Info - End of callingService Method
10/24/2022 7:05:22 AM=>Info - Check time Elapsed
10/24/2022 7:05:22 AM=>Info - Call callingService Method
10/24/2022 7:05:22 AM=>Info:- Call Both
10/24/2022 7:05:22 AM=>Info:- Start Executing SMS Method
10/24/2022 7:05:22 AM=>Info:- End Executing SMS Method
10/24/2022 7:05:22 AM=>Info:- Start Mailing Method
10/24/2022 7:05:22 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:05:22 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:05:22 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:05:22 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:05:22 AM=>Info:- Count = 1
10/24/2022 7:05:22 AM=>Info:- Count 1
10/24/2022 7:05:22 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:05:22 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:05:22 AM=>Info:- Start SenMail Method
10/24/2022 7:05:22 AM=>UseDefaultCredentials
10/24/2022 7:05:22 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:05:22 AM=>EnableSsl = true
10/24/2022 7:05:22 AM=>DeliveryMethod
10/24/2022 7:05:22 AM=>Before Send
10/24/2022 7:06: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/24/2022 7:06:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:06:04 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:06:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:06:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:06:04 AM=>Info:- END Mailing Method
10/24/2022 7:06:04 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:06:04 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:06:04 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:06:04 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:06:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:06:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:06:04 AM=>Info - End of callingService Method
10/24/2022 7:08:04 AM=>Info - Check time Elapsed
10/24/2022 7:08:04 AM=>Info - Call callingService Method
10/24/2022 7:08:04 AM=>Info:- Call Both
10/24/2022 7:08:04 AM=>Info:- Start Executing SMS Method
10/24/2022 7:08:04 AM=>Info:- End Executing SMS Method
10/24/2022 7:08:04 AM=>Info:- Start Mailing Method
10/24/2022 7:08:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:08:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:08:04 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:08:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:08:04 AM=>Info:- Count = 1
10/24/2022 7:08:04 AM=>Info:- Count 1
10/24/2022 7:08:04 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:08:04 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:08:04 AM=>Info:- Start SenMail Method
10/24/2022 7:08:04 AM=>UseDefaultCredentials
10/24/2022 7:08:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:08:04 AM=>EnableSsl = true
10/24/2022 7:08:04 AM=>DeliveryMethod
10/24/2022 7:08:04 AM=>Before Send
10/24/2022 7:08: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/24/2022 7:08:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:08:04 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:08:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:08:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:08:05 AM=>Info:- END Mailing Method
10/24/2022 7:08:05 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:08:05 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:08:05 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:08:05 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:08:05 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:08:05 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:08:05 AM=>Info - End of callingService Method
10/24/2022 7:10:05 AM=>Info - Check time Elapsed
10/24/2022 7:10:05 AM=>Info - Call callingService Method
10/24/2022 7:10:05 AM=>Info:- Call Both
10/24/2022 7:10:05 AM=>Info:- Start Executing SMS Method
10/24/2022 7:10:05 AM=>Info:- End Executing SMS Method
10/24/2022 7:10:05 AM=>Info:- Start Mailing Method
10/24/2022 7:10:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:10:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:10:05 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:10:05 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:10:05 AM=>Info:- Count = 1
10/24/2022 7:10:05 AM=>Info:- Count 1
10/24/2022 7:10:05 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:10:05 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:10:05 AM=>Info:- Start SenMail Method
10/24/2022 7:10:05 AM=>UseDefaultCredentials
10/24/2022 7:10:05 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:10:05 AM=>EnableSsl = true
10/24/2022 7:10:05 AM=>DeliveryMethod
10/24/2022 7:10:05 AM=>Before Send
10/24/2022 7:11: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.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/24/2022 7:11:29 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:11:29 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:11:29 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:11:29 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:11:29 AM=>Info:- END Mailing Method
10/24/2022 7:11:29 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:11:29 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:11:29 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:11:29 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:11:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:11:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:11:29 AM=>Info - End of callingService Method
10/24/2022 7:13:29 AM=>Info - Check time Elapsed
10/24/2022 7:13:29 AM=>Info - Call callingService Method
10/24/2022 7:13:29 AM=>Info:- Call Both
10/24/2022 7:13:29 AM=>Info:- Start Executing SMS Method
10/24/2022 7:13:29 AM=>Info:- End Executing SMS Method
10/24/2022 7:13:29 AM=>Info:- Start Mailing Method
10/24/2022 7:13:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:13:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:13:29 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:13:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:13:29 AM=>Info:- Count = 1
10/24/2022 7:13:29 AM=>Info:- Count 1
10/24/2022 7:13:29 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:13:29 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:13:29 AM=>Info:- Start SenMail Method
10/24/2022 7:13:29 AM=>UseDefaultCredentials
10/24/2022 7:13:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:13:29 AM=>EnableSsl = true
10/24/2022 7:13:29 AM=>DeliveryMethod
10/24/2022 7:13:29 AM=>Before Send
10/24/2022 7:14:53 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.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/24/2022 7:14:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:14:54 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:14:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:14:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:14:54 AM=>Info:- END Mailing Method
10/24/2022 7:14:54 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:14:54 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:14:54 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:14:54 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:14:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:14:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:14:54 AM=>Info - End of callingService Method
10/24/2022 7:16:54 AM=>Info - Check time Elapsed
10/24/2022 7:16:54 AM=>Info - Call callingService Method
10/24/2022 7:16:54 AM=>Info:- Call Both
10/24/2022 7:16:54 AM=>Info:- Start Executing SMS Method
10/24/2022 7:16:54 AM=>Info:- End Executing SMS Method
10/24/2022 7:16:54 AM=>Info:- Start Mailing Method
10/24/2022 7:16:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:16:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:16:54 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:16:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:16:54 AM=>Info:- Count = 1
10/24/2022 7:16:54 AM=>Info:- Count 1
10/24/2022 7:16:54 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:16:54 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:16:54 AM=>Info:- Start SenMail Method
10/24/2022 7:16:54 AM=>UseDefaultCredentials
10/24/2022 7:16:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:16:54 AM=>EnableSsl = true
10/24/2022 7:16:54 AM=>DeliveryMethod
10/24/2022 7:16:54 AM=>Before Send
10/24/2022 7:18: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/24/2022 7:18:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:18:06 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:18:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:18:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:18:06 AM=>Info:- END Mailing Method
10/24/2022 7:18:06 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:18:06 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:18:06 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:18:06 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:18:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:18:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:18:06 AM=>Info - End of callingService Method
10/24/2022 7:20:06 AM=>Info - Check time Elapsed
10/24/2022 7:20:06 AM=>Info - Call callingService Method
10/24/2022 7:20:06 AM=>Info:- Call Both
10/24/2022 7:20:06 AM=>Info:- Start Executing SMS Method
10/24/2022 7:20:06 AM=>Info:- End Executing SMS Method
10/24/2022 7:20:06 AM=>Info:- Start Mailing Method
10/24/2022 7:20:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:20:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:20:06 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:20:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:20:06 AM=>Info:- Count = 1
10/24/2022 7:20:06 AM=>Info:- Count 1
10/24/2022 7:20:06 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:20:06 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:20:06 AM=>Info:- Start SenMail Method
10/24/2022 7:20:06 AM=>UseDefaultCredentials
10/24/2022 7:20:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:20:06 AM=>EnableSsl = true
10/24/2022 7:20:06 AM=>DeliveryMethod
10/24/2022 7:20:06 AM=>Before Send
10/24/2022 7:20: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/24/2022 7:20:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:20:48 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:20:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:20:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:20:49 AM=>Info:- END Mailing Method
10/24/2022 7:20:49 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:20:49 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:20:49 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:20:49 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:20:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:20:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:20:49 AM=>Info - End of callingService Method
10/24/2022 7:22:49 AM=>Info - Check time Elapsed
10/24/2022 7:22:49 AM=>Info - Call callingService Method
10/24/2022 7:22:49 AM=>Info:- Call Both
10/24/2022 7:22:49 AM=>Info:- Start Executing SMS Method
10/24/2022 7:22:49 AM=>Info:- End Executing SMS Method
10/24/2022 7:22:49 AM=>Info:- Start Mailing Method
10/24/2022 7:22:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:22:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:22:49 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:22:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:22:49 AM=>Info:- Count = 1
10/24/2022 7:22:49 AM=>Info:- Count 1
10/24/2022 7:22:49 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:22:49 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:22:49 AM=>Info:- Start SenMail Method
10/24/2022 7:22:49 AM=>UseDefaultCredentials
10/24/2022 7:22:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:22:49 AM=>EnableSsl = true
10/24/2022 7:22:49 AM=>DeliveryMethod
10/24/2022 7:22:49 AM=>Before Send
10/24/2022 7:22: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/24/2022 7:22:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:22:58 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:22:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:22:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:22:58 AM=>Info:- END Mailing Method
10/24/2022 7:22:58 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:22:58 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:22:58 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:22:58 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:22:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:22:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:22:58 AM=>Info - End of callingService Method
10/24/2022 7:24:58 AM=>Info - Check time Elapsed
10/24/2022 7:24:58 AM=>Info - Call callingService Method
10/24/2022 7:24:58 AM=>Info:- Call Both
10/24/2022 7:24:58 AM=>Info:- Start Executing SMS Method
10/24/2022 7:24:58 AM=>Info:- End Executing SMS Method
10/24/2022 7:24:58 AM=>Info:- Start Mailing Method
10/24/2022 7:24:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:24:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:24:58 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:24:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:24:58 AM=>Info:- Count = 1
10/24/2022 7:24:58 AM=>Info:- Count 1
10/24/2022 7:24:58 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:24:58 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:24:58 AM=>Info:- Start SenMail Method
10/24/2022 7:24:58 AM=>UseDefaultCredentials
10/24/2022 7:24:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:24:58 AM=>EnableSsl = true
10/24/2022 7:24:58 AM=>DeliveryMethod
10/24/2022 7:24:58 AM=>Before Send
10/24/2022 7:25: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/24/2022 7:25:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:25:07 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:25:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:25:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:25:08 AM=>Info:- END Mailing Method
10/24/2022 7:25:08 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:25:08 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:25:08 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:25:08 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:25:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:25:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:25:08 AM=>Info - End of callingService Method
10/24/2022 7:27:08 AM=>Info - Check time Elapsed
10/24/2022 7:27:08 AM=>Info - Call callingService Method
10/24/2022 7:27:08 AM=>Info:- Call Both
10/24/2022 7:27:08 AM=>Info:- Start Executing SMS Method
10/24/2022 7:27:08 AM=>Info:- End Executing SMS Method
10/24/2022 7:27:08 AM=>Info:- Start Mailing Method
10/24/2022 7:27:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:27:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:27:08 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:27:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:27:08 AM=>Info:- Count = 1
10/24/2022 7:27:08 AM=>Info:- Count 1
10/24/2022 7:27:08 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:27:08 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:27:08 AM=>Info:- Start SenMail Method
10/24/2022 7:27:08 AM=>UseDefaultCredentials
10/24/2022 7:27:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:27:08 AM=>EnableSsl = true
10/24/2022 7:27:08 AM=>DeliveryMethod
10/24/2022 7:27:08 AM=>Before Send
10/24/2022 7:27: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/24/2022 7:27:11 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:27:11 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:27:11 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:27:11 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:27:11 AM=>Info:- END Mailing Method
10/24/2022 7:27:11 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:27:11 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:27:11 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:27:11 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:27:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:27:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:27:11 AM=>Info - End of callingService Method
10/24/2022 7:29:11 AM=>Info - Check time Elapsed
10/24/2022 7:29:11 AM=>Info - Call callingService Method
10/24/2022 7:29:11 AM=>Info:- Call Both
10/24/2022 7:29:11 AM=>Info:- Start Executing SMS Method
10/24/2022 7:29:11 AM=>Info:- End Executing SMS Method
10/24/2022 7:29:11 AM=>Info:- Start Mailing Method
10/24/2022 7:29:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:29:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:29:11 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:29:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:29:11 AM=>Info:- Count = 1
10/24/2022 7:29:11 AM=>Info:- Count 1
10/24/2022 7:29:11 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:29:11 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:29:11 AM=>Info:- Start SenMail Method
10/24/2022 7:29:11 AM=>UseDefaultCredentials
10/24/2022 7:29:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:29:11 AM=>EnableSsl = true
10/24/2022 7:29:11 AM=>DeliveryMethod
10/24/2022 7:29:11 AM=>Before Send
10/24/2022 7:29: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/24/2022 7:29:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:29:20 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:29:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:29:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:29:20 AM=>Info:- END Mailing Method
10/24/2022 7:29:20 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:29:20 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:29:20 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:29:20 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:29:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:29:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:29:20 AM=>Info - End of callingService Method
10/24/2022 7:31:20 AM=>Info - Check time Elapsed
10/24/2022 7:31:20 AM=>Info - Call callingService Method
10/24/2022 7:31:20 AM=>Info:- Call Both
10/24/2022 7:31:20 AM=>Info:- Start Executing SMS Method
10/24/2022 7:31:20 AM=>Info:- End Executing SMS Method
10/24/2022 7:31:21 AM=>Info:- Start Mailing Method
10/24/2022 7:31:21 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:31:21 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:31:21 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:31:21 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:31:21 AM=>Info:- Count = 1
10/24/2022 7:31:21 AM=>Info:- Count 1
10/24/2022 7:31:21 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:31:21 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:31:21 AM=>Info:- Start SenMail Method
10/24/2022 7:31:21 AM=>UseDefaultCredentials
10/24/2022 7:31:21 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:31:21 AM=>EnableSsl = true
10/24/2022 7:31:21 AM=>DeliveryMethod
10/24/2022 7:31:21 AM=>Before Send
10/24/2022 7:31:30 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/24/2022 7:31:30 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:31:30 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:31:30 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:31:30 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:31:30 AM=>Info:- END Mailing Method
10/24/2022 7:31:30 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:31:30 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:31:30 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:31:30 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:31:30 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:31:30 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:31:30 AM=>Info - End of callingService Method
10/24/2022 7:33:30 AM=>Info - Check time Elapsed
10/24/2022 7:33:30 AM=>Info - Call callingService Method
10/24/2022 7:33:30 AM=>Info:- Call Both
10/24/2022 7:33:30 AM=>Info:- Start Executing SMS Method
10/24/2022 7:33:30 AM=>Info:- End Executing SMS Method
10/24/2022 7:33:30 AM=>Info:- Start Mailing Method
10/24/2022 7:33:30 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:33:30 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:33:30 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:33:30 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:33:30 AM=>Info:- Count = 1
10/24/2022 7:33:30 AM=>Info:- Count 1
10/24/2022 7:33:30 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:33:30 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:33:30 AM=>Info:- Start SenMail Method
10/24/2022 7:33:30 AM=>UseDefaultCredentials
10/24/2022 7:33:30 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:33:30 AM=>EnableSsl = true
10/24/2022 7:33:30 AM=>DeliveryMethod
10/24/2022 7:33:30 AM=>Before Send
10/24/2022 7:33: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/24/2022 7:33:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:33:39 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:33:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:33:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:33:39 AM=>Info:- END Mailing Method
10/24/2022 7:33:39 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:33:39 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:33:39 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:33:39 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:33:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:33:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:33:39 AM=>Info - End of callingService Method
10/24/2022 7:35:39 AM=>Info - Check time Elapsed
10/24/2022 7:35:39 AM=>Info - Call callingService Method
10/24/2022 7:35:39 AM=>Info:- Call Both
10/24/2022 7:35:39 AM=>Info:- Start Executing SMS Method
10/24/2022 7:35:39 AM=>Info:- End Executing SMS Method
10/24/2022 7:35:39 AM=>Info:- Start Mailing Method
10/24/2022 7:35:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:35:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:35:39 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:35:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:35:39 AM=>Info:- Count = 1
10/24/2022 7:35:39 AM=>Info:- Count 1
10/24/2022 7:35:39 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:35:39 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:35:39 AM=>Info:- Start SenMail Method
10/24/2022 7:35:39 AM=>UseDefaultCredentials
10/24/2022 7:35:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:35:39 AM=>EnableSsl = true
10/24/2022 7:35:39 AM=>DeliveryMethod
10/24/2022 7:35:39 AM=>Before Send
10/24/2022 7:37: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.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/24/2022 7:37:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:37:03 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:37:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:37:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:37:04 AM=>Info:- END Mailing Method
10/24/2022 7:37:04 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:37:04 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:37:04 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:37:04 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:37:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:37:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:37:04 AM=>Info - End of callingService Method
10/24/2022 7:39:04 AM=>Info - Check time Elapsed
10/24/2022 7:39:04 AM=>Info - Call callingService Method
10/24/2022 7:39:04 AM=>Info:- Call Both
10/24/2022 7:39:04 AM=>Info:- Start Executing SMS Method
10/24/2022 7:39:04 AM=>Info:- End Executing SMS Method
10/24/2022 7:39:04 AM=>Info:- Start Mailing Method
10/24/2022 7:39:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:39:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:39:04 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:39:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:39:04 AM=>Info:- Count = 1
10/24/2022 7:39:04 AM=>Info:- Count 1
10/24/2022 7:39:04 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:39:04 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:39:04 AM=>Info:- Start SenMail Method
10/24/2022 7:39:04 AM=>UseDefaultCredentials
10/24/2022 7:39:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:39:04 AM=>EnableSsl = true
10/24/2022 7:39:04 AM=>DeliveryMethod
10/24/2022 7:39:04 AM=>Before Send
10/24/2022 7:40: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/24/2022 7:40:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:40:07 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:40:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:40:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:40:07 AM=>Info:- END Mailing Method
10/24/2022 7:40:07 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:40:07 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:40:07 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:40:07 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:40:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:40:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:40:07 AM=>Info - End of callingService Method
10/24/2022 7:42:07 AM=>Info - Check time Elapsed
10/24/2022 7:42:07 AM=>Info - Call callingService Method
10/24/2022 7:42:07 AM=>Info:- Call Both
10/24/2022 7:42:07 AM=>Info:- Start Executing SMS Method
10/24/2022 7:42:07 AM=>Info:- End Executing SMS Method
10/24/2022 7:42:07 AM=>Info:- Start Mailing Method
10/24/2022 7:42:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:42:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:42:07 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:42:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:42:07 AM=>Info:- Count = 1
10/24/2022 7:42:07 AM=>Info:- Count 1
10/24/2022 7:42:07 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:42:07 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:42:07 AM=>Info:- Start SenMail Method
10/24/2022 7:42:07 AM=>UseDefaultCredentials
10/24/2022 7:42:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:42:07 AM=>EnableSsl = true
10/24/2022 7:42:07 AM=>DeliveryMethod
10/24/2022 7:42:07 AM=>Before Send
10/24/2022 7:42: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/24/2022 7:42:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:42:52 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:42:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:42:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:42:53 AM=>Info:- END Mailing Method
10/24/2022 7:42:53 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:42:53 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:42:53 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:42:53 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:42:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:42:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:42:53 AM=>Info - End of callingService Method
10/24/2022 7:44:53 AM=>Info - Check time Elapsed
10/24/2022 7:44:53 AM=>Info - Call callingService Method
10/24/2022 7:44:53 AM=>Info:- Call Both
10/24/2022 7:44:53 AM=>Info:- Start Executing SMS Method
10/24/2022 7:44:53 AM=>Info:- End Executing SMS Method
10/24/2022 7:44:53 AM=>Info:- Start Mailing Method
10/24/2022 7:44:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:44:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:44:53 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:44:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:44:53 AM=>Info:- Count = 1
10/24/2022 7:44:53 AM=>Info:- Count 1
10/24/2022 7:44:53 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:44:53 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:44:53 AM=>Info:- Start SenMail Method
10/24/2022 7:44:53 AM=>UseDefaultCredentials
10/24/2022 7:44:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:44:53 AM=>EnableSsl = true
10/24/2022 7:44:53 AM=>DeliveryMethod
10/24/2022 7:44:53 AM=>Before Send
10/24/2022 7:46: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.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/24/2022 7:46:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:46:17 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:46:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:46:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:46:18 AM=>Info:- END Mailing Method
10/24/2022 7:46:18 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:46:18 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:46:18 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:46:18 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:46:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:46:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:46:18 AM=>Info - End of callingService Method
10/24/2022 7:48:18 AM=>Info - Check time Elapsed
10/24/2022 7:48:18 AM=>Info - Call callingService Method
10/24/2022 7:48:18 AM=>Info:- Call Both
10/24/2022 7:48:18 AM=>Info:- Start Executing SMS Method
10/24/2022 7:48:18 AM=>Info:- End Executing SMS Method
10/24/2022 7:48:18 AM=>Info:- Start Mailing Method
10/24/2022 7:48:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:48:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:48:18 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:48:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:48:18 AM=>Info:- Count = 1
10/24/2022 7:48:18 AM=>Info:- Count 1
10/24/2022 7:48:18 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:48:18 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:48:18 AM=>Info:- Start SenMail Method
10/24/2022 7:48:18 AM=>UseDefaultCredentials
10/24/2022 7:48:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:48:18 AM=>EnableSsl = true
10/24/2022 7:48:18 AM=>DeliveryMethod
10/24/2022 7:48:18 AM=>Before Send
10/24/2022 7:49: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/24/2022 7:49:21 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:49:21 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:49:21 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:49:21 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:49:21 AM=>Info:- END Mailing Method
10/24/2022 7:49:21 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:49:21 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:49:21 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:49:21 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:49:21 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:49:21 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:49:21 AM=>Info - End of callingService Method
10/24/2022 7:51:21 AM=>Info - Check time Elapsed
10/24/2022 7:51:21 AM=>Info - Call callingService Method
10/24/2022 7:51:21 AM=>Info:- Call Both
10/24/2022 7:51:21 AM=>Info:- Start Executing SMS Method
10/24/2022 7:51:21 AM=>Info:- End Executing SMS Method
10/24/2022 7:51:21 AM=>Info:- Start Mailing Method
10/24/2022 7:51:21 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:51:21 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:51:21 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:51:21 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:51:21 AM=>Info:- Count = 1
10/24/2022 7:51:21 AM=>Info:- Count 1
10/24/2022 7:51:21 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:51:21 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:51:21 AM=>Info:- Start SenMail Method
10/24/2022 7:51:21 AM=>UseDefaultCredentials
10/24/2022 7:51:21 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:51:21 AM=>EnableSsl = true
10/24/2022 7:51:21 AM=>DeliveryMethod
10/24/2022 7:51:21 AM=>Before Send
10/24/2022 7:51: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/24/2022 7:51:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:51:24 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:51:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:51:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:51:25 AM=>Info:- END Mailing Method
10/24/2022 7:51:25 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:51:25 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:51:25 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:51:25 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:51:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:51:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:51:25 AM=>Info - End of callingService Method
10/24/2022 7:53:25 AM=>Info - Check time Elapsed
10/24/2022 7:53:25 AM=>Info - Call callingService Method
10/24/2022 7:53:25 AM=>Info:- Call Both
10/24/2022 7:53:25 AM=>Info:- Start Executing SMS Method
10/24/2022 7:53:25 AM=>Info:- End Executing SMS Method
10/24/2022 7:53:25 AM=>Info:- Start Mailing Method
10/24/2022 7:53:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:53:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:53:25 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:53:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:53:25 AM=>Info:- Count = 1
10/24/2022 7:53:25 AM=>Info:- Count 1
10/24/2022 7:53:25 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:53:25 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:53:25 AM=>Info:- Start SenMail Method
10/24/2022 7:53:25 AM=>UseDefaultCredentials
10/24/2022 7:53:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:53:25 AM=>EnableSsl = true
10/24/2022 7:53:25 AM=>DeliveryMethod
10/24/2022 7:53:25 AM=>Before Send
10/24/2022 7:54: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.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/24/2022 7:54:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:54:49 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:54:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:54:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:54:49 AM=>Info:- END Mailing Method
10/24/2022 7:54:49 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:54:49 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:54:49 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:54:49 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:54:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:54:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:54:49 AM=>Info - End of callingService Method
10/24/2022 7:56:49 AM=>Info - Check time Elapsed
10/24/2022 7:56:49 AM=>Info - Call callingService Method
10/24/2022 7:56:49 AM=>Info:- Call Both
10/24/2022 7:56:49 AM=>Info:- Start Executing SMS Method
10/24/2022 7:56:49 AM=>Info:- End Executing SMS Method
10/24/2022 7:56:49 AM=>Info:- Start Mailing Method
10/24/2022 7:56:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:56:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:56:49 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:56:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:56:49 AM=>Info:- Count = 1
10/24/2022 7:56:49 AM=>Info:- Count 1
10/24/2022 7:56:49 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:56:49 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:56:49 AM=>Info:- Start SenMail Method
10/24/2022 7:56:49 AM=>UseDefaultCredentials
10/24/2022 7:56:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:56:49 AM=>EnableSsl = true
10/24/2022 7:56:49 AM=>DeliveryMethod
10/24/2022 7:56:49 AM=>Before Send
10/24/2022 7:56: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/24/2022 7:56:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:56:58 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:56:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:56:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:56:58 AM=>Info:- END Mailing Method
10/24/2022 7:56:58 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:56:58 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:56:58 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:56:58 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:56:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:56:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:56:58 AM=>Info - End of callingService Method
10/24/2022 7:58:59 AM=>Info - Check time Elapsed
10/24/2022 7:58:59 AM=>Info - Call callingService Method
10/24/2022 7:58:59 AM=>Info:- Call Both
10/24/2022 7:58:59 AM=>Info:- Start Executing SMS Method
10/24/2022 7:58:59 AM=>Info:- End Executing SMS Method
10/24/2022 7:58:59 AM=>Info:- Start Mailing Method
10/24/2022 7:58:59 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:58:59 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:58:59 AM=>Info:- PendingMail.xml file read to list
10/24/2022 7:58:59 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:58:59 AM=>Info:- Count = 1
10/24/2022 7:58:59 AM=>Info:- Count 1
10/24/2022 7:58:59 AM=>Info - Fetching Data From MAIL XML
10/24/2022 7:58:59 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:58:59 AM=>Info:- Start SenMail Method
10/24/2022 7:58:59 AM=>UseDefaultCredentials
10/24/2022 7:58:59 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:58:59 AM=>EnableSsl = true
10/24/2022 7:58:59 AM=>DeliveryMethod
10/24/2022 7:58:59 AM=>Before Send
10/24/2022 7:59: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/24/2022 7:59:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:59:20 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:59:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:59:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:59:20 AM=>Info:- END Mailing Method
10/24/2022 7:59:20 AM=>Info:- Start Executing Telegram Method
10/24/2022 7:59:20 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:59:20 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:59:20 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:59:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:59:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:59:20 AM=>Info - End of callingService Method
10/24/2022 8:01:20 AM=>Info - Check time Elapsed
10/24/2022 8:01:20 AM=>Info - Call callingService Method
10/24/2022 8:01:20 AM=>Info:- Call Both
10/24/2022 8:01:20 AM=>Info:- Start Executing SMS Method
10/24/2022 8:01:20 AM=>Info:- End Executing SMS Method
10/24/2022 8:01:20 AM=>Info:- Start Mailing Method
10/24/2022 8:01:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:01:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:01:20 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:01:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:01:20 AM=>Info:- Count = 1
10/24/2022 8:01:20 AM=>Info:- Count 1
10/24/2022 8:01:20 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:01:20 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:01:20 AM=>Info:- Start SenMail Method
10/24/2022 8:01:20 AM=>UseDefaultCredentials
10/24/2022 8:01:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:01:20 AM=>EnableSsl = true
10/24/2022 8:01:20 AM=>DeliveryMethod
10/24/2022 8:01:20 AM=>Before Send
10/24/2022 8:01: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/24/2022 8:01:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:01:23 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:01:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:01:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:01:23 AM=>Info:- END Mailing Method
10/24/2022 8:01:23 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:01:23 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:01:23 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:01:23 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:01:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:01:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:01:23 AM=>Info - End of callingService Method
10/24/2022 8:03:23 AM=>Info - Check time Elapsed
10/24/2022 8:03:23 AM=>Info - Call callingService Method
10/24/2022 8:03:23 AM=>Info:- Call Both
10/24/2022 8:03:23 AM=>Info:- Start Executing SMS Method
10/24/2022 8:03:23 AM=>Info:- End Executing SMS Method
10/24/2022 8:03:23 AM=>Info:- Start Mailing Method
10/24/2022 8:03:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:03:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:03:23 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:03:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:03:23 AM=>Info:- Count = 1
10/24/2022 8:03:23 AM=>Info:- Count 1
10/24/2022 8:03:23 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:03:23 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:03:23 AM=>Info:- Start SenMail Method
10/24/2022 8:03:23 AM=>UseDefaultCredentials
10/24/2022 8:03:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:03:23 AM=>EnableSsl = true
10/24/2022 8:03:23 AM=>DeliveryMethod
10/24/2022 8:03:23 AM=>Before Send
10/24/2022 8:04:48 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/24/2022 8:04:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:04:48 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:04:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:04:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:04:48 AM=>Info:- END Mailing Method
10/24/2022 8:04:48 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:04:48 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:04:48 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:04:48 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:04:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:04:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:04:48 AM=>Info - End of callingService Method
10/24/2022 8:06:48 AM=>Info - Check time Elapsed
10/24/2022 8:06:48 AM=>Info - Call callingService Method
10/24/2022 8:06:48 AM=>Info:- Call Both
10/24/2022 8:06:48 AM=>Info:- Start Executing SMS Method
10/24/2022 8:06:48 AM=>Info:- End Executing SMS Method
10/24/2022 8:06:48 AM=>Info:- Start Mailing Method
10/24/2022 8:06:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:06:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:06:48 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:06:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:06:48 AM=>Info:- Count = 1
10/24/2022 8:06:48 AM=>Info:- Count 1
10/24/2022 8:06:48 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:06:48 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:06:48 AM=>Info:- Start SenMail Method
10/24/2022 8:06:48 AM=>UseDefaultCredentials
10/24/2022 8:06:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:06:48 AM=>EnableSsl = true
10/24/2022 8:06:48 AM=>DeliveryMethod
10/24/2022 8:06:48 AM=>Before Send
10/24/2022 8:06: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/24/2022 8:06:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:06:48 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:06:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:06:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:06:48 AM=>Info:- END Mailing Method
10/24/2022 8:06:48 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:06:48 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:06:48 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:06:48 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:06:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:06:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:06:48 AM=>Info - End of callingService Method
10/24/2022 8:08:48 AM=>Info - Check time Elapsed
10/24/2022 8:08:48 AM=>Info - Call callingService Method
10/24/2022 8:08:48 AM=>Info:- Call Both
10/24/2022 8:08:48 AM=>Info:- Start Executing SMS Method
10/24/2022 8:08:48 AM=>Info:- End Executing SMS Method
10/24/2022 8:08:48 AM=>Info:- Start Mailing Method
10/24/2022 8:08:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:08:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:08:48 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:08:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:08:48 AM=>Info:- Count = 1
10/24/2022 8:08:48 AM=>Info:- Count 1
10/24/2022 8:08:48 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:08:48 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:08:48 AM=>Info:- Start SenMail Method
10/24/2022 8:08:48 AM=>UseDefaultCredentials
10/24/2022 8:08:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:08:48 AM=>EnableSsl = true
10/24/2022 8:08:48 AM=>DeliveryMethod
10/24/2022 8:08:48 AM=>Before Send
10/24/2022 8:09: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/24/2022 8:09:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:09:39 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:09:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:09:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:09:40 AM=>Info:- END Mailing Method
10/24/2022 8:09:40 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:09:40 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:09:40 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:09:40 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:09:40 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:09:40 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:09:40 AM=>Info - End of callingService Method
10/24/2022 8:11:40 AM=>Info - Check time Elapsed
10/24/2022 8:11:40 AM=>Info - Call callingService Method
10/24/2022 8:11:40 AM=>Info:- Call Both
10/24/2022 8:11:40 AM=>Info:- Start Executing SMS Method
10/24/2022 8:11:40 AM=>Info:- End Executing SMS Method
10/24/2022 8:11:40 AM=>Info:- Start Mailing Method
10/24/2022 8:11:40 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:11:40 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:11:40 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:11:40 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:11:40 AM=>Info:- Count = 1
10/24/2022 8:11:40 AM=>Info:- Count 1
10/24/2022 8:11:40 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:11:40 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:11:40 AM=>Info:- Start SenMail Method
10/24/2022 8:11:40 AM=>UseDefaultCredentials
10/24/2022 8:11:40 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:11:40 AM=>EnableSsl = true
10/24/2022 8:11:40 AM=>DeliveryMethod
10/24/2022 8:11:40 AM=>Before Send
10/24/2022 8:11: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/24/2022 8:11:43 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:11:43 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:11:43 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:11:43 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:11:43 AM=>Info:- END Mailing Method
10/24/2022 8:11:43 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:11:43 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:11:43 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:11:43 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:11:43 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:11:43 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:11:43 AM=>Info - End of callingService Method
10/24/2022 8:13:43 AM=>Info - Check time Elapsed
10/24/2022 8:13:43 AM=>Info - Call callingService Method
10/24/2022 8:13:43 AM=>Info:- Call Both
10/24/2022 8:13:43 AM=>Info:- Start Executing SMS Method
10/24/2022 8:13:43 AM=>Info:- End Executing SMS Method
10/24/2022 8:13:43 AM=>Info:- Start Mailing Method
10/24/2022 8:13:43 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:13:43 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:13:43 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:13:43 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:13:43 AM=>Info:- Count = 1
10/24/2022 8:13:43 AM=>Info:- Count 1
10/24/2022 8:13:43 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:13:43 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:13:43 AM=>Info:- Start SenMail Method
10/24/2022 8:13:43 AM=>UseDefaultCredentials
10/24/2022 8:13:43 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:13:43 AM=>EnableSsl = true
10/24/2022 8:13:43 AM=>DeliveryMethod
10/24/2022 8:13:43 AM=>Before Send
10/24/2022 8:15: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 40.97.188.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/24/2022 8:15:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:15:07 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:15:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:15:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:15:08 AM=>Info:- END Mailing Method
10/24/2022 8:15:08 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:15:08 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:15:08 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:15:08 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:15:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:15:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:15:08 AM=>Info - End of callingService Method
10/24/2022 8:17:08 AM=>Info - Check time Elapsed
10/24/2022 8:17:08 AM=>Info - Call callingService Method
10/24/2022 8:17:08 AM=>Info:- Call Both
10/24/2022 8:17:08 AM=>Info:- Start Executing SMS Method
10/24/2022 8:17:08 AM=>Info:- End Executing SMS Method
10/24/2022 8:17:08 AM=>Info:- Start Mailing Method
10/24/2022 8:17:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:17:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:17:08 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:17:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:17:08 AM=>Info:- Count = 1
10/24/2022 8:17:08 AM=>Info:- Count 1
10/24/2022 8:17:08 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:17:08 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:17:08 AM=>Info:- Start SenMail Method
10/24/2022 8:17:08 AM=>UseDefaultCredentials
10/24/2022 8:17:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:17:08 AM=>EnableSsl = true
10/24/2022 8:17:08 AM=>DeliveryMethod
10/24/2022 8:17:08 AM=>Before Send
10/24/2022 8:18: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/24/2022 8:18:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:18:14 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:18:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:18:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:18:14 AM=>Info:- END Mailing Method
10/24/2022 8:18:14 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:18:14 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:18:14 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:18:14 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:18:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:18:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:18:14 AM=>Info - End of callingService Method
10/24/2022 8:20:14 AM=>Info - Check time Elapsed
10/24/2022 8:20:14 AM=>Info - Call callingService Method
10/24/2022 8:20:14 AM=>Info:- Call Both
10/24/2022 8:20:14 AM=>Info:- Start Executing SMS Method
10/24/2022 8:20:14 AM=>Info:- End Executing SMS Method
10/24/2022 8:20:14 AM=>Info:- Start Mailing Method
10/24/2022 8:20:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:20:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:20:14 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:20:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:20:14 AM=>Info:- Count = 1
10/24/2022 8:20:14 AM=>Info:- Count 1
10/24/2022 8:20:14 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:20:14 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:20:14 AM=>Info:- Start SenMail Method
10/24/2022 8:20:14 AM=>UseDefaultCredentials
10/24/2022 8:20:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:20:14 AM=>EnableSsl = true
10/24/2022 8:20:14 AM=>DeliveryMethod
10/24/2022 8:20:14 AM=>Before Send
10/24/2022 8:21: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.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/24/2022 8:21:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:21:38 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:21:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:21:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:21:39 AM=>Info:- END Mailing Method
10/24/2022 8:21:39 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:21:39 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:21:39 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:21:39 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:21:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:21:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:21:39 AM=>Info - End of callingService Method
10/24/2022 8:23:39 AM=>Info - Check time Elapsed
10/24/2022 8:23:39 AM=>Info - Call callingService Method
10/24/2022 8:23:39 AM=>Info:- Call Both
10/24/2022 8:23:39 AM=>Info:- Start Executing SMS Method
10/24/2022 8:23:39 AM=>Info:- End Executing SMS Method
10/24/2022 8:23:39 AM=>Info:- Start Mailing Method
10/24/2022 8:23:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:23:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:23:39 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:23:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:23:39 AM=>Info:- Count = 1
10/24/2022 8:23:39 AM=>Info:- Count 1
10/24/2022 8:23:39 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:23:39 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:23:39 AM=>Info:- Start SenMail Method
10/24/2022 8:23:39 AM=>UseDefaultCredentials
10/24/2022 8:23:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:23:39 AM=>EnableSsl = true
10/24/2022 8:23:39 AM=>DeliveryMethod
10/24/2022 8:23:39 AM=>Before Send
10/24/2022 8:23: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/24/2022 8:23:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:23:39 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:23:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:23:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:23:39 AM=>Info:- END Mailing Method
10/24/2022 8:23:39 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:23:39 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:23:39 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:23:39 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:23:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:23:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:23:39 AM=>Info - End of callingService Method
10/24/2022 8:25:39 AM=>Info - Check time Elapsed
10/24/2022 8:25:39 AM=>Info - Call callingService Method
10/24/2022 8:25:39 AM=>Info:- Call Both
10/24/2022 8:25:39 AM=>Info:- Start Executing SMS Method
10/24/2022 8:25:39 AM=>Info:- End Executing SMS Method
10/24/2022 8:25:39 AM=>Info:- Start Mailing Method
10/24/2022 8:25:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:25:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:25:39 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:25:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:25:39 AM=>Info:- Count = 1
10/24/2022 8:25:39 AM=>Info:- Count 1
10/24/2022 8:25:39 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:25:39 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:25:39 AM=>Info:- Start SenMail Method
10/24/2022 8:25:39 AM=>UseDefaultCredentials
10/24/2022 8:25:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:25:39 AM=>EnableSsl = true
10/24/2022 8:25:39 AM=>DeliveryMethod
10/24/2022 8:25:39 AM=>Before Send
10/24/2022 8:27: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.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/24/2022 8:27:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:27:03 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:27:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:27:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:27:03 AM=>Info:- END Mailing Method
10/24/2022 8:27:03 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:27:03 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:27:03 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:27:03 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:27:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:27:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:27:03 AM=>Info - End of callingService Method
10/24/2022 8:29:03 AM=>Info - Check time Elapsed
10/24/2022 8:29:03 AM=>Info - Call callingService Method
10/24/2022 8:29:04 AM=>Info:- Call Both
10/24/2022 8:29:04 AM=>Info:- Start Executing SMS Method
10/24/2022 8:29:04 AM=>Info:- End Executing SMS Method
10/24/2022 8:29:04 AM=>Info:- Start Mailing Method
10/24/2022 8:29:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:29:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:29:04 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:29:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:29:04 AM=>Info:- Count = 1
10/24/2022 8:29:04 AM=>Info:- Count 1
10/24/2022 8:29:04 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:29:04 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:29:04 AM=>Info:- Start SenMail Method
10/24/2022 8:29:04 AM=>UseDefaultCredentials
10/24/2022 8:29:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:29:04 AM=>EnableSsl = true
10/24/2022 8:29:04 AM=>DeliveryMethod
10/24/2022 8:29:04 AM=>Before Send
10/24/2022 8:29: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/24/2022 8:29:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:29:07 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:29:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:29:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:29:07 AM=>Info:- END Mailing Method
10/24/2022 8:29:07 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:29:07 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:29:07 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:29:07 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:29:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:29:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:29:07 AM=>Info - End of callingService Method
10/24/2022 8:31:07 AM=>Info - Check time Elapsed
10/24/2022 8:31:07 AM=>Info - Call callingService Method
10/24/2022 8:31:07 AM=>Info:- Call Both
10/24/2022 8:31:07 AM=>Info:- Start Executing SMS Method
10/24/2022 8:31:07 AM=>Info:- End Executing SMS Method
10/24/2022 8:31:07 AM=>Info:- Start Mailing Method
10/24/2022 8:31:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:31:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:31:07 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:31:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:31:07 AM=>Info:- Count = 1
10/24/2022 8:31:07 AM=>Info:- Count 1
10/24/2022 8:31:07 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:31:07 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:31:07 AM=>Info:- Start SenMail Method
10/24/2022 8:31:07 AM=>UseDefaultCredentials
10/24/2022 8:31:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:31:07 AM=>EnableSsl = true
10/24/2022 8:31:07 AM=>DeliveryMethod
10/24/2022 8:31:07 AM=>Before Send
10/24/2022 8:32: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.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/24/2022 8:32:31 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:32:31 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:32:31 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:32:31 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:32:31 AM=>Info:- END Mailing Method
10/24/2022 8:32:31 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:32:31 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:32:31 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:32:31 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:32:31 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:32:31 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:32:31 AM=>Info - End of callingService Method
10/24/2022 8:34:31 AM=>Info - Check time Elapsed
10/24/2022 8:34:31 AM=>Info - Call callingService Method
10/24/2022 8:34:31 AM=>Info:- Call Both
10/24/2022 8:34:31 AM=>Info:- Start Executing SMS Method
10/24/2022 8:34:31 AM=>Info:- End Executing SMS Method
10/24/2022 8:34:31 AM=>Info:- Start Mailing Method
10/24/2022 8:34:31 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:34:31 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:34:31 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:34:31 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:34:31 AM=>Info:- Count = 1
10/24/2022 8:34:31 AM=>Info:- Count 1
10/24/2022 8:34:31 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:34:31 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:34:31 AM=>Info:- Start SenMail Method
10/24/2022 8:34:31 AM=>UseDefaultCredentials
10/24/2022 8:34:31 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:34:31 AM=>EnableSsl = true
10/24/2022 8:34:31 AM=>DeliveryMethod
10/24/2022 8:34:31 AM=>Before Send
10/24/2022 8:34: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/24/2022 8:34:31 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:34:31 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:34:31 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:34:31 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:34:32 AM=>Info:- END Mailing Method
10/24/2022 8:34:32 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:34:32 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:34:32 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:34:32 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:34:32 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:34:32 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:34:32 AM=>Info - End of callingService Method
10/24/2022 8:36:32 AM=>Info - Check time Elapsed
10/24/2022 8:36:32 AM=>Info - Call callingService Method
10/24/2022 8:36:32 AM=>Info:- Call Both
10/24/2022 8:36:32 AM=>Info:- Start Executing SMS Method
10/24/2022 8:36:32 AM=>Info:- End Executing SMS Method
10/24/2022 8:36:32 AM=>Info:- Start Mailing Method
10/24/2022 8:36:32 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:36:32 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:36:32 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:36:32 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:36:32 AM=>Info:- Count = 1
10/24/2022 8:36:32 AM=>Info:- Count 1
10/24/2022 8:36:32 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:36:32 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:36:32 AM=>Info:- Start SenMail Method
10/24/2022 8:36:32 AM=>UseDefaultCredentials
10/24/2022 8:36:32 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:36:32 AM=>EnableSsl = true
10/24/2022 8:36:32 AM=>DeliveryMethod
10/24/2022 8:36:32 AM=>Before Send
10/24/2022 8:36: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/24/2022 8:36:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:36:35 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:36:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:36:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:36:35 AM=>Info:- END Mailing Method
10/24/2022 8:36:35 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:36:35 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:36:35 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:36:35 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:36:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:36:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:36:35 AM=>Info - End of callingService Method
10/24/2022 8:38:35 AM=>Info - Check time Elapsed
10/24/2022 8:38:35 AM=>Info - Call callingService Method
10/24/2022 8:38:35 AM=>Info:- Call Both
10/24/2022 8:38:35 AM=>Info:- Start Executing SMS Method
10/24/2022 8:38:35 AM=>Info:- End Executing SMS Method
10/24/2022 8:38:35 AM=>Info:- Start Mailing Method
10/24/2022 8:38:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:38:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:38:35 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:38:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:38:35 AM=>Info:- Count = 1
10/24/2022 8:38:35 AM=>Info:- Count 1
10/24/2022 8:38:35 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:38:35 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:38:35 AM=>Info:- Start SenMail Method
10/24/2022 8:38:35 AM=>UseDefaultCredentials
10/24/2022 8:38:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:38:35 AM=>EnableSsl = true
10/24/2022 8:38:35 AM=>DeliveryMethod
10/24/2022 8:38:35 AM=>Before Send
10/24/2022 8:39: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.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/24/2022 8:39:59 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:39:59 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:39:59 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:39:59 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:40:00 AM=>Info:- END Mailing Method
10/24/2022 8:40:00 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:40:00 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:40:00 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:40:00 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:40:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:40:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:40:00 AM=>Info - End of callingService Method
10/24/2022 8:42:00 AM=>Info - Check time Elapsed
10/24/2022 8:42:00 AM=>Info - Call callingService Method
10/24/2022 8:42:00 AM=>Info:- Call Both
10/24/2022 8:42:00 AM=>Info:- Start Executing SMS Method
10/24/2022 8:42:00 AM=>Info:- End Executing SMS Method
10/24/2022 8:42:00 AM=>Info:- Start Mailing Method
10/24/2022 8:42:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:42:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:42:00 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:42:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:42:00 AM=>Info:- Count = 1
10/24/2022 8:42:00 AM=>Info:- Count 1
10/24/2022 8:42:00 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:42:00 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:42:00 AM=>Info:- Start SenMail Method
10/24/2022 8:42:00 AM=>UseDefaultCredentials
10/24/2022 8:42:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:42:00 AM=>EnableSsl = true
10/24/2022 8:42:00 AM=>DeliveryMethod
10/24/2022 8:42:00 AM=>Before Send
10/24/2022 8:42: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/24/2022 8:42:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:42:00 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:42:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:42:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:42:00 AM=>Info:- END Mailing Method
10/24/2022 8:42:00 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:42:00 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:42:00 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:42:00 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:42:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:42:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:42:00 AM=>Info - End of callingService Method
10/24/2022 8:44:00 AM=>Info - Check time Elapsed
10/24/2022 8:44:00 AM=>Info - Call callingService Method
10/24/2022 8:44:00 AM=>Info:- Call Both
10/24/2022 8:44:00 AM=>Info:- Start Executing SMS Method
10/24/2022 8:44:00 AM=>Info:- End Executing SMS Method
10/24/2022 8:44:00 AM=>Info:- Start Mailing Method
10/24/2022 8:44:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:44:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:44:00 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:44:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:44:00 AM=>Info:- Count = 1
10/24/2022 8:44:00 AM=>Info:- Count 1
10/24/2022 8:44:00 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:44:00 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:44:00 AM=>Info:- Start SenMail Method
10/24/2022 8:44:00 AM=>UseDefaultCredentials
10/24/2022 8:44:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:44:00 AM=>EnableSsl = true
10/24/2022 8:44:00 AM=>DeliveryMethod
10/24/2022 8:44:00 AM=>Before Send
10/24/2022 8:44: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/24/2022 8:44:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:44:09 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:44:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:44:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:44:10 AM=>Info:- END Mailing Method
10/24/2022 8:44:10 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:44:10 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:44:10 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:44:10 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:44:10 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:44:10 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:44:10 AM=>Info - End of callingService Method
10/24/2022 8:46:10 AM=>Info - Check time Elapsed
10/24/2022 8:46:10 AM=>Info - Call callingService Method
10/24/2022 8:46:10 AM=>Info:- Call Both
10/24/2022 8:46:10 AM=>Info:- Start Executing SMS Method
10/24/2022 8:46:10 AM=>Info:- End Executing SMS Method
10/24/2022 8:46:10 AM=>Info:- Start Mailing Method
10/24/2022 8:46:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:46:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:46:10 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:46:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:46:10 AM=>Info:- Count = 1
10/24/2022 8:46:10 AM=>Info:- Count 1
10/24/2022 8:46:10 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:46:10 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:46:10 AM=>Info:- Start SenMail Method
10/24/2022 8:46:10 AM=>UseDefaultCredentials
10/24/2022 8:46:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:46:10 AM=>EnableSsl = true
10/24/2022 8:46:10 AM=>DeliveryMethod
10/24/2022 8:46:10 AM=>Before Send
10/24/2022 8:47: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.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/24/2022 8:47:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:47:34 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:47:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:47:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:47:34 AM=>Info:- END Mailing Method
10/24/2022 8:47:34 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:47:34 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:47:34 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:47:34 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:47:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:47:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:47:34 AM=>Info - End of callingService Method
10/24/2022 8:49:34 AM=>Info - Check time Elapsed
10/24/2022 8:49:34 AM=>Info - Call callingService Method
10/24/2022 8:49:34 AM=>Info:- Call Both
10/24/2022 8:49:34 AM=>Info:- Start Executing SMS Method
10/24/2022 8:49:34 AM=>Info:- End Executing SMS Method
10/24/2022 8:49:34 AM=>Info:- Start Mailing Method
10/24/2022 8:49:34 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:49:34 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:49:34 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:49:34 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:49:34 AM=>Info:- Count = 1
10/24/2022 8:49:34 AM=>Info:- Count 1
10/24/2022 8:49:34 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:49:34 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:49:34 AM=>Info:- Start SenMail Method
10/24/2022 8:49:34 AM=>UseDefaultCredentials
10/24/2022 8:49:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:49:34 AM=>EnableSsl = true
10/24/2022 8:49:34 AM=>DeliveryMethod
10/24/2022 8:49:34 AM=>Before Send
10/24/2022 8:49: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/24/2022 8:49:43 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:49:43 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:49:43 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:49:43 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:49:44 AM=>Info:- END Mailing Method
10/24/2022 8:49:44 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:49:44 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:49:44 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:49:44 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:49:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:49:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:49:44 AM=>Info - End of callingService Method
10/24/2022 8:51:44 AM=>Info - Check time Elapsed
10/24/2022 8:51:44 AM=>Info - Call callingService Method
10/24/2022 8:51:44 AM=>Info:- Call Both
10/24/2022 8:51:44 AM=>Info:- Start Executing SMS Method
10/24/2022 8:51:44 AM=>Info:- End Executing SMS Method
10/24/2022 8:51:44 AM=>Info:- Start Mailing Method
10/24/2022 8:51:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:51:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:51:44 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:51:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:51:44 AM=>Info:- Count = 1
10/24/2022 8:51:44 AM=>Info:- Count 1
10/24/2022 8:51:44 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:51:44 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:51:44 AM=>Info:- Start SenMail Method
10/24/2022 8:51:44 AM=>UseDefaultCredentials
10/24/2022 8:51:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:51:44 AM=>EnableSsl = true
10/24/2022 8:51:44 AM=>DeliveryMethod
10/24/2022 8:51:44 AM=>Before Send
10/24/2022 8:53:08 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.230.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/24/2022 8:53:08 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:53:08 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:53:08 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:53:08 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:53:08 AM=>Info:- END Mailing Method
10/24/2022 8:53:08 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:53:08 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:53:08 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:53:08 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:53:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:53:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:53:08 AM=>Info - End of callingService Method
10/24/2022 8:55:08 AM=>Info - Check time Elapsed
10/24/2022 8:55:08 AM=>Info - Call callingService Method
10/24/2022 8:55:08 AM=>Info:- Call Both
10/24/2022 8:55:08 AM=>Info:- Start Executing SMS Method
10/24/2022 8:55:08 AM=>Info:- End Executing SMS Method
10/24/2022 8:55:08 AM=>Info:- Start Mailing Method
10/24/2022 8:55:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:55:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:55:08 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:55:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:55:08 AM=>Info:- Count = 1
10/24/2022 8:55:08 AM=>Info:- Count 1
10/24/2022 8:55:08 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:55:08 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:55:08 AM=>Info:- Start SenMail Method
10/24/2022 8:55:08 AM=>UseDefaultCredentials
10/24/2022 8:55:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:55:08 AM=>EnableSsl = true
10/24/2022 8:55:08 AM=>DeliveryMethod
10/24/2022 8:55:08 AM=>Before Send
10/24/2022 8:56: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/24/2022 8:56:11 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:56:11 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:56:11 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:56:11 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:56:12 AM=>Info:- END Mailing Method
10/24/2022 8:56:12 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:56:12 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:56:12 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:56:12 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:56:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:56:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:56:12 AM=>Info - End of callingService Method
10/24/2022 8:58:12 AM=>Info - Check time Elapsed
10/24/2022 8:58:12 AM=>Info - Call callingService Method
10/24/2022 8:58:12 AM=>Info:- Call Both
10/24/2022 8:58:12 AM=>Info:- Start Executing SMS Method
10/24/2022 8:58:12 AM=>Info:- End Executing SMS Method
10/24/2022 8:58:12 AM=>Info:- Start Mailing Method
10/24/2022 8:58:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:58:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:58:12 AM=>Info:- PendingMail.xml file read to list
10/24/2022 8:58:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:58:12 AM=>Info:- Count = 1
10/24/2022 8:58:12 AM=>Info:- Count 1
10/24/2022 8:58:12 AM=>Info - Fetching Data From MAIL XML
10/24/2022 8:58:12 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:58:12 AM=>Info:- Start SenMail Method
10/24/2022 8:58:12 AM=>UseDefaultCredentials
10/24/2022 8:58:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:58:12 AM=>EnableSsl = true
10/24/2022 8:58:12 AM=>DeliveryMethod
10/24/2022 8:58:12 AM=>Before Send
10/24/2022 8:58:33 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/24/2022 8:58:33 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:58:33 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:58:33 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:58:33 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:58:33 AM=>Info:- END Mailing Method
10/24/2022 8:58:33 AM=>Info:- Start Executing Telegram Method
10/24/2022 8:58:33 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:58:33 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:58:33 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:58:33 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:58:33 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:58:33 AM=>Info - End of callingService Method
10/24/2022 9:00:33 AM=>Info - Check time Elapsed
10/24/2022 9:00:33 AM=>Info - Call callingService Method
10/24/2022 9:00:33 AM=>Info:- Call Both
10/24/2022 9:00:33 AM=>Info:- Start Executing SMS Method
10/24/2022 9:00:33 AM=>Info:- End Executing SMS Method
10/24/2022 9:00:33 AM=>Info:- Start Mailing Method
10/24/2022 9:00:33 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:00:33 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:00:33 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:00:33 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:00:33 AM=>Info:- Count = 1
10/24/2022 9:00:33 AM=>Info:- Count 1
10/24/2022 9:00:33 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:00:33 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:00:33 AM=>Info:- Start SenMail Method
10/24/2022 9:00:33 AM=>UseDefaultCredentials
10/24/2022 9:00:33 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:00:33 AM=>EnableSsl = true
10/24/2022 9:00:33 AM=>DeliveryMethod
10/24/2022 9:00:33 AM=>Before Send
10/24/2022 9:01:15 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/24/2022 9:01:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:01:15 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:01:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:01:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:01:15 AM=>Info:- END Mailing Method
10/24/2022 9:01:15 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:01:15 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:01:15 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:01:15 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:01:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:01:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:01:16 AM=>Info - End of callingService Method
10/24/2022 9:03:16 AM=>Info - Check time Elapsed
10/24/2022 9:03:16 AM=>Info - Call callingService Method
10/24/2022 9:03:16 AM=>Info:- Call Both
10/24/2022 9:03:16 AM=>Info:- Start Executing SMS Method
10/24/2022 9:03:16 AM=>Info:- End Executing SMS Method
10/24/2022 9:03:16 AM=>Info:- Start Mailing Method
10/24/2022 9:03:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:03:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:03:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:03:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:03:16 AM=>Info:- Count = 1
10/24/2022 9:03:16 AM=>Info:- Count 1
10/24/2022 9:03:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:03:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:03:16 AM=>Info:- Start SenMail Method
10/24/2022 9:03:16 AM=>UseDefaultCredentials
10/24/2022 9:03:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:03:16 AM=>EnableSsl = true
10/24/2022 9:03:16 AM=>DeliveryMethod
10/24/2022 9:03:16 AM=>Before Send
10/24/2022 9: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/24/2022 9:03:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:03:25 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:03:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:03:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:03:25 AM=>Info:- END Mailing Method
10/24/2022 9:03:25 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:03:25 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:03:25 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:03:25 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:03:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:03:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:03:25 AM=>Info - End of callingService Method
10/24/2022 9:05:25 AM=>Info - Check time Elapsed
10/24/2022 9:05:25 AM=>Info - Call callingService Method
10/24/2022 9:05:25 AM=>Info:- Call Both
10/24/2022 9:05:25 AM=>Info:- Start Executing SMS Method
10/24/2022 9:05:25 AM=>Info:- End Executing SMS Method
10/24/2022 9:05:25 AM=>Info:- Start Mailing Method
10/24/2022 9:05:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:05:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:05:25 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:05:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:05:25 AM=>Info:- Count = 1
10/24/2022 9:05:25 AM=>Info:- Count 1
10/24/2022 9:05:25 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:05:25 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:05:25 AM=>Info:- Start SenMail Method
10/24/2022 9:05:25 AM=>UseDefaultCredentials
10/24/2022 9:05:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:05:25 AM=>EnableSsl = true
10/24/2022 9:05:25 AM=>DeliveryMethod
10/24/2022 9:05:25 AM=>Before Send
10/24/2022 9:05: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/24/2022 9:05:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:05:34 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:05:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:05:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:05:34 AM=>Info:- END Mailing Method
10/24/2022 9:05:34 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:05:34 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:05:34 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:05:34 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:05:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:05:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:05:34 AM=>Info - End of callingService Method
10/24/2022 9:07:34 AM=>Info - Check time Elapsed
10/24/2022 9:07:34 AM=>Info - Call callingService Method
10/24/2022 9:07:35 AM=>Info:- Call Both
10/24/2022 9:07:35 AM=>Info:- Start Executing SMS Method
10/24/2022 9:07:35 AM=>Info:- End Executing SMS Method
10/24/2022 9:07:35 AM=>Info:- Start Mailing Method
10/24/2022 9:07:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:07:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:07:35 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:07:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:07:35 AM=>Info:- Count = 1
10/24/2022 9:07:35 AM=>Info:- Count 1
10/24/2022 9:07:35 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:07:35 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:07:35 AM=>Info:- Start SenMail Method
10/24/2022 9:07:35 AM=>UseDefaultCredentials
10/24/2022 9:07:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:07:35 AM=>EnableSsl = true
10/24/2022 9:07:35 AM=>DeliveryMethod
10/24/2022 9:07:35 AM=>Before Send
10/24/2022 9:07: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/24/2022 9:07:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:07:38 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:07:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:07:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:07:38 AM=>Info:- END Mailing Method
10/24/2022 9:07:38 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:07:38 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:07:38 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:07:38 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:07:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:07:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:07:38 AM=>Info - End of callingService Method
10/24/2022 9:09:38 AM=>Info - Check time Elapsed
10/24/2022 9:09:38 AM=>Info - Call callingService Method
10/24/2022 9:09:38 AM=>Info:- Call Both
10/24/2022 9:09:38 AM=>Info:- Start Executing SMS Method
10/24/2022 9:09:38 AM=>Info:- End Executing SMS Method
10/24/2022 9:09:38 AM=>Info:- Start Mailing Method
10/24/2022 9:09:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:09:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:09:38 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:09:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:09:38 AM=>Info:- Count = 1
10/24/2022 9:09:38 AM=>Info:- Count 1
10/24/2022 9:09:38 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:09:38 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:09:38 AM=>Info:- Start SenMail Method
10/24/2022 9:09:38 AM=>UseDefaultCredentials
10/24/2022 9:09:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:09:38 AM=>EnableSsl = true
10/24/2022 9:09:38 AM=>DeliveryMethod
10/24/2022 9:09:38 AM=>Before Send
10/24/2022 9:09: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/24/2022 9:09:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:09:47 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:09:47 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:09:47 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:09:47 AM=>Info:- END Mailing Method
10/24/2022 9:09:47 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:09:47 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:09:47 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:09:47 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:09:47 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:09:47 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:09:47 AM=>Info - End of callingService Method
10/24/2022 9:11:47 AM=>Info - Check time Elapsed
10/24/2022 9:11:47 AM=>Info - Call callingService Method
10/24/2022 9:11:47 AM=>Info:- Call Both
10/24/2022 9:11:47 AM=>Info:- Start Executing SMS Method
10/24/2022 9:11:47 AM=>Info:- End Executing SMS Method
10/24/2022 9:11:47 AM=>Info:- Start Mailing Method
10/24/2022 9:11:47 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:11:47 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:11:47 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:11:47 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:11:47 AM=>Info:- Count = 1
10/24/2022 9:11:47 AM=>Info:- Count 1
10/24/2022 9:11:47 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:11:47 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:11:47 AM=>Info:- Start SenMail Method
10/24/2022 9:11:47 AM=>UseDefaultCredentials
10/24/2022 9:11:47 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:11:47 AM=>EnableSsl = true
10/24/2022 9:11:47 AM=>DeliveryMethod
10/24/2022 9:11:47 AM=>Before Send
10/24/2022 9:13: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 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/24/2022 9:13:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:13:12 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:13:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:13:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:13:12 AM=>Info:- END Mailing Method
10/24/2022 9:13:12 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:13:12 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:13:12 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:13:12 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:13:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:13:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:13:12 AM=>Info - End of callingService Method
10/24/2022 9:15:12 AM=>Info - Check time Elapsed
10/24/2022 9:15:12 AM=>Info - Call callingService Method
10/24/2022 9:15:12 AM=>Info:- Call Both
10/24/2022 9:15:12 AM=>Info:- Start Executing SMS Method
10/24/2022 9:15:12 AM=>Info:- End Executing SMS Method
10/24/2022 9:15:12 AM=>Info:- Start Mailing Method
10/24/2022 9:15:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:15:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:15:12 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:15:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:15:12 AM=>Info:- Count = 1
10/24/2022 9:15:12 AM=>Info:- Count 1
10/24/2022 9:15:12 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:15:12 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:15:12 AM=>Info:- Start SenMail Method
10/24/2022 9:15:12 AM=>UseDefaultCredentials
10/24/2022 9:15:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:15:12 AM=>EnableSsl = true
10/24/2022 9:15:12 AM=>DeliveryMethod
10/24/2022 9:15:12 AM=>Before Send
10/24/2022 9:15: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/24/2022 9:15:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:15:36 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:15:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:15:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:15:36 AM=>Info:- END Mailing Method
10/24/2022 9:15:36 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:15:36 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:15:36 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:15:36 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:15:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:15:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:15:36 AM=>Info - End of callingService Method
10/24/2022 9:17:36 AM=>Info - Check time Elapsed
10/24/2022 9:17:36 AM=>Info - Call callingService Method
10/24/2022 9:17:36 AM=>Info:- Call Both
10/24/2022 9:17:36 AM=>Info:- Start Executing SMS Method
10/24/2022 9:17:36 AM=>Info:- End Executing SMS Method
10/24/2022 9:17:36 AM=>Info:- Start Mailing Method
10/24/2022 9:17:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:17:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:17:36 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:17:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:17:36 AM=>Info:- Count = 1
10/24/2022 9:17:36 AM=>Info:- Count 1
10/24/2022 9:17:36 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:17:36 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:17:36 AM=>Info:- Start SenMail Method
10/24/2022 9:17:36 AM=>UseDefaultCredentials
10/24/2022 9:17:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:17:36 AM=>EnableSsl = true
10/24/2022 9:17:36 AM=>DeliveryMethod
10/24/2022 9:17:36 AM=>Before Send
10/24/2022 9:17: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/24/2022 9:17:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:17:36 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:17:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:17:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:17:37 AM=>Info:- END Mailing Method
10/24/2022 9:17:37 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:17:37 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:17:37 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:17:37 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:17:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:17:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:17:37 AM=>Info - End of callingService Method
10/24/2022 9:19:37 AM=>Info - Check time Elapsed
10/24/2022 9:19:37 AM=>Info - Call callingService Method
10/24/2022 9:19:37 AM=>Info:- Call Both
10/24/2022 9:19:37 AM=>Info:- Start Executing SMS Method
10/24/2022 9:19:37 AM=>Info:- End Executing SMS Method
10/24/2022 9:19:37 AM=>Info:- Start Mailing Method
10/24/2022 9:19:37 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:19:37 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:19:37 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:19:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:19:37 AM=>Info:- Count = 1
10/24/2022 9:19:37 AM=>Info:- Count 1
10/24/2022 9:19:37 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:19:37 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:19:37 AM=>Info:- Start SenMail Method
10/24/2022 9:19:37 AM=>UseDefaultCredentials
10/24/2022 9:19:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:19:37 AM=>EnableSsl = true
10/24/2022 9:19:37 AM=>DeliveryMethod
10/24/2022 9:19:37 AM=>Before Send
10/24/2022 9:21: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.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/24/2022 9:21:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:21:01 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:21:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:21:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:21:01 AM=>Info:- END Mailing Method
10/24/2022 9:21:01 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:21:01 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:21:01 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:21:01 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:21:01 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:21:01 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:21:01 AM=>Info - End of callingService Method
10/24/2022 9:23:01 AM=>Info - Check time Elapsed
10/24/2022 9:23:01 AM=>Info - Call callingService Method
10/24/2022 9:23:01 AM=>Info:- Call Both
10/24/2022 9:23:01 AM=>Info:- Start Executing SMS Method
10/24/2022 9:23:01 AM=>Info:- End Executing SMS Method
10/24/2022 9:23:01 AM=>Info:- Start Mailing Method
10/24/2022 9:23:01 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:23:01 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:23:01 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:23:01 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:23:01 AM=>Info:- Count = 1
10/24/2022 9:23:01 AM=>Info:- Count 1
10/24/2022 9:23:01 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:23:01 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:23:01 AM=>Info:- Start SenMail Method
10/24/2022 9:23:01 AM=>UseDefaultCredentials
10/24/2022 9:23:01 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:23:01 AM=>EnableSsl = true
10/24/2022 9:23:01 AM=>DeliveryMethod
10/24/2022 9:23:01 AM=>Before Send
10/24/2022 9:23: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/24/2022 9:23:10 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:23:10 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:23:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:23:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:23:11 AM=>Info:- END Mailing Method
10/24/2022 9:23:11 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:23:11 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:23:11 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:23:11 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:23:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:23:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:23:11 AM=>Info - End of callingService Method
10/24/2022 9:25:11 AM=>Info - Check time Elapsed
10/24/2022 9:25:11 AM=>Info - Call callingService Method
10/24/2022 9:25:11 AM=>Info:- Call Both
10/24/2022 9:25:11 AM=>Info:- Start Executing SMS Method
10/24/2022 9:25:11 AM=>Info:- End Executing SMS Method
10/24/2022 9:25:11 AM=>Info:- Start Mailing Method
10/24/2022 9:25:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:25:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:25:11 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:25:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:25:11 AM=>Info:- Count = 1
10/24/2022 9:25:11 AM=>Info:- Count 1
10/24/2022 9:25:11 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:25:11 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:25:11 AM=>Info:- Start SenMail Method
10/24/2022 9:25:11 AM=>UseDefaultCredentials
10/24/2022 9:25:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:25:11 AM=>EnableSsl = true
10/24/2022 9:25:11 AM=>DeliveryMethod
10/24/2022 9:25:11 AM=>Before Send
10/24/2022 9:26: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/24/2022 9:26:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:26:35 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:26:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:26:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:26:35 AM=>Info:- END Mailing Method
10/24/2022 9:26:35 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:26:35 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:26:35 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:26:35 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:26:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:26:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:26:35 AM=>Info - End of callingService Method
10/24/2022 9:28:35 AM=>Info - Check time Elapsed
10/24/2022 9:28:35 AM=>Info - Call callingService Method
10/24/2022 9:28:35 AM=>Info:- Call Both
10/24/2022 9:28:35 AM=>Info:- Start Executing SMS Method
10/24/2022 9:28:35 AM=>Info:- End Executing SMS Method
10/24/2022 9:28:35 AM=>Info:- Start Mailing Method
10/24/2022 9:28:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:28:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:28:35 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:28:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:28:35 AM=>Info:- Count = 1
10/24/2022 9:28:35 AM=>Info:- Count 1
10/24/2022 9:28:35 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:28:35 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:28:35 AM=>Info:- Start SenMail Method
10/24/2022 9:28:35 AM=>UseDefaultCredentials
10/24/2022 9:28:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:28:35 AM=>EnableSsl = true
10/24/2022 9:28:35 AM=>DeliveryMethod
10/24/2022 9:28:35 AM=>Before Send
10/24/2022 9:29: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/24/2022 9:29:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:29:47 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:29:47 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:29:47 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:29:48 AM=>Info:- END Mailing Method
10/24/2022 9:29:48 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:29:48 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:29:48 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:29:48 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:29:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:29:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:29:48 AM=>Info - End of callingService Method
10/24/2022 9:31:48 AM=>Info - Check time Elapsed
10/24/2022 9:31:48 AM=>Info - Call callingService Method
10/24/2022 9:31:48 AM=>Info:- Call Both
10/24/2022 9:31:48 AM=>Info:- Start Executing SMS Method
10/24/2022 9:31:48 AM=>Info:- End Executing SMS Method
10/24/2022 9:31:48 AM=>Info:- Start Mailing Method
10/24/2022 9:31:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:31:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:31:48 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:31:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:31:48 AM=>Info:- Count = 1
10/24/2022 9:31:48 AM=>Info:- Count 1
10/24/2022 9:31:48 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:31:48 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:31:48 AM=>Info:- Start SenMail Method
10/24/2022 9:31:48 AM=>UseDefaultCredentials
10/24/2022 9:31:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:31:48 AM=>EnableSsl = true
10/24/2022 9:31:48 AM=>DeliveryMethod
10/24/2022 9:31:48 AM=>Before Send
10/24/2022 9:33: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.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/24/2022 9:33:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:33:12 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:33:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:33:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:33:12 AM=>Info:- END Mailing Method
10/24/2022 9:33:12 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:33:12 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:33:12 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:33:12 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:33:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:33:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:33:12 AM=>Info - End of callingService Method
10/24/2022 9:35:12 AM=>Info - Check time Elapsed
10/24/2022 9:35:12 AM=>Info - Call callingService Method
10/24/2022 9:35:12 AM=>Info:- Call Both
10/24/2022 9:35:12 AM=>Info:- Start Executing SMS Method
10/24/2022 9:35:12 AM=>Info:- End Executing SMS Method
10/24/2022 9:35:12 AM=>Info:- Start Mailing Method
10/24/2022 9:35:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:35:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:35:12 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:35:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:35:12 AM=>Info:- Count = 1
10/24/2022 9:35:12 AM=>Info:- Count 1
10/24/2022 9:35:12 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:35:12 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:35:12 AM=>Info:- Start SenMail Method
10/24/2022 9:35:12 AM=>UseDefaultCredentials
10/24/2022 9:35:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:35:12 AM=>EnableSsl = true
10/24/2022 9:35:12 AM=>DeliveryMethod
10/24/2022 9:35:12 AM=>Before Send
10/24/2022 9:35: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/24/2022 9:35:21 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:35:21 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:35:21 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:35:21 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:35:22 AM=>Info:- END Mailing Method
10/24/2022 9:35:22 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:35:22 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:35:22 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:35:22 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:35:22 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:35:22 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:35:22 AM=>Info - End of callingService Method
10/24/2022 9:37:22 AM=>Info - Check time Elapsed
10/24/2022 9:37:22 AM=>Info - Call callingService Method
10/24/2022 9:37:22 AM=>Info:- Call Both
10/24/2022 9:37:22 AM=>Info:- Start Executing SMS Method
10/24/2022 9:37:22 AM=>Info:- End Executing SMS Method
10/24/2022 9:37:22 AM=>Info:- Start Mailing Method
10/24/2022 9:37:22 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:37:22 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:37:22 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:37:22 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:37:22 AM=>Info:- Count = 1
10/24/2022 9:37:22 AM=>Info:- Count 1
10/24/2022 9:37:22 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:37:22 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:37:22 AM=>Info:- Start SenMail Method
10/24/2022 9:37:22 AM=>UseDefaultCredentials
10/24/2022 9:37:22 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:37:22 AM=>EnableSsl = true
10/24/2022 9:37:22 AM=>DeliveryMethod
10/24/2022 9:37:22 AM=>Before Send
10/24/2022 9:37: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/24/2022 9:37:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:37:25 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:37:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:37:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:37:25 AM=>Info:- END Mailing Method
10/24/2022 9:37:25 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:37:25 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:37:25 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:37:25 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:37:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:37:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:37:25 AM=>Info - End of callingService Method
10/24/2022 9:39:25 AM=>Info - Check time Elapsed
10/24/2022 9:39:25 AM=>Info - Call callingService Method
10/24/2022 9:39:25 AM=>Info:- Call Both
10/24/2022 9:39:25 AM=>Info:- Start Executing SMS Method
10/24/2022 9:39:25 AM=>Info:- End Executing SMS Method
10/24/2022 9:39:25 AM=>Info:- Start Mailing Method
10/24/2022 9:39:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:39:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:39:25 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:39:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:39:25 AM=>Info:- Count = 1
10/24/2022 9:39:25 AM=>Info:- Count 1
10/24/2022 9:39:25 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:39:25 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:39:25 AM=>Info:- Start SenMail Method
10/24/2022 9:39:25 AM=>UseDefaultCredentials
10/24/2022 9:39:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:39:25 AM=>EnableSsl = true
10/24/2022 9:39:25 AM=>DeliveryMethod
10/24/2022 9:39:25 AM=>Before Send
10/24/2022 9:40: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.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/24/2022 9:40:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:40:49 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:40:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:40:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:40:50 AM=>Info:- END Mailing Method
10/24/2022 9:40:50 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:40:50 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:40:50 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:40:50 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:40:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:40:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:40:50 AM=>Info - End of callingService Method
10/24/2022 9:42:50 AM=>Info - Check time Elapsed
10/24/2022 9:42:50 AM=>Info - Call callingService Method
10/24/2022 9:42:50 AM=>Info:- Call Both
10/24/2022 9:42:50 AM=>Info:- Start Executing SMS Method
10/24/2022 9:42:50 AM=>Info:- End Executing SMS Method
10/24/2022 9:42:50 AM=>Info:- Start Mailing Method
10/24/2022 9:42:50 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:42:50 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:42:50 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:42:50 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:42:50 AM=>Info:- Count = 1
10/24/2022 9:42:50 AM=>Info:- Count 1
10/24/2022 9:42:50 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:42:50 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:42:50 AM=>Info:- Start SenMail Method
10/24/2022 9:42:50 AM=>UseDefaultCredentials
10/24/2022 9:42:50 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:42:50 AM=>EnableSsl = true
10/24/2022 9:42:50 AM=>DeliveryMethod
10/24/2022 9:42:50 AM=>Before Send
10/24/2022 9:44: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.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/24/2022 9:44:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:44:14 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:44:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:44:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:44:14 AM=>Info:- END Mailing Method
10/24/2022 9:44:14 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:44:14 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:44:14 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:44:14 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:44:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:44:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:44:14 AM=>Info - End of callingService Method
10/24/2022 9:46:14 AM=>Info - Check time Elapsed
10/24/2022 9:46:14 AM=>Info - Call callingService Method
10/24/2022 9:46:14 AM=>Info:- Call Both
10/24/2022 9:46:14 AM=>Info:- Start Executing SMS Method
10/24/2022 9:46:14 AM=>Info:- End Executing SMS Method
10/24/2022 9:46:14 AM=>Info:- Start Mailing Method
10/24/2022 9:46:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:46:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:46:14 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:46:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:46:14 AM=>Info:- Count = 1
10/24/2022 9:46:14 AM=>Info:- Count 1
10/24/2022 9:46:14 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:46:14 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:46:14 AM=>Info:- Start SenMail Method
10/24/2022 9:46:14 AM=>UseDefaultCredentials
10/24/2022 9:46:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:46:14 AM=>EnableSsl = true
10/24/2022 9:46:14 AM=>DeliveryMethod
10/24/2022 9:46:14 AM=>Before Send
10/24/2022 9:47: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.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/24/2022 9:47:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:47:38 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:47:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:47:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:47:39 AM=>Info:- END Mailing Method
10/24/2022 9:47:39 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:47:39 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:47:39 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:47:39 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:47:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:47:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:47:39 AM=>Info - End of callingService Method
10/24/2022 9:49:39 AM=>Info - Check time Elapsed
10/24/2022 9:49:39 AM=>Info - Call callingService Method
10/24/2022 9:49:39 AM=>Info:- Call Both
10/24/2022 9:49:39 AM=>Info:- Start Executing SMS Method
10/24/2022 9:49:39 AM=>Info:- End Executing SMS Method
10/24/2022 9:49:39 AM=>Info:- Start Mailing Method
10/24/2022 9:49:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:49:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:49:39 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:49:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:49:39 AM=>Info:- Count = 1
10/24/2022 9:49:39 AM=>Info:- Count 1
10/24/2022 9:49:39 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:49:39 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:49:39 AM=>Info:- Start SenMail Method
10/24/2022 9:49:39 AM=>UseDefaultCredentials
10/24/2022 9:49:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:49:39 AM=>EnableSsl = true
10/24/2022 9:49:39 AM=>DeliveryMethod
10/24/2022 9:49:39 AM=>Before Send
10/24/2022 9:50: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/24/2022 9:50:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:50:24 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:50:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:50:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:50:24 AM=>Info:- END Mailing Method
10/24/2022 9:50:24 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:50:24 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:50:24 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:50:24 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:50:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:50:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:50:24 AM=>Info - End of callingService Method
10/24/2022 9:52:24 AM=>Info - Check time Elapsed
10/24/2022 9:52:24 AM=>Info - Call callingService Method
10/24/2022 9:52:24 AM=>Info:- Call Both
10/24/2022 9:52:24 AM=>Info:- Start Executing SMS Method
10/24/2022 9:52:24 AM=>Info:- End Executing SMS Method
10/24/2022 9:52:24 AM=>Info:- Start Mailing Method
10/24/2022 9:52:24 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:52:24 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:52:24 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:52:24 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:52:24 AM=>Info:- Count = 1
10/24/2022 9:52:24 AM=>Info:- Count 1
10/24/2022 9:52:24 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:52:24 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:52:24 AM=>Info:- Start SenMail Method
10/24/2022 9:52:24 AM=>UseDefaultCredentials
10/24/2022 9:52:24 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:52:24 AM=>EnableSsl = true
10/24/2022 9:52:24 AM=>DeliveryMethod
10/24/2022 9:52:24 AM=>Before Send
10/24/2022 9:52:33 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/24/2022 9:52:33 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:52:33 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:52:33 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:52:33 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:52:33 AM=>Info:- END Mailing Method
10/24/2022 9:52:33 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:52:33 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:52:33 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:52:33 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:52:33 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:52:33 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:52:33 AM=>Info - End of callingService Method
10/24/2022 9:54:33 AM=>Info - Check time Elapsed
10/24/2022 9:54:33 AM=>Info - Call callingService Method
10/24/2022 9:54:33 AM=>Info:- Call Both
10/24/2022 9:54:33 AM=>Info:- Start Executing SMS Method
10/24/2022 9:54:33 AM=>Info:- End Executing SMS Method
10/24/2022 9:54:33 AM=>Info:- Start Mailing Method
10/24/2022 9:54:33 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:54:33 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:54:33 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:54:33 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:54:33 AM=>Info:- Count = 1
10/24/2022 9:54:33 AM=>Info:- Count 1
10/24/2022 9:54:33 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:54:33 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:54:33 AM=>Info:- Start SenMail Method
10/24/2022 9:54:33 AM=>UseDefaultCredentials
10/24/2022 9:54:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:54:34 AM=>EnableSsl = true
10/24/2022 9:54:34 AM=>DeliveryMethod
10/24/2022 9:54:34 AM=>Before Send
10/24/2022 9:55: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 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/24/2022 9:55:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:55:58 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:55:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:55:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:55:58 AM=>Info:- END Mailing Method
10/24/2022 9:55:58 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:55:58 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:55:58 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:55:58 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:55:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:55:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:55:58 AM=>Info - End of callingService Method
10/24/2022 9:57:58 AM=>Info - Check time Elapsed
10/24/2022 9:57:58 AM=>Info - Call callingService Method
10/24/2022 9:57:58 AM=>Info:- Call Both
10/24/2022 9:57:58 AM=>Info:- Start Executing SMS Method
10/24/2022 9:57:58 AM=>Info:- End Executing SMS Method
10/24/2022 9:57:58 AM=>Info:- Start Mailing Method
10/24/2022 9:57:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:57:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:57:58 AM=>Info:- PendingMail.xml file read to list
10/24/2022 9:57:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:57:58 AM=>Info:- Count = 1
10/24/2022 9:57:58 AM=>Info:- Count 1
10/24/2022 9:57:58 AM=>Info - Fetching Data From MAIL XML
10/24/2022 9:57:58 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:57:58 AM=>Info:- Start SenMail Method
10/24/2022 9:57:58 AM=>UseDefaultCredentials
10/24/2022 9:57:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:57:58 AM=>EnableSsl = true
10/24/2022 9:57:58 AM=>DeliveryMethod
10/24/2022 9:57:58 AM=>Before Send
10/24/2022 9:59:22 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.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/24/2022 9:59:22 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:59:22 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:59:22 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:59:22 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:59:22 AM=>Info:- END Mailing Method
10/24/2022 9:59:22 AM=>Info:- Start Executing Telegram Method
10/24/2022 9:59:22 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:59:22 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:59:22 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:59:22 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:59:22 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:59:22 AM=>Info - End of callingService Method
10/24/2022 10:01:22 AM=>Info - Check time Elapsed
10/24/2022 10:01:22 AM=>Info - Call callingService Method
10/24/2022 10:01:22 AM=>Info:- Call Both
10/24/2022 10:01:22 AM=>Info:- Start Executing SMS Method
10/24/2022 10:01:23 AM=>Info:- End Executing SMS Method
10/24/2022 10:01:23 AM=>Info:- Start Mailing Method
10/24/2022 10:01:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:01:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:01:23 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:01:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:01:23 AM=>Info:- Count = 1
10/24/2022 10:01:23 AM=>Info:- Count 1
10/24/2022 10:01:23 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:01:23 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:01:23 AM=>Info:- Start SenMail Method
10/24/2022 10:01:23 AM=>UseDefaultCredentials
10/24/2022 10:01:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:01:23 AM=>EnableSsl = true
10/24/2022 10:01:23 AM=>DeliveryMethod
10/24/2022 10:01:23 AM=>Before Send
10/24/2022 10:01: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/24/2022 10:01:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:01:23 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:01:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:01:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:01:23 AM=>Info:- END Mailing Method
10/24/2022 10:01:23 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:01:23 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:01:23 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:01:23 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:01:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:01:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:01:23 AM=>Info - End of callingService Method
10/24/2022 10:03:23 AM=>Info - Check time Elapsed
10/24/2022 10:03:23 AM=>Info - Call callingService Method
10/24/2022 10:03:23 AM=>Info:- Call Both
10/24/2022 10:03:23 AM=>Info:- Start Executing SMS Method
10/24/2022 10:03:23 AM=>Info:- End Executing SMS Method
10/24/2022 10:03:23 AM=>Info:- Start Mailing Method
10/24/2022 10:03:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:03:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:03:23 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:03:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:03:23 AM=>Info:- Count = 1
10/24/2022 10:03:23 AM=>Info:- Count 1
10/24/2022 10:03:23 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:03:23 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:03:23 AM=>Info:- Start SenMail Method
10/24/2022 10:03:23 AM=>UseDefaultCredentials
10/24/2022 10:03:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:03:23 AM=>EnableSsl = true
10/24/2022 10:03:23 AM=>DeliveryMethod
10/24/2022 10:03:23 AM=>Before Send
10/24/2022 10:03: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/24/2022 10:03:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:03:26 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:03:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:03:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:03:26 AM=>Info:- END Mailing Method
10/24/2022 10:03:26 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:03:26 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:03:26 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:03:26 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:03:26 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:03:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:03:26 AM=>Info - End of callingService Method
10/24/2022 10:05:26 AM=>Info - Check time Elapsed
10/24/2022 10:05:26 AM=>Info - Call callingService Method
10/24/2022 10:05:26 AM=>Info:- Call Both
10/24/2022 10:05:26 AM=>Info:- Start Executing SMS Method
10/24/2022 10:05:26 AM=>Info:- End Executing SMS Method
10/24/2022 10:05:26 AM=>Info:- Start Mailing Method
10/24/2022 10:05:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:05:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:05:26 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:05:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:05:26 AM=>Info:- Count = 1
10/24/2022 10:05:26 AM=>Info:- Count 1
10/24/2022 10:05:26 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:05:26 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:05:26 AM=>Info:- Start SenMail Method
10/24/2022 10:05:26 AM=>UseDefaultCredentials
10/24/2022 10:05:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:05:26 AM=>EnableSsl = true
10/24/2022 10:05:26 AM=>DeliveryMethod
10/24/2022 10:05:26 AM=>Before Send
10/24/2022 10:05: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/24/2022 10:05:29 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:05:29 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:05:29 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:05:29 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:05:30 AM=>Info:- END Mailing Method
10/24/2022 10:05:30 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:05:30 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:05:30 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:05:30 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:05:30 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:05:30 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:05:30 AM=>Info - End of callingService Method
10/24/2022 10:07:30 AM=>Info - Check time Elapsed
10/24/2022 10:07:30 AM=>Info - Call callingService Method
10/24/2022 10:07:30 AM=>Info:- Call Both
10/24/2022 10:07:30 AM=>Info:- Start Executing SMS Method
10/24/2022 10:07:30 AM=>Info:- End Executing SMS Method
10/24/2022 10:07:30 AM=>Info:- Start Mailing Method
10/24/2022 10:07:30 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:07:30 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:07:30 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:07:30 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:07:30 AM=>Info:- Count = 1
10/24/2022 10:07:30 AM=>Info:- Count 1
10/24/2022 10:07:30 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:07:30 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:07:30 AM=>Info:- Start SenMail Method
10/24/2022 10:07:30 AM=>UseDefaultCredentials
10/24/2022 10:07:30 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:07:30 AM=>EnableSsl = true
10/24/2022 10:07:30 AM=>DeliveryMethod
10/24/2022 10:07:30 AM=>Before Send
10/24/2022 10:07: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/24/2022 10:07:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:07:39 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:07:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:07:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:07:39 AM=>Info:- END Mailing Method
10/24/2022 10:07:39 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:07:39 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:07:39 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:07:39 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:07:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:07:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:07:39 AM=>Info - End of callingService Method
10/24/2022 10:09:39 AM=>Info - Check time Elapsed
10/24/2022 10:09:39 AM=>Info - Call callingService Method
10/24/2022 10:09:39 AM=>Info:- Call Both
10/24/2022 10:09:39 AM=>Info:- Start Executing SMS Method
10/24/2022 10:09:39 AM=>Info:- End Executing SMS Method
10/24/2022 10:09:39 AM=>Info:- Start Mailing Method
10/24/2022 10:09:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:09:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:09:39 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:09:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:09:39 AM=>Info:- Count = 1
10/24/2022 10:09:39 AM=>Info:- Count 1
10/24/2022 10:09:39 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:09:39 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:09:39 AM=>Info:- Start SenMail Method
10/24/2022 10:09:39 AM=>UseDefaultCredentials
10/24/2022 10:09:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:09:39 AM=>EnableSsl = true
10/24/2022 10:09:39 AM=>DeliveryMethod
10/24/2022 10:09:39 AM=>Before Send
10/24/2022 10:11: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.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/24/2022 10:11:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:11:03 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:11:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:11:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:11:04 AM=>Info:- END Mailing Method
10/24/2022 10:11:04 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:11:04 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:11:04 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:11:04 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:11:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:11:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:11:04 AM=>Info - End of callingService Method
10/24/2022 10:13:04 AM=>Info - Check time Elapsed
10/24/2022 10:13:04 AM=>Info - Call callingService Method
10/24/2022 10:13:04 AM=>Info:- Call Both
10/24/2022 10:13:04 AM=>Info:- Start Executing SMS Method
10/24/2022 10:13:04 AM=>Info:- End Executing SMS Method
10/24/2022 10:13:04 AM=>Info:- Start Mailing Method
10/24/2022 10:13:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:13:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:13:04 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:13:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:13:04 AM=>Info:- Count = 1
10/24/2022 10:13:04 AM=>Info:- Count 1
10/24/2022 10:13:04 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:13:04 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:13:04 AM=>Info:- Start SenMail Method
10/24/2022 10:13:04 AM=>UseDefaultCredentials
10/24/2022 10:13:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:13:04 AM=>EnableSsl = true
10/24/2022 10:13:04 AM=>DeliveryMethod
10/24/2022 10:13:04 AM=>Before Send
10/24/2022 10:13: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/24/2022 10:13:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:13:04 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:13:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:13:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:13:04 AM=>Info:- END Mailing Method
10/24/2022 10:13:04 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:13:04 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:13:04 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:13:04 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:13:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:13:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:13:04 AM=>Info - End of callingService Method
10/24/2022 10:15:04 AM=>Info - Check time Elapsed
10/24/2022 10:15:04 AM=>Info - Call callingService Method
10/24/2022 10:15:04 AM=>Info:- Call Both
10/24/2022 10:15:04 AM=>Info:- Start Executing SMS Method
10/24/2022 10:15:04 AM=>Info:- End Executing SMS Method
10/24/2022 10:15:04 AM=>Info:- Start Mailing Method
10/24/2022 10:15:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:15:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:15:04 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:15:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:15:04 AM=>Info:- Count = 1
10/24/2022 10:15:04 AM=>Info:- Count 1
10/24/2022 10:15:04 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:15:04 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:15:04 AM=>Info:- Start SenMail Method
10/24/2022 10:15:04 AM=>UseDefaultCredentials
10/24/2022 10:15:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:15:04 AM=>EnableSsl = true
10/24/2022 10:15:04 AM=>DeliveryMethod
10/24/2022 10:15:04 AM=>Before Send
10/24/2022 10:16: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.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/24/2022 10:16:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:16:28 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:16:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:16:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:16:28 AM=>Info:- END Mailing Method
10/24/2022 10:16:28 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:16:28 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:16:28 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:16:28 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:16:28 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:16:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:16:29 AM=>Info - End of callingService Method
10/24/2022 10:18:29 AM=>Info - Check time Elapsed
10/24/2022 10:18:29 AM=>Info - Call callingService Method
10/24/2022 10:18:29 AM=>Info:- Call Both
10/24/2022 10:18:29 AM=>Info:- Start Executing SMS Method
10/24/2022 10:18:29 AM=>Info:- End Executing SMS Method
10/24/2022 10:18:29 AM=>Info:- Start Mailing Method
10/24/2022 10:18:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:18:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:18:29 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:18:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:18:29 AM=>Info:- Count = 1
10/24/2022 10:18:29 AM=>Info:- Count 1
10/24/2022 10:18:29 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:18:29 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:18:29 AM=>Info:- Start SenMail Method
10/24/2022 10:18:29 AM=>UseDefaultCredentials
10/24/2022 10:18:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:18:29 AM=>EnableSsl = true
10/24/2022 10:18:29 AM=>DeliveryMethod
10/24/2022 10:18:29 AM=>Before Send
10/24/2022 10:19:53 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.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/24/2022 10:19:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:19:53 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:19:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:19:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:19:53 AM=>Info:- END Mailing Method
10/24/2022 10:19:53 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:19:53 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:19:53 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:19:53 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:19:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:19:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:19:53 AM=>Info - End of callingService Method
10/24/2022 10:21:53 AM=>Info - Check time Elapsed
10/24/2022 10:21:53 AM=>Info - Call callingService Method
10/24/2022 10:21:53 AM=>Info:- Call Both
10/24/2022 10:21:53 AM=>Info:- Start Executing SMS Method
10/24/2022 10:21:53 AM=>Info:- End Executing SMS Method
10/24/2022 10:21:53 AM=>Info:- Start Mailing Method
10/24/2022 10:21:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:21:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:21:53 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:21:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:21:53 AM=>Info:- Count = 1
10/24/2022 10:21:53 AM=>Info:- Count 1
10/24/2022 10:21:53 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:21:53 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:21:53 AM=>Info:- Start SenMail Method
10/24/2022 10:21:53 AM=>UseDefaultCredentials
10/24/2022 10:21:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:21:53 AM=>EnableSsl = true
10/24/2022 10:21:53 AM=>DeliveryMethod
10/24/2022 10:21:53 AM=>Before Send
10/24/2022 10:23: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.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/24/2022 10:23:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:23:17 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:23:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:23:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:23:18 AM=>Info:- END Mailing Method
10/24/2022 10:23:18 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:23:18 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:23:18 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:23:18 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:23:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:23:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:23:18 AM=>Info - End of callingService Method
10/24/2022 10:25:18 AM=>Info - Check time Elapsed
10/24/2022 10:25:18 AM=>Info - Call callingService Method
10/24/2022 10:25:18 AM=>Info:- Call Both
10/24/2022 10:25:18 AM=>Info:- Start Executing SMS Method
10/24/2022 10:25:18 AM=>Info:- End Executing SMS Method
10/24/2022 10:25:18 AM=>Info:- Start Mailing Method
10/24/2022 10:25:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:25:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:25:18 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:25:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:25:18 AM=>Info:- Count = 1
10/24/2022 10:25:18 AM=>Info:- Count 1
10/24/2022 10:25:18 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:25:18 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:25:18 AM=>Info:- Start SenMail Method
10/24/2022 10:25:18 AM=>UseDefaultCredentials
10/24/2022 10:25:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:25:18 AM=>EnableSsl = true
10/24/2022 10:25:18 AM=>DeliveryMethod
10/24/2022 10:25:18 AM=>Before Send
10/24/2022 10:25: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/24/2022 10:25:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:25:27 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:25:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:25:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:25:27 AM=>Info:- END Mailing Method
10/24/2022 10:25:27 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:25:27 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:25:27 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:25:27 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:25:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:25:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:25:27 AM=>Info - End of callingService Method
10/24/2022 10:27:27 AM=>Info - Check time Elapsed
10/24/2022 10:27:27 AM=>Info - Call callingService Method
10/24/2022 10:27:27 AM=>Info:- Call Both
10/24/2022 10:27:27 AM=>Info:- Start Executing SMS Method
10/24/2022 10:27:27 AM=>Info:- End Executing SMS Method
10/24/2022 10:27:27 AM=>Info:- Start Mailing Method
10/24/2022 10:27:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:27:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:27:27 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:27:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:27:27 AM=>Info:- Count = 1
10/24/2022 10:27:27 AM=>Info:- Count 1
10/24/2022 10:27:27 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:27:27 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:27:27 AM=>Info:- Start SenMail Method
10/24/2022 10:27:27 AM=>UseDefaultCredentials
10/24/2022 10:27:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:27:27 AM=>EnableSsl = true
10/24/2022 10:27:27 AM=>DeliveryMethod
10/24/2022 10:27:27 AM=>Before Send
10/24/2022 10:27:51 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/24/2022 10:27:51 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:27:51 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:27:51 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:27:51 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:27:51 AM=>Info:- END Mailing Method
10/24/2022 10:27:51 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:27:51 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:27:51 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:27:51 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:27:51 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:27:51 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:27:51 AM=>Info - End of callingService Method
10/24/2022 10:29:51 AM=>Info - Check time Elapsed
10/24/2022 10:29:51 AM=>Info - Call callingService Method
10/24/2022 10:29:51 AM=>Info:- Call Both
10/24/2022 10:29:51 AM=>Info:- Start Executing SMS Method
10/24/2022 10:29:51 AM=>Info:- End Executing SMS Method
10/24/2022 10:29:51 AM=>Info:- Start Mailing Method
10/24/2022 10:29:51 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:29:51 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:29:51 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:29:51 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:29:51 AM=>Info:- Count = 1
10/24/2022 10:29:51 AM=>Info:- Count 1
10/24/2022 10:29:51 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:29:51 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:29:51 AM=>Info:- Start SenMail Method
10/24/2022 10:29:51 AM=>UseDefaultCredentials
10/24/2022 10:29:51 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:29:51 AM=>EnableSsl = true
10/24/2022 10:29:51 AM=>DeliveryMethod
10/24/2022 10:29:51 AM=>Before Send
10/24/2022 10:31:16 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/24/2022 10:31:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:31:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:31:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:31:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:31:16 AM=>Info:- END Mailing Method
10/24/2022 10:31:16 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:31:16 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:31:16 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:31:16 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:31:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:31:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:31:16 AM=>Info - End of callingService Method
10/24/2022 10:33:16 AM=>Info - Check time Elapsed
10/24/2022 10:33:16 AM=>Info - Call callingService Method
10/24/2022 10:33:16 AM=>Info:- Call Both
10/24/2022 10:33:16 AM=>Info:- Start Executing SMS Method
10/24/2022 10:33:16 AM=>Info:- End Executing SMS Method
10/24/2022 10:33:16 AM=>Info:- Start Mailing Method
10/24/2022 10:33:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:33:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:33:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:33:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:33:16 AM=>Info:- Count = 1
10/24/2022 10:33:16 AM=>Info:- Count 1
10/24/2022 10:33:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:33:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:33:16 AM=>Info:- Start SenMail Method
10/24/2022 10:33:16 AM=>UseDefaultCredentials
10/24/2022 10:33:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:33:16 AM=>EnableSsl = true
10/24/2022 10:33:16 AM=>DeliveryMethod
10/24/2022 10:33:16 AM=>Before Send
10/24/2022 10:34: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 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/24/2022 10:34:40 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:34:40 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:34:40 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:34:40 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:34:40 AM=>Info:- END Mailing Method
10/24/2022 10:34:40 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:34:40 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:34:40 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:34:40 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:34:40 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:34:40 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:34:40 AM=>Info - End of callingService Method
10/24/2022 10:36:40 AM=>Info - Check time Elapsed
10/24/2022 10:36:40 AM=>Info - Call callingService Method
10/24/2022 10:36:40 AM=>Info:- Call Both
10/24/2022 10:36:40 AM=>Info:- Start Executing SMS Method
10/24/2022 10:36:40 AM=>Info:- End Executing SMS Method
10/24/2022 10:36:40 AM=>Info:- Start Mailing Method
10/24/2022 10:36:40 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:36:40 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:36:40 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:36:40 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:36:40 AM=>Info:- Count = 1
10/24/2022 10:36:40 AM=>Info:- Count 1
10/24/2022 10:36:40 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:36:40 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:36:40 AM=>Info:- Start SenMail Method
10/24/2022 10:36:40 AM=>UseDefaultCredentials
10/24/2022 10:36:40 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:36:40 AM=>EnableSsl = true
10/24/2022 10:36:40 AM=>DeliveryMethod
10/24/2022 10:36:40 AM=>Before Send
10/24/2022 10:38: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 40.97.188.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/24/2022 10:38:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:38:05 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:38:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:38:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:38:05 AM=>Info:- END Mailing Method
10/24/2022 10:38:05 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:38:05 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:38:05 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:38:05 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:38:05 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:38:05 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:38:05 AM=>Info - End of callingService Method
10/24/2022 10:40:05 AM=>Info - Check time Elapsed
10/24/2022 10:40:05 AM=>Info - Call callingService Method
10/24/2022 10:40:05 AM=>Info:- Call Both
10/24/2022 10:40:05 AM=>Info:- Start Executing SMS Method
10/24/2022 10:40:05 AM=>Info:- End Executing SMS Method
10/24/2022 10:40:05 AM=>Info:- Start Mailing Method
10/24/2022 10:40:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:40:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:40:05 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:40:05 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:40:05 AM=>Info:- Count = 1
10/24/2022 10:40:05 AM=>Info:- Count 1
10/24/2022 10:40:05 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:40:05 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:40:05 AM=>Info:- Start SenMail Method
10/24/2022 10:40:05 AM=>UseDefaultCredentials
10/24/2022 10:40:05 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:40:05 AM=>EnableSsl = true
10/24/2022 10:40:05 AM=>DeliveryMethod
10/24/2022 10:40:05 AM=>Before Send
10/24/2022 10:40: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/24/2022 10:40:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:40:14 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:40:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:40:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:40:14 AM=>Info:- END Mailing Method
10/24/2022 10:40:14 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:40:14 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:40:14 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:40:14 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:40:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:40:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:40:14 AM=>Info - End of callingService Method
10/24/2022 10:42:14 AM=>Info - Check time Elapsed
10/24/2022 10:42:14 AM=>Info - Call callingService Method
10/24/2022 10:42:14 AM=>Info:- Call Both
10/24/2022 10:42:14 AM=>Info:- Start Executing SMS Method
10/24/2022 10:42:14 AM=>Info:- End Executing SMS Method
10/24/2022 10:42:14 AM=>Info:- Start Mailing Method
10/24/2022 10:42:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:42:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:42:14 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:42:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:42:14 AM=>Info:- Count = 1
10/24/2022 10:42:14 AM=>Info:- Count 1
10/24/2022 10:42:14 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:42:14 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:42:14 AM=>Info:- Start SenMail Method
10/24/2022 10:42:14 AM=>UseDefaultCredentials
10/24/2022 10:42:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:42:14 AM=>EnableSsl = true
10/24/2022 10:42:14 AM=>DeliveryMethod
10/24/2022 10:42:14 AM=>Before Send
10/24/2022 10:42: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/24/2022 10:42:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:42:17 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:42:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:42:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:42:18 AM=>Info:- END Mailing Method
10/24/2022 10:42:18 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:42:18 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:42:18 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:42:18 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:42:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:42:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:42:18 AM=>Info - End of callingService Method
10/24/2022 10:44:18 AM=>Info - Check time Elapsed
10/24/2022 10:44:18 AM=>Info - Call callingService Method
10/24/2022 10:44:18 AM=>Info:- Call Both
10/24/2022 10:44:18 AM=>Info:- Start Executing SMS Method
10/24/2022 10:44:18 AM=>Info:- End Executing SMS Method
10/24/2022 10:44:18 AM=>Info:- Start Mailing Method
10/24/2022 10:44:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:44:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:44:18 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:44:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:44:18 AM=>Info:- Count = 1
10/24/2022 10:44:18 AM=>Info:- Count 1
10/24/2022 10:44:18 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:44:18 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:44:18 AM=>Info:- Start SenMail Method
10/24/2022 10:44:18 AM=>UseDefaultCredentials
10/24/2022 10:44:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:44:18 AM=>EnableSsl = true
10/24/2022 10:44:18 AM=>DeliveryMethod
10/24/2022 10:44:18 AM=>Before Send
10/24/2022 10:45:42 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/24/2022 10:45:42 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:45:42 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:45:42 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:45:42 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:45:42 AM=>Info:- END Mailing Method
10/24/2022 10:45:42 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:45:42 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:45:42 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:45:42 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:45:42 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:45:42 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:45:42 AM=>Info - End of callingService Method
10/24/2022 10:47:42 AM=>Info - Check time Elapsed
10/24/2022 10:47:42 AM=>Info - Call callingService Method
10/24/2022 10:47:42 AM=>Info:- Call Both
10/24/2022 10:47:42 AM=>Info:- Start Executing SMS Method
10/24/2022 10:47:42 AM=>Info:- End Executing SMS Method
10/24/2022 10:47:42 AM=>Info:- Start Mailing Method
10/24/2022 10:47:42 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:47:42 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:47:42 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:47:42 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:47:42 AM=>Info:- Count = 1
10/24/2022 10:47:42 AM=>Info:- Count 1
10/24/2022 10:47:42 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:47:42 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:47:42 AM=>Info:- Start SenMail Method
10/24/2022 10:47:42 AM=>UseDefaultCredentials
10/24/2022 10:47:42 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:47:42 AM=>EnableSsl = true
10/24/2022 10:47:42 AM=>DeliveryMethod
10/24/2022 10:47:42 AM=>Before Send
10/24/2022 10:48: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/24/2022 10:48:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:48:03 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:48:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:48:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:48:04 AM=>Info:- END Mailing Method
10/24/2022 10:48:04 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:48:04 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:48:04 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:48:04 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:48:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:48:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:48:04 AM=>Info - End of callingService Method
10/24/2022 10:50:04 AM=>Info - Check time Elapsed
10/24/2022 10:50:04 AM=>Info - Call callingService Method
10/24/2022 10:50:04 AM=>Info:- Call Both
10/24/2022 10:50:04 AM=>Info:- Start Executing SMS Method
10/24/2022 10:50:04 AM=>Info:- End Executing SMS Method
10/24/2022 10:50:04 AM=>Info:- Start Mailing Method
10/24/2022 10:50:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:50:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:50:04 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:50:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:50:04 AM=>Info:- Count = 1
10/24/2022 10:50:04 AM=>Info:- Count 1
10/24/2022 10:50:04 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:50:04 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:50:04 AM=>Info:- Start SenMail Method
10/24/2022 10:50:04 AM=>UseDefaultCredentials
10/24/2022 10:50:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:50:04 AM=>EnableSsl = true
10/24/2022 10:50:04 AM=>DeliveryMethod
10/24/2022 10:50:04 AM=>Before Send
10/24/2022 10:50: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/24/2022 10:50:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:50:07 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:50:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:50:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:50:07 AM=>Info:- END Mailing Method
10/24/2022 10:50:07 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:50:07 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:50:07 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:50:07 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:50:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:50:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:50:07 AM=>Info - End of callingService Method
10/24/2022 10:52:07 AM=>Info - Check time Elapsed
10/24/2022 10:52:07 AM=>Info - Call callingService Method
10/24/2022 10:52:07 AM=>Info:- Call Both
10/24/2022 10:52:07 AM=>Info:- Start Executing SMS Method
10/24/2022 10:52:07 AM=>Info:- End Executing SMS Method
10/24/2022 10:52:07 AM=>Info:- Start Mailing Method
10/24/2022 10:52:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:52:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:52:07 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:52:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:52:07 AM=>Info:- Count = 1
10/24/2022 10:52:07 AM=>Info:- Count 1
10/24/2022 10:52:07 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:52:07 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:52:07 AM=>Info:- Start SenMail Method
10/24/2022 10:52:07 AM=>UseDefaultCredentials
10/24/2022 10:52:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:52:07 AM=>EnableSsl = true
10/24/2022 10:52:07 AM=>DeliveryMethod
10/24/2022 10:52:07 AM=>Before Send
10/24/2022 10:53: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/24/2022 10:53:10 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:53:10 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:53:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:53:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:53:10 AM=>Info:- END Mailing Method
10/24/2022 10:53:11 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:53:11 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:53:11 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:53:11 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:53:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:53:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:53:11 AM=>Info - End of callingService Method
10/24/2022 10:55:11 AM=>Info - Check time Elapsed
10/24/2022 10:55:11 AM=>Info - Call callingService Method
10/24/2022 10:55:11 AM=>Info:- Call Both
10/24/2022 10:55:11 AM=>Info:- Start Executing SMS Method
10/24/2022 10:55:11 AM=>Info:- End Executing SMS Method
10/24/2022 10:55:11 AM=>Info:- Start Mailing Method
10/24/2022 10:55:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:55:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:55:11 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:55:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:55:11 AM=>Info:- Count = 1
10/24/2022 10:55:11 AM=>Info:- Count 1
10/24/2022 10:55:11 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:55:11 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:55:11 AM=>Info:- Start SenMail Method
10/24/2022 10:55:11 AM=>UseDefaultCredentials
10/24/2022 10:55:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:55:11 AM=>EnableSsl = true
10/24/2022 10:55:11 AM=>DeliveryMethod
10/24/2022 10:55:11 AM=>Before Send
10/24/2022 10:55: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/24/2022 10:55:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:55:20 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:55:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:55:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:55:20 AM=>Info:- END Mailing Method
10/24/2022 10:55:20 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:55:20 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:55:20 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:55:20 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:55:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:55:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:55:20 AM=>Info - End of callingService Method
10/24/2022 10:57:20 AM=>Info - Check time Elapsed
10/24/2022 10:57:20 AM=>Info - Call callingService Method
10/24/2022 10:57:20 AM=>Info:- Call Both
10/24/2022 10:57:20 AM=>Info:- Start Executing SMS Method
10/24/2022 10:57:20 AM=>Info:- End Executing SMS Method
10/24/2022 10:57:20 AM=>Info:- Start Mailing Method
10/24/2022 10:57:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:57:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:57:20 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:57:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:57:20 AM=>Info:- Count = 1
10/24/2022 10:57:20 AM=>Info:- Count 1
10/24/2022 10:57:20 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:57:20 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:57:20 AM=>Info:- Start SenMail Method
10/24/2022 10:57:20 AM=>UseDefaultCredentials
10/24/2022 10:57:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:57:20 AM=>EnableSsl = true
10/24/2022 10:57:20 AM=>DeliveryMethod
10/24/2022 10:57:20 AM=>Before Send
10/24/2022 10:57: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/24/2022 10:57:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:57:23 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:57:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:57:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:57:23 AM=>Info:- END Mailing Method
10/24/2022 10:57:23 AM=>Info:- Start Executing Telegram Method
10/24/2022 10:57:23 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:57:23 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:57:23 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:57:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:57:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:57:23 AM=>Info - End of callingService Method
10/24/2022 10:59:23 AM=>Info - Check time Elapsed
10/24/2022 10:59:23 AM=>Info - Call callingService Method
10/24/2022 10:59:23 AM=>Info:- Call Both
10/24/2022 10:59:23 AM=>Info:- Start Executing SMS Method
10/24/2022 10:59:23 AM=>Info:- End Executing SMS Method
10/24/2022 10:59:23 AM=>Info:- Start Mailing Method
10/24/2022 10:59:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:59:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:59:23 AM=>Info:- PendingMail.xml file read to list
10/24/2022 10:59:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:59:23 AM=>Info:- Count = 1
10/24/2022 10:59:23 AM=>Info:- Count 1
10/24/2022 10:59:23 AM=>Info - Fetching Data From MAIL XML
10/24/2022 10:59:23 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:59:23 AM=>Info:- Start SenMail Method
10/24/2022 10:59:23 AM=>UseDefaultCredentials
10/24/2022 10:59:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:59:23 AM=>EnableSsl = true
10/24/2022 10:59:23 AM=>DeliveryMethod
10/24/2022 10:59:23 AM=>Before Send
10/24/2022 11:00:47 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.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/24/2022 11:00:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:00:48 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:00:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:00:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:00:48 AM=>Info:- END Mailing Method
10/24/2022 11:00:48 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:00:48 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:00:48 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:00:48 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:00:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:00:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:00:48 AM=>Info - End of callingService Method
10/24/2022 11:02:48 AM=>Info - Check time Elapsed
10/24/2022 11:02:48 AM=>Info - Call callingService Method
10/24/2022 11:02:48 AM=>Info:- Call Both
10/24/2022 11:02:48 AM=>Info:- Start Executing SMS Method
10/24/2022 11:02:48 AM=>Info:- End Executing SMS Method
10/24/2022 11:02:48 AM=>Info:- Start Mailing Method
10/24/2022 11:02:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:02:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:02:48 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:02:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:02:48 AM=>Info:- Count = 1
10/24/2022 11:02:48 AM=>Info:- Count 1
10/24/2022 11:02:48 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:02:48 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:02:48 AM=>Info:- Start SenMail Method
10/24/2022 11:02:48 AM=>UseDefaultCredentials
10/24/2022 11:02:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:02:48 AM=>EnableSsl = true
10/24/2022 11:02:48 AM=>DeliveryMethod
10/24/2022 11:02:48 AM=>Before Send
10/24/2022 11:04: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.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/24/2022 11:04:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:04:12 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:04:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:04:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:04:12 AM=>Info:- END Mailing Method
10/24/2022 11:04:12 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:04:12 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:04:12 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:04:12 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:04:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:04:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:04:12 AM=>Info - End of callingService Method
10/24/2022 11:06:12 AM=>Info - Check time Elapsed
10/24/2022 11:06:12 AM=>Info - Call callingService Method
10/24/2022 11:06:12 AM=>Info:- Call Both
10/24/2022 11:06:12 AM=>Info:- Start Executing SMS Method
10/24/2022 11:06:12 AM=>Info:- End Executing SMS Method
10/24/2022 11:06:12 AM=>Info:- Start Mailing Method
10/24/2022 11:06:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:06:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:06:12 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:06:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:06:12 AM=>Info:- Count = 1
10/24/2022 11:06:12 AM=>Info:- Count 1
10/24/2022 11:06:12 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:06:12 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:06:12 AM=>Info:- Start SenMail Method
10/24/2022 11:06:12 AM=>UseDefaultCredentials
10/24/2022 11:06:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:06:12 AM=>EnableSsl = true
10/24/2022 11:06:12 AM=>DeliveryMethod
10/24/2022 11:06:12 AM=>Before Send
10/24/2022 11:07:36 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/24/2022 11:07:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:07:36 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:07:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:07:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:07:37 AM=>Info:- END Mailing Method
10/24/2022 11:07:37 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:07:37 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:07:37 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:07:37 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:07:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:07:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:07:37 AM=>Info - End of callingService Method
10/24/2022 11:09:37 AM=>Info - Check time Elapsed
10/24/2022 11:09:37 AM=>Info - Call callingService Method
10/24/2022 11:09:37 AM=>Info:- Call Both
10/24/2022 11:09:37 AM=>Info:- Start Executing SMS Method
10/24/2022 11:09:37 AM=>Info:- End Executing SMS Method
10/24/2022 11:09:37 AM=>Info:- Start Mailing Method
10/24/2022 11:09:37 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:09:37 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:09:37 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:09:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:09:37 AM=>Info:- Count = 1
10/24/2022 11:09:37 AM=>Info:- Count 1
10/24/2022 11:09:37 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:09:37 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:09:37 AM=>Info:- Start SenMail Method
10/24/2022 11:09:37 AM=>UseDefaultCredentials
10/24/2022 11:09:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:09:37 AM=>EnableSsl = true
10/24/2022 11:09:37 AM=>DeliveryMethod
10/24/2022 11:09:37 AM=>Before Send
10/24/2022 11:09: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/24/2022 11:09:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:09:46 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:09:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:09:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:09:46 AM=>Info:- END Mailing Method
10/24/2022 11:09:46 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:09:46 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:09:46 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:09:46 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:09:46 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:09:46 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:09:46 AM=>Info - End of callingService Method
10/24/2022 11:11:46 AM=>Info - Check time Elapsed
10/24/2022 11:11:46 AM=>Info - Call callingService Method
10/24/2022 11:11:46 AM=>Info:- Call Both
10/24/2022 11:11:46 AM=>Info:- Start Executing SMS Method
10/24/2022 11:11:46 AM=>Info:- End Executing SMS Method
10/24/2022 11:11:46 AM=>Info:- Start Mailing Method
10/24/2022 11:11:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:11:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:11:46 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:11:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:11:46 AM=>Info:- Count = 1
10/24/2022 11:11:46 AM=>Info:- Count 1
10/24/2022 11:11:46 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:11:46 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:11:46 AM=>Info:- Start SenMail Method
10/24/2022 11:11:46 AM=>UseDefaultCredentials
10/24/2022 11:11:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:11:46 AM=>EnableSsl = true
10/24/2022 11:11:46 AM=>DeliveryMethod
10/24/2022 11:11:46 AM=>Before Send
10/24/2022 11:13: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 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/24/2022 11:13:10 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:13:10 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:13:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:13:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:13:11 AM=>Info:- END Mailing Method
10/24/2022 11:13:11 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:13:11 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:13:11 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:13:11 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:13:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:13:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:13:11 AM=>Info - End of callingService Method
10/24/2022 11:15:11 AM=>Info - Check time Elapsed
10/24/2022 11:15:11 AM=>Info - Call callingService Method
10/24/2022 11:15:11 AM=>Info:- Call Both
10/24/2022 11:15:11 AM=>Info:- Start Executing SMS Method
10/24/2022 11:15:11 AM=>Info:- End Executing SMS Method
10/24/2022 11:15:11 AM=>Info:- Start Mailing Method
10/24/2022 11:15:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:15:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:15:11 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:15:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:15:11 AM=>Info:- Count = 1
10/24/2022 11:15:11 AM=>Info:- Count 1
10/24/2022 11:15:11 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:15:11 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:15:11 AM=>Info:- Start SenMail Method
10/24/2022 11:15:11 AM=>UseDefaultCredentials
10/24/2022 11:15:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:15:11 AM=>EnableSsl = true
10/24/2022 11:15:11 AM=>DeliveryMethod
10/24/2022 11:15:11 AM=>Before Send
10/24/2022 11: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/24/2022 11:15:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:15:14 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:15:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:15:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:15:14 AM=>Info:- END Mailing Method
10/24/2022 11:15:14 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:15:14 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:15:14 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:15:14 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:15:14 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:15:14 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:15:14 AM=>Info - End of callingService Method
10/24/2022 11:17:14 AM=>Info - Check time Elapsed
10/24/2022 11:17:14 AM=>Info - Call callingService Method
10/24/2022 11:17:14 AM=>Info:- Call Both
10/24/2022 11:17:14 AM=>Info:- Start Executing SMS Method
10/24/2022 11:17:14 AM=>Info:- End Executing SMS Method
10/24/2022 11:17:14 AM=>Info:- Start Mailing Method
10/24/2022 11:17:14 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:17:14 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:17:14 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:17:14 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:17:14 AM=>Info:- Count = 1
10/24/2022 11:17:14 AM=>Info:- Count 1
10/24/2022 11:17:14 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:17:14 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:17:14 AM=>Info:- Start SenMail Method
10/24/2022 11:17:14 AM=>UseDefaultCredentials
10/24/2022 11:17:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:17:14 AM=>EnableSsl = true
10/24/2022 11:17:14 AM=>DeliveryMethod
10/24/2022 11:17:14 AM=>Before Send
10/24/2022 11:17: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/24/2022 11:17:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:17:18 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:17:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:17:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:17:18 AM=>Info:- END Mailing Method
10/24/2022 11:17:18 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:17:18 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:17:18 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:17:18 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:17:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:17:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:17:18 AM=>Info - End of callingService Method
10/24/2022 11:19:18 AM=>Info - Check time Elapsed
10/24/2022 11:19:18 AM=>Info - Call callingService Method
10/24/2022 11:19:18 AM=>Info:- Call Both
10/24/2022 11:19:18 AM=>Info:- Start Executing SMS Method
10/24/2022 11:19:18 AM=>Info:- End Executing SMS Method
10/24/2022 11:19:18 AM=>Info:- Start Mailing Method
10/24/2022 11:19:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:19:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:19:18 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:19:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:19:18 AM=>Info:- Count = 1
10/24/2022 11:19:18 AM=>Info:- Count 1
10/24/2022 11:19:18 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:19:18 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:19:18 AM=>Info:- Start SenMail Method
10/24/2022 11:19:18 AM=>UseDefaultCredentials
10/24/2022 11:19:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:19:18 AM=>EnableSsl = true
10/24/2022 11:19:18 AM=>DeliveryMethod
10/24/2022 11:19:18 AM=>Before Send
10/24/2022 11:20: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/24/2022 11:20:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:20:24 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:20:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:20:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:20:24 AM=>Info:- END Mailing Method
10/24/2022 11:20:24 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:20:24 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:20:24 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:20:24 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:20:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:20:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:20:24 AM=>Info - End of callingService Method
10/24/2022 11:22:24 AM=>Info - Check time Elapsed
10/24/2022 11:22:24 AM=>Info - Call callingService Method
10/24/2022 11:22:24 AM=>Info:- Call Both
10/24/2022 11:22:24 AM=>Info:- Start Executing SMS Method
10/24/2022 11:22:24 AM=>Info:- End Executing SMS Method
10/24/2022 11:22:24 AM=>Info:- Start Mailing Method
10/24/2022 11:22:24 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:22:24 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:22:24 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:22:24 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:22:24 AM=>Info:- Count = 1
10/24/2022 11:22:24 AM=>Info:- Count 1
10/24/2022 11:22:24 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:22:24 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:22:24 AM=>Info:- Start SenMail Method
10/24/2022 11:22:24 AM=>UseDefaultCredentials
10/24/2022 11:22:24 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:22:24 AM=>EnableSsl = true
10/24/2022 11:22:24 AM=>DeliveryMethod
10/24/2022 11:22:24 AM=>Before Send
10/24/2022 11:23:48 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/24/2022 11:23:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:23:48 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:23:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:23:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:23:49 AM=>Info:- END Mailing Method
10/24/2022 11:23:49 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:23:49 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:23:49 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:23:49 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:23:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:23:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:23:49 AM=>Info - End of callingService Method
10/24/2022 11:25:49 AM=>Info - Check time Elapsed
10/24/2022 11:25:49 AM=>Info - Call callingService Method
10/24/2022 11:25:49 AM=>Info:- Call Both
10/24/2022 11:25:49 AM=>Info:- Start Executing SMS Method
10/24/2022 11:25:49 AM=>Info:- End Executing SMS Method
10/24/2022 11:25:49 AM=>Info:- Start Mailing Method
10/24/2022 11:25:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:25:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:25:49 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:25:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:25:49 AM=>Info:- Count = 1
10/24/2022 11:25:49 AM=>Info:- Count 1
10/24/2022 11:25:49 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:25:49 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:25:49 AM=>Info:- Start SenMail Method
10/24/2022 11:25:49 AM=>UseDefaultCredentials
10/24/2022 11:25:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:25:49 AM=>EnableSsl = true
10/24/2022 11:25:49 AM=>DeliveryMethod
10/24/2022 11:25:49 AM=>Before Send
10/24/2022 11:27: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.109.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/24/2022 11:27:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:27:13 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:27:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:27:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:27:13 AM=>Info:- END Mailing Method
10/24/2022 11:27:13 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:27:13 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:27:13 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:27:13 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:27:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:27:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:27:13 AM=>Info - End of callingService Method
10/24/2022 11:29:13 AM=>Info - Check time Elapsed
10/24/2022 11:29:13 AM=>Info - Call callingService Method
10/24/2022 11:29:13 AM=>Info:- Call Both
10/24/2022 11:29:13 AM=>Info:- Start Executing SMS Method
10/24/2022 11:29:13 AM=>Info:- End Executing SMS Method
10/24/2022 11:29:13 AM=>Info:- Start Mailing Method
10/24/2022 11:29:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:29:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:29:13 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:29:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:29:13 AM=>Info:- Count = 1
10/24/2022 11:29:13 AM=>Info:- Count 1
10/24/2022 11:29:13 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:29:13 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:29:13 AM=>Info:- Start SenMail Method
10/24/2022 11:29:13 AM=>UseDefaultCredentials
10/24/2022 11:29:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:29:14 AM=>EnableSsl = true
10/24/2022 11:29:14 AM=>DeliveryMethod
10/24/2022 11:29:14 AM=>Before Send
10/24/2022 11:30: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.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/24/2022 11:30:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:30:38 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:30:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:30:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:30:38 AM=>Info:- END Mailing Method
10/24/2022 11:30:38 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:30:38 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:30:38 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:30:38 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:30:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:30:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:30:38 AM=>Info - End of callingService Method
10/24/2022 11:32:38 AM=>Info - Check time Elapsed
10/24/2022 11:32:38 AM=>Info - Call callingService Method
10/24/2022 11:32:38 AM=>Info:- Call Both
10/24/2022 11:32:38 AM=>Info:- Start Executing SMS Method
10/24/2022 11:32:38 AM=>Info:- End Executing SMS Method
10/24/2022 11:32:38 AM=>Info:- Start Mailing Method
10/24/2022 11:32:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:32:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:32:38 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:32:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:32:38 AM=>Info:- Count = 1
10/24/2022 11:32:38 AM=>Info:- Count 1
10/24/2022 11:32:38 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:32:38 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:32:38 AM=>Info:- Start SenMail Method
10/24/2022 11:32:38 AM=>UseDefaultCredentials
10/24/2022 11:32:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:32:38 AM=>EnableSsl = true
10/24/2022 11:32:38 AM=>DeliveryMethod
10/24/2022 11:32:38 AM=>Before Send
10/24/2022 11:32: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/24/2022 11:32:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:32:47 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:32:47 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:32:47 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:32:48 AM=>Info:- END Mailing Method
10/24/2022 11:32:48 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:32:48 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:32:48 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:32:48 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:32:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:32:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:32:48 AM=>Info - End of callingService Method
10/24/2022 11:34:48 AM=>Info - Check time Elapsed
10/24/2022 11:34:48 AM=>Info - Call callingService Method
10/24/2022 11:34:48 AM=>Info:- Call Both
10/24/2022 11:34:48 AM=>Info:- Start Executing SMS Method
10/24/2022 11:34:48 AM=>Info:- End Executing SMS Method
10/24/2022 11:34:48 AM=>Info:- Start Mailing Method
10/24/2022 11:34:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:34:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:34:48 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:34:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:34:48 AM=>Info:- Count = 1
10/24/2022 11:34:48 AM=>Info:- Count 1
10/24/2022 11:34:48 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:34:48 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:34:48 AM=>Info:- Start SenMail Method
10/24/2022 11:34:48 AM=>UseDefaultCredentials
10/24/2022 11:34:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:34:48 AM=>EnableSsl = true
10/24/2022 11:34:48 AM=>DeliveryMethod
10/24/2022 11:34:48 AM=>Before Send
10/24/2022 11:36: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.230.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/24/2022 11:36:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:36:12 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:36:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:36:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:36:12 AM=>Info:- END Mailing Method
10/24/2022 11:36:12 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:36:12 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:36:12 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:36:12 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:36:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:36:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:36:12 AM=>Info - End of callingService Method
10/24/2022 11:38:12 AM=>Info - Check time Elapsed
10/24/2022 11:38:12 AM=>Info - Call callingService Method
10/24/2022 11:38:12 AM=>Info:- Call Both
10/24/2022 11:38:12 AM=>Info:- Start Executing SMS Method
10/24/2022 11:38:12 AM=>Info:- End Executing SMS Method
10/24/2022 11:38:12 AM=>Info:- Start Mailing Method
10/24/2022 11:38:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:38:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:38:12 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:38:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:38:12 AM=>Info:- Count = 1
10/24/2022 11:38:12 AM=>Info:- Count 1
10/24/2022 11:38:12 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:38:12 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:38:12 AM=>Info:- Start SenMail Method
10/24/2022 11:38:12 AM=>UseDefaultCredentials
10/24/2022 11:38:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:38:12 AM=>EnableSsl = true
10/24/2022 11:38:12 AM=>DeliveryMethod
10/24/2022 11:38:12 AM=>Before Send
10/24/2022 11:39:36 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/24/2022 11:39:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:39:36 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:39:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:39:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:39:37 AM=>Info:- END Mailing Method
10/24/2022 11:39:37 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:39:37 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:39:37 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:39:37 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:39:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:39:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:39:37 AM=>Info - End of callingService Method
10/24/2022 11:41:37 AM=>Info - Check time Elapsed
10/24/2022 11:41:37 AM=>Info - Call callingService Method
10/24/2022 11:41:37 AM=>Info:- Call Both
10/24/2022 11:41:37 AM=>Info:- Start Executing SMS Method
10/24/2022 11:41:37 AM=>Info:- End Executing SMS Method
10/24/2022 11:41:37 AM=>Info:- Start Mailing Method
10/24/2022 11:41:37 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:41:37 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:41:37 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:41:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:41:37 AM=>Info:- Count = 1
10/24/2022 11:41:37 AM=>Info:- Count 1
10/24/2022 11:41:37 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:41:37 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:41:37 AM=>Info:- Start SenMail Method
10/24/2022 11:41:37 AM=>UseDefaultCredentials
10/24/2022 11:41:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:41:37 AM=>EnableSsl = true
10/24/2022 11:41:37 AM=>DeliveryMethod
10/24/2022 11:41:37 AM=>Before Send
10/24/2022 11:41: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/24/2022 11:41:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:41:46 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:41:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:41:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:41:46 AM=>Info:- END Mailing Method
10/24/2022 11:41:46 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:41:46 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:41:46 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:41:46 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:41:46 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:41:46 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:41:46 AM=>Info - End of callingService Method
10/24/2022 11:43:46 AM=>Info - Check time Elapsed
10/24/2022 11:43:46 AM=>Info - Call callingService Method
10/24/2022 11:43:46 AM=>Info:- Call Both
10/24/2022 11:43:46 AM=>Info:- Start Executing SMS Method
10/24/2022 11:43:46 AM=>Info:- End Executing SMS Method
10/24/2022 11:43:46 AM=>Info:- Start Mailing Method
10/24/2022 11:43:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:43:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:43:46 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:43:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:43:46 AM=>Info:- Count = 1
10/24/2022 11:43:46 AM=>Info:- Count 1
10/24/2022 11:43:46 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:43:46 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:43:46 AM=>Info:- Start SenMail Method
10/24/2022 11:43:46 AM=>UseDefaultCredentials
10/24/2022 11:43:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:43:46 AM=>EnableSsl = true
10/24/2022 11:43:46 AM=>DeliveryMethod
10/24/2022 11:43:46 AM=>Before Send
10/24/2022 11:44: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/24/2022 11:44:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:44:07 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:44:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:44:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:44:08 AM=>Info:- END Mailing Method
10/24/2022 11:44:08 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:44:08 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:44:08 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:44:08 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:44:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:44:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:44:08 AM=>Info - End of callingService Method
10/24/2022 11:46:08 AM=>Info - Check time Elapsed
10/24/2022 11:46:08 AM=>Info - Call callingService Method
10/24/2022 11:46:08 AM=>Info:- Call Both
10/24/2022 11:46:08 AM=>Info:- Start Executing SMS Method
10/24/2022 11:46:08 AM=>Info:- End Executing SMS Method
10/24/2022 11:46:08 AM=>Info:- Start Mailing Method
10/24/2022 11:46:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:46:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:46:08 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:46:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:46:08 AM=>Info:- Count = 1
10/24/2022 11:46:08 AM=>Info:- Count 1
10/24/2022 11:46:08 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:46:08 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:46:08 AM=>Info:- Start SenMail Method
10/24/2022 11:46:08 AM=>UseDefaultCredentials
10/24/2022 11:46:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:46:08 AM=>EnableSsl = true
10/24/2022 11:46:08 AM=>DeliveryMethod
10/24/2022 11:46:08 AM=>Before Send
10/24/2022 11:47:32 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/24/2022 11:47:32 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:47:32 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:47:32 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:47:32 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:47:32 AM=>Info:- END Mailing Method
10/24/2022 11:47:32 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:47:32 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:47:32 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:47:32 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:47:32 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:47:32 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:47:32 AM=>Info - End of callingService Method
10/24/2022 11:49:32 AM=>Info - Check time Elapsed
10/24/2022 11:49:32 AM=>Info - Call callingService Method
10/24/2022 11:49:32 AM=>Info:- Call Both
10/24/2022 11:49:32 AM=>Info:- Start Executing SMS Method
10/24/2022 11:49:32 AM=>Info:- End Executing SMS Method
10/24/2022 11:49:32 AM=>Info:- Start Mailing Method
10/24/2022 11:49:32 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:49:32 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:49:32 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:49:32 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:49:32 AM=>Info:- Count = 1
10/24/2022 11:49:32 AM=>Info:- Count 1
10/24/2022 11:49:32 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:49:32 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:49:32 AM=>Info:- Start SenMail Method
10/24/2022 11:49:32 AM=>UseDefaultCredentials
10/24/2022 11:49:32 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:49:32 AM=>EnableSsl = true
10/24/2022 11:49:32 AM=>DeliveryMethod
10/24/2022 11:49:32 AM=>Before Send
10/24/2022 11: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/24/2022 11:49:32 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:49:32 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:49:32 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:49:32 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:49:32 AM=>Info:- END Mailing Method
10/24/2022 11:49:32 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:49:32 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:49:32 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:49:32 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:49:32 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:49:32 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:49:32 AM=>Info - End of callingService Method
10/24/2022 11:51:32 AM=>Info - Check time Elapsed
10/24/2022 11:51:32 AM=>Info - Call callingService Method
10/24/2022 11:51:32 AM=>Info:- Call Both
10/24/2022 11:51:32 AM=>Info:- Start Executing SMS Method
10/24/2022 11:51:33 AM=>Info:- End Executing SMS Method
10/24/2022 11:51:33 AM=>Info:- Start Mailing Method
10/24/2022 11:51:33 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:51:33 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:51:33 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:51:33 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:51:33 AM=>Info:- Count = 1
10/24/2022 11:51:33 AM=>Info:- Count 1
10/24/2022 11:51:33 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:51:33 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:51:33 AM=>Info:- Start SenMail Method
10/24/2022 11:51:33 AM=>UseDefaultCredentials
10/24/2022 11:51:33 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:51:33 AM=>EnableSsl = true
10/24/2022 11:51:33 AM=>DeliveryMethod
10/24/2022 11:51:33 AM=>Before Send
10/24/2022 11:52:57 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/24/2022 11:52:57 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:52:57 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:52:57 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:52:57 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:52:57 AM=>Info:- END Mailing Method
10/24/2022 11:52:57 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:52:57 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:52:57 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:52:57 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:52:57 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:52:57 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:52:57 AM=>Info - End of callingService Method
10/24/2022 11:54:57 AM=>Info - Check time Elapsed
10/24/2022 11:54:57 AM=>Info - Call callingService Method
10/24/2022 11:54:57 AM=>Info:- Call Both
10/24/2022 11:54:57 AM=>Info:- Start Executing SMS Method
10/24/2022 11:54:57 AM=>Info:- End Executing SMS Method
10/24/2022 11:54:57 AM=>Info:- Start Mailing Method
10/24/2022 11:54:57 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:54:57 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:54:57 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:54:57 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:54:57 AM=>Info:- Count = 1
10/24/2022 11:54:57 AM=>Info:- Count 1
10/24/2022 11:54:57 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:54:57 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:54:57 AM=>Info:- Start SenMail Method
10/24/2022 11:54:57 AM=>UseDefaultCredentials
10/24/2022 11:54:57 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:54:57 AM=>EnableSsl = true
10/24/2022 11:54:57 AM=>DeliveryMethod
10/24/2022 11:54:57 AM=>Before Send
10/24/2022 11:55: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/24/2022 11:55:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:55:06 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:55:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:55:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:55:06 AM=>Info:- END Mailing Method
10/24/2022 11:55:06 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:55:06 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:55:06 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:55:06 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:55:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:55:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:55:06 AM=>Info - End of callingService Method
10/24/2022 11:57:06 AM=>Info - Check time Elapsed
10/24/2022 11:57:06 AM=>Info - Call callingService Method
10/24/2022 11:57:06 AM=>Info:- Call Both
10/24/2022 11:57:06 AM=>Info:- Start Executing SMS Method
10/24/2022 11:57:06 AM=>Info:- End Executing SMS Method
10/24/2022 11:57:06 AM=>Info:- Start Mailing Method
10/24/2022 11:57:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:57:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:57:06 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:57:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:57:06 AM=>Info:- Count = 1
10/24/2022 11:57:06 AM=>Info:- Count 1
10/24/2022 11:57:06 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:57:06 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:57:06 AM=>Info:- Start SenMail Method
10/24/2022 11:57:06 AM=>UseDefaultCredentials
10/24/2022 11:57:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:57:06 AM=>EnableSsl = true
10/24/2022 11:57:06 AM=>DeliveryMethod
10/24/2022 11:57:06 AM=>Before Send
10/24/2022 11:57:15 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/24/2022 11:57:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:57:16 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:57:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:57:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:57:16 AM=>Info:- END Mailing Method
10/24/2022 11:57:16 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:57:16 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:57:16 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:57:16 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:57:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:57:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:57:16 AM=>Info - End of callingService Method
10/24/2022 11:59:16 AM=>Info - Check time Elapsed
10/24/2022 11:59:16 AM=>Info - Call callingService Method
10/24/2022 11:59:16 AM=>Info:- Call Both
10/24/2022 11:59:16 AM=>Info:- Start Executing SMS Method
10/24/2022 11:59:16 AM=>Info:- End Executing SMS Method
10/24/2022 11:59:16 AM=>Info:- Start Mailing Method
10/24/2022 11:59:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:59:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:59:16 AM=>Info:- PendingMail.xml file read to list
10/24/2022 11:59:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:59:16 AM=>Info:- Count = 1
10/24/2022 11:59:16 AM=>Info:- Count 1
10/24/2022 11:59:16 AM=>Info - Fetching Data From MAIL XML
10/24/2022 11:59:16 AM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:59:16 AM=>Info:- Start SenMail Method
10/24/2022 11:59:16 AM=>UseDefaultCredentials
10/24/2022 11:59:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:59:16 AM=>EnableSsl = true
10/24/2022 11:59:16 AM=>DeliveryMethod
10/24/2022 11:59:16 AM=>Before Send
10/24/2022 11:59: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/24/2022 11:59:19 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:59:19 AM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:59:19 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:59:19 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:59:19 AM=>Info:- END Mailing Method
10/24/2022 11:59:19 AM=>Info:- Start Executing Telegram Method
10/24/2022 11:59:19 AM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:59:19 AM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:59:19 AM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:59:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:59:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:59:19 AM=>Info - End of callingService Method
10/24/2022 12:01:19 PM=>Info - Check time Elapsed
10/24/2022 12:01:19 PM=>Info - Call callingService Method
10/24/2022 12:01:19 PM=>Info:- Call Both
10/24/2022 12:01:19 PM=>Info:- Start Executing SMS Method
10/24/2022 12:01:19 PM=>Info:- End Executing SMS Method
10/24/2022 12:01:19 PM=>Info:- Start Mailing Method
10/24/2022 12:01:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:01:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:01:19 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:01:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:01:19 PM=>Info:- Count = 1
10/24/2022 12:01:19 PM=>Info:- Count 1
10/24/2022 12:01:19 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:01:19 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:01:19 PM=>Info:- Start SenMail Method
10/24/2022 12:01:19 PM=>UseDefaultCredentials
10/24/2022 12:01:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:01:19 PM=>EnableSsl = true
10/24/2022 12:01:19 PM=>DeliveryMethod
10/24/2022 12:01:19 PM=>Before Send
10/24/2022 12:02: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.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/24/2022 12:02:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:02:43 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:02:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:02:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:02:44 PM=>Info:- END Mailing Method
10/24/2022 12:02:44 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:02:44 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:02:44 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:02:44 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:02:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:02:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:02:44 PM=>Info - End of callingService Method
10/24/2022 12:04:44 PM=>Info - Check time Elapsed
10/24/2022 12:04:44 PM=>Info - Call callingService Method
10/24/2022 12:04:44 PM=>Info:- Call Both
10/24/2022 12:04:44 PM=>Info:- Start Executing SMS Method
10/24/2022 12:04:44 PM=>Info:- End Executing SMS Method
10/24/2022 12:04:44 PM=>Info:- Start Mailing Method
10/24/2022 12:04:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:04:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:04:44 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:04:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:04:44 PM=>Info:- Count = 1
10/24/2022 12:04:44 PM=>Info:- Count 1
10/24/2022 12:04:44 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:04:44 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:04:44 PM=>Info:- Start SenMail Method
10/24/2022 12:04:44 PM=>UseDefaultCredentials
10/24/2022 12:04:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:04:44 PM=>EnableSsl = true
10/24/2022 12:04:44 PM=>DeliveryMethod
10/24/2022 12:04:44 PM=>Before Send
10/24/2022 12:06: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.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/24/2022 12:06:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:06:08 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:06:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:06:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:06:08 PM=>Info:- END Mailing Method
10/24/2022 12:06:08 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:06:08 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:06:08 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:06:08 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:06:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:06:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:06:08 PM=>Info - End of callingService Method
10/24/2022 12:08:08 PM=>Info - Check time Elapsed
10/24/2022 12:08:08 PM=>Info - Call callingService Method
10/24/2022 12:08:08 PM=>Info:- Call Both
10/24/2022 12:08:08 PM=>Info:- Start Executing SMS Method
10/24/2022 12:08:08 PM=>Info:- End Executing SMS Method
10/24/2022 12:08:08 PM=>Info:- Start Mailing Method
10/24/2022 12:08:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:08:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:08:08 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:08:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:08:08 PM=>Info:- Count = 1
10/24/2022 12:08:08 PM=>Info:- Count 1
10/24/2022 12:08:08 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:08:08 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:08:08 PM=>Info:- Start SenMail Method
10/24/2022 12:08:08 PM=>UseDefaultCredentials
10/24/2022 12:08:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:08:08 PM=>EnableSsl = true
10/24/2022 12:08:08 PM=>DeliveryMethod
10/24/2022 12:08:08 PM=>Before Send
10/24/2022 12:08:17 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/24/2022 12:08:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:08:17 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:08:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:08:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:08:18 PM=>Info:- END Mailing Method
10/24/2022 12:08:18 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:08:18 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:08:18 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:08:18 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:08:18 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:08:18 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:08:18 PM=>Info - End of callingService Method
10/24/2022 12:10:18 PM=>Info - Check time Elapsed
10/24/2022 12:10:18 PM=>Info - Call callingService Method
10/24/2022 12:10:18 PM=>Info:- Call Both
10/24/2022 12:10:18 PM=>Info:- Start Executing SMS Method
10/24/2022 12:10:18 PM=>Info:- End Executing SMS Method
10/24/2022 12:10:18 PM=>Info:- Start Mailing Method
10/24/2022 12:10:18 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:10:18 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:10:18 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:10:18 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:10:18 PM=>Info:- Count = 1
10/24/2022 12:10:18 PM=>Info:- Count 1
10/24/2022 12:10:18 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:10:18 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:10:18 PM=>Info:- Start SenMail Method
10/24/2022 12:10:18 PM=>UseDefaultCredentials
10/24/2022 12:10:18 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:10:18 PM=>EnableSsl = true
10/24/2022 12:10:18 PM=>DeliveryMethod
10/24/2022 12:10:18 PM=>Before Send
10/24/2022 12:10: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/24/2022 12:10:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:10:21 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:10:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:10:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:10:21 PM=>Info:- END Mailing Method
10/24/2022 12:10:21 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:10:21 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:10:21 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:10:21 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:10:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:10:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:10:21 PM=>Info - End of callingService Method
10/24/2022 12:12:21 PM=>Info - Check time Elapsed
10/24/2022 12:12:21 PM=>Info - Call callingService Method
10/24/2022 12:12:21 PM=>Info:- Call Both
10/24/2022 12:12:21 PM=>Info:- Start Executing SMS Method
10/24/2022 12:12:21 PM=>Info:- End Executing SMS Method
10/24/2022 12:12:21 PM=>Info:- Start Mailing Method
10/24/2022 12:12:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:12:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:12:21 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:12:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:12:21 PM=>Info:- Count = 1
10/24/2022 12:12:21 PM=>Info:- Count 1
10/24/2022 12:12:21 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:12:21 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:12:21 PM=>Info:- Start SenMail Method
10/24/2022 12:12:21 PM=>UseDefaultCredentials
10/24/2022 12:12:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:12:21 PM=>EnableSsl = true
10/24/2022 12:12:21 PM=>DeliveryMethod
10/24/2022 12:12:21 PM=>Before Send
10/24/2022 12:12: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/24/2022 12:12:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:12:24 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:12:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:12:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:12:25 PM=>Info:- END Mailing Method
10/24/2022 12:12:25 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:12:25 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:12:25 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:12:25 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:12:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:12:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:12:25 PM=>Info - End of callingService Method
10/24/2022 12:14:25 PM=>Info - Check time Elapsed
10/24/2022 12:14:25 PM=>Info - Call callingService Method
10/24/2022 12:14:25 PM=>Info:- Call Both
10/24/2022 12:14:25 PM=>Info:- Start Executing SMS Method
10/24/2022 12:14:25 PM=>Info:- End Executing SMS Method
10/24/2022 12:14:25 PM=>Info:- Start Mailing Method
10/24/2022 12:14:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:14:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:14:25 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:14:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:14:25 PM=>Info:- Count = 1
10/24/2022 12:14:25 PM=>Info:- Count 1
10/24/2022 12:14:25 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:14:25 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:14:25 PM=>Info:- Start SenMail Method
10/24/2022 12:14:25 PM=>UseDefaultCredentials
10/24/2022 12:14:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:14:25 PM=>EnableSsl = true
10/24/2022 12:14:25 PM=>DeliveryMethod
10/24/2022 12:14:25 PM=>Before Send
10/24/2022 12:14: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/24/2022 12:14:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:14:28 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:14:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:14:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:14:28 PM=>Info:- END Mailing Method
10/24/2022 12:14:28 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:14:28 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:14:28 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:14:28 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:14:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:14:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:14:28 PM=>Info - End of callingService Method
10/24/2022 12:16:28 PM=>Info - Check time Elapsed
10/24/2022 12:16:28 PM=>Info - Call callingService Method
10/24/2022 12:16:28 PM=>Info:- Call Both
10/24/2022 12:16:28 PM=>Info:- Start Executing SMS Method
10/24/2022 12:16:28 PM=>Info:- End Executing SMS Method
10/24/2022 12:16:28 PM=>Info:- Start Mailing Method
10/24/2022 12:16:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:16:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:16:28 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:16:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:16:28 PM=>Info:- Count = 1
10/24/2022 12:16:28 PM=>Info:- Count 1
10/24/2022 12:16:28 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:16:28 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:16:28 PM=>Info:- Start SenMail Method
10/24/2022 12:16:28 PM=>UseDefaultCredentials
10/24/2022 12:16:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:16:28 PM=>EnableSsl = true
10/24/2022 12:16:28 PM=>DeliveryMethod
10/24/2022 12:16:28 PM=>Before Send
10/24/2022 12:16: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/24/2022 12:16:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:16:37 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:16:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:16:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:16:37 PM=>Info:- END Mailing Method
10/24/2022 12:16:37 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:16:37 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:16:37 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:16:37 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:16:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:16:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:16:37 PM=>Info - End of callingService Method
10/24/2022 12:18:37 PM=>Info - Check time Elapsed
10/24/2022 12:18:37 PM=>Info - Call callingService Method
10/24/2022 12:18:37 PM=>Info:- Call Both
10/24/2022 12:18:37 PM=>Info:- Start Executing SMS Method
10/24/2022 12:18:37 PM=>Info:- End Executing SMS Method
10/24/2022 12:18:37 PM=>Info:- Start Mailing Method
10/24/2022 12:18:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:18:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:18:37 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:18:38 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:18:38 PM=>Info:- Count = 1
10/24/2022 12:18:38 PM=>Info:- Count 1
10/24/2022 12:18:38 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:18:38 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:18:38 PM=>Info:- Start SenMail Method
10/24/2022 12:18:38 PM=>UseDefaultCredentials
10/24/2022 12:18:38 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:18:38 PM=>EnableSsl = true
10/24/2022 12:18:38 PM=>DeliveryMethod
10/24/2022 12:18:38 PM=>Before Send
10/24/2022 12:18: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/24/2022 12:18:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:18:47 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:18:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:18:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:18:47 PM=>Info:- END Mailing Method
10/24/2022 12:18:47 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:18:47 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:18:47 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:18:47 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:18:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:18:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:18:47 PM=>Info - End of callingService Method
10/24/2022 12:20:47 PM=>Info - Check time Elapsed
10/24/2022 12:20:47 PM=>Info - Call callingService Method
10/24/2022 12:20:47 PM=>Info:- Call Both
10/24/2022 12:20:47 PM=>Info:- Start Executing SMS Method
10/24/2022 12:20:47 PM=>Info:- End Executing SMS Method
10/24/2022 12:20:47 PM=>Info:- Start Mailing Method
10/24/2022 12:20:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:20:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:20:47 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:20:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:20:47 PM=>Info:- Count = 1
10/24/2022 12:20:47 PM=>Info:- Count 1
10/24/2022 12:20:47 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:20:47 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:20:47 PM=>Info:- Start SenMail Method
10/24/2022 12:20:47 PM=>UseDefaultCredentials
10/24/2022 12:20:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:20:47 PM=>EnableSsl = true
10/24/2022 12:20:47 PM=>DeliveryMethod
10/24/2022 12:20:47 PM=>Before Send
10/24/2022 12:20: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/24/2022 12:20:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:20:56 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:20:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:20:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:20:56 PM=>Info:- END Mailing Method
10/24/2022 12:20:56 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:20:56 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:20:56 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:20:56 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:20:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:20:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:20:56 PM=>Info - End of callingService Method
10/24/2022 12:22:56 PM=>Info - Check time Elapsed
10/24/2022 12:22:56 PM=>Info - Call callingService Method
10/24/2022 12:22:56 PM=>Info:- Call Both
10/24/2022 12:22:56 PM=>Info:- Start Executing SMS Method
10/24/2022 12:22:56 PM=>Info:- End Executing SMS Method
10/24/2022 12:22:56 PM=>Info:- Start Mailing Method
10/24/2022 12:22:56 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:22:56 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:22:56 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:22:56 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:22:56 PM=>Info:- Count = 1
10/24/2022 12:22:56 PM=>Info:- Count 1
10/24/2022 12:22:56 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:22:56 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:22:56 PM=>Info:- Start SenMail Method
10/24/2022 12:22:56 PM=>UseDefaultCredentials
10/24/2022 12:22:56 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:22:56 PM=>EnableSsl = true
10/24/2022 12:22:56 PM=>DeliveryMethod
10/24/2022 12:22:56 PM=>Before Send
10/24/2022 12:23: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/24/2022 12:23:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:23:05 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:23:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:23:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:23:06 PM=>Info:- END Mailing Method
10/24/2022 12:23:06 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:23:06 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:23:06 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:23:06 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:23:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:23:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:23:06 PM=>Info - End of callingService Method
10/24/2022 12:25:06 PM=>Info - Check time Elapsed
10/24/2022 12:25:06 PM=>Info - Call callingService Method
10/24/2022 12:25:06 PM=>Info:- Call Both
10/24/2022 12:25:06 PM=>Info:- Start Executing SMS Method
10/24/2022 12:25:06 PM=>Info:- End Executing SMS Method
10/24/2022 12:25:06 PM=>Info:- Start Mailing Method
10/24/2022 12:25:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:25:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:25:06 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:25:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:25:06 PM=>Info:- Count = 1
10/24/2022 12:25:06 PM=>Info:- Count 1
10/24/2022 12:25:06 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:25:06 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:25:06 PM=>Info:- Start SenMail Method
10/24/2022 12:25:06 PM=>UseDefaultCredentials
10/24/2022 12:25:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:25:06 PM=>EnableSsl = true
10/24/2022 12:25:06 PM=>DeliveryMethod
10/24/2022 12:25:06 PM=>Before Send
10/24/2022 12:25: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/24/2022 12:25:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:25:51 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:25:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:25:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:25:51 PM=>Info:- END Mailing Method
10/24/2022 12:25:51 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:25:51 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:25:51 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:25:51 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:25:51 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:25:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:25:51 PM=>Info - End of callingService Method
10/24/2022 12:27:51 PM=>Info - Check time Elapsed
10/24/2022 12:27:51 PM=>Info - Call callingService Method
10/24/2022 12:27:51 PM=>Info:- Call Both
10/24/2022 12:27:52 PM=>Info:- Start Executing SMS Method
10/24/2022 12:27:52 PM=>Info:- End Executing SMS Method
10/24/2022 12:27:52 PM=>Info:- Start Mailing Method
10/24/2022 12:27:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:27:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:27:52 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:27:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:27:52 PM=>Info:- Count = 1
10/24/2022 12:27:52 PM=>Info:- Count 1
10/24/2022 12:27:52 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:27:52 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:27:52 PM=>Info:- Start SenMail Method
10/24/2022 12:27:52 PM=>UseDefaultCredentials
10/24/2022 12:27:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:27:52 PM=>EnableSsl = true
10/24/2022 12:27:52 PM=>DeliveryMethod
10/24/2022 12:27:52 PM=>Before Send
10/24/2022 12:27: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/24/2022 12:27:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:27:55 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:27:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:27:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:27:55 PM=>Info:- END Mailing Method
10/24/2022 12:27:55 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:27:55 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:27:55 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:27:55 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:27:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:27:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:27:55 PM=>Info - End of callingService Method
10/24/2022 12:29:55 PM=>Info - Check time Elapsed
10/24/2022 12:29:55 PM=>Info - Call callingService Method
10/24/2022 12:29:55 PM=>Info:- Call Both
10/24/2022 12:29:55 PM=>Info:- Start Executing SMS Method
10/24/2022 12:29:55 PM=>Info:- End Executing SMS Method
10/24/2022 12:29:55 PM=>Info:- Start Mailing Method
10/24/2022 12:29:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:29:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:29:55 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:29:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:29:55 PM=>Info:- Count = 1
10/24/2022 12:29:55 PM=>Info:- Count 1
10/24/2022 12:29:55 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:29:55 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:29:55 PM=>Info:- Start SenMail Method
10/24/2022 12:29:55 PM=>UseDefaultCredentials
10/24/2022 12:29:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:29:55 PM=>EnableSsl = true
10/24/2022 12:29:55 PM=>DeliveryMethod
10/24/2022 12:29:55 PM=>Before Send
10/24/2022 12:30: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/24/2022 12:30:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:30:46 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:30:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:30:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:30:46 PM=>Info:- END Mailing Method
10/24/2022 12:30:46 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:30:46 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:30:46 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:30:46 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:30:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:30:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:30:46 PM=>Info - End of callingService Method
10/24/2022 12:32:46 PM=>Info - Check time Elapsed
10/24/2022 12:32:46 PM=>Info - Call callingService Method
10/24/2022 12:32:46 PM=>Info:- Call Both
10/24/2022 12:32:46 PM=>Info:- Start Executing SMS Method
10/24/2022 12:32:46 PM=>Info:- End Executing SMS Method
10/24/2022 12:32:46 PM=>Info:- Start Mailing Method
10/24/2022 12:32:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:32:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:32:46 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:32:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:32:46 PM=>Info:- Count = 1
10/24/2022 12:32:46 PM=>Info:- Count 1
10/24/2022 12:32:46 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:32:46 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:32:46 PM=>Info:- Start SenMail Method
10/24/2022 12:32:46 PM=>UseDefaultCredentials
10/24/2022 12:32:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:32:46 PM=>EnableSsl = true
10/24/2022 12:32:46 PM=>DeliveryMethod
10/24/2022 12:32:46 PM=>Before Send
10/24/2022 12:34: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.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/24/2022 12:34:11 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:34:11 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:34:11 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:34:11 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:34:11 PM=>Info:- END Mailing Method
10/24/2022 12:34:11 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:34:11 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:34:11 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:34:11 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:34:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:34:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:34:11 PM=>Info - End of callingService Method
10/24/2022 12:36:11 PM=>Info - Check time Elapsed
10/24/2022 12:36:11 PM=>Info - Call callingService Method
10/24/2022 12:36:11 PM=>Info:- Call Both
10/24/2022 12:36:11 PM=>Info:- Start Executing SMS Method
10/24/2022 12:36:11 PM=>Info:- End Executing SMS Method
10/24/2022 12:36:11 PM=>Info:- Start Mailing Method
10/24/2022 12:36:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:36:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:36:11 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:36:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:36:11 PM=>Info:- Count = 1
10/24/2022 12:36:11 PM=>Info:- Count 1
10/24/2022 12:36:11 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:36:11 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:36:11 PM=>Info:- Start SenMail Method
10/24/2022 12:36:11 PM=>UseDefaultCredentials
10/24/2022 12:36:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:36:11 PM=>EnableSsl = true
10/24/2022 12:36:11 PM=>DeliveryMethod
10/24/2022 12:36:11 PM=>Before Send
10/24/2022 12:36: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/24/2022 12:36:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:36:14 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:36:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:36:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:36:14 PM=>Info:- END Mailing Method
10/24/2022 12:36:14 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:36:14 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:36:14 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:36:14 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:36:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:36:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:36:14 PM=>Info - End of callingService Method
10/24/2022 12:38:14 PM=>Info - Check time Elapsed
10/24/2022 12:38:14 PM=>Info - Call callingService Method
10/24/2022 12:38:14 PM=>Info:- Call Both
10/24/2022 12:38:14 PM=>Info:- Start Executing SMS Method
10/24/2022 12:38:14 PM=>Info:- End Executing SMS Method
10/24/2022 12:38:14 PM=>Info:- Start Mailing Method
10/24/2022 12:38:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:38:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:38:14 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:38:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:38:14 PM=>Info:- Count = 1
10/24/2022 12:38:14 PM=>Info:- Count 1
10/24/2022 12:38:14 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:38:14 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:38:14 PM=>Info:- Start SenMail Method
10/24/2022 12:38:14 PM=>UseDefaultCredentials
10/24/2022 12:38:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:38:14 PM=>EnableSsl = true
10/24/2022 12:38:14 PM=>DeliveryMethod
10/24/2022 12:38:14 PM=>Before Send
10/24/2022 12:38: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/24/2022 12:38:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:38:14 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:38:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:38:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:38:15 PM=>Info:- END Mailing Method
10/24/2022 12:38:15 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:38:15 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:38:15 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:38:15 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:38:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:38:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:38:15 PM=>Info - End of callingService Method
10/24/2022 12:40:15 PM=>Info - Check time Elapsed
10/24/2022 12:40:15 PM=>Info - Call callingService Method
10/24/2022 12:40:15 PM=>Info:- Call Both
10/24/2022 12:40:15 PM=>Info:- Start Executing SMS Method
10/24/2022 12:40:15 PM=>Info:- End Executing SMS Method
10/24/2022 12:40:15 PM=>Info:- Start Mailing Method
10/24/2022 12:40:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:40:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:40:15 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:40:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:40:15 PM=>Info:- Count = 1
10/24/2022 12:40:15 PM=>Info:- Count 1
10/24/2022 12:40:15 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:40:15 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:40:15 PM=>Info:- Start SenMail Method
10/24/2022 12:40:15 PM=>UseDefaultCredentials
10/24/2022 12:40:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:40:15 PM=>EnableSsl = true
10/24/2022 12:40:15 PM=>DeliveryMethod
10/24/2022 12:40:15 PM=>Before Send
10/24/2022 12:40: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/24/2022 12:40:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:40:18 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:40:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:40:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:40:18 PM=>Info:- END Mailing Method
10/24/2022 12:40:18 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:40:18 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:40:18 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:40:18 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:40:18 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:40:18 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:40:18 PM=>Info - End of callingService Method
10/24/2022 12:42:18 PM=>Info - Check time Elapsed
10/24/2022 12:42:18 PM=>Info - Call callingService Method
10/24/2022 12:42:18 PM=>Info:- Call Both
10/24/2022 12:42:18 PM=>Info:- Start Executing SMS Method
10/24/2022 12:42:18 PM=>Info:- End Executing SMS Method
10/24/2022 12:42:18 PM=>Info:- Start Mailing Method
10/24/2022 12:42:18 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:42:18 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:42:18 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:42:18 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:42:18 PM=>Info:- Count = 1
10/24/2022 12:42:18 PM=>Info:- Count 1
10/24/2022 12:42:18 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:42:18 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:42:18 PM=>Info:- Start SenMail Method
10/24/2022 12:42:18 PM=>UseDefaultCredentials
10/24/2022 12:42:18 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:42:18 PM=>EnableSsl = true
10/24/2022 12:42:18 PM=>DeliveryMethod
10/24/2022 12:42:18 PM=>Before Send
10/24/2022 12:42: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/24/2022 12:42:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:42:18 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:42:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:42:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:42:18 PM=>Info:- END Mailing Method
10/24/2022 12:42:18 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:42:18 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:42:18 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:42:18 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:42:18 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:42:18 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:42:18 PM=>Info - End of callingService Method
10/24/2022 12:44:18 PM=>Info - Check time Elapsed
10/24/2022 12:44:18 PM=>Info - Call callingService Method
10/24/2022 12:44:19 PM=>Info:- Call Both
10/24/2022 12:44:19 PM=>Info:- Start Executing SMS Method
10/24/2022 12:44:19 PM=>Info:- End Executing SMS Method
10/24/2022 12:44:19 PM=>Info:- Start Mailing Method
10/24/2022 12:44:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:44:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:44:19 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:44:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:44:19 PM=>Info:- Count = 1
10/24/2022 12:44:19 PM=>Info:- Count 1
10/24/2022 12:44:19 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:44:19 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:44:19 PM=>Info:- Start SenMail Method
10/24/2022 12:44:19 PM=>UseDefaultCredentials
10/24/2022 12:44:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:44:19 PM=>EnableSsl = true
10/24/2022 12:44:19 PM=>DeliveryMethod
10/24/2022 12:44:19 PM=>Before Send
10/24/2022 12:45: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.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/24/2022 12:45:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:45:43 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:45:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:45:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:45:43 PM=>Info:- END Mailing Method
10/24/2022 12:45:43 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:45:43 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:45:43 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:45:43 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:45:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:45:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:45:43 PM=>Info - End of callingService Method
10/24/2022 12:47:43 PM=>Info - Check time Elapsed
10/24/2022 12:47:43 PM=>Info - Call callingService Method
10/24/2022 12:47:43 PM=>Info:- Call Both
10/24/2022 12:47:43 PM=>Info:- Start Executing SMS Method
10/24/2022 12:47:43 PM=>Info:- End Executing SMS Method
10/24/2022 12:47:43 PM=>Info:- Start Mailing Method
10/24/2022 12:47:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:47:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:47:43 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:47:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:47:43 PM=>Info:- Count = 1
10/24/2022 12:47:43 PM=>Info:- Count 1
10/24/2022 12:47:43 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:47:43 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:47:43 PM=>Info:- Start SenMail Method
10/24/2022 12:47:43 PM=>UseDefaultCredentials
10/24/2022 12:47:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:47:43 PM=>EnableSsl = true
10/24/2022 12:47:43 PM=>DeliveryMethod
10/24/2022 12:47:43 PM=>Before Send
10/24/2022 12:47: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/24/2022 12:47:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:47:52 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:47:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:47:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:47:52 PM=>Info:- END Mailing Method
10/24/2022 12:47:52 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:47:52 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:47:52 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:47:52 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:47:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:47:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:47:52 PM=>Info - End of callingService Method
10/24/2022 12:49:52 PM=>Info - Check time Elapsed
10/24/2022 12:49:52 PM=>Info - Call callingService Method
10/24/2022 12:49:52 PM=>Info:- Call Both
10/24/2022 12:49:53 PM=>Info:- Start Executing SMS Method
10/24/2022 12:49:53 PM=>Info:- End Executing SMS Method
10/24/2022 12:49:53 PM=>Info:- Start Mailing Method
10/24/2022 12:49:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:49:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:49:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:49:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:49:53 PM=>Info:- Count = 1
10/24/2022 12:49:53 PM=>Info:- Count 1
10/24/2022 12:49:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:49:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:49:53 PM=>Info:- Start SenMail Method
10/24/2022 12:49:53 PM=>UseDefaultCredentials
10/24/2022 12:49:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:49:53 PM=>EnableSsl = true
10/24/2022 12:49:53 PM=>DeliveryMethod
10/24/2022 12:49:53 PM=>Before Send
10/24/2022 12:51: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.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/24/2022 12:51:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:51:17 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:51:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:51:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:51:17 PM=>Info:- END Mailing Method
10/24/2022 12:51:17 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:51:17 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:51:17 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:51:17 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:51:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:51:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:51:17 PM=>Info - End of callingService Method
10/24/2022 12:53:17 PM=>Info - Check time Elapsed
10/24/2022 12:53:17 PM=>Info - Call callingService Method
10/24/2022 12:53:17 PM=>Info:- Call Both
10/24/2022 12:53:17 PM=>Info:- Start Executing SMS Method
10/24/2022 12:53:17 PM=>Info:- End Executing SMS Method
10/24/2022 12:53:17 PM=>Info:- Start Mailing Method
10/24/2022 12:53:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:53:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:53:17 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:53:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:53:17 PM=>Info:- Count = 1
10/24/2022 12:53:17 PM=>Info:- Count 1
10/24/2022 12:53:17 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:53:17 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:53:17 PM=>Info:- Start SenMail Method
10/24/2022 12:53:17 PM=>UseDefaultCredentials
10/24/2022 12:53:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:53:17 PM=>EnableSsl = true
10/24/2022 12:53:17 PM=>DeliveryMethod
10/24/2022 12:53:17 PM=>Before Send
10/24/2022 12:53:17 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/24/2022 12:53:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:53:17 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:53:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:53:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:53:17 PM=>Info:- END Mailing Method
10/24/2022 12:53:17 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:53:17 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:53:17 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:53:17 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:53:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:53:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:53:17 PM=>Info - End of callingService Method
10/24/2022 12:55:17 PM=>Info - Check time Elapsed
10/24/2022 12:55:17 PM=>Info - Call callingService Method
10/24/2022 12:55:17 PM=>Info:- Call Both
10/24/2022 12:55:17 PM=>Info:- Start Executing SMS Method
10/24/2022 12:55:17 PM=>Info:- End Executing SMS Method
10/24/2022 12:55:17 PM=>Info:- Start Mailing Method
10/24/2022 12:55:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:55:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:55:17 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:55:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:55:17 PM=>Info:- Count = 1
10/24/2022 12:55:17 PM=>Info:- Count 1
10/24/2022 12:55:17 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:55:17 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:55:17 PM=>Info:- Start SenMail Method
10/24/2022 12:55:17 PM=>UseDefaultCredentials
10/24/2022 12:55:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:55:17 PM=>EnableSsl = true
10/24/2022 12:55:17 PM=>DeliveryMethod
10/24/2022 12:55:17 PM=>Before Send
10/24/2022 12:55: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/24/2022 12:55:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:55:27 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:55:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:55:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:55:27 PM=>Info:- END Mailing Method
10/24/2022 12:55:27 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:55:27 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:55:27 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:55:27 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:55:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:55:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:55:27 PM=>Info - End of callingService Method
10/24/2022 12:57:27 PM=>Info - Check time Elapsed
10/24/2022 12:57:27 PM=>Info - Call callingService Method
10/24/2022 12:57:27 PM=>Info:- Call Both
10/24/2022 12:57:27 PM=>Info:- Start Executing SMS Method
10/24/2022 12:57:27 PM=>Info:- End Executing SMS Method
10/24/2022 12:57:27 PM=>Info:- Start Mailing Method
10/24/2022 12:57:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:57:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:57:27 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:57:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:57:27 PM=>Info:- Count = 1
10/24/2022 12:57:27 PM=>Info:- Count 1
10/24/2022 12:57:27 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:57:27 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:57:27 PM=>Info:- Start SenMail Method
10/24/2022 12:57:27 PM=>UseDefaultCredentials
10/24/2022 12:57:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:57:27 PM=>EnableSsl = true
10/24/2022 12:57:27 PM=>DeliveryMethod
10/24/2022 12:57:27 PM=>Before Send
10/24/2022 12:57: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/24/2022 12:57:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 12:57:27 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 12:57:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 12:57:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 12:57:27 PM=>Info:- END Mailing Method
10/24/2022 12:57:27 PM=>Info:- Start Executing Telegram Method
10/24/2022 12:57:27 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 12:57:27 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 12:57:27 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 12:57:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 12:57:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 12:57:27 PM=>Info - End of callingService Method
10/24/2022 12:59:27 PM=>Info - Check time Elapsed
10/24/2022 12:59:27 PM=>Info - Call callingService Method
10/24/2022 12:59:27 PM=>Info:- Call Both
10/24/2022 12:59:27 PM=>Info:- Start Executing SMS Method
10/24/2022 12:59:27 PM=>Info:- End Executing SMS Method
10/24/2022 12:59:27 PM=>Info:- Start Mailing Method
10/24/2022 12:59:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 12:59:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 12:59:27 PM=>Info:- PendingMail.xml file read to list
10/24/2022 12:59:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 12:59:27 PM=>Info:- Count = 1
10/24/2022 12:59:27 PM=>Info:- Count 1
10/24/2022 12:59:27 PM=>Info - Fetching Data From MAIL XML
10/24/2022 12:59:27 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 12:59:27 PM=>Info:- Start SenMail Method
10/24/2022 12:59:27 PM=>UseDefaultCredentials
10/24/2022 12:59:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 12:59:27 PM=>EnableSsl = true
10/24/2022 12:59:27 PM=>DeliveryMethod
10/24/2022 12:59:27 PM=>Before Send
10/24/2022 1:00: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.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/24/2022 1:00:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:00:52 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:00:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:00:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:00:52 PM=>Info:- END Mailing Method
10/24/2022 1:00:52 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:00:52 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:00:52 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:00:52 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:00:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:00:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:00:52 PM=>Info - End of callingService Method
10/24/2022 1:02:52 PM=>Info - Check time Elapsed
10/24/2022 1:02:52 PM=>Info - Call callingService Method
10/24/2022 1:02:52 PM=>Info:- Call Both
10/24/2022 1:02:52 PM=>Info:- Start Executing SMS Method
10/24/2022 1:02:52 PM=>Info:- End Executing SMS Method
10/24/2022 1:02:52 PM=>Info:- Start Mailing Method
10/24/2022 1:02:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:02:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:02:52 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:02:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:02:52 PM=>Info:- Count = 1
10/24/2022 1:02:52 PM=>Info:- Count 1
10/24/2022 1:02:52 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:02:52 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:02:52 PM=>Info:- Start SenMail Method
10/24/2022 1:02:52 PM=>UseDefaultCredentials
10/24/2022 1:02:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:02:52 PM=>EnableSsl = true
10/24/2022 1:02:52 PM=>DeliveryMethod
10/24/2022 1:02:52 PM=>Before Send
10/24/2022 1: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/24/2022 1:02:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:02:55 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:02:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:02:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:02:55 PM=>Info:- END Mailing Method
10/24/2022 1:02:55 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:02:55 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:02:55 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:02:55 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:02:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:02:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:02:55 PM=>Info - End of callingService Method
10/24/2022 1:04:55 PM=>Info - Check time Elapsed
10/24/2022 1:04:55 PM=>Info - Call callingService Method
10/24/2022 1:04:55 PM=>Info:- Call Both
10/24/2022 1:04:55 PM=>Info:- Start Executing SMS Method
10/24/2022 1:04:55 PM=>Info:- End Executing SMS Method
10/24/2022 1:04:55 PM=>Info:- Start Mailing Method
10/24/2022 1:04:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:04:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:04:55 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:04:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:04:55 PM=>Info:- Count = 1
10/24/2022 1:04:55 PM=>Info:- Count 1
10/24/2022 1:04:55 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:04:55 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:04:55 PM=>Info:- Start SenMail Method
10/24/2022 1:04:55 PM=>UseDefaultCredentials
10/24/2022 1:04:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:04:55 PM=>EnableSsl = true
10/24/2022 1:04:55 PM=>DeliveryMethod
10/24/2022 1:04:55 PM=>Before Send
10/24/2022 1:04: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/24/2022 1:04:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:04:58 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:04:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:04:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:04:59 PM=>Info:- END Mailing Method
10/24/2022 1:04:59 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:04:59 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:04:59 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:04:59 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:04:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:04:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:04:59 PM=>Info - End of callingService Method
10/24/2022 1:06:59 PM=>Info - Check time Elapsed
10/24/2022 1:06:59 PM=>Info - Call callingService Method
10/24/2022 1:06:59 PM=>Info:- Call Both
10/24/2022 1:06:59 PM=>Info:- Start Executing SMS Method
10/24/2022 1:06:59 PM=>Info:- End Executing SMS Method
10/24/2022 1:06:59 PM=>Info:- Start Mailing Method
10/24/2022 1:06:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:06:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:06:59 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:06:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:06:59 PM=>Info:- Count = 1
10/24/2022 1:06:59 PM=>Info:- Count 1
10/24/2022 1:06:59 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:06:59 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:06:59 PM=>Info:- Start SenMail Method
10/24/2022 1:06:59 PM=>UseDefaultCredentials
10/24/2022 1:06:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:06:59 PM=>EnableSsl = true
10/24/2022 1:06:59 PM=>DeliveryMethod
10/24/2022 1:06:59 PM=>Before Send
10/24/2022 1:08: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/24/2022 1:08:11 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:08:11 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:08:11 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:08:11 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:08:11 PM=>Info:- END Mailing Method
10/24/2022 1:08:11 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:08:11 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:08:11 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:08:11 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:08:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:08:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:08:11 PM=>Info - End of callingService Method
10/24/2022 1:10:11 PM=>Info - Check time Elapsed
10/24/2022 1:10:11 PM=>Info - Call callingService Method
10/24/2022 1:10:11 PM=>Info:- Call Both
10/24/2022 1:10:11 PM=>Info:- Start Executing SMS Method
10/24/2022 1:10:11 PM=>Info:- End Executing SMS Method
10/24/2022 1:10:11 PM=>Info:- Start Mailing Method
10/24/2022 1:10:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:10:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:10:11 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:10:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:10:11 PM=>Info:- Count = 1
10/24/2022 1:10:11 PM=>Info:- Count 1
10/24/2022 1:10:11 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:10:11 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:10:11 PM=>Info:- Start SenMail Method
10/24/2022 1:10:11 PM=>UseDefaultCredentials
10/24/2022 1:10:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:10:11 PM=>EnableSsl = true
10/24/2022 1:10:11 PM=>DeliveryMethod
10/24/2022 1:10:11 PM=>Before Send
10/24/2022 1:11: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/24/2022 1:11:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:11:18 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:11:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:11:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:11:18 PM=>Info:- END Mailing Method
10/24/2022 1:11:18 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:11:18 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:11:18 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:11:18 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:11:18 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:11:18 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:11:18 PM=>Info - End of callingService Method
10/24/2022 1:13:18 PM=>Info - Check time Elapsed
10/24/2022 1:13:18 PM=>Info - Call callingService Method
10/24/2022 1:13:18 PM=>Info:- Call Both
10/24/2022 1:13:18 PM=>Info:- Start Executing SMS Method
10/24/2022 1:13:18 PM=>Info:- End Executing SMS Method
10/24/2022 1:13:18 PM=>Info:- Start Mailing Method
10/24/2022 1:13:18 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:13:18 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:13:18 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:13:18 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:13:18 PM=>Info:- Count = 1
10/24/2022 1:13:18 PM=>Info:- Count 1
10/24/2022 1:13:18 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:13:18 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:13:18 PM=>Info:- Start SenMail Method
10/24/2022 1:13:18 PM=>UseDefaultCredentials
10/24/2022 1:13:18 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:13:18 PM=>EnableSsl = true
10/24/2022 1:13:18 PM=>DeliveryMethod
10/24/2022 1:13:18 PM=>Before Send
10/24/2022 1:13: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/24/2022 1:13:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:13:27 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:13:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:13:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:13:28 PM=>Info:- END Mailing Method
10/24/2022 1:13:28 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:13:28 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:13:28 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:13:28 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:13:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:13:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:13:28 PM=>Info - End of callingService Method
10/24/2022 1:15:28 PM=>Info - Check time Elapsed
10/24/2022 1:15:28 PM=>Info - Call callingService Method
10/24/2022 1:15:28 PM=>Info:- Call Both
10/24/2022 1:15:28 PM=>Info:- Start Executing SMS Method
10/24/2022 1:15:28 PM=>Info:- End Executing SMS Method
10/24/2022 1:15:28 PM=>Info:- Start Mailing Method
10/24/2022 1:15:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:15:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:15:28 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:15:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:15:28 PM=>Info:- Count = 1
10/24/2022 1:15:28 PM=>Info:- Count 1
10/24/2022 1:15:28 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:15:28 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:15:28 PM=>Info:- Start SenMail Method
10/24/2022 1:15:28 PM=>UseDefaultCredentials
10/24/2022 1:15:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:15:28 PM=>EnableSsl = true
10/24/2022 1:15:28 PM=>DeliveryMethod
10/24/2022 1:15:28 PM=>Before Send
10/24/2022 1:15: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/24/2022 1:15:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:15:31 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:15:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:15:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:15:31 PM=>Info:- END Mailing Method
10/24/2022 1:15:31 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:15:31 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:15:31 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:15:31 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:15:31 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:15:31 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:15:31 PM=>Info - End of callingService Method
10/24/2022 1:17:31 PM=>Info - Check time Elapsed
10/24/2022 1:17:31 PM=>Info - Call callingService Method
10/24/2022 1:17:31 PM=>Info:- Call Both
10/24/2022 1:17:31 PM=>Info:- Start Executing SMS Method
10/24/2022 1:17:31 PM=>Info:- End Executing SMS Method
10/24/2022 1:17:31 PM=>Info:- Start Mailing Method
10/24/2022 1:17:31 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:17:31 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:17:31 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:17:31 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:17:31 PM=>Info:- Count = 1
10/24/2022 1:17:31 PM=>Info:- Count 1
10/24/2022 1:17:31 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:17:31 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:17:31 PM=>Info:- Start SenMail Method
10/24/2022 1:17:31 PM=>UseDefaultCredentials
10/24/2022 1:17:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:17:31 PM=>EnableSsl = true
10/24/2022 1:17:31 PM=>DeliveryMethod
10/24/2022 1:17:31 PM=>Before Send
10/24/2022 1:17: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/24/2022 1:17:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:17:40 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:17:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:17:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:17:41 PM=>Info:- END Mailing Method
10/24/2022 1:17:41 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:17:41 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:17:41 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:17:41 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:17:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:17:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:17:41 PM=>Info - End of callingService Method
10/24/2022 1:19:41 PM=>Info - Check time Elapsed
10/24/2022 1:19:41 PM=>Info - Call callingService Method
10/24/2022 1:19:41 PM=>Info:- Call Both
10/24/2022 1:19:41 PM=>Info:- Start Executing SMS Method
10/24/2022 1:19:41 PM=>Info:- End Executing SMS Method
10/24/2022 1:19:41 PM=>Info:- Start Mailing Method
10/24/2022 1:19:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:19:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:19:41 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:19:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:19:41 PM=>Info:- Count = 1
10/24/2022 1:19:41 PM=>Info:- Count 1
10/24/2022 1:19:41 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:19:41 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:19:41 PM=>Info:- Start SenMail Method
10/24/2022 1:19:41 PM=>UseDefaultCredentials
10/24/2022 1:19:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:19:41 PM=>EnableSsl = true
10/24/2022 1:19:41 PM=>DeliveryMethod
10/24/2022 1:19:41 PM=>Before Send
10/24/2022 1:19: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/24/2022 1:19:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:19:50 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:19:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:19:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:19:50 PM=>Info:- END Mailing Method
10/24/2022 1:19:50 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:19:50 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:19:50 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:19:50 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:19:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:19:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:19:50 PM=>Info - End of callingService Method
10/24/2022 1:21:50 PM=>Info - Check time Elapsed
10/24/2022 1:21:50 PM=>Info - Call callingService Method
10/24/2022 1:21:50 PM=>Info:- Call Both
10/24/2022 1:21:50 PM=>Info:- Start Executing SMS Method
10/24/2022 1:21:50 PM=>Info:- End Executing SMS Method
10/24/2022 1:21:50 PM=>Info:- Start Mailing Method
10/24/2022 1:21:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:21:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:21:50 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:21:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:21:50 PM=>Info:- Count = 1
10/24/2022 1:21:50 PM=>Info:- Count 1
10/24/2022 1:21:50 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:21:50 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:21:50 PM=>Info:- Start SenMail Method
10/24/2022 1:21:50 PM=>UseDefaultCredentials
10/24/2022 1:21:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:21:50 PM=>EnableSsl = true
10/24/2022 1:21:50 PM=>DeliveryMethod
10/24/2022 1:21:50 PM=>Before Send
10/24/2022 1:21: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/24/2022 1:21:59 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:21:59 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:21:59 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:21:59 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:21:59 PM=>Info:- END Mailing Method
10/24/2022 1:21:59 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:21:59 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:21:59 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:21:59 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:21:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:21:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:21:59 PM=>Info - End of callingService Method
10/24/2022 1:23:59 PM=>Info - Check time Elapsed
10/24/2022 1:23:59 PM=>Info - Call callingService Method
10/24/2022 1:23:59 PM=>Info:- Call Both
10/24/2022 1:23:59 PM=>Info:- Start Executing SMS Method
10/24/2022 1:23:59 PM=>Info:- End Executing SMS Method
10/24/2022 1:23:59 PM=>Info:- Start Mailing Method
10/24/2022 1:23:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:23:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:23:59 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:23:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:23:59 PM=>Info:- Count = 1
10/24/2022 1:23:59 PM=>Info:- Count 1
10/24/2022 1:23:59 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:23:59 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:23:59 PM=>Info:- Start SenMail Method
10/24/2022 1:23:59 PM=>UseDefaultCredentials
10/24/2022 1:23:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:23:59 PM=>EnableSsl = true
10/24/2022 1:23:59 PM=>DeliveryMethod
10/24/2022 1:23:59 PM=>Before Send
10/24/2022 1:24:09 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/24/2022 1:24:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:24:09 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:24:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:24:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:24:09 PM=>Info:- END Mailing Method
10/24/2022 1:24:09 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:24:09 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:24:09 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:24:09 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:24:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:24:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:24:09 PM=>Info - End of callingService Method
10/24/2022 1:26:09 PM=>Info - Check time Elapsed
10/24/2022 1:26:09 PM=>Info - Call callingService Method
10/24/2022 1:26:09 PM=>Info:- Call Both
10/24/2022 1:26:09 PM=>Info:- Start Executing SMS Method
10/24/2022 1:26:09 PM=>Info:- End Executing SMS Method
10/24/2022 1:26:09 PM=>Info:- Start Mailing Method
10/24/2022 1:26:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:26:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:26:09 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:26:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:26:09 PM=>Info:- Count = 1
10/24/2022 1:26:09 PM=>Info:- Count 1
10/24/2022 1:26:09 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:26:09 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:26:09 PM=>Info:- Start SenMail Method
10/24/2022 1:26:09 PM=>UseDefaultCredentials
10/24/2022 1:26:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:26:09 PM=>EnableSsl = true
10/24/2022 1:26:09 PM=>DeliveryMethod
10/24/2022 1:26:09 PM=>Before Send
10/24/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/24/2022 1:26:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:26:12 PM=>(SenMail)Failure sending CC mail ID :
10/24/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/24/2022 1:26:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:26:12 PM=>Info:- END Mailing Method
10/24/2022 1:26:12 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:26:12 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:26:12 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:26:12 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:26:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:26:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:26:12 PM=>Info - End of callingService Method
10/24/2022 1:28:12 PM=>Info - Check time Elapsed
10/24/2022 1:28:12 PM=>Info - Call callingService Method
10/24/2022 1:28:12 PM=>Info:- Call Both
10/24/2022 1:28:12 PM=>Info:- Start Executing SMS Method
10/24/2022 1:28:12 PM=>Info:- End Executing SMS Method
10/24/2022 1:28:12 PM=>Info:- Start Mailing Method
10/24/2022 1:28:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:28:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:28:12 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:28:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:28:12 PM=>Info:- Count = 1
10/24/2022 1:28:12 PM=>Info:- Count 1
10/24/2022 1:28:12 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:28:12 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:28:12 PM=>Info:- Start SenMail Method
10/24/2022 1:28:12 PM=>UseDefaultCredentials
10/24/2022 1:28:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:28:12 PM=>EnableSsl = true
10/24/2022 1:28:12 PM=>DeliveryMethod
10/24/2022 1:28:12 PM=>Before Send
10/24/2022 1:28: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/24/2022 1:28:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:28:21 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:28:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:28:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:28:22 PM=>Info:- END Mailing Method
10/24/2022 1:28:22 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:28:22 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:28:22 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:28:22 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:28:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:28:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:28:22 PM=>Info - End of callingService Method
10/24/2022 1:30:22 PM=>Info - Check time Elapsed
10/24/2022 1:30:22 PM=>Info - Call callingService Method
10/24/2022 1:30:22 PM=>Info:- Call Both
10/24/2022 1:30:22 PM=>Info:- Start Executing SMS Method
10/24/2022 1:30:22 PM=>Info:- End Executing SMS Method
10/24/2022 1:30:22 PM=>Info:- Start Mailing Method
10/24/2022 1:30:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:30:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:30:22 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:30:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:30:22 PM=>Info:- Count = 1
10/24/2022 1:30:22 PM=>Info:- Count 1
10/24/2022 1:30:22 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:30:22 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:30:22 PM=>Info:- Start SenMail Method
10/24/2022 1:30:22 PM=>UseDefaultCredentials
10/24/2022 1:30:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:30:22 PM=>EnableSsl = true
10/24/2022 1:30:22 PM=>DeliveryMethod
10/24/2022 1:30:22 PM=>Before Send
10/24/2022 1:30: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/24/2022 1:30:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:30:31 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:30:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:30:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:30:31 PM=>Info:- END Mailing Method
10/24/2022 1:30:31 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:30:31 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:30:31 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:30:31 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:30:31 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:30:31 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:30:31 PM=>Info - End of callingService Method
10/24/2022 1:32:31 PM=>Info - Check time Elapsed
10/24/2022 1:32:31 PM=>Info - Call callingService Method
10/24/2022 1:32:31 PM=>Info:- Call Both
10/24/2022 1:32:31 PM=>Info:- Start Executing SMS Method
10/24/2022 1:32:31 PM=>Info:- End Executing SMS Method
10/24/2022 1:32:31 PM=>Info:- Start Mailing Method
10/24/2022 1:32:31 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:32:31 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:32:31 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:32:31 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:32:31 PM=>Info:- Count = 1
10/24/2022 1:32:31 PM=>Info:- Count 1
10/24/2022 1:32:31 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:32:31 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:32:31 PM=>Info:- Start SenMail Method
10/24/2022 1:32:31 PM=>UseDefaultCredentials
10/24/2022 1:32:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:32:31 PM=>EnableSsl = true
10/24/2022 1:32:31 PM=>DeliveryMethod
10/24/2022 1:32:31 PM=>Before Send
10/24/2022 1:32: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/24/2022 1:32:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:32:34 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:32:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:32:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:32:35 PM=>Info:- END Mailing Method
10/24/2022 1:32:35 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:32:35 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:32:35 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:32:35 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:32:35 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:32:35 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:32:35 PM=>Info - End of callingService Method
10/24/2022 1:34:35 PM=>Info - Check time Elapsed
10/24/2022 1:34:35 PM=>Info - Call callingService Method
10/24/2022 1:34:35 PM=>Info:- Call Both
10/24/2022 1:34:35 PM=>Info:- Start Executing SMS Method
10/24/2022 1:34:35 PM=>Info:- End Executing SMS Method
10/24/2022 1:34:35 PM=>Info:- Start Mailing Method
10/24/2022 1:34:35 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:34:35 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:34:35 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:34:35 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:34:35 PM=>Info:- Count = 1
10/24/2022 1:34:35 PM=>Info:- Count 1
10/24/2022 1:34:35 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:34:35 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:34:35 PM=>Info:- Start SenMail Method
10/24/2022 1:34:35 PM=>UseDefaultCredentials
10/24/2022 1:34:35 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:34:35 PM=>EnableSsl = true
10/24/2022 1:34:35 PM=>DeliveryMethod
10/24/2022 1:34:35 PM=>Before Send
10/24/2022 1:35: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/24/2022 1:35:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:35:26 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:35:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:35:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:35:26 PM=>Info:- END Mailing Method
10/24/2022 1:35:26 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:35:26 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:35:26 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:35:26 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:35:26 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:35:26 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:35:26 PM=>Info - End of callingService Method
10/24/2022 1:37:26 PM=>Info - Check time Elapsed
10/24/2022 1:37:26 PM=>Info - Call callingService Method
10/24/2022 1:37:26 PM=>Info:- Call Both
10/24/2022 1:37:26 PM=>Info:- Start Executing SMS Method
10/24/2022 1:37:26 PM=>Info:- End Executing SMS Method
10/24/2022 1:37:26 PM=>Info:- Start Mailing Method
10/24/2022 1:37:26 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:37:26 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:37:26 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:37:26 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:37:26 PM=>Info:- Count = 1
10/24/2022 1:37:26 PM=>Info:- Count 1
10/24/2022 1:37:26 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:37:26 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:37:26 PM=>Info:- Start SenMail Method
10/24/2022 1:37:26 PM=>UseDefaultCredentials
10/24/2022 1:37:26 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:37:26 PM=>EnableSsl = true
10/24/2022 1:37:26 PM=>DeliveryMethod
10/24/2022 1:37:26 PM=>Before Send
10/24/2022 1:38: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.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/24/2022 1:38:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:38:50 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:38:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:38:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:38:51 PM=>Info:- END Mailing Method
10/24/2022 1:38:51 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:38:51 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:38:51 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:38:51 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:38:51 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:38:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:38:51 PM=>Info - End of callingService Method
10/24/2022 1:40:51 PM=>Info - Check time Elapsed
10/24/2022 1:40:51 PM=>Info - Call callingService Method
10/24/2022 1:40:51 PM=>Info:- Call Both
10/24/2022 1:40:51 PM=>Info:- Start Executing SMS Method
10/24/2022 1:40:51 PM=>Info:- End Executing SMS Method
10/24/2022 1:40:51 PM=>Info:- Start Mailing Method
10/24/2022 1:40:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:40:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:40:51 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:40:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:40:51 PM=>Info:- Count = 1
10/24/2022 1:40:51 PM=>Info:- Count 1
10/24/2022 1:40:51 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:40:51 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:40:51 PM=>Info:- Start SenMail Method
10/24/2022 1:40:51 PM=>UseDefaultCredentials
10/24/2022 1:40:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:40:51 PM=>EnableSsl = true
10/24/2022 1:40:51 PM=>DeliveryMethod
10/24/2022 1:40:51 PM=>Before Send
10/24/2022 1:40: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/24/2022 1:40:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:40:54 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:40:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:40:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:40:54 PM=>Info:- END Mailing Method
10/24/2022 1:40:54 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:40:54 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:40:54 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:40:54 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:40:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:40:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:40:54 PM=>Info - End of callingService Method
10/24/2022 1:42:54 PM=>Info - Check time Elapsed
10/24/2022 1:42:54 PM=>Info - Call callingService Method
10/24/2022 1:42:54 PM=>Info:- Call Both
10/24/2022 1:42:54 PM=>Info:- Start Executing SMS Method
10/24/2022 1:42:54 PM=>Info:- End Executing SMS Method
10/24/2022 1:42:54 PM=>Info:- Start Mailing Method
10/24/2022 1:42:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:42:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:42:54 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:42:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:42:54 PM=>Info:- Count = 1
10/24/2022 1:42:54 PM=>Info:- Count 1
10/24/2022 1:42:54 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:42:54 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:42:54 PM=>Info:- Start SenMail Method
10/24/2022 1:42:54 PM=>UseDefaultCredentials
10/24/2022 1:42:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:42:54 PM=>EnableSsl = true
10/24/2022 1:42:54 PM=>DeliveryMethod
10/24/2022 1:42:54 PM=>Before Send
10/24/2022 1:42: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/24/2022 1:42:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:42:57 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:42:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:42:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:42:58 PM=>Info:- END Mailing Method
10/24/2022 1:42:58 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:42:58 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:42:58 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:42:58 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:42:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:42:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:42:58 PM=>Info - End of callingService Method
10/24/2022 1:44:58 PM=>Info - Check time Elapsed
10/24/2022 1:44:58 PM=>Info - Call callingService Method
10/24/2022 1:44:58 PM=>Info:- Call Both
10/24/2022 1:44:58 PM=>Info:- Start Executing SMS Method
10/24/2022 1:44:58 PM=>Info:- End Executing SMS Method
10/24/2022 1:44:58 PM=>Info:- Start Mailing Method
10/24/2022 1:44:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:44:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:44:58 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:44:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:44:58 PM=>Info:- Count = 1
10/24/2022 1:44:58 PM=>Info:- Count 1
10/24/2022 1:44:58 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:44:58 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:44:58 PM=>Info:- Start SenMail Method
10/24/2022 1:44:58 PM=>UseDefaultCredentials
10/24/2022 1:44:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:44:58 PM=>EnableSsl = true
10/24/2022 1:44:58 PM=>DeliveryMethod
10/24/2022 1:44:58 PM=>Before Send
10/24/2022 1:46: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.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/24/2022 1:46:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:46:22 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:46:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:46:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:46:22 PM=>Info:- END Mailing Method
10/24/2022 1:46:22 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:46:22 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:46:22 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:46:22 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:46:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:46:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:46:22 PM=>Info - End of callingService Method
10/24/2022 1:48:22 PM=>Info - Check time Elapsed
10/24/2022 1:48:22 PM=>Info - Call callingService Method
10/24/2022 1:48:22 PM=>Info:- Call Both
10/24/2022 1:48:22 PM=>Info:- Start Executing SMS Method
10/24/2022 1:48:22 PM=>Info:- End Executing SMS Method
10/24/2022 1:48:22 PM=>Info:- Start Mailing Method
10/24/2022 1:48:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:48:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:48:22 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:48:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:48:22 PM=>Info:- Count = 1
10/24/2022 1:48:22 PM=>Info:- Count 1
10/24/2022 1:48:22 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:48:22 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:48:22 PM=>Info:- Start SenMail Method
10/24/2022 1:48:22 PM=>UseDefaultCredentials
10/24/2022 1:48:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:48:22 PM=>EnableSsl = true
10/24/2022 1:48:22 PM=>DeliveryMethod
10/24/2022 1:48:22 PM=>Before Send
10/24/2022 1:48: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/24/2022 1:48:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:48:22 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:48:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:48:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:48:22 PM=>Info:- END Mailing Method
10/24/2022 1:48:22 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:48:22 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:48:22 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:48:22 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:48:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:48:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:48:22 PM=>Info - End of callingService Method
10/24/2022 1:50:22 PM=>Info - Check time Elapsed
10/24/2022 1:50:22 PM=>Info - Call callingService Method
10/24/2022 1:50:22 PM=>Info:- Call Both
10/24/2022 1:50:22 PM=>Info:- Start Executing SMS Method
10/24/2022 1:50:22 PM=>Info:- End Executing SMS Method
10/24/2022 1:50:22 PM=>Info:- Start Mailing Method
10/24/2022 1:50:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:50:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:50:22 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:50:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:50:23 PM=>Info:- Count = 1
10/24/2022 1:50:23 PM=>Info:- Count 1
10/24/2022 1:50:23 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:50:23 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:50:23 PM=>Info:- Start SenMail Method
10/24/2022 1:50:23 PM=>UseDefaultCredentials
10/24/2022 1:50:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:50:23 PM=>EnableSsl = true
10/24/2022 1:50:23 PM=>DeliveryMethod
10/24/2022 1:50:23 PM=>Before Send
10/24/2022 1:50: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/24/2022 1:50:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:50:26 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:50:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:50:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:50:26 PM=>Info:- END Mailing Method
10/24/2022 1:50:26 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:50:26 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:50:26 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:50:26 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:50:26 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:50:26 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:50:26 PM=>Info - End of callingService Method
10/24/2022 1:52:26 PM=>Info - Check time Elapsed
10/24/2022 1:52:26 PM=>Info - Call callingService Method
10/24/2022 1:52:26 PM=>Info:- Call Both
10/24/2022 1:52:26 PM=>Info:- Start Executing SMS Method
10/24/2022 1:52:26 PM=>Info:- End Executing SMS Method
10/24/2022 1:52:26 PM=>Info:- Start Mailing Method
10/24/2022 1:52:26 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:52:26 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:52:26 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:52:26 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:52:26 PM=>Info:- Count = 1
10/24/2022 1:52:26 PM=>Info:- Count 1
10/24/2022 1:52:26 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:52:26 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:52:26 PM=>Info:- Start SenMail Method
10/24/2022 1:52:26 PM=>UseDefaultCredentials
10/24/2022 1:52:26 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:52:26 PM=>EnableSsl = true
10/24/2022 1:52:26 PM=>DeliveryMethod
10/24/2022 1:52:26 PM=>Before Send
10/24/2022 1:52: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/24/2022 1:52:35 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:52:35 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:52:35 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:52:35 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:52:35 PM=>Info:- END Mailing Method
10/24/2022 1:52:35 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:52:35 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:52:35 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:52:35 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:52:35 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:52:35 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:52:35 PM=>Info - End of callingService Method
10/24/2022 1:54:35 PM=>Info - Check time Elapsed
10/24/2022 1:54:35 PM=>Info - Call callingService Method
10/24/2022 1:54:35 PM=>Info:- Call Both
10/24/2022 1:54:35 PM=>Info:- Start Executing SMS Method
10/24/2022 1:54:35 PM=>Info:- End Executing SMS Method
10/24/2022 1:54:35 PM=>Info:- Start Mailing Method
10/24/2022 1:54:35 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:54:35 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:54:35 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:54:35 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:54:35 PM=>Info:- Count = 1
10/24/2022 1:54:35 PM=>Info:- Count 1
10/24/2022 1:54:35 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:54:35 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:54:35 PM=>Info:- Start SenMail Method
10/24/2022 1:54:35 PM=>UseDefaultCredentials
10/24/2022 1:54:35 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:54:35 PM=>EnableSsl = true
10/24/2022 1:54:35 PM=>DeliveryMethod
10/24/2022 1:54:35 PM=>Before Send
10/24/2022 1:56: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.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/24/2022 1:56:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:56:00 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:56:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:56:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:56:00 PM=>Info:- END Mailing Method
10/24/2022 1:56:00 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:56:00 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:56:00 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:56:00 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:56:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:56:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:56:00 PM=>Info - End of callingService Method
10/24/2022 1:58:00 PM=>Info - Check time Elapsed
10/24/2022 1:58:00 PM=>Info - Call callingService Method
10/24/2022 1:58:00 PM=>Info:- Call Both
10/24/2022 1:58:00 PM=>Info:- Start Executing SMS Method
10/24/2022 1:58:00 PM=>Info:- End Executing SMS Method
10/24/2022 1:58:00 PM=>Info:- Start Mailing Method
10/24/2022 1:58:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 1:58:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 1:58:00 PM=>Info:- PendingMail.xml file read to list
10/24/2022 1:58:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 1:58:00 PM=>Info:- Count = 1
10/24/2022 1:58:00 PM=>Info:- Count 1
10/24/2022 1:58:00 PM=>Info - Fetching Data From MAIL XML
10/24/2022 1:58:00 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 1:58:00 PM=>Info:- Start SenMail Method
10/24/2022 1:58:00 PM=>UseDefaultCredentials
10/24/2022 1:58:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 1:58:00 PM=>EnableSsl = true
10/24/2022 1:58:00 PM=>DeliveryMethod
10/24/2022 1:58:00 PM=>Before Send
10/24/2022 1:58:09 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/24/2022 1:58:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 1:58:09 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 1:58:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 1:58:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 1:58:09 PM=>Info:- END Mailing Method
10/24/2022 1:58:09 PM=>Info:- Start Executing Telegram Method
10/24/2022 1:58:09 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 1:58:09 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 1:58:09 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 1:58:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 1:58:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 1:58:09 PM=>Info - End of callingService Method
10/24/2022 2:00:09 PM=>Info - Check time Elapsed
10/24/2022 2:00:09 PM=>Info - Call callingService Method
10/24/2022 2:00:09 PM=>Info:- Call Both
10/24/2022 2:00:09 PM=>Info:- Start Executing SMS Method
10/24/2022 2:00:09 PM=>Info:- End Executing SMS Method
10/24/2022 2:00:09 PM=>Info:- Start Mailing Method
10/24/2022 2:00:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:00:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:00:09 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:00:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:00:09 PM=>Info:- Count = 1
10/24/2022 2:00:09 PM=>Info:- Count 1
10/24/2022 2:00:09 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:00:09 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:00:09 PM=>Info:- Start SenMail Method
10/24/2022 2:00:09 PM=>UseDefaultCredentials
10/24/2022 2:00:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:00:09 PM=>EnableSsl = true
10/24/2022 2:00:09 PM=>DeliveryMethod
10/24/2022 2:00:09 PM=>Before Send
10/24/2022 2:00: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/24/2022 2:00:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:00:18 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:00:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:00:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:00:19 PM=>Info:- END Mailing Method
10/24/2022 2:00:19 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:00:19 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:00:19 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:00:19 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:00:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:00:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:00:19 PM=>Info - End of callingService Method
10/24/2022 2:02:19 PM=>Info - Check time Elapsed
10/24/2022 2:02:19 PM=>Info - Call callingService Method
10/24/2022 2:02:19 PM=>Info:- Call Both
10/24/2022 2:02:19 PM=>Info:- Start Executing SMS Method
10/24/2022 2:02:19 PM=>Info:- End Executing SMS Method
10/24/2022 2:02:19 PM=>Info:- Start Mailing Method
10/24/2022 2:02:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:02:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:02:19 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:02:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:02:19 PM=>Info:- Count = 1
10/24/2022 2:02:19 PM=>Info:- Count 1
10/24/2022 2:02:19 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:02:19 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:02:19 PM=>Info:- Start SenMail Method
10/24/2022 2:02:19 PM=>UseDefaultCredentials
10/24/2022 2:02:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:02:19 PM=>EnableSsl = true
10/24/2022 2:02:19 PM=>DeliveryMethod
10/24/2022 2:02:19 PM=>Before Send
10/24/2022 2:03: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/24/2022 2:03:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:03:31 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:03:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:03:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:03:31 PM=>Info:- END Mailing Method
10/24/2022 2:03:31 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:03:31 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:03:31 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:03:31 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:03:31 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:03:31 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:03:31 PM=>Info - End of callingService Method
10/24/2022 2:05:31 PM=>Info - Check time Elapsed
10/24/2022 2:05:31 PM=>Info - Call callingService Method
10/24/2022 2:05:31 PM=>Info:- Call Both
10/24/2022 2:05:31 PM=>Info:- Start Executing SMS Method
10/24/2022 2:05:31 PM=>Info:- End Executing SMS Method
10/24/2022 2:05:31 PM=>Info:- Start Mailing Method
10/24/2022 2:05:31 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:05:31 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:05:31 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:05:31 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:05:31 PM=>Info:- Count = 1
10/24/2022 2:05:31 PM=>Info:- Count 1
10/24/2022 2:05:31 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:05:31 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:05:31 PM=>Info:- Start SenMail Method
10/24/2022 2:05:31 PM=>UseDefaultCredentials
10/24/2022 2:05:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:05:31 PM=>EnableSsl = true
10/24/2022 2:05:31 PM=>DeliveryMethod
10/24/2022 2:05:31 PM=>Before Send
10/24/2022 2:05: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/24/2022 2:05:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:05:41 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:05:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:05:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:05:41 PM=>Info:- END Mailing Method
10/24/2022 2:05:41 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:05:41 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:05:41 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:05:41 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:05:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:05:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:05:41 PM=>Info - End of callingService Method
10/24/2022 2:07:41 PM=>Info - Check time Elapsed
10/24/2022 2:07:41 PM=>Info - Call callingService Method
10/24/2022 2:07:41 PM=>Info:- Call Both
10/24/2022 2:07:41 PM=>Info:- Start Executing SMS Method
10/24/2022 2:07:41 PM=>Info:- End Executing SMS Method
10/24/2022 2:07:41 PM=>Info:- Start Mailing Method
10/24/2022 2:07:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:07:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:07:41 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:07:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:07:41 PM=>Info:- Count = 1
10/24/2022 2:07:41 PM=>Info:- Count 1
10/24/2022 2:07:41 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:07:41 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:07:41 PM=>Info:- Start SenMail Method
10/24/2022 2:07:41 PM=>UseDefaultCredentials
10/24/2022 2:07:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:07:41 PM=>EnableSsl = true
10/24/2022 2:07:41 PM=>DeliveryMethod
10/24/2022 2:07:41 PM=>Before Send
10/24/2022 2:09: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.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/24/2022 2:09:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:09:05 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:09:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:09:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:09:05 PM=>Info:- END Mailing Method
10/24/2022 2:09:05 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:09:05 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:09:05 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:09:05 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:09:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:09:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:09:05 PM=>Info - End of callingService Method
10/24/2022 2:11:05 PM=>Info - Check time Elapsed
10/24/2022 2:11:05 PM=>Info - Call callingService Method
10/24/2022 2:11:05 PM=>Info:- Call Both
10/24/2022 2:11:05 PM=>Info:- Start Executing SMS Method
10/24/2022 2:11:05 PM=>Info:- End Executing SMS Method
10/24/2022 2:11:05 PM=>Info:- Start Mailing Method
10/24/2022 2:11:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:11:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:11:05 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:11:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:11:05 PM=>Info:- Count = 1
10/24/2022 2:11:05 PM=>Info:- Count 1
10/24/2022 2:11:05 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:11:05 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:11:05 PM=>Info:- Start SenMail Method
10/24/2022 2:11:05 PM=>UseDefaultCredentials
10/24/2022 2:11:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:11:05 PM=>EnableSsl = true
10/24/2022 2:11:05 PM=>DeliveryMethod
10/24/2022 2:11:05 PM=>Before Send
10/24/2022 2:12: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/24/2022 2:12:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:12:30 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:12:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:12:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:12:30 PM=>Info:- END Mailing Method
10/24/2022 2:12:30 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:12:30 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:12:30 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:12:30 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:12:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:12:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:12:30 PM=>Info - End of callingService Method
10/24/2022 2:14:30 PM=>Info - Check time Elapsed
10/24/2022 2:14:30 PM=>Info - Call callingService Method
10/24/2022 2:14:30 PM=>Info:- Call Both
10/24/2022 2:14:30 PM=>Info:- Start Executing SMS Method
10/24/2022 2:14:30 PM=>Info:- End Executing SMS Method
10/24/2022 2:14:30 PM=>Info:- Start Mailing Method
10/24/2022 2:14:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:14:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:14:30 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:14:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:14:30 PM=>Info:- Count = 1
10/24/2022 2:14:30 PM=>Info:- Count 1
10/24/2022 2:14:30 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:14:30 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:14:30 PM=>Info:- Start SenMail Method
10/24/2022 2:14:30 PM=>UseDefaultCredentials
10/24/2022 2:14:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:14:30 PM=>EnableSsl = true
10/24/2022 2:14:30 PM=>DeliveryMethod
10/24/2022 2:14:30 PM=>Before Send
10/24/2022 2:15: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.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/24/2022 2:15:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:15:54 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:15:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:15:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:15:54 PM=>Info:- END Mailing Method
10/24/2022 2:15:54 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:15:54 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:15:54 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:15:54 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:15:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:15:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:15:54 PM=>Info - End of callingService Method
10/24/2022 2:17:54 PM=>Info - Check time Elapsed
10/24/2022 2:17:54 PM=>Info - Call callingService Method
10/24/2022 2:17:54 PM=>Info:- Call Both
10/24/2022 2:17:54 PM=>Info:- Start Executing SMS Method
10/24/2022 2:17:54 PM=>Info:- End Executing SMS Method
10/24/2022 2:17:54 PM=>Info:- Start Mailing Method
10/24/2022 2:17:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:17:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:17:54 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:17:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:17:54 PM=>Info:- Count = 1
10/24/2022 2:17:54 PM=>Info:- Count 1
10/24/2022 2:17:54 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:17:54 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:17:54 PM=>Info:- Start SenMail Method
10/24/2022 2:17:54 PM=>UseDefaultCredentials
10/24/2022 2:17:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:17:54 PM=>EnableSsl = true
10/24/2022 2:17:54 PM=>DeliveryMethod
10/24/2022 2:17:54 PM=>Before Send
10/24/2022 2:19: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.188.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/24/2022 2:19:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:19:19 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:19:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:19:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:19:19 PM=>Info:- END Mailing Method
10/24/2022 2:19:19 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:19:19 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:19:19 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:19:19 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:19:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:19:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:19:19 PM=>Info - End of callingService Method
10/24/2022 2:21:19 PM=>Info - Check time Elapsed
10/24/2022 2:21:19 PM=>Info - Call callingService Method
10/24/2022 2:21:19 PM=>Info:- Call Both
10/24/2022 2:21:19 PM=>Info:- Start Executing SMS Method
10/24/2022 2:21:19 PM=>Info:- End Executing SMS Method
10/24/2022 2:21:19 PM=>Info:- Start Mailing Method
10/24/2022 2:21:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:21:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:21:19 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:21:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:21:19 PM=>Info:- Count = 1
10/24/2022 2:21:19 PM=>Info:- Count 1
10/24/2022 2:21:19 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:21:19 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:21:19 PM=>Info:- Start SenMail Method
10/24/2022 2:21:19 PM=>UseDefaultCredentials
10/24/2022 2:21:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:21:19 PM=>EnableSsl = true
10/24/2022 2:21:19 PM=>DeliveryMethod
10/24/2022 2:21:19 PM=>Before Send
10/24/2022 2:21: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/24/2022 2:21:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:21:19 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:21:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:21:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:21:19 PM=>Info:- END Mailing Method
10/24/2022 2:21:19 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:21:19 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:21:19 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:21:19 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:21:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:21:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:21:19 PM=>Info - End of callingService Method
10/24/2022 2:23:19 PM=>Info - Check time Elapsed
10/24/2022 2:23:19 PM=>Info - Call callingService Method
10/24/2022 2:23:19 PM=>Info:- Call Both
10/24/2022 2:23:19 PM=>Info:- Start Executing SMS Method
10/24/2022 2:23:19 PM=>Info:- End Executing SMS Method
10/24/2022 2:23:19 PM=>Info:- Start Mailing Method
10/24/2022 2:23:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:23:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:23:19 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:23:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:23:19 PM=>Info:- Count = 1
10/24/2022 2:23:19 PM=>Info:- Count 1
10/24/2022 2:23:19 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:23:19 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:23:19 PM=>Info:- Start SenMail Method
10/24/2022 2:23:19 PM=>UseDefaultCredentials
10/24/2022 2:23:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:23:19 PM=>EnableSsl = true
10/24/2022 2:23:19 PM=>DeliveryMethod
10/24/2022 2:23:19 PM=>Before Send
10/24/2022 2: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/24/2022 2:24:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:24:22 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:24:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:24:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:24:23 PM=>Info:- END Mailing Method
10/24/2022 2:24:23 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:24:23 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:24:23 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:24:23 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:24:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:24:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:24:23 PM=>Info - End of callingService Method
10/24/2022 2:26:23 PM=>Info - Check time Elapsed
10/24/2022 2:26:23 PM=>Info - Call callingService Method
10/24/2022 2:26:23 PM=>Info:- Call Both
10/24/2022 2:26:23 PM=>Info:- Start Executing SMS Method
10/24/2022 2:26:23 PM=>Info:- End Executing SMS Method
10/24/2022 2:26:23 PM=>Info:- Start Mailing Method
10/24/2022 2:26:23 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:26:23 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:26:23 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:26:23 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:26:23 PM=>Info:- Count = 1
10/24/2022 2:26:23 PM=>Info:- Count 1
10/24/2022 2:26:23 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:26:23 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:26:23 PM=>Info:- Start SenMail Method
10/24/2022 2:26:23 PM=>UseDefaultCredentials
10/24/2022 2:26:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:26:23 PM=>EnableSsl = true
10/24/2022 2:26:23 PM=>DeliveryMethod
10/24/2022 2:26:23 PM=>Before Send
10/24/2022 2:27: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.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/24/2022 2:27:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:27:47 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:27:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:27:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:27:47 PM=>Info:- END Mailing Method
10/24/2022 2:27:47 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:27:47 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:27:47 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:27:47 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:27:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:27:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:27:47 PM=>Info - End of callingService Method
10/24/2022 2:29:47 PM=>Info - Check time Elapsed
10/24/2022 2:29:47 PM=>Info - Call callingService Method
10/24/2022 2:29:47 PM=>Info:- Call Both
10/24/2022 2:29:47 PM=>Info:- Start Executing SMS Method
10/24/2022 2:29:47 PM=>Info:- End Executing SMS Method
10/24/2022 2:29:47 PM=>Info:- Start Mailing Method
10/24/2022 2:29:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:29:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:29:47 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:29:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:29:47 PM=>Info:- Count = 1
10/24/2022 2:29:47 PM=>Info:- Count 1
10/24/2022 2:29:47 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:29:47 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:29:47 PM=>Info:- Start SenMail Method
10/24/2022 2:29:47 PM=>UseDefaultCredentials
10/24/2022 2:29:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:29:47 PM=>EnableSsl = true
10/24/2022 2:29:47 PM=>DeliveryMethod
10/24/2022 2:29:47 PM=>Before Send
10/24/2022 2:29: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/24/2022 2:29:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:29:47 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:29:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:29:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:29:48 PM=>Info:- END Mailing Method
10/24/2022 2:29:48 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:29:48 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:29:48 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:29:48 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:29:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:29:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:29:48 PM=>Info - End of callingService Method
10/24/2022 2:31:48 PM=>Info - Check time Elapsed
10/24/2022 2:31:48 PM=>Info - Call callingService Method
10/24/2022 2:31:48 PM=>Info:- Call Both
10/24/2022 2:31:48 PM=>Info:- Start Executing SMS Method
10/24/2022 2:31:48 PM=>Info:- End Executing SMS Method
10/24/2022 2:31:48 PM=>Info:- Start Mailing Method
10/24/2022 2:31:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:31:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:31:48 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:31:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:31:48 PM=>Info:- Count = 1
10/24/2022 2:31:48 PM=>Info:- Count 1
10/24/2022 2:31:48 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:31:48 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:31:48 PM=>Info:- Start SenMail Method
10/24/2022 2:31:48 PM=>UseDefaultCredentials
10/24/2022 2:31:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:31:48 PM=>EnableSsl = true
10/24/2022 2:31:48 PM=>DeliveryMethod
10/24/2022 2:31:48 PM=>Before Send
10/24/2022 2:31: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/24/2022 2:31:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:31:57 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:31:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:31:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:31:57 PM=>Info:- END Mailing Method
10/24/2022 2:31:57 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:31:57 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:31:57 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:31:57 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:31:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:31:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:31:57 PM=>Info - End of callingService Method
10/24/2022 2:33:57 PM=>Info - Check time Elapsed
10/24/2022 2:33:57 PM=>Info - Call callingService Method
10/24/2022 2:33:57 PM=>Info:- Call Both
10/24/2022 2:33:57 PM=>Info:- Start Executing SMS Method
10/24/2022 2:33:57 PM=>Info:- End Executing SMS Method
10/24/2022 2:33:57 PM=>Info:- Start Mailing Method
10/24/2022 2:33:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:33:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:33:57 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:33:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:33:57 PM=>Info:- Count = 1
10/24/2022 2:33:57 PM=>Info:- Count 1
10/24/2022 2:33:57 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:33:57 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:33:57 PM=>Info:- Start SenMail Method
10/24/2022 2:33:57 PM=>UseDefaultCredentials
10/24/2022 2:33:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:33:57 PM=>EnableSsl = true
10/24/2022 2:33:57 PM=>DeliveryMethod
10/24/2022 2:33:57 PM=>Before Send
10/24/2022 2:34: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/24/2022 2:34:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:34:39 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:34:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:34:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:34:40 PM=>Info:- END Mailing Method
10/24/2022 2:34:40 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:34:40 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:34:40 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:34:40 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:34:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:34:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:34:40 PM=>Info - End of callingService Method
10/24/2022 2:36:40 PM=>Info - Check time Elapsed
10/24/2022 2:36:40 PM=>Info - Call callingService Method
10/24/2022 2:36:40 PM=>Info:- Call Both
10/24/2022 2:36:40 PM=>Info:- Start Executing SMS Method
10/24/2022 2:36:40 PM=>Info:- End Executing SMS Method
10/24/2022 2:36:40 PM=>Info:- Start Mailing Method
10/24/2022 2:36:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:36:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:36:40 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:36:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:36:40 PM=>Info:- Count = 1
10/24/2022 2:36:40 PM=>Info:- Count 1
10/24/2022 2:36:40 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:36:40 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:36:40 PM=>Info:- Start SenMail Method
10/24/2022 2:36:40 PM=>UseDefaultCredentials
10/24/2022 2:36:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:36:40 PM=>EnableSsl = true
10/24/2022 2:36:40 PM=>DeliveryMethod
10/24/2022 2:36:40 PM=>Before Send
10/24/2022 2:36: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/24/2022 2:36:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:36:49 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:36:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:36:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:36:49 PM=>Info:- END Mailing Method
10/24/2022 2:36:49 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:36:49 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:36:49 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:36:49 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:36:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:36:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:36:49 PM=>Info - End of callingService Method
10/24/2022 2:38:49 PM=>Info - Check time Elapsed
10/24/2022 2:38:49 PM=>Info - Call callingService Method
10/24/2022 2:38:49 PM=>Info:- Call Both
10/24/2022 2:38:49 PM=>Info:- Start Executing SMS Method
10/24/2022 2:38:49 PM=>Info:- End Executing SMS Method
10/24/2022 2:38:49 PM=>Info:- Start Mailing Method
10/24/2022 2:38:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:38:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:38:49 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:38:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:38:49 PM=>Info:- Count = 1
10/24/2022 2:38:49 PM=>Info:- Count 1
10/24/2022 2:38:49 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:38:49 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:38:49 PM=>Info:- Start SenMail Method
10/24/2022 2:38:49 PM=>UseDefaultCredentials
10/24/2022 2:38:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:38:49 PM=>EnableSsl = true
10/24/2022 2:38:49 PM=>DeliveryMethod
10/24/2022 2:38:49 PM=>Before Send
10/24/2022 2:38: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/24/2022 2:38:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:38:52 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:38:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:38:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:38:53 PM=>Info:- END Mailing Method
10/24/2022 2:38:53 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:38:53 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:38:53 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:38:53 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:38:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:38:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:38:53 PM=>Info - End of callingService Method
10/24/2022 2:40:53 PM=>Info - Check time Elapsed
10/24/2022 2:40:53 PM=>Info - Call callingService Method
10/24/2022 2:40:53 PM=>Info:- Call Both
10/24/2022 2:40:53 PM=>Info:- Start Executing SMS Method
10/24/2022 2:40:53 PM=>Info:- End Executing SMS Method
10/24/2022 2:40:53 PM=>Info:- Start Mailing Method
10/24/2022 2:40:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:40:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:40:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:40:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:40:53 PM=>Info:- Count = 1
10/24/2022 2:40:53 PM=>Info:- Count 1
10/24/2022 2:40:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:40:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:40:53 PM=>Info:- Start SenMail Method
10/24/2022 2:40:53 PM=>UseDefaultCredentials
10/24/2022 2:40:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:40:53 PM=>EnableSsl = true
10/24/2022 2:40:53 PM=>DeliveryMethod
10/24/2022 2:40:53 PM=>Before Send
10/24/2022 2:40: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/24/2022 2:40:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:40:53 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:40:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:40:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:40:53 PM=>Info:- END Mailing Method
10/24/2022 2:40:53 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:40:53 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:40:53 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:40:53 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:40:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:40:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:40:53 PM=>Info - End of callingService Method
10/24/2022 2:42:53 PM=>Info - Check time Elapsed
10/24/2022 2:42:53 PM=>Info - Call callingService Method
10/24/2022 2:42:53 PM=>Info:- Call Both
10/24/2022 2:42:53 PM=>Info:- Start Executing SMS Method
10/24/2022 2:42:53 PM=>Info:- End Executing SMS Method
10/24/2022 2:42:53 PM=>Info:- Start Mailing Method
10/24/2022 2:42:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:42:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:42:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:42:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:42:53 PM=>Info:- Count = 1
10/24/2022 2:42:53 PM=>Info:- Count 1
10/24/2022 2:42:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:42:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:42:53 PM=>Info:- Start SenMail Method
10/24/2022 2:42:53 PM=>UseDefaultCredentials
10/24/2022 2:42:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:42:53 PM=>EnableSsl = true
10/24/2022 2:42:53 PM=>DeliveryMethod
10/24/2022 2:42:53 PM=>Before Send
10/24/2022 2: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/24/2022 2:42:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:42:56 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:42:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:42:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:42:57 PM=>Info:- END Mailing Method
10/24/2022 2:42:57 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:42:57 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:42:57 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:42:57 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:42:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:42:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:42:57 PM=>Info - End of callingService Method
10/24/2022 2:44:57 PM=>Info - Check time Elapsed
10/24/2022 2:44:57 PM=>Info - Call callingService Method
10/24/2022 2:44:57 PM=>Info:- Call Both
10/24/2022 2:44:57 PM=>Info:- Start Executing SMS Method
10/24/2022 2:44:57 PM=>Info:- End Executing SMS Method
10/24/2022 2:44:57 PM=>Info:- Start Mailing Method
10/24/2022 2:44:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:44:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:44:57 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:44:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:44:57 PM=>Info:- Count = 1
10/24/2022 2:44:57 PM=>Info:- Count 1
10/24/2022 2:44:57 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:44:57 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:44:57 PM=>Info:- Start SenMail Method
10/24/2022 2:44:57 PM=>UseDefaultCredentials
10/24/2022 2:44:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:44:57 PM=>EnableSsl = true
10/24/2022 2:44:57 PM=>DeliveryMethod
10/24/2022 2:44:57 PM=>Before Send
10/24/2022 2:45: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/24/2022 2:45:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:45:00 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:45:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:45:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:45:00 PM=>Info:- END Mailing Method
10/24/2022 2:45:00 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:45:00 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:45:00 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:45:00 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:45:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:45:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:45:00 PM=>Info - End of callingService Method
10/24/2022 2:47:00 PM=>Info - Check time Elapsed
10/24/2022 2:47:00 PM=>Info - Call callingService Method
10/24/2022 2:47:00 PM=>Info:- Call Both
10/24/2022 2:47:00 PM=>Info:- Start Executing SMS Method
10/24/2022 2:47:00 PM=>Info:- End Executing SMS Method
10/24/2022 2:47:00 PM=>Info:- Start Mailing Method
10/24/2022 2:47:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:47:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:47:00 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:47:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:47:00 PM=>Info:- Count = 1
10/24/2022 2:47:00 PM=>Info:- Count 1
10/24/2022 2:47:00 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:47:00 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:47:00 PM=>Info:- Start SenMail Method
10/24/2022 2:47:00 PM=>UseDefaultCredentials
10/24/2022 2:47:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:47:00 PM=>EnableSsl = true
10/24/2022 2:47:00 PM=>DeliveryMethod
10/24/2022 2:47:00 PM=>Before Send
10/24/2022 2:48: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.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/24/2022 2:48:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:48:24 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:48:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:48:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:48:25 PM=>Info:- END Mailing Method
10/24/2022 2:48:25 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:48:25 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:48:25 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:48:25 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:48:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:48:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:48:25 PM=>Info - End of callingService Method
10/24/2022 2:50:25 PM=>Info - Check time Elapsed
10/24/2022 2:50:25 PM=>Info - Call callingService Method
10/24/2022 2:50:25 PM=>Info:- Call Both
10/24/2022 2:50:25 PM=>Info:- Start Executing SMS Method
10/24/2022 2:50:25 PM=>Info:- End Executing SMS Method
10/24/2022 2:50:25 PM=>Info:- Start Mailing Method
10/24/2022 2:50:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:50:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:50:25 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:50:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:50:25 PM=>Info:- Count = 1
10/24/2022 2:50:25 PM=>Info:- Count 1
10/24/2022 2:50:25 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:50:25 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:50:25 PM=>Info:- Start SenMail Method
10/24/2022 2:50:25 PM=>UseDefaultCredentials
10/24/2022 2:50:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:50:25 PM=>EnableSsl = true
10/24/2022 2:50:25 PM=>DeliveryMethod
10/24/2022 2:50:25 PM=>Before Send
10/24/2022 2:50: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/24/2022 2:50:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:50:28 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:50:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:50:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:50:28 PM=>Info:- END Mailing Method
10/24/2022 2:50:28 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:50:28 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:50:28 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:50:28 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:50:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:50:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:50:28 PM=>Info - End of callingService Method
10/24/2022 2:52:28 PM=>Info - Check time Elapsed
10/24/2022 2:52:28 PM=>Info - Call callingService Method
10/24/2022 2:52:28 PM=>Info:- Call Both
10/24/2022 2:52:28 PM=>Info:- Start Executing SMS Method
10/24/2022 2:52:28 PM=>Info:- End Executing SMS Method
10/24/2022 2:52:28 PM=>Info:- Start Mailing Method
10/24/2022 2:52:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:52:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:52:28 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:52:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:52:28 PM=>Info:- Count = 1
10/24/2022 2:52:28 PM=>Info:- Count 1
10/24/2022 2:52:28 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:52:28 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:52:28 PM=>Info:- Start SenMail Method
10/24/2022 2:52:28 PM=>UseDefaultCredentials
10/24/2022 2:52:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:52:28 PM=>EnableSsl = true
10/24/2022 2:52:28 PM=>DeliveryMethod
10/24/2022 2:52:28 PM=>Before Send
10/24/2022 2:53: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.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/24/2022 2:53:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:53:52 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:53:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:53:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:53:53 PM=>Info:- END Mailing Method
10/24/2022 2:53:53 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:53:53 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:53:53 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:53:53 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:53:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:53:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:53:53 PM=>Info - End of callingService Method
10/24/2022 2:55:53 PM=>Info - Check time Elapsed
10/24/2022 2:55:53 PM=>Info - Call callingService Method
10/24/2022 2:55:53 PM=>Info:- Call Both
10/24/2022 2:55:53 PM=>Info:- Start Executing SMS Method
10/24/2022 2:55:53 PM=>Info:- End Executing SMS Method
10/24/2022 2:55:53 PM=>Info:- Start Mailing Method
10/24/2022 2:55:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:55:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:55:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:55:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:55:53 PM=>Info:- Count = 1
10/24/2022 2:55:53 PM=>Info:- Count 1
10/24/2022 2:55:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:55:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:55:53 PM=>Info:- Start SenMail Method
10/24/2022 2:55:53 PM=>UseDefaultCredentials
10/24/2022 2:55:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:55:53 PM=>EnableSsl = true
10/24/2022 2:55:53 PM=>DeliveryMethod
10/24/2022 2:55:53 PM=>Before Send
10/24/2022 2:55: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/24/2022 2:55:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:55:53 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:55:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:55:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:55:53 PM=>Info:- END Mailing Method
10/24/2022 2:55:53 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:55:53 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:55:53 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:55:53 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:55:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:55:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:55:53 PM=>Info - End of callingService Method
10/24/2022 2:57:53 PM=>Info - Check time Elapsed
10/24/2022 2:57:53 PM=>Info - Call callingService Method
10/24/2022 2:57:53 PM=>Info:- Call Both
10/24/2022 2:57:53 PM=>Info:- Start Executing SMS Method
10/24/2022 2:57:53 PM=>Info:- End Executing SMS Method
10/24/2022 2:57:53 PM=>Info:- Start Mailing Method
10/24/2022 2:57:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 2:57:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 2:57:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 2:57:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 2:57:53 PM=>Info:- Count = 1
10/24/2022 2:57:53 PM=>Info:- Count 1
10/24/2022 2:57:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 2:57:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 2:57:53 PM=>Info:- Start SenMail Method
10/24/2022 2:57:53 PM=>UseDefaultCredentials
10/24/2022 2:57:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 2:57:53 PM=>EnableSsl = true
10/24/2022 2:57:53 PM=>DeliveryMethod
10/24/2022 2:57:53 PM=>Before Send
10/24/2022 2:58: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/24/2022 2:58:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 2:58:56 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 2:58:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 2:58:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 2:58:56 PM=>Info:- END Mailing Method
10/24/2022 2:58:56 PM=>Info:- Start Executing Telegram Method
10/24/2022 2:58:56 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 2:58:56 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 2:58:56 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 2:58:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 2:58:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 2:58:56 PM=>Info - End of callingService Method
10/24/2022 3:00:56 PM=>Info - Check time Elapsed
10/24/2022 3:00:56 PM=>Info - Call callingService Method
10/24/2022 3:00:57 PM=>Info:- Call Both
10/24/2022 3:00:57 PM=>Info:- Start Executing SMS Method
10/24/2022 3:00:57 PM=>Info:- End Executing SMS Method
10/24/2022 3:00:57 PM=>Info:- Start Mailing Method
10/24/2022 3:00:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:00:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:00:57 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:00:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:00:57 PM=>Info:- Count = 1
10/24/2022 3:00:57 PM=>Info:- Count 1
10/24/2022 3:00:57 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:00:57 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:00:57 PM=>Info:- Start SenMail Method
10/24/2022 3:00:57 PM=>UseDefaultCredentials
10/24/2022 3:00:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:00:57 PM=>EnableSsl = true
10/24/2022 3:00:57 PM=>DeliveryMethod
10/24/2022 3:00:57 PM=>Before Send
10/24/2022 3:01: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/24/2022 3:01:06 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:01:06 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:01:06 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:01:06 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:01:06 PM=>Info:- END Mailing Method
10/24/2022 3:01:06 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:01:06 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:01:06 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:01:06 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:01:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:01:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:01:06 PM=>Info - End of callingService Method
10/24/2022 3:03:06 PM=>Info - Check time Elapsed
10/24/2022 3:03:06 PM=>Info - Call callingService Method
10/24/2022 3:03:06 PM=>Info:- Call Both
10/24/2022 3:03:06 PM=>Info:- Start Executing SMS Method
10/24/2022 3:03:06 PM=>Info:- End Executing SMS Method
10/24/2022 3:03:06 PM=>Info:- Start Mailing Method
10/24/2022 3:03:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:03:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:03:06 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:03:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:03:06 PM=>Info:- Count = 1
10/24/2022 3:03:06 PM=>Info:- Count 1
10/24/2022 3:03:06 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:03:06 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:03:06 PM=>Info:- Start SenMail Method
10/24/2022 3:03:06 PM=>UseDefaultCredentials
10/24/2022 3:03:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:03:06 PM=>EnableSsl = true
10/24/2022 3:03:06 PM=>DeliveryMethod
10/24/2022 3:03:06 PM=>Before Send
10/24/2022 3:04: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.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/24/2022 3:04:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:04:30 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:04:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:04:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:04:30 PM=>Info:- END Mailing Method
10/24/2022 3:04:30 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:04:30 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:04:30 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:04:30 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:04:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:04:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:04:30 PM=>Info - End of callingService Method
10/24/2022 3:06:31 PM=>Info - Check time Elapsed
10/24/2022 3:06:31 PM=>Info - Call callingService Method
10/24/2022 3:06:31 PM=>Info:- Call Both
10/24/2022 3:06:31 PM=>Info:- Start Executing SMS Method
10/24/2022 3:06:31 PM=>Info:- End Executing SMS Method
10/24/2022 3:06:31 PM=>Info:- Start Mailing Method
10/24/2022 3:06:31 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:06:31 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:06:31 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:06:31 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:06:31 PM=>Info:- Count = 1
10/24/2022 3:06:31 PM=>Info:- Count 1
10/24/2022 3:06:31 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:06:31 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:06:31 PM=>Info:- Start SenMail Method
10/24/2022 3:06:31 PM=>UseDefaultCredentials
10/24/2022 3:06:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:06:31 PM=>EnableSsl = true
10/24/2022 3:06:31 PM=>DeliveryMethod
10/24/2022 3:06:31 PM=>Before Send
10/24/2022 3:07: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/24/2022 3:07:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:07:34 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:07:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:07:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:07:34 PM=>Info:- END Mailing Method
10/24/2022 3:07:34 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:07:34 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:07:34 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:07:34 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:07:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:07:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:07:34 PM=>Info - End of callingService Method
10/24/2022 3:09:34 PM=>Info - Check time Elapsed
10/24/2022 3:09:34 PM=>Info - Call callingService Method
10/24/2022 3:09:34 PM=>Info:- Call Both
10/24/2022 3:09:34 PM=>Info:- Start Executing SMS Method
10/24/2022 3:09:34 PM=>Info:- End Executing SMS Method
10/24/2022 3:09:34 PM=>Info:- Start Mailing Method
10/24/2022 3:09:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:09:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:09:34 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:09:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:09:34 PM=>Info:- Count = 1
10/24/2022 3:09:34 PM=>Info:- Count 1
10/24/2022 3:09:34 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:09:34 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:09:34 PM=>Info:- Start SenMail Method
10/24/2022 3:09:34 PM=>UseDefaultCredentials
10/24/2022 3:09:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:09:34 PM=>EnableSsl = true
10/24/2022 3:09:34 PM=>DeliveryMethod
10/24/2022 3:09:34 PM=>Before Send
10/24/2022 3:09: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/24/2022 3:09:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:09:34 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:09:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:09:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:09:34 PM=>Info:- END Mailing Method
10/24/2022 3:09:34 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:09:34 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:09:34 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:09:34 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:09:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:09:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:09:34 PM=>Info - End of callingService Method
10/24/2022 3:11:34 PM=>Info - Check time Elapsed
10/24/2022 3:11:34 PM=>Info - Call callingService Method
10/24/2022 3:11:34 PM=>Info:- Call Both
10/24/2022 3:11:34 PM=>Info:- Start Executing SMS Method
10/24/2022 3:11:34 PM=>Info:- End Executing SMS Method
10/24/2022 3:11:34 PM=>Info:- Start Mailing Method
10/24/2022 3:11:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:11:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:11:34 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:11:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:11:34 PM=>Info:- Count = 1
10/24/2022 3:11:34 PM=>Info:- Count 1
10/24/2022 3:11:34 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:11:34 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:11:34 PM=>Info:- Start SenMail Method
10/24/2022 3:11:34 PM=>UseDefaultCredentials
10/24/2022 3:11:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:11:34 PM=>EnableSsl = true
10/24/2022 3:11:34 PM=>DeliveryMethod
10/24/2022 3:11:34 PM=>Before Send
10/24/2022 3:12: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 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/24/2022 3:12:59 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:12:59 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:12:59 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:12:59 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:12:59 PM=>Info:- END Mailing Method
10/24/2022 3:12:59 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:12:59 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:12:59 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:12:59 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:12:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:12:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:12:59 PM=>Info - End of callingService Method
10/24/2022 3:14:59 PM=>Info - Check time Elapsed
10/24/2022 3:14:59 PM=>Info - Call callingService Method
10/24/2022 3:14:59 PM=>Info:- Call Both
10/24/2022 3:14:59 PM=>Info:- Start Executing SMS Method
10/24/2022 3:14:59 PM=>Info:- End Executing SMS Method
10/24/2022 3:14:59 PM=>Info:- Start Mailing Method
10/24/2022 3:14:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:14:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:14:59 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:14:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:14:59 PM=>Info:- Count = 1
10/24/2022 3:14:59 PM=>Info:- Count 1
10/24/2022 3:14:59 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:14:59 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:14:59 PM=>Info:- Start SenMail Method
10/24/2022 3:14:59 PM=>UseDefaultCredentials
10/24/2022 3:14:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:14:59 PM=>EnableSsl = true
10/24/2022 3:14:59 PM=>DeliveryMethod
10/24/2022 3:14:59 PM=>Before Send
10/24/2022 3:15: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/24/2022 3:15:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:15:08 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:15:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:15:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:15:08 PM=>Info:- END Mailing Method
10/24/2022 3:15:08 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:15:08 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:15:08 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:15:08 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:15:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:15:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:15:08 PM=>Info - End of callingService Method
10/24/2022 3:17:08 PM=>Info - Check time Elapsed
10/24/2022 3:17:08 PM=>Info - Call callingService Method
10/24/2022 3:17:08 PM=>Info:- Call Both
10/24/2022 3:17:08 PM=>Info:- Start Executing SMS Method
10/24/2022 3:17:08 PM=>Info:- End Executing SMS Method
10/24/2022 3:17:08 PM=>Info:- Start Mailing Method
10/24/2022 3:17:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:17:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:17:08 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:17:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:17:08 PM=>Info:- Count = 1
10/24/2022 3:17:08 PM=>Info:- Count 1
10/24/2022 3:17:08 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:17:08 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:17:08 PM=>Info:- Start SenMail Method
10/24/2022 3:17:08 PM=>UseDefaultCredentials
10/24/2022 3:17:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:17:08 PM=>EnableSsl = true
10/24/2022 3:17:08 PM=>DeliveryMethod
10/24/2022 3:17:08 PM=>Before Send
10/24/2022 3:17: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/24/2022 3:17:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:17:08 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:17:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:17:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:17:09 PM=>Info:- END Mailing Method
10/24/2022 3:17:09 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:17:09 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:17:09 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:17:09 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:17:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:17:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:17:09 PM=>Info - End of callingService Method
10/24/2022 3:19:09 PM=>Info - Check time Elapsed
10/24/2022 3:19:09 PM=>Info - Call callingService Method
10/24/2022 3:19:09 PM=>Info:- Call Both
10/24/2022 3:19:09 PM=>Info:- Start Executing SMS Method
10/24/2022 3:19:09 PM=>Info:- End Executing SMS Method
10/24/2022 3:19:09 PM=>Info:- Start Mailing Method
10/24/2022 3:19:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:19:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:19:09 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:19:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:19:09 PM=>Info:- Count = 1
10/24/2022 3:19:09 PM=>Info:- Count 1
10/24/2022 3:19:09 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:19:09 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:19:09 PM=>Info:- Start SenMail Method
10/24/2022 3:19:09 PM=>UseDefaultCredentials
10/24/2022 3:19:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:19:09 PM=>EnableSsl = true
10/24/2022 3:19:09 PM=>DeliveryMethod
10/24/2022 3:19:09 PM=>Before Send
10/24/2022 3:20: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/24/2022 3:20:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:20:00 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:20:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:20:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:20:00 PM=>Info:- END Mailing Method
10/24/2022 3:20:00 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:20:00 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:20:00 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:20:00 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:20:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:20:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:20:00 PM=>Info - End of callingService Method
10/24/2022 3:22:00 PM=>Info - Check time Elapsed
10/24/2022 3:22:00 PM=>Info - Call callingService Method
10/24/2022 3:22:00 PM=>Info:- Call Both
10/24/2022 3:22:00 PM=>Info:- Start Executing SMS Method
10/24/2022 3:22:00 PM=>Info:- End Executing SMS Method
10/24/2022 3:22:00 PM=>Info:- Start Mailing Method
10/24/2022 3:22:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:22:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:22:00 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:22:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:22:00 PM=>Info:- Count = 1
10/24/2022 3:22:00 PM=>Info:- Count 1
10/24/2022 3:22:00 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:22:00 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:22:00 PM=>Info:- Start SenMail Method
10/24/2022 3:22:00 PM=>UseDefaultCredentials
10/24/2022 3:22:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:22:00 PM=>EnableSsl = true
10/24/2022 3:22:00 PM=>DeliveryMethod
10/24/2022 3:22:00 PM=>Before Send
10/24/2022 3:22:09 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/24/2022 3:22:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:22:09 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:22:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:22:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:22:10 PM=>Info:- END Mailing Method
10/24/2022 3:22:10 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:22:10 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:22:10 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:22:10 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:22:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:22:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:22:10 PM=>Info - End of callingService Method
10/24/2022 3:24:10 PM=>Info - Check time Elapsed
10/24/2022 3:24:10 PM=>Info - Call callingService Method
10/24/2022 3:24:10 PM=>Info:- Call Both
10/24/2022 3:24:10 PM=>Info:- Start Executing SMS Method
10/24/2022 3:24:10 PM=>Info:- End Executing SMS Method
10/24/2022 3:24:10 PM=>Info:- Start Mailing Method
10/24/2022 3:24:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:24:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:24:10 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:24:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:24:10 PM=>Info:- Count = 1
10/24/2022 3:24:10 PM=>Info:- Count 1
10/24/2022 3:24:10 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:24:10 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:24:10 PM=>Info:- Start SenMail Method
10/24/2022 3:24:10 PM=>UseDefaultCredentials
10/24/2022 3:24:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:24:10 PM=>EnableSsl = true
10/24/2022 3:24:10 PM=>DeliveryMethod
10/24/2022 3:24:10 PM=>Before Send
10/24/2022 3:24: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/24/2022 3:24:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:24:19 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:24:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:24:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:24:19 PM=>Info:- END Mailing Method
10/24/2022 3:24:19 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:24:19 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:24:19 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:24:19 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:24:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:24:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:24:19 PM=>Info - End of callingService Method
10/24/2022 3:26:19 PM=>Info - Check time Elapsed
10/24/2022 3:26:19 PM=>Info - Call callingService Method
10/24/2022 3:26:19 PM=>Info:- Call Both
10/24/2022 3:26:19 PM=>Info:- Start Executing SMS Method
10/24/2022 3:26:19 PM=>Info:- End Executing SMS Method
10/24/2022 3:26:19 PM=>Info:- Start Mailing Method
10/24/2022 3:26:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:26:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:26:19 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:26:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:26:19 PM=>Info:- Count = 1
10/24/2022 3:26:19 PM=>Info:- Count 1
10/24/2022 3:26:19 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:26:19 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:26:19 PM=>Info:- Start SenMail Method
10/24/2022 3:26:19 PM=>UseDefaultCredentials
10/24/2022 3:26:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:26:19 PM=>EnableSsl = true
10/24/2022 3:26:19 PM=>DeliveryMethod
10/24/2022 3:26:19 PM=>Before Send
10/24/2022 3:27: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.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/24/2022 3:27:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:27:43 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:27:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:27:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:27:44 PM=>Info:- END Mailing Method
10/24/2022 3:27:44 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:27:44 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:27:44 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:27:44 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:27:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:27:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:27:44 PM=>Info - End of callingService Method
10/24/2022 3:29:44 PM=>Info - Check time Elapsed
10/24/2022 3:29:44 PM=>Info - Call callingService Method
10/24/2022 3:29:44 PM=>Info:- Call Both
10/24/2022 3:29:44 PM=>Info:- Start Executing SMS Method
10/24/2022 3:29:44 PM=>Info:- End Executing SMS Method
10/24/2022 3:29:44 PM=>Info:- Start Mailing Method
10/24/2022 3:29:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:29:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:29:44 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:29:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:29:44 PM=>Info:- Count = 1
10/24/2022 3:29:44 PM=>Info:- Count 1
10/24/2022 3:29:44 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:29:44 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:29:44 PM=>Info:- Start SenMail Method
10/24/2022 3:29:44 PM=>UseDefaultCredentials
10/24/2022 3:29:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:29:44 PM=>EnableSsl = true
10/24/2022 3:29:44 PM=>DeliveryMethod
10/24/2022 3:29:44 PM=>Before Send
10/24/2022 3:29: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/24/2022 3:29:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:29:44 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:29:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:29:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:29:44 PM=>Info:- END Mailing Method
10/24/2022 3:29:44 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:29:44 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:29:44 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:29:44 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:29:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:29:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:29:44 PM=>Info - End of callingService Method
10/24/2022 3:31:44 PM=>Info - Check time Elapsed
10/24/2022 3:31:44 PM=>Info - Call callingService Method
10/24/2022 3:31:44 PM=>Info:- Call Both
10/24/2022 3:31:44 PM=>Info:- Start Executing SMS Method
10/24/2022 3:31:44 PM=>Info:- End Executing SMS Method
10/24/2022 3:31:44 PM=>Info:- Start Mailing Method
10/24/2022 3:31:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:31:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:31:44 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:31:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:31:44 PM=>Info:- Count = 3
10/24/2022 3:31:44 PM=>Info:- Count 3
10/24/2022 3:31:44 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:31:44 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:31:44 PM=>Info:- Start SenMail Method
10/24/2022 3:31:44 PM=>UseDefaultCredentials
10/24/2022 3:31:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:31:44 PM=>EnableSsl = true
10/24/2022 3:31:44 PM=>DeliveryMethod
10/24/2022 3:31:44 PM=>Before Send
10/24/2022 3:33: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.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/24/2022 3:33:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net,zylemsupport@sapl.net
10/24/2022 3:33:08 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:33:08 PM=>(SenMail)Failure sending mail Body :Bayer Importing Processes Completed
10/24/2022 3:33:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\ImportingEXE_END.xml
10/24/2022 3:33:09 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:33:09 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:33:09 PM=>Info:- Start SenMail Method
10/24/2022 3:33:09 PM=>UseDefaultCredentials
10/24/2022 3:33:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:33:09 PM=>EnableSsl = true
10/24/2022 3:33:09 PM=>DeliveryMethod
10/24/2022 3:33:09 PM=>Before Send
10/24/2022 3:34:33 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/24/2022 3:34:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net,zylemsupport@sapl.net
10/24/2022 3:34:33 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:34:33 PM=>(SenMail)Failure sending mail Body :Bayer Importing Processes STARTED
10/24/2022 3:34:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\ImportingEXE_START.xml
10/24/2022 3:34:33 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:34:33 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:34:33 PM=>Info:- Start SenMail Method
10/24/2022 3:34:33 PM=>UseDefaultCredentials
10/24/2022 3:34:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:34:33 PM=>EnableSsl = true
10/24/2022 3:34:33 PM=>DeliveryMethod
10/24/2022 3:34:33 PM=>Before Send
10/24/2022 3:34: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/24/2022 3:34:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:34:42 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:34:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:34:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:34:42 PM=>Info:- END Mailing Method
10/24/2022 3:34:42 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:34:42 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:34:42 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:34:42 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:34:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:34:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:34:42 PM=>Info - End of callingService Method
10/24/2022 3:36:42 PM=>Info - Check time Elapsed
10/24/2022 3:36:42 PM=>Info - Call callingService Method
10/24/2022 3:36:42 PM=>Info:- Call Both
10/24/2022 3:36:42 PM=>Info:- Start Executing SMS Method
10/24/2022 3:36:42 PM=>Info:- End Executing SMS Method
10/24/2022 3:36:42 PM=>Info:- Start Mailing Method
10/24/2022 3:36:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:36:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:36:42 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:36:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:36:42 PM=>Info:- Count = 1
10/24/2022 3:36:42 PM=>Info:- Count 1
10/24/2022 3:36:42 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:36:42 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:36:42 PM=>Info:- Start SenMail Method
10/24/2022 3:36:42 PM=>UseDefaultCredentials
10/24/2022 3:36:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:36:42 PM=>EnableSsl = true
10/24/2022 3:36:42 PM=>DeliveryMethod
10/24/2022 3:36:42 PM=>Before Send
10/24/2022 3:38: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.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/24/2022 3:38:07 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:38:07 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:38:07 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:38:07 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:38:07 PM=>Info:- END Mailing Method
10/24/2022 3:38:07 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:38:07 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:38:07 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:38:07 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:38:07 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:38:07 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:38:07 PM=>Info - End of callingService Method
10/24/2022 3:40:07 PM=>Info - Check time Elapsed
10/24/2022 3:40:07 PM=>Info - Call callingService Method
10/24/2022 3:40:07 PM=>Info:- Call Both
10/24/2022 3:40:07 PM=>Info:- Start Executing SMS Method
10/24/2022 3:40:07 PM=>Info:- End Executing SMS Method
10/24/2022 3:40:07 PM=>Info:- Start Mailing Method
10/24/2022 3:40:07 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:40:07 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:40:07 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:40:07 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:40:07 PM=>Info:- Count = 1
10/24/2022 3:40:07 PM=>Info:- Count 1
10/24/2022 3:40:07 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:40:07 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:40:07 PM=>Info:- Start SenMail Method
10/24/2022 3:40:07 PM=>UseDefaultCredentials
10/24/2022 3:40:07 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:40:07 PM=>EnableSsl = true
10/24/2022 3:40:07 PM=>DeliveryMethod
10/24/2022 3:40:07 PM=>Before Send
10/24/2022 3:40:07 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/24/2022 3:40:07 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:40:07 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:40:07 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:40:07 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:40:07 PM=>Info:- END Mailing Method
10/24/2022 3:40:07 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:40:07 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:40:07 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:40:07 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:40:07 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:40:07 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:40:07 PM=>Info - End of callingService Method
10/24/2022 3:42:07 PM=>Info - Check time Elapsed
10/24/2022 3:42:07 PM=>Info - Call callingService Method
10/24/2022 3:42:07 PM=>Info:- Call Both
10/24/2022 3:42:07 PM=>Info:- Start Executing SMS Method
10/24/2022 3:42:07 PM=>Info:- End Executing SMS Method
10/24/2022 3:42:07 PM=>Info:- Start Mailing Method
10/24/2022 3:42:07 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:42:07 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:42:07 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:42:07 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:42:07 PM=>Info:- Count = 1
10/24/2022 3:42:07 PM=>Info:- Count 1
10/24/2022 3:42:07 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:42:07 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:42:07 PM=>Info:- Start SenMail Method
10/24/2022 3:42:07 PM=>UseDefaultCredentials
10/24/2022 3:42:07 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:42:07 PM=>EnableSsl = true
10/24/2022 3:42:07 PM=>DeliveryMethod
10/24/2022 3:42:07 PM=>Before Send
10/24/2022 3:43: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.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/24/2022 3:43:32 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:43:32 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:43:32 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:43:32 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:43:32 PM=>Info:- END Mailing Method
10/24/2022 3:43:32 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:43:32 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:43:32 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:43:32 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:43:32 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:43:32 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:43:32 PM=>Info - End of callingService Method
10/24/2022 3:45:32 PM=>Info - Check time Elapsed
10/24/2022 3:45:32 PM=>Info - Call callingService Method
10/24/2022 3:45:32 PM=>Info:- Call Both
10/24/2022 3:45:32 PM=>Info:- Start Executing SMS Method
10/24/2022 3:45:32 PM=>Info:- End Executing SMS Method
10/24/2022 3:45:32 PM=>Info:- Start Mailing Method
10/24/2022 3:45:32 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:45:32 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:45:32 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:45:32 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:45:32 PM=>Info:- Count = 1
10/24/2022 3:45:32 PM=>Info:- Count 1
10/24/2022 3:45:32 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:45:32 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:45:32 PM=>Info:- Start SenMail Method
10/24/2022 3:45:32 PM=>UseDefaultCredentials
10/24/2022 3:45:32 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:45:32 PM=>EnableSsl = true
10/24/2022 3:45:32 PM=>DeliveryMethod
10/24/2022 3:45:32 PM=>Before Send
10/24/2022 3:45: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/24/2022 3:45:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:45:53 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:45:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:45:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:45:53 PM=>Info:- END Mailing Method
10/24/2022 3:45:53 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:45:53 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:45:53 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:45:53 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:45:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:45:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:45:53 PM=>Info - End of callingService Method
10/24/2022 3:47:53 PM=>Info - Check time Elapsed
10/24/2022 3:47:53 PM=>Info - Call callingService Method
10/24/2022 3:47:53 PM=>Info:- Call Both
10/24/2022 3:47:53 PM=>Info:- Start Executing SMS Method
10/24/2022 3:47:53 PM=>Info:- End Executing SMS Method
10/24/2022 3:47:53 PM=>Info:- Start Mailing Method
10/24/2022 3:47:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:47:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:47:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:47:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:47:53 PM=>Info:- Count = 1
10/24/2022 3:47:53 PM=>Info:- Count 1
10/24/2022 3:47:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:47:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:47:53 PM=>Info:- Start SenMail Method
10/24/2022 3:47:53 PM=>UseDefaultCredentials
10/24/2022 3:47:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:47:53 PM=>EnableSsl = true
10/24/2022 3:47:53 PM=>DeliveryMethod
10/24/2022 3:47:53 PM=>Before Send
10/24/2022 3:49: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.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/24/2022 3:49:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:49:18 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:49:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:49:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:49:18 PM=>Info:- END Mailing Method
10/24/2022 3:49:18 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:49:18 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:49:18 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:49:18 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:49:18 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:49:18 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:49:18 PM=>Info - End of callingService Method
10/24/2022 3:51:18 PM=>Info - Check time Elapsed
10/24/2022 3:51:18 PM=>Info - Call callingService Method
10/24/2022 3:51:18 PM=>Info:- Call Both
10/24/2022 3:51:18 PM=>Info:- Start Executing SMS Method
10/24/2022 3:51:18 PM=>Info:- End Executing SMS Method
10/24/2022 3:51:18 PM=>Info:- Start Mailing Method
10/24/2022 3:51:18 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:51:18 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:51:18 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:51:18 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:51:18 PM=>Info:- Count = 1
10/24/2022 3:51:18 PM=>Info:- Count 1
10/24/2022 3:51:18 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:51:18 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:51:18 PM=>Info:- Start SenMail Method
10/24/2022 3:51:18 PM=>UseDefaultCredentials
10/24/2022 3:51:18 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:51:18 PM=>EnableSsl = true
10/24/2022 3:51:18 PM=>DeliveryMethod
10/24/2022 3:51:18 PM=>Before Send
10/24/2022 3:51: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/24/2022 3:51:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:51:27 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:51:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:51:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:51:27 PM=>Info:- END Mailing Method
10/24/2022 3:51:27 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:51:27 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:51:27 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:51:27 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:51:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:51:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:51:27 PM=>Info - End of callingService Method
10/24/2022 3:53:27 PM=>Info - Check time Elapsed
10/24/2022 3:53:27 PM=>Info - Call callingService Method
10/24/2022 3:53:27 PM=>Info:- Call Both
10/24/2022 3:53:27 PM=>Info:- Start Executing SMS Method
10/24/2022 3:53:27 PM=>Info:- End Executing SMS Method
10/24/2022 3:53:27 PM=>Info:- Start Mailing Method
10/24/2022 3:53:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:53:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:53:27 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:53:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:53:27 PM=>Info:- Count = 1
10/24/2022 3:53:27 PM=>Info:- Count 1
10/24/2022 3:53:27 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:53:27 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:53:27 PM=>Info:- Start SenMail Method
10/24/2022 3:53:27 PM=>UseDefaultCredentials
10/24/2022 3:53:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:53:27 PM=>EnableSsl = true
10/24/2022 3:53:27 PM=>DeliveryMethod
10/24/2022 3:53:27 PM=>Before Send
10/24/2022 3:53: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/24/2022 3:53:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:53:27 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:53:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:53:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:53:28 PM=>Info:- END Mailing Method
10/24/2022 3:53:28 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:53:28 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:53:28 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:53:28 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:53:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:53:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:53:28 PM=>Info - End of callingService Method
10/24/2022 3:55:28 PM=>Info - Check time Elapsed
10/24/2022 3:55:28 PM=>Info - Call callingService Method
10/24/2022 3:55:28 PM=>Info:- Call Both
10/24/2022 3:55:28 PM=>Info:- Start Executing SMS Method
10/24/2022 3:55:28 PM=>Info:- End Executing SMS Method
10/24/2022 3:55:28 PM=>Info:- Start Mailing Method
10/24/2022 3:55:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:55:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:55:28 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:55:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:55:28 PM=>Info:- Count = 1
10/24/2022 3:55:28 PM=>Info:- Count 1
10/24/2022 3:55:28 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:55:28 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:55:28 PM=>Info:- Start SenMail Method
10/24/2022 3:55:28 PM=>UseDefaultCredentials
10/24/2022 3:55:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:55:28 PM=>EnableSsl = true
10/24/2022 3:55:28 PM=>DeliveryMethod
10/24/2022 3:55:28 PM=>Before Send
10/24/2022 3:55: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/24/2022 3:55:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:55:37 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:55:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:55:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:55:37 PM=>Info:- END Mailing Method
10/24/2022 3:55:37 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:55:37 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:55:37 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:55:37 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:55:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:55:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:55:37 PM=>Info - End of callingService Method
10/24/2022 3:57:37 PM=>Info - Check time Elapsed
10/24/2022 3:57:37 PM=>Info - Call callingService Method
10/24/2022 3:57:37 PM=>Info:- Call Both
10/24/2022 3:57:37 PM=>Info:- Start Executing SMS Method
10/24/2022 3:57:37 PM=>Info:- End Executing SMS Method
10/24/2022 3:57:37 PM=>Info:- Start Mailing Method
10/24/2022 3:57:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:57:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:57:37 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:57:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:57:37 PM=>Info:- Count = 1
10/24/2022 3:57:37 PM=>Info:- Count 1
10/24/2022 3:57:37 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:57:37 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:57:37 PM=>Info:- Start SenMail Method
10/24/2022 3:57:37 PM=>UseDefaultCredentials
10/24/2022 3:57:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:57:37 PM=>EnableSsl = true
10/24/2022 3:57:37 PM=>DeliveryMethod
10/24/2022 3:57:37 PM=>Before Send
10/24/2022 3:57: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/24/2022 3:57:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:57:40 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:57:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:57:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:57:41 PM=>Info:- END Mailing Method
10/24/2022 3:57:41 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:57:41 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:57:41 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:57:41 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:57:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:57:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:57:41 PM=>Info - End of callingService Method
10/24/2022 3:59:41 PM=>Info - Check time Elapsed
10/24/2022 3:59:41 PM=>Info - Call callingService Method
10/24/2022 3:59:41 PM=>Info:- Call Both
10/24/2022 3:59:41 PM=>Info:- Start Executing SMS Method
10/24/2022 3:59:41 PM=>Info:- End Executing SMS Method
10/24/2022 3:59:41 PM=>Info:- Start Mailing Method
10/24/2022 3:59:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 3:59:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 3:59:41 PM=>Info:- PendingMail.xml file read to list
10/24/2022 3:59:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 3:59:41 PM=>Info:- Count = 1
10/24/2022 3:59:41 PM=>Info:- Count 1
10/24/2022 3:59:41 PM=>Info - Fetching Data From MAIL XML
10/24/2022 3:59:41 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 3:59:41 PM=>Info:- Start SenMail Method
10/24/2022 3:59:41 PM=>UseDefaultCredentials
10/24/2022 3:59:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 3:59:41 PM=>EnableSsl = true
10/24/2022 3:59:41 PM=>DeliveryMethod
10/24/2022 3:59:41 PM=>Before Send
10/24/2022 3:59: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/24/2022 3:59:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 3:59:41 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 3:59:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 3:59:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 3:59:41 PM=>Info:- END Mailing Method
10/24/2022 3:59:41 PM=>Info:- Start Executing Telegram Method
10/24/2022 3:59:41 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 3:59:41 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 3:59:41 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 3:59:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 3:59:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 3:59:41 PM=>Info - End of callingService Method
10/24/2022 4:01:41 PM=>Info - Check time Elapsed
10/24/2022 4:01:41 PM=>Info - Call callingService Method
10/24/2022 4:01:41 PM=>Info:- Call Both
10/24/2022 4:01:41 PM=>Info:- Start Executing SMS Method
10/24/2022 4:01:41 PM=>Info:- End Executing SMS Method
10/24/2022 4:01:41 PM=>Info:- Start Mailing Method
10/24/2022 4:01:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:01:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:01:41 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:01:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:01:41 PM=>Info:- Count = 1
10/24/2022 4:01:41 PM=>Info:- Count 1
10/24/2022 4:01:41 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:01:41 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:01:41 PM=>Info:- Start SenMail Method
10/24/2022 4:01:41 PM=>UseDefaultCredentials
10/24/2022 4:01:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:01:41 PM=>EnableSsl = true
10/24/2022 4:01:41 PM=>DeliveryMethod
10/24/2022 4:01:41 PM=>Before Send
10/24/2022 4:03: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.109.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/24/2022 4:03:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:03:05 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:03:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:03:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:03:06 PM=>Info:- END Mailing Method
10/24/2022 4:03:06 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:03:06 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:03:06 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:03:06 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:03:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:03:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:03:06 PM=>Info - End of callingService Method
10/24/2022 4:05:06 PM=>Info - Check time Elapsed
10/24/2022 4:05:06 PM=>Info - Call callingService Method
10/24/2022 4:05:06 PM=>Info:- Call Both
10/24/2022 4:05:06 PM=>Info:- Start Executing SMS Method
10/24/2022 4:05:06 PM=>Info:- End Executing SMS Method
10/24/2022 4:05:06 PM=>Info:- Start Mailing Method
10/24/2022 4:05:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:05:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:05:06 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:05:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:05:06 PM=>Info:- Count = 1
10/24/2022 4:05:06 PM=>Info:- Count 1
10/24/2022 4:05:06 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:05:06 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:05:06 PM=>Info:- Start SenMail Method
10/24/2022 4:05:06 PM=>UseDefaultCredentials
10/24/2022 4:05:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:05:06 PM=>EnableSsl = true
10/24/2022 4:05:06 PM=>DeliveryMethod
10/24/2022 4:05:06 PM=>Before Send
10/24/2022 4:06: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.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/24/2022 4:06:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:06:30 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:06:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:06:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:06:30 PM=>Info:- END Mailing Method
10/24/2022 4:06:30 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:06:30 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:06:30 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:06:30 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:06:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:06:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:06:30 PM=>Info - End of callingService Method
10/24/2022 4:08:30 PM=>Info - Check time Elapsed
10/24/2022 4:08:30 PM=>Info - Call callingService Method
10/24/2022 4:08:30 PM=>Info:- Call Both
10/24/2022 4:08:30 PM=>Info:- Start Executing SMS Method
10/24/2022 4:08:30 PM=>Info:- End Executing SMS Method
10/24/2022 4:08:30 PM=>Info:- Start Mailing Method
10/24/2022 4:08:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:08:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:08:30 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:08:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:08:30 PM=>Info:- Count = 1
10/24/2022 4:08:30 PM=>Info:- Count 1
10/24/2022 4:08:30 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:08:30 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:08:30 PM=>Info:- Start SenMail Method
10/24/2022 4:08:30 PM=>UseDefaultCredentials
10/24/2022 4:08:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:08:30 PM=>EnableSsl = true
10/24/2022 4:08:30 PM=>DeliveryMethod
10/24/2022 4:08:30 PM=>Before Send
10/24/2022 4:09: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.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/24/2022 4:09:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:09:54 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:09:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:09:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:09:55 PM=>Info:- END Mailing Method
10/24/2022 4:09:55 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:09:55 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:09:55 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:09:55 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:09:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:09:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:09:55 PM=>Info - End of callingService Method
10/24/2022 4:11:55 PM=>Info - Check time Elapsed
10/24/2022 4:11:55 PM=>Info - Call callingService Method
10/24/2022 4:11:55 PM=>Info:- Call Both
10/24/2022 4:11:55 PM=>Info:- Start Executing SMS Method
10/24/2022 4:11:55 PM=>Info:- End Executing SMS Method
10/24/2022 4:11:55 PM=>Info:- Start Mailing Method
10/24/2022 4:11:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:11:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:11:55 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:11:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:11:55 PM=>Info:- Count = 1
10/24/2022 4:11:55 PM=>Info:- Count 1
10/24/2022 4:11:55 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:11:55 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:11:55 PM=>Info:- Start SenMail Method
10/24/2022 4:11:55 PM=>UseDefaultCredentials
10/24/2022 4:11:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:11:55 PM=>EnableSsl = true
10/24/2022 4:11:55 PM=>DeliveryMethod
10/24/2022 4:11:55 PM=>Before Send
10/24/2022 4:11: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/24/2022 4:11:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:11:55 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:11:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:11:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:11:55 PM=>Info:- END Mailing Method
10/24/2022 4:11:55 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:11:55 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:11:55 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:11:55 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:11:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:11:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:11:55 PM=>Info - End of callingService Method
10/24/2022 4:13:55 PM=>Info - Check time Elapsed
10/24/2022 4:13:55 PM=>Info - Call callingService Method
10/24/2022 4:13:55 PM=>Info:- Call Both
10/24/2022 4:13:55 PM=>Info:- Start Executing SMS Method
10/24/2022 4:13:55 PM=>Info:- End Executing SMS Method
10/24/2022 4:13:55 PM=>Info:- Start Mailing Method
10/24/2022 4:13:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:13:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:13:55 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:13:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:13:55 PM=>Info:- Count = 1
10/24/2022 4:13:55 PM=>Info:- Count 1
10/24/2022 4:13:55 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:13:55 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:13:55 PM=>Info:- Start SenMail Method
10/24/2022 4:13:55 PM=>UseDefaultCredentials
10/24/2022 4:13:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:13:55 PM=>EnableSsl = true
10/24/2022 4:13:55 PM=>DeliveryMethod
10/24/2022 4:13:55 PM=>Before Send
10/24/2022 4:13: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/24/2022 4:13:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:13:58 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:13:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:13:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:13:58 PM=>Info:- END Mailing Method
10/24/2022 4:13:58 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:13:58 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:13:58 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:13:58 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:13:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:13:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:13:58 PM=>Info - End of callingService Method
10/24/2022 4:15:59 PM=>Info - Check time Elapsed
10/24/2022 4:15:59 PM=>Info - Call callingService Method
10/24/2022 4:15:59 PM=>Info:- Call Both
10/24/2022 4:15:59 PM=>Info:- Start Executing SMS Method
10/24/2022 4:15:59 PM=>Info:- End Executing SMS Method
10/24/2022 4:15:59 PM=>Info:- Start Mailing Method
10/24/2022 4:15:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:15:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:15:59 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:15:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:15:59 PM=>Info:- Count = 1
10/24/2022 4:15:59 PM=>Info:- Count 1
10/24/2022 4:15:59 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:15:59 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:15:59 PM=>Info:- Start SenMail Method
10/24/2022 4:15:59 PM=>UseDefaultCredentials
10/24/2022 4:15:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:15:59 PM=>EnableSsl = true
10/24/2022 4:15:59 PM=>DeliveryMethod
10/24/2022 4:15:59 PM=>Before Send
10/24/2022 4:17: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.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/24/2022 4:17:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:17:23 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:17:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:17:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:17:23 PM=>Info:- END Mailing Method
10/24/2022 4:17:23 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:17:23 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:17:23 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:17:23 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:17:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:17:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:17:23 PM=>Info - End of callingService Method
10/24/2022 4:19:23 PM=>Info - Check time Elapsed
10/24/2022 4:19:23 PM=>Info - Call callingService Method
10/24/2022 4:19:23 PM=>Info:- Call Both
10/24/2022 4:19:23 PM=>Info:- Start Executing SMS Method
10/24/2022 4:19:23 PM=>Info:- End Executing SMS Method
10/24/2022 4:19:23 PM=>Info:- Start Mailing Method
10/24/2022 4:19:23 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:19:23 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:19:23 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:19:23 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:19:23 PM=>Info:- Count = 1
10/24/2022 4:19:23 PM=>Info:- Count 1
10/24/2022 4:19:23 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:19:23 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:19:23 PM=>Info:- Start SenMail Method
10/24/2022 4:19:23 PM=>UseDefaultCredentials
10/24/2022 4:19:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:19:23 PM=>EnableSsl = true
10/24/2022 4:19:23 PM=>DeliveryMethod
10/24/2022 4:19:23 PM=>Before Send
10/24/2022 4:19: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/24/2022 4:19:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:19:23 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:19:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:19:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:19:23 PM=>Info:- END Mailing Method
10/24/2022 4:19:23 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:19:23 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:19:23 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:19:23 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:19:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:19:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:19:23 PM=>Info - End of callingService Method
10/24/2022 4:21:23 PM=>Info - Check time Elapsed
10/24/2022 4:21:23 PM=>Info - Call callingService Method
10/24/2022 4:21:23 PM=>Info:- Call Both
10/24/2022 4:21:23 PM=>Info:- Start Executing SMS Method
10/24/2022 4:21:23 PM=>Info:- End Executing SMS Method
10/24/2022 4:21:23 PM=>Info:- Start Mailing Method
10/24/2022 4:21:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:21:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:21:24 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:21:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:21:24 PM=>Info:- Count = 1
10/24/2022 4:21:24 PM=>Info:- Count 1
10/24/2022 4:21:24 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:21:24 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:21:24 PM=>Info:- Start SenMail Method
10/24/2022 4:21:24 PM=>UseDefaultCredentials
10/24/2022 4:21:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:21:24 PM=>EnableSsl = true
10/24/2022 4:21:24 PM=>DeliveryMethod
10/24/2022 4:21:24 PM=>Before Send
10/24/2022 4:22: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 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/24/2022 4:22:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:22:48 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:22:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:22:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:22:48 PM=>Info:- END Mailing Method
10/24/2022 4:22:48 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:22:48 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:22:48 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:22:48 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:22:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:22:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:22:48 PM=>Info - End of callingService Method
10/24/2022 4:24:48 PM=>Info - Check time Elapsed
10/24/2022 4:24:48 PM=>Info - Call callingService Method
10/24/2022 4:24:48 PM=>Info:- Call Both
10/24/2022 4:24:48 PM=>Info:- Start Executing SMS Method
10/24/2022 4:24:48 PM=>Info:- End Executing SMS Method
10/24/2022 4:24:48 PM=>Info:- Start Mailing Method
10/24/2022 4:24:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:24:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:24:48 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:24:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:24:48 PM=>Info:- Count = 1
10/24/2022 4:24:48 PM=>Info:- Count 1
10/24/2022 4:24:48 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:24:48 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:24:48 PM=>Info:- Start SenMail Method
10/24/2022 4:24:48 PM=>UseDefaultCredentials
10/24/2022 4:24:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:24:48 PM=>EnableSsl = true
10/24/2022 4:24:48 PM=>DeliveryMethod
10/24/2022 4:24:48 PM=>Before Send
10/24/2022 4:26: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.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/24/2022 4:26:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:26:12 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:26:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:26:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:26:13 PM=>Info:- END Mailing Method
10/24/2022 4:26:13 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:26:13 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:26:13 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:26:13 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:26:13 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:26:13 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:26:13 PM=>Info - End of callingService Method
10/24/2022 4:28:13 PM=>Info - Check time Elapsed
10/24/2022 4:28:13 PM=>Info - Call callingService Method
10/24/2022 4:28:13 PM=>Info:- Call Both
10/24/2022 4:28:13 PM=>Info:- Start Executing SMS Method
10/24/2022 4:28:13 PM=>Info:- End Executing SMS Method
10/24/2022 4:28:13 PM=>Info:- Start Mailing Method
10/24/2022 4:28:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:28:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:28:13 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:28:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:28:13 PM=>Info:- Count = 1
10/24/2022 4:28:13 PM=>Info:- Count 1
10/24/2022 4:28:13 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:28:13 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:28:13 PM=>Info:- Start SenMail Method
10/24/2022 4:28:13 PM=>UseDefaultCredentials
10/24/2022 4:28:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:28:13 PM=>EnableSsl = true
10/24/2022 4:28:13 PM=>DeliveryMethod
10/24/2022 4:28:13 PM=>Before Send
10/24/2022 4:29:37 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/24/2022 4:29:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:29:37 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:29:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:29:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:29:37 PM=>Info:- END Mailing Method
10/24/2022 4:29:37 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:29:37 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:29:37 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:29:37 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:29:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:29:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:29:37 PM=>Info - End of callingService Method
10/24/2022 4:31:37 PM=>Info - Check time Elapsed
10/24/2022 4:31:37 PM=>Info - Call callingService Method
10/24/2022 4:31:37 PM=>Info:- Call Both
10/24/2022 4:31:37 PM=>Info:- Start Executing SMS Method
10/24/2022 4:31:37 PM=>Info:- End Executing SMS Method
10/24/2022 4:31:37 PM=>Info:- Start Mailing Method
10/24/2022 4:31:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:31:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:31:37 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:31:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:31:37 PM=>Info:- Count = 1
10/24/2022 4:31:37 PM=>Info:- Count 1
10/24/2022 4:31:37 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:31:37 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:31:37 PM=>Info:- Start SenMail Method
10/24/2022 4:31:37 PM=>UseDefaultCredentials
10/24/2022 4:31:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:31:37 PM=>EnableSsl = true
10/24/2022 4:31:37 PM=>DeliveryMethod
10/24/2022 4:31:37 PM=>Before Send
10/24/2022 4:33:01 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/24/2022 4:33:01 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:33:01 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:33:01 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:33:01 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:33:02 PM=>Info:- END Mailing Method
10/24/2022 4:33:02 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:33:02 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:33:02 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:33:02 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:33:02 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:33:02 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:33:02 PM=>Info - End of callingService Method
10/24/2022 4:35:02 PM=>Info - Check time Elapsed
10/24/2022 4:35:02 PM=>Info - Call callingService Method
10/24/2022 4:35:02 PM=>Info:- Call Both
10/24/2022 4:35:02 PM=>Info:- Start Executing SMS Method
10/24/2022 4:35:02 PM=>Info:- End Executing SMS Method
10/24/2022 4:35:02 PM=>Info:- Start Mailing Method
10/24/2022 4:35:02 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:35:02 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:35:02 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:35:02 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:35:02 PM=>Info:- Count = 1
10/24/2022 4:35:02 PM=>Info:- Count 1
10/24/2022 4:35:02 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:35:02 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:35:02 PM=>Info:- Start SenMail Method
10/24/2022 4:35:02 PM=>UseDefaultCredentials
10/24/2022 4:35:02 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:35:02 PM=>EnableSsl = true
10/24/2022 4:35:02 PM=>DeliveryMethod
10/24/2022 4:35:02 PM=>Before Send
10/24/2022 4:36:26 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/24/2022 4:36:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:36:26 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:36:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:36:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:36:26 PM=>Info:- END Mailing Method
10/24/2022 4:36:26 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:36:26 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:36:26 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:36:26 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:36:26 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:36:26 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:36:26 PM=>Info - End of callingService Method
10/24/2022 4:38:26 PM=>Info - Check time Elapsed
10/24/2022 4:38:26 PM=>Info - Call callingService Method
10/24/2022 4:38:26 PM=>Info:- Call Both
10/24/2022 4:38:26 PM=>Info:- Start Executing SMS Method
10/24/2022 4:38:26 PM=>Info:- End Executing SMS Method
10/24/2022 4:38:26 PM=>Info:- Start Mailing Method
10/24/2022 4:38:26 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:38:26 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:38:26 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:38:26 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:38:26 PM=>Info:- Count = 1
10/24/2022 4:38:26 PM=>Info:- Count 1
10/24/2022 4:38:26 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:38:26 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:38:26 PM=>Info:- Start SenMail Method
10/24/2022 4:38:26 PM=>UseDefaultCredentials
10/24/2022 4:38:26 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:38:26 PM=>EnableSsl = true
10/24/2022 4:38:26 PM=>DeliveryMethod
10/24/2022 4:38:26 PM=>Before Send
10/24/2022 4:38: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/24/2022 4:38:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:38:26 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:38:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:38:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:38:27 PM=>Info:- END Mailing Method
10/24/2022 4:38:27 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:38:27 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:38:27 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:38:27 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:38:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:38:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:38:27 PM=>Info - End of callingService Method
10/24/2022 4:40:27 PM=>Info - Check time Elapsed
10/24/2022 4:40:27 PM=>Info - Call callingService Method
10/24/2022 4:40:27 PM=>Info:- Call Both
10/24/2022 4:40:27 PM=>Info:- Start Executing SMS Method
10/24/2022 4:40:27 PM=>Info:- End Executing SMS Method
10/24/2022 4:40:27 PM=>Info:- Start Mailing Method
10/24/2022 4:40:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:40:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:40:27 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:40:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:40:27 PM=>Info:- Count = 1
10/24/2022 4:40:27 PM=>Info:- Count 1
10/24/2022 4:40:27 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:40:27 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:40:27 PM=>Info:- Start SenMail Method
10/24/2022 4:40:27 PM=>UseDefaultCredentials
10/24/2022 4:40:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:40:27 PM=>EnableSsl = true
10/24/2022 4:40:27 PM=>DeliveryMethod
10/24/2022 4:40:27 PM=>Before Send
10/24/2022 4:40: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/24/2022 4:40:36 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:40:36 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:40:36 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:40:36 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:40:36 PM=>Info:- END Mailing Method
10/24/2022 4:40:36 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:40:36 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:40:36 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:40:36 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:40:36 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:40:36 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:40:36 PM=>Info - End of callingService Method
10/24/2022 4:42:36 PM=>Info - Check time Elapsed
10/24/2022 4:42:36 PM=>Info - Call callingService Method
10/24/2022 4:42:36 PM=>Info:- Call Both
10/24/2022 4:42:36 PM=>Info:- Start Executing SMS Method
10/24/2022 4:42:36 PM=>Info:- End Executing SMS Method
10/24/2022 4:42:36 PM=>Info:- Start Mailing Method
10/24/2022 4:42:36 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:42:36 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:42:36 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:42:36 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:42:36 PM=>Info:- Count = 1
10/24/2022 4:42:36 PM=>Info:- Count 1
10/24/2022 4:42:36 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:42:36 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:42:36 PM=>Info:- Start SenMail Method
10/24/2022 4:42:36 PM=>UseDefaultCredentials
10/24/2022 4:42:36 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:42:36 PM=>EnableSsl = true
10/24/2022 4:42:36 PM=>DeliveryMethod
10/24/2022 4:42:36 PM=>Before Send
10/24/2022 4:44: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.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/24/2022 4:44:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:44:00 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:44:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:44:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:44:01 PM=>Info:- END Mailing Method
10/24/2022 4:44:01 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:44:01 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:44:01 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:44:01 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:44:01 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:44:01 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:44:01 PM=>Info - End of callingService Method
10/24/2022 4:46:01 PM=>Info - Check time Elapsed
10/24/2022 4:46:01 PM=>Info - Call callingService Method
10/24/2022 4:46:01 PM=>Info:- Call Both
10/24/2022 4:46:01 PM=>Info:- Start Executing SMS Method
10/24/2022 4:46:01 PM=>Info:- End Executing SMS Method
10/24/2022 4:46:01 PM=>Info:- Start Mailing Method
10/24/2022 4:46:01 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:46:01 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:46:01 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:46:01 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:46:01 PM=>Info:- Count = 1
10/24/2022 4:46:01 PM=>Info:- Count 1
10/24/2022 4:46:01 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:46:01 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:46:01 PM=>Info:- Start SenMail Method
10/24/2022 4:46:01 PM=>UseDefaultCredentials
10/24/2022 4:46:01 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:46:01 PM=>EnableSsl = true
10/24/2022 4:46:01 PM=>DeliveryMethod
10/24/2022 4:46:01 PM=>Before Send
10/24/2022 4:46: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/24/2022 4:46:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:46:10 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:46:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:46:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:46:10 PM=>Info:- END Mailing Method
10/24/2022 4:46:10 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:46:10 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:46:10 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:46:10 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:46:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:46:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:46:10 PM=>Info - End of callingService Method
10/24/2022 4:48:10 PM=>Info - Check time Elapsed
10/24/2022 4:48:10 PM=>Info - Call callingService Method
10/24/2022 4:48:10 PM=>Info:- Call Both
10/24/2022 4:48:10 PM=>Info:- Start Executing SMS Method
10/24/2022 4:48:10 PM=>Info:- End Executing SMS Method
10/24/2022 4:48:10 PM=>Info:- Start Mailing Method
10/24/2022 4:48:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:48:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:48:10 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:48:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:48:10 PM=>Info:- Count = 1
10/24/2022 4:48:10 PM=>Info:- Count 1
10/24/2022 4:48:10 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:48:10 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:48:10 PM=>Info:- Start SenMail Method
10/24/2022 4:48:10 PM=>UseDefaultCredentials
10/24/2022 4:48:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:48:10 PM=>EnableSsl = true
10/24/2022 4:48:10 PM=>DeliveryMethod
10/24/2022 4:48:10 PM=>Before Send
10/24/2022 4:48: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/24/2022 4:48:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:48:19 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:48:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:48:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:48:20 PM=>Info:- END Mailing Method
10/24/2022 4:48:20 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:48:20 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:48:20 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:48:20 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:48:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:48:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:48:20 PM=>Info - End of callingService Method
10/24/2022 4:50:20 PM=>Info - Check time Elapsed
10/24/2022 4:50:20 PM=>Info - Call callingService Method
10/24/2022 4:50:20 PM=>Info:- Call Both
10/24/2022 4:50:20 PM=>Info:- Start Executing SMS Method
10/24/2022 4:50:20 PM=>Info:- End Executing SMS Method
10/24/2022 4:50:20 PM=>Info:- Start Mailing Method
10/24/2022 4:50:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:50:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:50:20 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:50:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:50:20 PM=>Info:- Count = 1
10/24/2022 4:50:20 PM=>Info:- Count 1
10/24/2022 4:50:20 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:50:20 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:50:20 PM=>Info:- Start SenMail Method
10/24/2022 4:50:20 PM=>UseDefaultCredentials
10/24/2022 4:50:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:50:20 PM=>EnableSsl = true
10/24/2022 4:50:20 PM=>DeliveryMethod
10/24/2022 4:50:20 PM=>Before Send
10/24/2022 4:51: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.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/24/2022 4:51:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:51:44 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:51:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:51:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:51:44 PM=>Info:- END Mailing Method
10/24/2022 4:51:44 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:51:44 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:51:44 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:51:44 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:51:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:51:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:51:44 PM=>Info - End of callingService Method
10/24/2022 4:53:44 PM=>Info - Check time Elapsed
10/24/2022 4:53:44 PM=>Info - Call callingService Method
10/24/2022 4:53:44 PM=>Info:- Call Both
10/24/2022 4:53:44 PM=>Info:- Start Executing SMS Method
10/24/2022 4:53:44 PM=>Info:- End Executing SMS Method
10/24/2022 4:53:44 PM=>Info:- Start Mailing Method
10/24/2022 4:53:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:53:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:53:44 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:53:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:53:44 PM=>Info:- Count = 1
10/24/2022 4:53:44 PM=>Info:- Count 1
10/24/2022 4:53:44 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:53:44 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:53:44 PM=>Info:- Start SenMail Method
10/24/2022 4:53:44 PM=>UseDefaultCredentials
10/24/2022 4:53:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:53:44 PM=>EnableSsl = true
10/24/2022 4:53:44 PM=>DeliveryMethod
10/24/2022 4:53:44 PM=>Before Send
10/24/2022 4:53: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/24/2022 4:53:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:53:47 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:53:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:53:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:53:48 PM=>Info:- END Mailing Method
10/24/2022 4:53:48 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:53:48 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:53:48 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:53:48 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:53:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:53:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:53:48 PM=>Info - End of callingService Method
10/24/2022 4:55:48 PM=>Info - Check time Elapsed
10/24/2022 4:55:48 PM=>Info - Call callingService Method
10/24/2022 4:55:48 PM=>Info:- Call Both
10/24/2022 4:55:48 PM=>Info:- Start Executing SMS Method
10/24/2022 4:55:48 PM=>Info:- End Executing SMS Method
10/24/2022 4:55:48 PM=>Info:- Start Mailing Method
10/24/2022 4:55:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:55:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:55:48 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:55:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:55:48 PM=>Info:- Count = 1
10/24/2022 4:55:48 PM=>Info:- Count 1
10/24/2022 4:55:48 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:55:48 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:55:48 PM=>Info:- Start SenMail Method
10/24/2022 4:55:48 PM=>UseDefaultCredentials
10/24/2022 4:55:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:55:48 PM=>EnableSsl = true
10/24/2022 4:55:48 PM=>DeliveryMethod
10/24/2022 4:55:48 PM=>Before Send
10/24/2022 4:57: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.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/24/2022 4:57:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:57:12 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:57:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:57:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:57:12 PM=>Info:- END Mailing Method
10/24/2022 4:57:12 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:57:12 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:57:12 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:57:12 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:57:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:57:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:57:12 PM=>Info - End of callingService Method
10/24/2022 4:59:12 PM=>Info - Check time Elapsed
10/24/2022 4:59:12 PM=>Info - Call callingService Method
10/24/2022 4:59:12 PM=>Info:- Call Both
10/24/2022 4:59:12 PM=>Info:- Start Executing SMS Method
10/24/2022 4:59:12 PM=>Info:- End Executing SMS Method
10/24/2022 4:59:12 PM=>Info:- Start Mailing Method
10/24/2022 4:59:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 4:59:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 4:59:12 PM=>Info:- PendingMail.xml file read to list
10/24/2022 4:59:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 4:59:12 PM=>Info:- Count = 1
10/24/2022 4:59:12 PM=>Info:- Count 1
10/24/2022 4:59:12 PM=>Info - Fetching Data From MAIL XML
10/24/2022 4:59:12 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 4:59:12 PM=>Info:- Start SenMail Method
10/24/2022 4:59:12 PM=>UseDefaultCredentials
10/24/2022 4:59:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 4:59:12 PM=>EnableSsl = true
10/24/2022 4:59:12 PM=>DeliveryMethod
10/24/2022 4:59:12 PM=>Before Send
10/24/2022 4:59: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/24/2022 4:59:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 4:59:33 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 4:59:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 4:59:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 4:59:34 PM=>Info:- END Mailing Method
10/24/2022 4:59:34 PM=>Info:- Start Executing Telegram Method
10/24/2022 4:59:34 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 4:59:34 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 4:59:34 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 4:59:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 4:59:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 4:59:34 PM=>Info - End of callingService Method
10/24/2022 5:01:34 PM=>Info - Check time Elapsed
10/24/2022 5:01:34 PM=>Info - Call callingService Method
10/24/2022 5:01:34 PM=>Info:- Call Both
10/24/2022 5:01:34 PM=>Info:- Start Executing SMS Method
10/24/2022 5:01:34 PM=>Info:- End Executing SMS Method
10/24/2022 5:01:34 PM=>Info:- Start Mailing Method
10/24/2022 5:01:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:01:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:01:34 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:01:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:01:34 PM=>Info:- Count = 1
10/24/2022 5:01:34 PM=>Info:- Count 1
10/24/2022 5:01:34 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:01:34 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:01:34 PM=>Info:- Start SenMail Method
10/24/2022 5:01:34 PM=>UseDefaultCredentials
10/24/2022 5:01:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:01:34 PM=>EnableSsl = true
10/24/2022 5:01:34 PM=>DeliveryMethod
10/24/2022 5:01:34 PM=>Before Send
10/24/2022 5:02:58 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/24/2022 5:02:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:02:58 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:02:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:02:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:02:58 PM=>Info:- END Mailing Method
10/24/2022 5:02:58 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:02:58 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:02:58 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:02:58 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:02:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:02:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:02:58 PM=>Info - End of callingService Method
10/24/2022 5:04:58 PM=>Info - Check time Elapsed
10/24/2022 5:04:58 PM=>Info - Call callingService Method
10/24/2022 5:04:58 PM=>Info:- Call Both
10/24/2022 5:04:58 PM=>Info:- Start Executing SMS Method
10/24/2022 5:04:58 PM=>Info:- End Executing SMS Method
10/24/2022 5:04:58 PM=>Info:- Start Mailing Method
10/24/2022 5:04:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:04:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:04:58 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:04:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:04:58 PM=>Info:- Count = 1
10/24/2022 5:04:58 PM=>Info:- Count 1
10/24/2022 5:04:58 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:04:58 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:04:58 PM=>Info:- Start SenMail Method
10/24/2022 5:04:58 PM=>UseDefaultCredentials
10/24/2022 5:04:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:04:58 PM=>EnableSsl = true
10/24/2022 5:04:58 PM=>DeliveryMethod
10/24/2022 5:04:58 PM=>Before Send
10/24/2022 5: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.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/24/2022 5:06:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:06:22 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:06:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:06:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:06:23 PM=>Info:- END Mailing Method
10/24/2022 5:06:23 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:06:23 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:06:23 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:06:23 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:06:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:06:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:06:23 PM=>Info - End of callingService Method
10/24/2022 5:08:23 PM=>Info - Check time Elapsed
10/24/2022 5:08:23 PM=>Info - Call callingService Method
10/24/2022 5:08:23 PM=>Info:- Call Both
10/24/2022 5:08:23 PM=>Info:- Start Executing SMS Method
10/24/2022 5:08:23 PM=>Info:- End Executing SMS Method
10/24/2022 5:08:23 PM=>Info:- Start Mailing Method
10/24/2022 5:08:23 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:08:23 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:08:23 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:08:23 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:08:23 PM=>Info:- Count = 1
10/24/2022 5:08:23 PM=>Info:- Count 1
10/24/2022 5:08:23 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:08:23 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:08:23 PM=>Info:- Start SenMail Method
10/24/2022 5:08:23 PM=>UseDefaultCredentials
10/24/2022 5:08:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:08:23 PM=>EnableSsl = true
10/24/2022 5:08:23 PM=>DeliveryMethod
10/24/2022 5:08:23 PM=>Before Send
10/24/2022 5:08: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/24/2022 5:08:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:08:44 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:08:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:08:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:08:44 PM=>Info:- END Mailing Method
10/24/2022 5:08:44 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:08:44 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:08:44 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:08:44 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:08:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:08:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:08:44 PM=>Info - End of callingService Method
10/24/2022 5:10:44 PM=>Info - Check time Elapsed
10/24/2022 5:10:44 PM=>Info - Call callingService Method
10/24/2022 5:10:44 PM=>Info:- Call Both
10/24/2022 5:10:44 PM=>Info:- Start Executing SMS Method
10/24/2022 5:10:44 PM=>Info:- End Executing SMS Method
10/24/2022 5:10:44 PM=>Info:- Start Mailing Method
10/24/2022 5:10:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:10:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:10:44 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:10:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:10:44 PM=>Info:- Count = 1
10/24/2022 5:10:44 PM=>Info:- Count 1
10/24/2022 5:10:44 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:10:44 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:10:44 PM=>Info:- Start SenMail Method
10/24/2022 5:10:44 PM=>UseDefaultCredentials
10/24/2022 5:10:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:10:44 PM=>EnableSsl = true
10/24/2022 5:10:44 PM=>DeliveryMethod
10/24/2022 5:10:44 PM=>Before Send
10/24/2022 5:10: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/24/2022 5:10:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:10:47 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:10:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:10:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:10:48 PM=>Info:- END Mailing Method
10/24/2022 5:10:48 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:10:48 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:10:48 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:10:48 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:10:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:10:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:10:48 PM=>Info - End of callingService Method
10/24/2022 5:12:48 PM=>Info - Check time Elapsed
10/24/2022 5:12:48 PM=>Info - Call callingService Method
10/24/2022 5:12:48 PM=>Info:- Call Both
10/24/2022 5:12:48 PM=>Info:- Start Executing SMS Method
10/24/2022 5:12:48 PM=>Info:- End Executing SMS Method
10/24/2022 5:12:48 PM=>Info:- Start Mailing Method
10/24/2022 5:12:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:12:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:12:48 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:12:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:12:48 PM=>Info:- Count = 1
10/24/2022 5:12:48 PM=>Info:- Count 1
10/24/2022 5:12:48 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:12:48 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:12:48 PM=>Info:- Start SenMail Method
10/24/2022 5:12:48 PM=>UseDefaultCredentials
10/24/2022 5:12:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:12:48 PM=>EnableSsl = true
10/24/2022 5:12:48 PM=>DeliveryMethod
10/24/2022 5:12:48 PM=>Before Send
10/24/2022 5:12: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/24/2022 5:12:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:12:57 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:12:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:12:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:12:57 PM=>Info:- END Mailing Method
10/24/2022 5:12:57 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:12:57 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:12:57 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:12:57 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:12:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:12:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:12:57 PM=>Info - End of callingService Method
10/24/2022 5:14:57 PM=>Info - Check time Elapsed
10/24/2022 5:14:57 PM=>Info - Call callingService Method
10/24/2022 5:14:57 PM=>Info:- Call Both
10/24/2022 5:14:57 PM=>Info:- Start Executing SMS Method
10/24/2022 5:14:57 PM=>Info:- End Executing SMS Method
10/24/2022 5:14:57 PM=>Info:- Start Mailing Method
10/24/2022 5:14:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:14:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:14:57 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:14:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:14:57 PM=>Info:- Count = 1
10/24/2022 5:14:57 PM=>Info:- Count 1
10/24/2022 5:14:57 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:14:57 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:14:57 PM=>Info:- Start SenMail Method
10/24/2022 5:14:57 PM=>UseDefaultCredentials
10/24/2022 5:14:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:14:57 PM=>EnableSsl = true
10/24/2022 5:14:57 PM=>DeliveryMethod
10/24/2022 5:14:57 PM=>Before Send
10/24/2022 5:16: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/24/2022 5:16:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:16:21 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:16:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:16:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:16:22 PM=>Info:- END Mailing Method
10/24/2022 5:16:22 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:16:22 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:16:22 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:16:22 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:16:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:16:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:16:22 PM=>Info - End of callingService Method
10/24/2022 5:18:22 PM=>Info - Check time Elapsed
10/24/2022 5:18:22 PM=>Info - Call callingService Method
10/24/2022 5:18:22 PM=>Info:- Call Both
10/24/2022 5:18:22 PM=>Info:- Start Executing SMS Method
10/24/2022 5:18:22 PM=>Info:- End Executing SMS Method
10/24/2022 5:18:22 PM=>Info:- Start Mailing Method
10/24/2022 5:18:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:18:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:18:22 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:18:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:18:22 PM=>Info:- Count = 1
10/24/2022 5:18:22 PM=>Info:- Count 1
10/24/2022 5:18:22 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:18:22 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:18:22 PM=>Info:- Start SenMail Method
10/24/2022 5:18:22 PM=>UseDefaultCredentials
10/24/2022 5:18:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:18:22 PM=>EnableSsl = true
10/24/2022 5:18:22 PM=>DeliveryMethod
10/24/2022 5:18:22 PM=>Before Send
10/24/2022 5:18: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/24/2022 5:18:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:18:43 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:18:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:18:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:18:43 PM=>Info:- END Mailing Method
10/24/2022 5:18:43 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:18:43 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:18:43 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:18:43 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:18:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:18:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:18:43 PM=>Info - End of callingService Method
10/24/2022 5:20:43 PM=>Info - Check time Elapsed
10/24/2022 5:20:43 PM=>Info - Call callingService Method
10/24/2022 5:20:43 PM=>Info:- Call Both
10/24/2022 5:20:43 PM=>Info:- Start Executing SMS Method
10/24/2022 5:20:43 PM=>Info:- End Executing SMS Method
10/24/2022 5:20:43 PM=>Info:- Start Mailing Method
10/24/2022 5:20:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:20:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:20:43 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:20:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:20:43 PM=>Info:- Count = 1
10/24/2022 5:20:43 PM=>Info:- Count 1
10/24/2022 5:20:43 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:20:43 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:20:43 PM=>Info:- Start SenMail Method
10/24/2022 5:20:43 PM=>UseDefaultCredentials
10/24/2022 5:20:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:20:43 PM=>EnableSsl = true
10/24/2022 5:20:43 PM=>DeliveryMethod
10/24/2022 5:20:43 PM=>Before Send
10/24/2022 5:20: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/24/2022 5:20:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:20:52 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:20:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:20:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:20:53 PM=>Info:- END Mailing Method
10/24/2022 5:20:53 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:20:53 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:20:53 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:20:53 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:20:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:20:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:20:53 PM=>Info - End of callingService Method
10/24/2022 5:22:53 PM=>Info - Check time Elapsed
10/24/2022 5:22:53 PM=>Info - Call callingService Method
10/24/2022 5:22:53 PM=>Info:- Call Both
10/24/2022 5:22:53 PM=>Info:- Start Executing SMS Method
10/24/2022 5:22:53 PM=>Info:- End Executing SMS Method
10/24/2022 5:22:53 PM=>Info:- Start Mailing Method
10/24/2022 5:22:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:22:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:22:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:22:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:22:53 PM=>Info:- Count = 1
10/24/2022 5:22:53 PM=>Info:- Count 1
10/24/2022 5:22:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:22:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:22:53 PM=>Info:- Start SenMail Method
10/24/2022 5:22:53 PM=>UseDefaultCredentials
10/24/2022 5:22:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:22:53 PM=>EnableSsl = true
10/24/2022 5:22:53 PM=>DeliveryMethod
10/24/2022 5:22:53 PM=>Before Send
10/24/2022 5:24: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.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/24/2022 5:24:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:24:17 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:24:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:24:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:24:17 PM=>Info:- END Mailing Method
10/24/2022 5:24:17 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:24:17 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:24:17 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:24:17 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:24:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:24:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:24:17 PM=>Info - End of callingService Method
10/24/2022 5:26:17 PM=>Info - Check time Elapsed
10/24/2022 5:26:17 PM=>Info - Call callingService Method
10/24/2022 5:26:17 PM=>Info:- Call Both
10/24/2022 5:26:17 PM=>Info:- Start Executing SMS Method
10/24/2022 5:26:17 PM=>Info:- End Executing SMS Method
10/24/2022 5:26:17 PM=>Info:- Start Mailing Method
10/24/2022 5:26:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:26:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:26:17 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:26:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:26:17 PM=>Info:- Count = 1
10/24/2022 5:26:17 PM=>Info:- Count 1
10/24/2022 5:26:17 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:26:17 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:26:17 PM=>Info:- Start SenMail Method
10/24/2022 5:26:17 PM=>UseDefaultCredentials
10/24/2022 5:26:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:26:17 PM=>EnableSsl = true
10/24/2022 5:26:17 PM=>DeliveryMethod
10/24/2022 5:26:17 PM=>Before Send
10/24/2022 5:27: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.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/24/2022 5:27:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:27:42 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:27:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:27:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:27:42 PM=>Info:- END Mailing Method
10/24/2022 5:27:42 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:27:42 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:27:42 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:27:42 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:27:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:27:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:27:42 PM=>Info - End of callingService Method
10/24/2022 5:29:42 PM=>Info - Check time Elapsed
10/24/2022 5:29:42 PM=>Info - Call callingService Method
10/24/2022 5:29:42 PM=>Info:- Call Both
10/24/2022 5:29:42 PM=>Info:- Start Executing SMS Method
10/24/2022 5:29:42 PM=>Info:- End Executing SMS Method
10/24/2022 5:29:42 PM=>Info:- Start Mailing Method
10/24/2022 5:29:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:29:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:29:42 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:29:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:29:42 PM=>Info:- Count = 1
10/24/2022 5:29:42 PM=>Info:- Count 1
10/24/2022 5:29:42 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:29:42 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:29:42 PM=>Info:- Start SenMail Method
10/24/2022 5:29:42 PM=>UseDefaultCredentials
10/24/2022 5:29:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:29:42 PM=>EnableSsl = true
10/24/2022 5:29:42 PM=>DeliveryMethod
10/24/2022 5:29:42 PM=>Before Send
10/24/2022 5:29: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/24/2022 5:29:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:29:42 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:29:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:29:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:29:42 PM=>Info:- END Mailing Method
10/24/2022 5:29:42 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:29:42 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:29:42 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:29:42 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:29:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:29:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:29:42 PM=>Info - End of callingService Method
10/24/2022 5:31:42 PM=>Info - Check time Elapsed
10/24/2022 5:31:42 PM=>Info - Call callingService Method
10/24/2022 5:31:42 PM=>Info:- Call Both
10/24/2022 5:31:42 PM=>Info:- Start Executing SMS Method
10/24/2022 5:31:42 PM=>Info:- End Executing SMS Method
10/24/2022 5:31:42 PM=>Info:- Start Mailing Method
10/24/2022 5:31:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:31:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:31:42 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:31:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:31:42 PM=>Info:- Count = 1
10/24/2022 5:31:42 PM=>Info:- Count 1
10/24/2022 5:31:42 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:31:42 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:31:42 PM=>Info:- Start SenMail Method
10/24/2022 5:31:42 PM=>UseDefaultCredentials
10/24/2022 5:31:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:31:42 PM=>EnableSsl = true
10/24/2022 5:31:42 PM=>DeliveryMethod
10/24/2022 5:31:42 PM=>Before Send
10/24/2022 5:31: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/24/2022 5:31:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:31:51 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:31:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:31:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:31:52 PM=>Info:- END Mailing Method
10/24/2022 5:31:52 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:31:52 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:31:52 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:31:52 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:31:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:31:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:31:52 PM=>Info - End of callingService Method
10/24/2022 5:33:52 PM=>Info - Check time Elapsed
10/24/2022 5:33:52 PM=>Info - Call callingService Method
10/24/2022 5:33:52 PM=>Info:- Call Both
10/24/2022 5:33:52 PM=>Info:- Start Executing SMS Method
10/24/2022 5:33:52 PM=>Info:- End Executing SMS Method
10/24/2022 5:33:52 PM=>Info:- Start Mailing Method
10/24/2022 5:33:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:33:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:33:52 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:33:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:33:52 PM=>Info:- Count = 1
10/24/2022 5:33:52 PM=>Info:- Count 1
10/24/2022 5:33:52 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:33:52 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:33:52 PM=>Info:- Start SenMail Method
10/24/2022 5:33:52 PM=>UseDefaultCredentials
10/24/2022 5:33:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:33:52 PM=>EnableSsl = true
10/24/2022 5:33:52 PM=>DeliveryMethod
10/24/2022 5:33:52 PM=>Before Send
10/24/2022 5:34: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/24/2022 5:34:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:34:43 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:34:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:34:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:34:43 PM=>Info:- END Mailing Method
10/24/2022 5:34:43 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:34:43 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:34:43 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:34:43 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:34:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:34:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:34:43 PM=>Info - End of callingService Method
10/24/2022 5:36:43 PM=>Info - Check time Elapsed
10/24/2022 5:36:43 PM=>Info - Call callingService Method
10/24/2022 5:36:43 PM=>Info:- Call Both
10/24/2022 5:36:43 PM=>Info:- Start Executing SMS Method
10/24/2022 5:36:43 PM=>Info:- End Executing SMS Method
10/24/2022 5:36:43 PM=>Info:- Start Mailing Method
10/24/2022 5:36:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:36:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:36:43 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:36:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:36:43 PM=>Info:- Count = 1
10/24/2022 5:36:43 PM=>Info:- Count 1
10/24/2022 5:36:43 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:36:43 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:36:43 PM=>Info:- Start SenMail Method
10/24/2022 5:36:43 PM=>UseDefaultCredentials
10/24/2022 5:36:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:36:43 PM=>EnableSsl = true
10/24/2022 5:36:43 PM=>DeliveryMethod
10/24/2022 5:36:43 PM=>Before Send
10/24/2022 5:38: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.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/24/2022 5:38:07 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:38:07 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:38:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:38:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:38:08 PM=>Info:- END Mailing Method
10/24/2022 5:38:08 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:38:08 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:38:08 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:38:08 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:38:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:38:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:38:08 PM=>Info - End of callingService Method
10/24/2022 5:40:08 PM=>Info - Check time Elapsed
10/24/2022 5:40:08 PM=>Info - Call callingService Method
10/24/2022 5:40:08 PM=>Info:- Call Both
10/24/2022 5:40:08 PM=>Info:- Start Executing SMS Method
10/24/2022 5:40:08 PM=>Info:- End Executing SMS Method
10/24/2022 5:40:08 PM=>Info:- Start Mailing Method
10/24/2022 5:40:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:40:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:40:08 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:40:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:40:08 PM=>Info:- Count = 1
10/24/2022 5:40:08 PM=>Info:- Count 1
10/24/2022 5:40:08 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:40:08 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:40:08 PM=>Info:- Start SenMail Method
10/24/2022 5:40:08 PM=>UseDefaultCredentials
10/24/2022 5:40:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:40:08 PM=>EnableSsl = true
10/24/2022 5:40:08 PM=>DeliveryMethod
10/24/2022 5:40:08 PM=>Before Send
10/24/2022 5:41: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.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/24/2022 5:41:32 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:41:32 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:41:32 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:41:32 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:41:32 PM=>Info:- END Mailing Method
10/24/2022 5:41:32 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:41:32 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:41:32 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:41:32 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:41:32 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:41:32 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:41:32 PM=>Info - End of callingService Method
10/24/2022 5:43:32 PM=>Info - Check time Elapsed
10/24/2022 5:43:32 PM=>Info - Call callingService Method
10/24/2022 5:43:32 PM=>Info:- Call Both
10/24/2022 5:43:32 PM=>Info:- Start Executing SMS Method
10/24/2022 5:43:32 PM=>Info:- End Executing SMS Method
10/24/2022 5:43:32 PM=>Info:- Start Mailing Method
10/24/2022 5:43:32 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:43:32 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:43:32 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:43:32 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:43:32 PM=>Info:- Count = 1
10/24/2022 5:43:32 PM=>Info:- Count 1
10/24/2022 5:43:32 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:43:32 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:43:32 PM=>Info:- Start SenMail Method
10/24/2022 5:43:32 PM=>UseDefaultCredentials
10/24/2022 5:43:32 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:43:32 PM=>EnableSsl = true
10/24/2022 5:43:32 PM=>DeliveryMethod
10/24/2022 5:43:32 PM=>Before Send
10/24/2022 5:43: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/24/2022 5:43:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:43:41 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:43:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:43:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:43:42 PM=>Info:- END Mailing Method
10/24/2022 5:43:42 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:43:42 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:43:42 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:43:42 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:43:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:43:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:43:42 PM=>Info - End of callingService Method
10/24/2022 5:45:42 PM=>Info - Check time Elapsed
10/24/2022 5:45:42 PM=>Info - Call callingService Method
10/24/2022 5:45:42 PM=>Info:- Call Both
10/24/2022 5:45:42 PM=>Info:- Start Executing SMS Method
10/24/2022 5:45:42 PM=>Info:- End Executing SMS Method
10/24/2022 5:45:42 PM=>Info:- Start Mailing Method
10/24/2022 5:45:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:45:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:45:42 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:45:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:45:42 PM=>Info:- Count = 1
10/24/2022 5:45:42 PM=>Info:- Count 1
10/24/2022 5:45:42 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:45:42 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:45:42 PM=>Info:- Start SenMail Method
10/24/2022 5:45:42 PM=>UseDefaultCredentials
10/24/2022 5:45:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:45:42 PM=>EnableSsl = true
10/24/2022 5:45:42 PM=>DeliveryMethod
10/24/2022 5:45:42 PM=>Before Send
10/24/2022 5:46: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/24/2022 5:46:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:46:45 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:46:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:46:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:46:45 PM=>Info:- END Mailing Method
10/24/2022 5:46:45 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:46:45 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:46:45 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:46:45 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:46:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:46:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:46:45 PM=>Info - End of callingService Method
10/24/2022 5:48:45 PM=>Info - Check time Elapsed
10/24/2022 5:48:45 PM=>Info - Call callingService Method
10/24/2022 5:48:45 PM=>Info:- Call Both
10/24/2022 5:48:45 PM=>Info:- Start Executing SMS Method
10/24/2022 5:48:45 PM=>Info:- End Executing SMS Method
10/24/2022 5:48:45 PM=>Info:- Start Mailing Method
10/24/2022 5:48:45 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:48:45 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:48:45 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:48:45 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:48:45 PM=>Info:- Count = 1
10/24/2022 5:48:45 PM=>Info:- Count 1
10/24/2022 5:48:45 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:48:45 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:48:45 PM=>Info:- Start SenMail Method
10/24/2022 5:48:45 PM=>UseDefaultCredentials
10/24/2022 5:48:45 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:48:45 PM=>EnableSsl = true
10/24/2022 5:48:45 PM=>DeliveryMethod
10/24/2022 5:48:45 PM=>Before Send
10/24/2022 5:50: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.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/24/2022 5:50:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:50:10 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:50:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:50:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:50:10 PM=>Info:- END Mailing Method
10/24/2022 5:50:10 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:50:10 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:50:10 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:50:10 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:50:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:50:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:50:10 PM=>Info - End of callingService Method
10/24/2022 5:52:10 PM=>Info - Check time Elapsed
10/24/2022 5:52:10 PM=>Info - Call callingService Method
10/24/2022 5:52:10 PM=>Info:- Call Both
10/24/2022 5:52:10 PM=>Info:- Start Executing SMS Method
10/24/2022 5:52:10 PM=>Info:- End Executing SMS Method
10/24/2022 5:52:10 PM=>Info:- Start Mailing Method
10/24/2022 5:52:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:52:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:52:10 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:52:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:52:10 PM=>Info:- Count = 1
10/24/2022 5:52:10 PM=>Info:- Count 1
10/24/2022 5:52:10 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:52:10 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:52:10 PM=>Info:- Start SenMail Method
10/24/2022 5:52:10 PM=>UseDefaultCredentials
10/24/2022 5:52:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:52:10 PM=>EnableSsl = true
10/24/2022 5:52:10 PM=>DeliveryMethod
10/24/2022 5:52:10 PM=>Before Send
10/24/2022 5:52: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/24/2022 5:52:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:52:10 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:52:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:52:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:52:10 PM=>Info:- END Mailing Method
10/24/2022 5:52:10 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:52:10 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:52:10 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:52:10 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:52:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:52:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:52:10 PM=>Info - End of callingService Method
10/24/2022 5:54:10 PM=>Info - Check time Elapsed
10/24/2022 5:54:10 PM=>Info - Call callingService Method
10/24/2022 5:54:10 PM=>Info:- Call Both
10/24/2022 5:54:10 PM=>Info:- Start Executing SMS Method
10/24/2022 5:54:10 PM=>Info:- End Executing SMS Method
10/24/2022 5:54:10 PM=>Info:- Start Mailing Method
10/24/2022 5:54:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:54:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:54:10 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:54:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:54:10 PM=>Info:- Count = 1
10/24/2022 5:54:10 PM=>Info:- Count 1
10/24/2022 5:54:10 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:54:10 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:54:10 PM=>Info:- Start SenMail Method
10/24/2022 5:54:10 PM=>UseDefaultCredentials
10/24/2022 5:54:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:54:10 PM=>EnableSsl = true
10/24/2022 5:54:10 PM=>DeliveryMethod
10/24/2022 5:54:10 PM=>Before Send
10/24/2022 5:54: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/24/2022 5:54:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:54:19 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:54:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:54:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:54:20 PM=>Info:- END Mailing Method
10/24/2022 5:54:20 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:54:20 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:54:20 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:54:20 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:54:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:54:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:54:20 PM=>Info - End of callingService Method
10/24/2022 5:56:20 PM=>Info - Check time Elapsed
10/24/2022 5:56:20 PM=>Info - Call callingService Method
10/24/2022 5:56:20 PM=>Info:- Call Both
10/24/2022 5:56:20 PM=>Info:- Start Executing SMS Method
10/24/2022 5:56:20 PM=>Info:- End Executing SMS Method
10/24/2022 5:56:20 PM=>Info:- Start Mailing Method
10/24/2022 5:56:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:56:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:56:20 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:56:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:56:20 PM=>Info:- Count = 1
10/24/2022 5:56:20 PM=>Info:- Count 1
10/24/2022 5:56:20 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:56:20 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:56:20 PM=>Info:- Start SenMail Method
10/24/2022 5:56:20 PM=>UseDefaultCredentials
10/24/2022 5:56:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:56:20 PM=>EnableSsl = true
10/24/2022 5:56:20 PM=>DeliveryMethod
10/24/2022 5:56:20 PM=>Before Send
10/24/2022 5:56: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/24/2022 5:56:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:56:23 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:56:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:56:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:56:23 PM=>Info:- END Mailing Method
10/24/2022 5:56:23 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:56:23 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:56:23 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:56:23 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:56:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:56:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:56:23 PM=>Info - End of callingService Method
10/24/2022 5:58:23 PM=>Info - Check time Elapsed
10/24/2022 5:58:23 PM=>Info - Call callingService Method
10/24/2022 5:58:23 PM=>Info:- Call Both
10/24/2022 5:58:23 PM=>Info:- Start Executing SMS Method
10/24/2022 5:58:23 PM=>Info:- End Executing SMS Method
10/24/2022 5:58:23 PM=>Info:- Start Mailing Method
10/24/2022 5:58:23 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 5:58:23 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 5:58:23 PM=>Info:- PendingMail.xml file read to list
10/24/2022 5:58:23 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 5:58:23 PM=>Info:- Count = 1
10/24/2022 5:58:23 PM=>Info:- Count 1
10/24/2022 5:58:23 PM=>Info - Fetching Data From MAIL XML
10/24/2022 5:58:23 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 5:58:23 PM=>Info:- Start SenMail Method
10/24/2022 5:58:23 PM=>UseDefaultCredentials
10/24/2022 5:58:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 5:58:23 PM=>EnableSsl = true
10/24/2022 5:58:23 PM=>DeliveryMethod
10/24/2022 5:58:23 PM=>Before Send
10/24/2022 5:58: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/24/2022 5:58:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 5:58:26 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 5:58:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 5:58:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 5:58:27 PM=>Info:- END Mailing Method
10/24/2022 5:58:27 PM=>Info:- Start Executing Telegram Method
10/24/2022 5:58:27 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 5:58:27 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 5:58:27 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 5:58:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 5:58:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 5:58:27 PM=>Info - End of callingService Method
10/24/2022 6:00:27 PM=>Info - Check time Elapsed
10/24/2022 6:00:27 PM=>Info - Call callingService Method
10/24/2022 6:00:27 PM=>Info:- Call Both
10/24/2022 6:00:27 PM=>Info:- Start Executing SMS Method
10/24/2022 6:00:27 PM=>Info:- End Executing SMS Method
10/24/2022 6:00:27 PM=>Info:- Start Mailing Method
10/24/2022 6:00:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:00:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:00:27 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:00:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:00:27 PM=>Info:- Count = 1
10/24/2022 6:00:27 PM=>Info:- Count 1
10/24/2022 6:00:27 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:00:27 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:00:27 PM=>Info:- Start SenMail Method
10/24/2022 6:00:27 PM=>UseDefaultCredentials
10/24/2022 6:00:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:00:27 PM=>EnableSsl = true
10/24/2022 6:00:27 PM=>DeliveryMethod
10/24/2022 6:00:27 PM=>Before Send
10/24/2022 6: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/24/2022 6:01:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:01:30 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:01:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:01:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:01:30 PM=>Info:- END Mailing Method
10/24/2022 6:01:30 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:01:30 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:01:30 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:01:30 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:01:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:01:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:01:30 PM=>Info - End of callingService Method
10/24/2022 6:03:30 PM=>Info - Check time Elapsed
10/24/2022 6:03:30 PM=>Info - Call callingService Method
10/24/2022 6:03:30 PM=>Info:- Call Both
10/24/2022 6:03:30 PM=>Info:- Start Executing SMS Method
10/24/2022 6:03:30 PM=>Info:- End Executing SMS Method
10/24/2022 6:03:30 PM=>Info:- Start Mailing Method
10/24/2022 6:03:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:03:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:03:30 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:03:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:03:30 PM=>Info:- Count = 1
10/24/2022 6:03:30 PM=>Info:- Count 1
10/24/2022 6:03:30 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:03:30 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:03:30 PM=>Info:- Start SenMail Method
10/24/2022 6:03:30 PM=>UseDefaultCredentials
10/24/2022 6:03:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:03:30 PM=>EnableSsl = true
10/24/2022 6:03:30 PM=>DeliveryMethod
10/24/2022 6:03:30 PM=>Before Send
10/24/2022 6:03: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/24/2022 6:03:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:03:39 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:03:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:03:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:03:40 PM=>Info:- END Mailing Method
10/24/2022 6:03:40 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:03:40 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:03:40 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:03:40 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:03:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:03:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:03:40 PM=>Info - End of callingService Method
10/24/2022 6:05:40 PM=>Info - Check time Elapsed
10/24/2022 6:05:40 PM=>Info - Call callingService Method
10/24/2022 6:05:40 PM=>Info:- Call Both
10/24/2022 6:05:40 PM=>Info:- Start Executing SMS Method
10/24/2022 6:05:40 PM=>Info:- End Executing SMS Method
10/24/2022 6:05:40 PM=>Info:- Start Mailing Method
10/24/2022 6:05:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:05:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:05:40 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:05:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:05:40 PM=>Info:- Count = 1
10/24/2022 6:05:40 PM=>Info:- Count 1
10/24/2022 6:05:40 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:05:40 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:05:40 PM=>Info:- Start SenMail Method
10/24/2022 6:05:40 PM=>UseDefaultCredentials
10/24/2022 6:05:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:05:40 PM=>EnableSsl = true
10/24/2022 6:05:40 PM=>DeliveryMethod
10/24/2022 6:05:40 PM=>Before Send
10/24/2022 6:07: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.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/24/2022 6:07:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:07:04 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:07:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:07:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:07:04 PM=>Info:- END Mailing Method
10/24/2022 6:07:04 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:07:04 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:07:04 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:07:04 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:07:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:07:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:07:04 PM=>Info - End of callingService Method
10/24/2022 6:09:04 PM=>Info - Check time Elapsed
10/24/2022 6:09:04 PM=>Info - Call callingService Method
10/24/2022 6:09:04 PM=>Info:- Call Both
10/24/2022 6:09:04 PM=>Info:- Start Executing SMS Method
10/24/2022 6:09:04 PM=>Info:- End Executing SMS Method
10/24/2022 6:09:04 PM=>Info:- Start Mailing Method
10/24/2022 6:09:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:09:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:09:04 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:09:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:09:04 PM=>Info:- Count = 1
10/24/2022 6:09:04 PM=>Info:- Count 1
10/24/2022 6:09:04 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:09:04 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:09:04 PM=>Info:- Start SenMail Method
10/24/2022 6:09:04 PM=>UseDefaultCredentials
10/24/2022 6:09:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:09:04 PM=>EnableSsl = true
10/24/2022 6:09:04 PM=>DeliveryMethod
10/24/2022 6:09:04 PM=>Before Send
10/24/2022 6:10: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.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/24/2022 6:10:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:10:29 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:10:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:10:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:10:29 PM=>Info:- END Mailing Method
10/24/2022 6:10:29 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:10:29 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:10:29 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:10:29 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:10:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:10:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:10:29 PM=>Info - End of callingService Method
10/24/2022 6:12:29 PM=>Info - Check time Elapsed
10/24/2022 6:12:29 PM=>Info - Call callingService Method
10/24/2022 6:12:29 PM=>Info:- Call Both
10/24/2022 6:12:29 PM=>Info:- Start Executing SMS Method
10/24/2022 6:12:29 PM=>Info:- End Executing SMS Method
10/24/2022 6:12:29 PM=>Info:- Start Mailing Method
10/24/2022 6:12:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:12:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:12:29 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:12:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:12:29 PM=>Info:- Count = 1
10/24/2022 6:12:29 PM=>Info:- Count 1
10/24/2022 6:12:29 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:12:29 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:12:29 PM=>Info:- Start SenMail Method
10/24/2022 6:12:29 PM=>UseDefaultCredentials
10/24/2022 6:12:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:12:29 PM=>EnableSsl = true
10/24/2022 6:12:29 PM=>DeliveryMethod
10/24/2022 6:12:29 PM=>Before Send
10/24/2022 6:13: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/24/2022 6:13:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:13:53 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:13:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:13:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:13:53 PM=>Info:- END Mailing Method
10/24/2022 6:13:53 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:13:53 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:13:53 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:13:53 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:13:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:13:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:13:53 PM=>Info - End of callingService Method
10/24/2022 6:15:53 PM=>Info - Check time Elapsed
10/24/2022 6:15:53 PM=>Info - Call callingService Method
10/24/2022 6:15:53 PM=>Info:- Call Both
10/24/2022 6:15:53 PM=>Info:- Start Executing SMS Method
10/24/2022 6:15:53 PM=>Info:- End Executing SMS Method
10/24/2022 6:15:53 PM=>Info:- Start Mailing Method
10/24/2022 6:15:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:15:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:15:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:15:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:15:53 PM=>Info:- Count = 1
10/24/2022 6:15:53 PM=>Info:- Count 1
10/24/2022 6:15:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:15:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:15:53 PM=>Info:- Start SenMail Method
10/24/2022 6:15:53 PM=>UseDefaultCredentials
10/24/2022 6:15:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:15:53 PM=>EnableSsl = true
10/24/2022 6:15:53 PM=>DeliveryMethod
10/24/2022 6:15:53 PM=>Before Send
10/24/2022 6:16: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/24/2022 6:16:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:16:02 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:16:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:16:03 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:16:03 PM=>Info:- END Mailing Method
10/24/2022 6:16:03 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:16:03 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:16:03 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:16:03 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:16:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:16:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:16:03 PM=>Info - End of callingService Method
10/24/2022 6:18:03 PM=>Info - Check time Elapsed
10/24/2022 6:18:03 PM=>Info - Call callingService Method
10/24/2022 6:18:03 PM=>Info:- Call Both
10/24/2022 6:18:03 PM=>Info:- Start Executing SMS Method
10/24/2022 6:18:03 PM=>Info:- End Executing SMS Method
10/24/2022 6:18:03 PM=>Info:- Start Mailing Method
10/24/2022 6:18:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:18:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:18:03 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:18:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:18:03 PM=>Info:- Count = 1
10/24/2022 6:18:03 PM=>Info:- Count 1
10/24/2022 6:18:03 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:18:03 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:18:03 PM=>Info:- Start SenMail Method
10/24/2022 6:18:03 PM=>UseDefaultCredentials
10/24/2022 6:18:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:18:03 PM=>EnableSsl = true
10/24/2022 6:18:03 PM=>DeliveryMethod
10/24/2022 6:18:03 PM=>Before Send
10/24/2022 6:18: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/24/2022 6:18:03 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:18:03 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:18:03 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:18:03 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:18:03 PM=>Info:- END Mailing Method
10/24/2022 6:18:03 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:18:03 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:18:03 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:18:03 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:18:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:18:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:18:03 PM=>Info - End of callingService Method
10/24/2022 6:20:03 PM=>Info - Check time Elapsed
10/24/2022 6:20:03 PM=>Info - Call callingService Method
10/24/2022 6:20:03 PM=>Info:- Call Both
10/24/2022 6:20:03 PM=>Info:- Start Executing SMS Method
10/24/2022 6:20:03 PM=>Info:- End Executing SMS Method
10/24/2022 6:20:03 PM=>Info:- Start Mailing Method
10/24/2022 6:20:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:20:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:20:03 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:20:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:20:03 PM=>Info:- Count = 1
10/24/2022 6:20:03 PM=>Info:- Count 1
10/24/2022 6:20:03 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:20:03 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:20:03 PM=>Info:- Start SenMail Method
10/24/2022 6:20:03 PM=>UseDefaultCredentials
10/24/2022 6:20:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:20:03 PM=>EnableSsl = true
10/24/2022 6:20:03 PM=>DeliveryMethod
10/24/2022 6:20:03 PM=>Before Send
10/24/2022 6:21: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 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/24/2022 6:21:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:21:27 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:21:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:21:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:21:28 PM=>Info:- END Mailing Method
10/24/2022 6:21:28 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:21:28 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:21:28 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:21:28 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:21:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:21:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:21:28 PM=>Info - End of callingService Method
10/24/2022 6:23:28 PM=>Info - Check time Elapsed
10/24/2022 6:23:28 PM=>Info - Call callingService Method
10/24/2022 6:23:28 PM=>Info:- Call Both
10/24/2022 6:23:28 PM=>Info:- Start Executing SMS Method
10/24/2022 6:23:28 PM=>Info:- End Executing SMS Method
10/24/2022 6:23:28 PM=>Info:- Start Mailing Method
10/24/2022 6:23:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:23:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:23:28 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:23:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:23:28 PM=>Info:- Count = 1
10/24/2022 6:23:28 PM=>Info:- Count 1
10/24/2022 6:23:28 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:23:28 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:23:28 PM=>Info:- Start SenMail Method
10/24/2022 6:23:28 PM=>UseDefaultCredentials
10/24/2022 6:23:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:23:28 PM=>EnableSsl = true
10/24/2022 6:23:28 PM=>DeliveryMethod
10/24/2022 6:23:28 PM=>Before Send
10/24/2022 6:23: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/24/2022 6:23:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:23:37 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:23:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:23:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:23:37 PM=>Info:- END Mailing Method
10/24/2022 6:23:37 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:23:37 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:23:37 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:23:37 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:23:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:23:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:23:37 PM=>Info - End of callingService Method
10/24/2022 6:25:37 PM=>Info - Check time Elapsed
10/24/2022 6:25:37 PM=>Info - Call callingService Method
10/24/2022 6:25:37 PM=>Info:- Call Both
10/24/2022 6:25:37 PM=>Info:- Start Executing SMS Method
10/24/2022 6:25:37 PM=>Info:- End Executing SMS Method
10/24/2022 6:25:37 PM=>Info:- Start Mailing Method
10/24/2022 6:25:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:25:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:25:37 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:25:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:25:37 PM=>Info:- Count = 1
10/24/2022 6:25:37 PM=>Info:- Count 1
10/24/2022 6:25:37 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:25:37 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:25:37 PM=>Info:- Start SenMail Method
10/24/2022 6:25:37 PM=>UseDefaultCredentials
10/24/2022 6:25:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:25:37 PM=>EnableSsl = true
10/24/2022 6:25:37 PM=>DeliveryMethod
10/24/2022 6:25:37 PM=>Before Send
10/24/2022 6:27:01 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/24/2022 6:27:01 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:27:01 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:27:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:27:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:27:02 PM=>Info:- END Mailing Method
10/24/2022 6:27:02 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:27:02 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:27:02 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:27:02 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:27:02 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:27:02 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:27:02 PM=>Info - End of callingService Method
10/24/2022 6:29:02 PM=>Info - Check time Elapsed
10/24/2022 6:29:02 PM=>Info - Call callingService Method
10/24/2022 6:29:02 PM=>Info:- Call Both
10/24/2022 6:29:02 PM=>Info:- Start Executing SMS Method
10/24/2022 6:29:02 PM=>Info:- End Executing SMS Method
10/24/2022 6:29:02 PM=>Info:- Start Mailing Method
10/24/2022 6:29:02 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:29:02 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:29:02 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:29:02 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:29:02 PM=>Info:- Count = 1
10/24/2022 6:29:02 PM=>Info:- Count 1
10/24/2022 6:29:02 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:29:02 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:29:02 PM=>Info:- Start SenMail Method
10/24/2022 6:29:02 PM=>UseDefaultCredentials
10/24/2022 6:29:02 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:29:02 PM=>EnableSsl = true
10/24/2022 6:29:02 PM=>DeliveryMethod
10/24/2022 6:29:02 PM=>Before Send
10/24/2022 6:29: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/24/2022 6:29:11 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:29:11 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:29:11 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:29:11 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:29:11 PM=>Info:- END Mailing Method
10/24/2022 6:29:11 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:29:11 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:29:11 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:29:11 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:29:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:29:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:29:11 PM=>Info - End of callingService Method
10/24/2022 6:31:11 PM=>Info - Check time Elapsed
10/24/2022 6:31:11 PM=>Info - Call callingService Method
10/24/2022 6:31:11 PM=>Info:- Call Both
10/24/2022 6:31:11 PM=>Info:- Start Executing SMS Method
10/24/2022 6:31:11 PM=>Info:- End Executing SMS Method
10/24/2022 6:31:11 PM=>Info:- Start Mailing Method
10/24/2022 6:31:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:31:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:31:11 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:31:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:31:11 PM=>Info:- Count = 1
10/24/2022 6:31:11 PM=>Info:- Count 1
10/24/2022 6:31:11 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:31:11 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:31:11 PM=>Info:- Start SenMail Method
10/24/2022 6:31:11 PM=>UseDefaultCredentials
10/24/2022 6:31:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:31:11 PM=>EnableSsl = true
10/24/2022 6:31:11 PM=>DeliveryMethod
10/24/2022 6:31:11 PM=>Before Send
10/24/2022 6:32: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.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/24/2022 6:32:36 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:32:36 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:32:36 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:32:36 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:32:36 PM=>Info:- END Mailing Method
10/24/2022 6:32:36 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:32:36 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:32:36 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:32:36 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:32:36 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:32:36 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:32:36 PM=>Info - End of callingService Method
10/24/2022 6:34:36 PM=>Info - Check time Elapsed
10/24/2022 6:34:36 PM=>Info - Call callingService Method
10/24/2022 6:34:36 PM=>Info:- Call Both
10/24/2022 6:34:36 PM=>Info:- Start Executing SMS Method
10/24/2022 6:34:36 PM=>Info:- End Executing SMS Method
10/24/2022 6:34:36 PM=>Info:- Start Mailing Method
10/24/2022 6:34:36 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:34:36 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:34:36 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:34:36 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:34:36 PM=>Info:- Count = 1
10/24/2022 6:34:36 PM=>Info:- Count 1
10/24/2022 6:34:36 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:34:36 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:34:36 PM=>Info:- Start SenMail Method
10/24/2022 6:34:36 PM=>UseDefaultCredentials
10/24/2022 6:34:36 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:34:36 PM=>EnableSsl = true
10/24/2022 6:34:36 PM=>DeliveryMethod
10/24/2022 6:34:36 PM=>Before Send
10/24/2022 6:34: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/24/2022 6:34:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:34:39 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:34:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:34:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:34:39 PM=>Info:- END Mailing Method
10/24/2022 6:34:39 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:34:39 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:34:39 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:34:39 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:34:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:34:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:34:39 PM=>Info - End of callingService Method
10/24/2022 6:36:39 PM=>Info - Check time Elapsed
10/24/2022 6:36:39 PM=>Info - Call callingService Method
10/24/2022 6:36:39 PM=>Info:- Call Both
10/24/2022 6:36:39 PM=>Info:- Start Executing SMS Method
10/24/2022 6:36:39 PM=>Info:- End Executing SMS Method
10/24/2022 6:36:39 PM=>Info:- Start Mailing Method
10/24/2022 6:36:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:36:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:36:39 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:36:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:36:39 PM=>Info:- Count = 1
10/24/2022 6:36:39 PM=>Info:- Count 1
10/24/2022 6:36:39 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:36:39 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:36:39 PM=>Info:- Start SenMail Method
10/24/2022 6:36:40 PM=>UseDefaultCredentials
10/24/2022 6:36:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:36:40 PM=>EnableSsl = true
10/24/2022 6:36:40 PM=>DeliveryMethod
10/24/2022 6:36:40 PM=>Before Send
10/24/2022 6:37: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/24/2022 6:37:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:37:52 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:37:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:37:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:37:52 PM=>Info:- END Mailing Method
10/24/2022 6:37:52 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:37:52 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:37:52 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:37:52 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:37:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:37:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:37:52 PM=>Info - End of callingService Method
10/24/2022 6:39:52 PM=>Info - Check time Elapsed
10/24/2022 6:39:52 PM=>Info - Call callingService Method
10/24/2022 6:39:52 PM=>Info:- Call Both
10/24/2022 6:39:52 PM=>Info:- Start Executing SMS Method
10/24/2022 6:39:52 PM=>Info:- End Executing SMS Method
10/24/2022 6:39:52 PM=>Info:- Start Mailing Method
10/24/2022 6:39:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:39:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:39:52 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:39:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:39:52 PM=>Info:- Count = 1
10/24/2022 6:39:52 PM=>Info:- Count 1
10/24/2022 6:39:52 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:39:52 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:39:52 PM=>Info:- Start SenMail Method
10/24/2022 6:39:52 PM=>UseDefaultCredentials
10/24/2022 6:39:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:39:52 PM=>EnableSsl = true
10/24/2022 6:39:52 PM=>DeliveryMethod
10/24/2022 6:39:52 PM=>Before Send
10/24/2022 6:41: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.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/24/2022 6:41:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:41:16 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:41:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:41:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:41:16 PM=>Info:- END Mailing Method
10/24/2022 6:41:17 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:41:17 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:41:17 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:41:17 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:41:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:41:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:41:17 PM=>Info - End of callingService Method
10/24/2022 6:43:17 PM=>Info - Check time Elapsed
10/24/2022 6:43:17 PM=>Info - Call callingService Method
10/24/2022 6:43:17 PM=>Info:- Call Both
10/24/2022 6:43:17 PM=>Info:- Start Executing SMS Method
10/24/2022 6:43:17 PM=>Info:- End Executing SMS Method
10/24/2022 6:43:17 PM=>Info:- Start Mailing Method
10/24/2022 6:43:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:43:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:43:17 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:43:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:43:17 PM=>Info:- Count = 1
10/24/2022 6:43:17 PM=>Info:- Count 1
10/24/2022 6:43:17 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:43:17 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:43:17 PM=>Info:- Start SenMail Method
10/24/2022 6:43:17 PM=>UseDefaultCredentials
10/24/2022 6:43:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:43:17 PM=>EnableSsl = true
10/24/2022 6:43:17 PM=>DeliveryMethod
10/24/2022 6:43:17 PM=>Before Send
10/24/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/24/2022 6:43:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:43:20 PM=>(SenMail)Failure sending CC mail ID :
10/24/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/24/2022 6:43:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:43:20 PM=>Info:- END Mailing Method
10/24/2022 6:43:20 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:43:20 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:43:20 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:43:20 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:43:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:43:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:43:20 PM=>Info - End of callingService Method
10/24/2022 6:45:20 PM=>Info - Check time Elapsed
10/24/2022 6:45:20 PM=>Info - Call callingService Method
10/24/2022 6:45:20 PM=>Info:- Call Both
10/24/2022 6:45:20 PM=>Info:- Start Executing SMS Method
10/24/2022 6:45:20 PM=>Info:- End Executing SMS Method
10/24/2022 6:45:20 PM=>Info:- Start Mailing Method
10/24/2022 6:45:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:45:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:45:20 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:45:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:45:20 PM=>Info:- Count = 1
10/24/2022 6:45:20 PM=>Info:- Count 1
10/24/2022 6:45:20 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:45:20 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:45:20 PM=>Info:- Start SenMail Method
10/24/2022 6:45:20 PM=>UseDefaultCredentials
10/24/2022 6:45:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:45:20 PM=>EnableSsl = true
10/24/2022 6:45:20 PM=>DeliveryMethod
10/24/2022 6:45:20 PM=>Before Send
10/24/2022 6:45: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/24/2022 6:45:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:45:20 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:45:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:45:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:45:20 PM=>Info:- END Mailing Method
10/24/2022 6:45:20 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:45:20 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:45:20 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:45:20 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:45:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:45:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:45:20 PM=>Info - End of callingService Method
10/24/2022 6:47:20 PM=>Info - Check time Elapsed
10/24/2022 6:47:20 PM=>Info - Call callingService Method
10/24/2022 6:47:20 PM=>Info:- Call Both
10/24/2022 6:47:20 PM=>Info:- Start Executing SMS Method
10/24/2022 6:47:20 PM=>Info:- End Executing SMS Method
10/24/2022 6:47:20 PM=>Info:- Start Mailing Method
10/24/2022 6:47:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:47:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:47:20 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:47:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:47:20 PM=>Info:- Count = 1
10/24/2022 6:47:20 PM=>Info:- Count 1
10/24/2022 6:47:20 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:47:20 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:47:20 PM=>Info:- Start SenMail Method
10/24/2022 6:47:20 PM=>UseDefaultCredentials
10/24/2022 6:47:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:47:20 PM=>EnableSsl = true
10/24/2022 6:47:20 PM=>DeliveryMethod
10/24/2022 6:47:20 PM=>Before Send
10/24/2022 6:47: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/24/2022 6:47:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:47:23 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:47:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:47:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:47:24 PM=>Info:- END Mailing Method
10/24/2022 6:47:24 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:47:24 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:47:24 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:47:24 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:47:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:47:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:47:24 PM=>Info - End of callingService Method
10/24/2022 6:49:24 PM=>Info - Check time Elapsed
10/24/2022 6:49:24 PM=>Info - Call callingService Method
10/24/2022 6:49:24 PM=>Info:- Call Both
10/24/2022 6:49:24 PM=>Info:- Start Executing SMS Method
10/24/2022 6:49:24 PM=>Info:- End Executing SMS Method
10/24/2022 6:49:24 PM=>Info:- Start Mailing Method
10/24/2022 6:49:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:49:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:49:24 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:49:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:49:24 PM=>Info:- Count = 1
10/24/2022 6:49:24 PM=>Info:- Count 1
10/24/2022 6:49:24 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:49:24 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:49:24 PM=>Info:- Start SenMail Method
10/24/2022 6:49:24 PM=>UseDefaultCredentials
10/24/2022 6:49:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:49:24 PM=>EnableSsl = true
10/24/2022 6:49:24 PM=>DeliveryMethod
10/24/2022 6:49:24 PM=>Before Send
10/24/2022 6:49: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/24/2022 6:49:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:49:24 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:49:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:49:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:49:24 PM=>Info:- END Mailing Method
10/24/2022 6:49:24 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:49:24 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:49:24 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:49:24 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:49:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:49:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:49:24 PM=>Info - End of callingService Method
10/24/2022 6:51:25 PM=>Info - Check time Elapsed
10/24/2022 6:51:25 PM=>Info - Call callingService Method
10/24/2022 6:51:25 PM=>Info:- Call Both
10/24/2022 6:51:25 PM=>Info:- Start Executing SMS Method
10/24/2022 6:51:25 PM=>Info:- End Executing SMS Method
10/24/2022 6:51:25 PM=>Info:- Start Mailing Method
10/24/2022 6:51:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:51:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:51:25 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:51:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:51:25 PM=>Info:- Count = 1
10/24/2022 6:51:25 PM=>Info:- Count 1
10/24/2022 6:51:25 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:51:25 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:51:25 PM=>Info:- Start SenMail Method
10/24/2022 6:51:25 PM=>UseDefaultCredentials
10/24/2022 6:51:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:51:25 PM=>EnableSsl = true
10/24/2022 6:51:25 PM=>DeliveryMethod
10/24/2022 6:51:25 PM=>Before Send
10/24/2022 6:52:49 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/24/2022 6:52:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:52:49 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:52:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:52:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:52:49 PM=>Info:- END Mailing Method
10/24/2022 6:52:49 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:52:49 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:52:49 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:52:49 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:52:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:52:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:52:49 PM=>Info - End of callingService Method
10/24/2022 6:54:49 PM=>Info - Check time Elapsed
10/24/2022 6:54:49 PM=>Info - Call callingService Method
10/24/2022 6:54:49 PM=>Info:- Call Both
10/24/2022 6:54:49 PM=>Info:- Start Executing SMS Method
10/24/2022 6:54:49 PM=>Info:- End Executing SMS Method
10/24/2022 6:54:49 PM=>Info:- Start Mailing Method
10/24/2022 6:54:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:54:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:54:49 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:54:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:54:49 PM=>Info:- Count = 1
10/24/2022 6:54:49 PM=>Info:- Count 1
10/24/2022 6:54:49 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:54:49 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:54:49 PM=>Info:- Start SenMail Method
10/24/2022 6:54:49 PM=>UseDefaultCredentials
10/24/2022 6:54:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:54:49 PM=>EnableSsl = true
10/24/2022 6:54:49 PM=>DeliveryMethod
10/24/2022 6:54:49 PM=>Before Send
10/24/2022 6:56:13 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.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/24/2022 6:56:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:56:13 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:56:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:56:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:56:14 PM=>Info:- END Mailing Method
10/24/2022 6:56:14 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:56:14 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:56:14 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:56:14 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:56:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:56:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:56:14 PM=>Info - End of callingService Method
10/24/2022 6:58:14 PM=>Info - Check time Elapsed
10/24/2022 6:58:14 PM=>Info - Call callingService Method
10/24/2022 6:58:14 PM=>Info:- Call Both
10/24/2022 6:58:14 PM=>Info:- Start Executing SMS Method
10/24/2022 6:58:14 PM=>Info:- End Executing SMS Method
10/24/2022 6:58:14 PM=>Info:- Start Mailing Method
10/24/2022 6:58:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 6:58:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 6:58:14 PM=>Info:- PendingMail.xml file read to list
10/24/2022 6:58:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 6:58:14 PM=>Info:- Count = 1
10/24/2022 6:58:14 PM=>Info:- Count 1
10/24/2022 6:58:14 PM=>Info - Fetching Data From MAIL XML
10/24/2022 6:58:14 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 6:58:14 PM=>Info:- Start SenMail Method
10/24/2022 6:58:14 PM=>UseDefaultCredentials
10/24/2022 6:58:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 6:58:14 PM=>EnableSsl = true
10/24/2022 6:58:14 PM=>DeliveryMethod
10/24/2022 6:58:14 PM=>Before Send
10/24/2022 6:58: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/24/2022 6:58:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 6:58:14 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 6:58:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 6:58:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 6:58:14 PM=>Info:- END Mailing Method
10/24/2022 6:58:14 PM=>Info:- Start Executing Telegram Method
10/24/2022 6:58:14 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 6:58:14 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 6:58:14 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 6:58:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 6:58:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 6:58:14 PM=>Info - End of callingService Method
10/24/2022 7:00:14 PM=>Info - Check time Elapsed
10/24/2022 7:00:14 PM=>Info - Call callingService Method
10/24/2022 7:00:14 PM=>Info:- Call Both
10/24/2022 7:00:14 PM=>Info:- Start Executing SMS Method
10/24/2022 7:00:14 PM=>Info:- End Executing SMS Method
10/24/2022 7:00:14 PM=>Info:- Start Mailing Method
10/24/2022 7:00:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:00:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:00:14 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:00:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:00:14 PM=>Info:- Count = 1
10/24/2022 7:00:14 PM=>Info:- Count 1
10/24/2022 7:00:14 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:00:14 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:00:14 PM=>Info:- Start SenMail Method
10/24/2022 7:00:14 PM=>UseDefaultCredentials
10/24/2022 7:00:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:00:14 PM=>EnableSsl = true
10/24/2022 7:00:14 PM=>DeliveryMethod
10/24/2022 7:00:14 PM=>Before Send
10/24/2022 7:00: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/24/2022 7:00:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:00:14 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:00:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:00:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:00:14 PM=>Info:- END Mailing Method
10/24/2022 7:00:14 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:00:14 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:00:14 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:00:14 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:00:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:00:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:00:14 PM=>Info - End of callingService Method
10/24/2022 7:02:14 PM=>Info - Check time Elapsed
10/24/2022 7:02:14 PM=>Info - Call callingService Method
10/24/2022 7:02:14 PM=>Info:- Call Both
10/24/2022 7:02:14 PM=>Info:- Start Executing SMS Method
10/24/2022 7:02:14 PM=>Info:- End Executing SMS Method
10/24/2022 7:02:14 PM=>Info:- Start Mailing Method
10/24/2022 7:02:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:02:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:02:14 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:02:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:02:14 PM=>Info:- Count = 1
10/24/2022 7:02:14 PM=>Info:- Count 1
10/24/2022 7:02:14 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:02:14 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:02:14 PM=>Info:- Start SenMail Method
10/24/2022 7:02:14 PM=>UseDefaultCredentials
10/24/2022 7:02:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:02:14 PM=>EnableSsl = true
10/24/2022 7:02:14 PM=>DeliveryMethod
10/24/2022 7:02:14 PM=>Before Send
10/24/2022 7:02:17 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/24/2022 7:02:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:02:17 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:02:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:02:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:02:18 PM=>Info:- END Mailing Method
10/24/2022 7:02:18 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:02:18 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:02:18 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:02:18 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:02:18 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:02:18 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:02:18 PM=>Info - End of callingService Method
10/24/2022 7:04:18 PM=>Info - Check time Elapsed
10/24/2022 7:04:18 PM=>Info - Call callingService Method
10/24/2022 7:04:18 PM=>Info:- Call Both
10/24/2022 7:04:18 PM=>Info:- Start Executing SMS Method
10/24/2022 7:04:18 PM=>Info:- End Executing SMS Method
10/24/2022 7:04:18 PM=>Info:- Start Mailing Method
10/24/2022 7:04:18 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:04:18 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:04:18 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:04:18 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:04:18 PM=>Info:- Count = 1
10/24/2022 7:04:18 PM=>Info:- Count 1
10/24/2022 7:04:18 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:04:18 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:04:18 PM=>Info:- Start SenMail Method
10/24/2022 7:04:18 PM=>UseDefaultCredentials
10/24/2022 7:04:18 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:04:18 PM=>EnableSsl = true
10/24/2022 7:04:18 PM=>DeliveryMethod
10/24/2022 7:04:18 PM=>Before Send
10/24/2022 7:05: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.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/24/2022 7:05:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:05:42 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:05:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:05:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:05:42 PM=>Info:- END Mailing Method
10/24/2022 7:05:42 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:05:42 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:05:42 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:05:42 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:05:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:05:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:05:42 PM=>Info - End of callingService Method
10/24/2022 7:07:42 PM=>Info - Check time Elapsed
10/24/2022 7:07:42 PM=>Info - Call callingService Method
10/24/2022 7:07:42 PM=>Info:- Call Both
10/24/2022 7:07:42 PM=>Info:- Start Executing SMS Method
10/24/2022 7:07:42 PM=>Info:- End Executing SMS Method
10/24/2022 7:07:42 PM=>Info:- Start Mailing Method
10/24/2022 7:07:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:07:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:07:42 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:07:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:07:42 PM=>Info:- Count = 1
10/24/2022 7:07:42 PM=>Info:- Count 1
10/24/2022 7:07:42 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:07:42 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:07:42 PM=>Info:- Start SenMail Method
10/24/2022 7:07:42 PM=>UseDefaultCredentials
10/24/2022 7:07:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:07:42 PM=>EnableSsl = true
10/24/2022 7:07:42 PM=>DeliveryMethod
10/24/2022 7:07:42 PM=>Before Send
10/24/2022 7: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/24/2022 7:08:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:08:24 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:08:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:08:25 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:08:25 PM=>Info:- END Mailing Method
10/24/2022 7:08:25 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:08:25 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:08:25 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:08:25 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:08:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:08:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:08:25 PM=>Info - End of callingService Method
10/24/2022 7:10:25 PM=>Info - Check time Elapsed
10/24/2022 7:10:25 PM=>Info - Call callingService Method
10/24/2022 7:10:25 PM=>Info:- Call Both
10/24/2022 7:10:25 PM=>Info:- Start Executing SMS Method
10/24/2022 7:10:25 PM=>Info:- End Executing SMS Method
10/24/2022 7:10:25 PM=>Info:- Start Mailing Method
10/24/2022 7:10:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:10:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:10:25 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:10:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:10:25 PM=>Info:- Count = 1
10/24/2022 7:10:25 PM=>Info:- Count 1
10/24/2022 7:10:25 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:10:25 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:10:25 PM=>Info:- Start SenMail Method
10/24/2022 7:10:25 PM=>UseDefaultCredentials
10/24/2022 7:10:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:10:25 PM=>EnableSsl = true
10/24/2022 7:10:25 PM=>DeliveryMethod
10/24/2022 7:10:25 PM=>Before Send
10/24/2022 7:10: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/24/2022 7:10:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:10:28 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:10:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:10:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:10:28 PM=>Info:- END Mailing Method
10/24/2022 7:10:28 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:10:28 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:10:28 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:10:28 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:10:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:10:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:10:28 PM=>Info - End of callingService Method
10/24/2022 7:12:28 PM=>Info - Check time Elapsed
10/24/2022 7:12:28 PM=>Info - Call callingService Method
10/24/2022 7:12:28 PM=>Info:- Call Both
10/24/2022 7:12:28 PM=>Info:- Start Executing SMS Method
10/24/2022 7:12:28 PM=>Info:- End Executing SMS Method
10/24/2022 7:12:28 PM=>Info:- Start Mailing Method
10/24/2022 7:12:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:12:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:12:28 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:12:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:12:28 PM=>Info:- Count = 1
10/24/2022 7:12:28 PM=>Info:- Count 1
10/24/2022 7:12:28 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:12:28 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:12:28 PM=>Info:- Start SenMail Method
10/24/2022 7:12:28 PM=>UseDefaultCredentials
10/24/2022 7:12:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:12:28 PM=>EnableSsl = true
10/24/2022 7:12:28 PM=>DeliveryMethod
10/24/2022 7:12:28 PM=>Before Send
10/24/2022 7:13: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.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/24/2022 7:13:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:13:52 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:13:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:13:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:13:53 PM=>Info:- END Mailing Method
10/24/2022 7:13:53 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:13:53 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:13:53 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:13:53 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:13:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:13:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:13:53 PM=>Info - End of callingService Method
10/24/2022 7:15:53 PM=>Info - Check time Elapsed
10/24/2022 7:15:53 PM=>Info - Call callingService Method
10/24/2022 7:15:53 PM=>Info:- Call Both
10/24/2022 7:15:53 PM=>Info:- Start Executing SMS Method
10/24/2022 7:15:53 PM=>Info:- End Executing SMS Method
10/24/2022 7:15:53 PM=>Info:- Start Mailing Method
10/24/2022 7:15:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:15:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:15:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:15:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:15:53 PM=>Info:- Count = 1
10/24/2022 7:15:53 PM=>Info:- Count 1
10/24/2022 7:15:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:15:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:15:53 PM=>Info:- Start SenMail Method
10/24/2022 7:15:53 PM=>UseDefaultCredentials
10/24/2022 7:15:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:15:53 PM=>EnableSsl = true
10/24/2022 7:15:53 PM=>DeliveryMethod
10/24/2022 7:15:53 PM=>Before Send
10/24/2022 7:17: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.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/24/2022 7:17:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:17:17 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:17:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:17:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:17:17 PM=>Info:- END Mailing Method
10/24/2022 7:17:17 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:17:17 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:17:17 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:17:17 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:17:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:17:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:17:17 PM=>Info - End of callingService Method
10/24/2022 7:19:17 PM=>Info - Check time Elapsed
10/24/2022 7:19:17 PM=>Info - Call callingService Method
10/24/2022 7:19:17 PM=>Info:- Call Both
10/24/2022 7:19:17 PM=>Info:- Start Executing SMS Method
10/24/2022 7:19:17 PM=>Info:- End Executing SMS Method
10/24/2022 7:19:17 PM=>Info:- Start Mailing Method
10/24/2022 7:19:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:19:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:19:17 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:19:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:19:17 PM=>Info:- Count = 1
10/24/2022 7:19:17 PM=>Info:- Count 1
10/24/2022 7:19:17 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:19:17 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:19:17 PM=>Info:- Start SenMail Method
10/24/2022 7:19:17 PM=>UseDefaultCredentials
10/24/2022 7:19:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:19:17 PM=>EnableSsl = true
10/24/2022 7:19:17 PM=>DeliveryMethod
10/24/2022 7:19:17 PM=>Before Send
10/24/2022 7:19: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/24/2022 7:19:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:19:38 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:19:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:19:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:19:39 PM=>Info:- END Mailing Method
10/24/2022 7:19:39 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:19:39 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:19:39 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:19:39 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:19:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:19:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:19:39 PM=>Info - End of callingService Method
10/24/2022 7:21:39 PM=>Info - Check time Elapsed
10/24/2022 7:21:39 PM=>Info - Call callingService Method
10/24/2022 7:21:39 PM=>Info:- Call Both
10/24/2022 7:21:39 PM=>Info:- Start Executing SMS Method
10/24/2022 7:21:39 PM=>Info:- End Executing SMS Method
10/24/2022 7:21:39 PM=>Info:- Start Mailing Method
10/24/2022 7:21:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:21:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:21:39 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:21:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:21:39 PM=>Info:- Count = 1
10/24/2022 7:21:39 PM=>Info:- Count 1
10/24/2022 7:21:39 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:21:39 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:21:39 PM=>Info:- Start SenMail Method
10/24/2022 7:21:39 PM=>UseDefaultCredentials
10/24/2022 7:21:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:21:39 PM=>EnableSsl = true
10/24/2022 7:21:39 PM=>DeliveryMethod
10/24/2022 7:21:39 PM=>Before Send
10/24/2022 7:22: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/24/2022 7:22:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:22:42 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:22:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:22:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:22:42 PM=>Info:- END Mailing Method
10/24/2022 7:22:42 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:22:42 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:22:42 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:22:42 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:22:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:22:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:22:42 PM=>Info - End of callingService Method
10/24/2022 7:24:42 PM=>Info - Check time Elapsed
10/24/2022 7:24:42 PM=>Info - Call callingService Method
10/24/2022 7:24:42 PM=>Info:- Call Both
10/24/2022 7:24:42 PM=>Info:- Start Executing SMS Method
10/24/2022 7:24:42 PM=>Info:- End Executing SMS Method
10/24/2022 7:24:42 PM=>Info:- Start Mailing Method
10/24/2022 7:24:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:24:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:24:42 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:24:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:24:42 PM=>Info:- Count = 1
10/24/2022 7:24:42 PM=>Info:- Count 1
10/24/2022 7:24:42 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:24:42 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:24:42 PM=>Info:- Start SenMail Method
10/24/2022 7:24:42 PM=>UseDefaultCredentials
10/24/2022 7:24:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:24:42 PM=>EnableSsl = true
10/24/2022 7:24:42 PM=>DeliveryMethod
10/24/2022 7:24:42 PM=>Before Send
10/24/2022 7:24: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/24/2022 7:24:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:24:42 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:24:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:24:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:24:43 PM=>Info:- END Mailing Method
10/24/2022 7:24:43 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:24:43 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:24:43 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:24:43 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:24:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:24:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:24:43 PM=>Info - End of callingService Method
10/24/2022 7:26:43 PM=>Info - Check time Elapsed
10/24/2022 7:26:43 PM=>Info - Call callingService Method
10/24/2022 7:26:43 PM=>Info:- Call Both
10/24/2022 7:26:43 PM=>Info:- Start Executing SMS Method
10/24/2022 7:26:43 PM=>Info:- End Executing SMS Method
10/24/2022 7:26:43 PM=>Info:- Start Mailing Method
10/24/2022 7:26:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:26:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:26:43 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:26:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:26:43 PM=>Info:- Count = 1
10/24/2022 7:26:43 PM=>Info:- Count 1
10/24/2022 7:26:43 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:26:43 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:26:43 PM=>Info:- Start SenMail Method
10/24/2022 7:26:43 PM=>UseDefaultCredentials
10/24/2022 7:26:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:26:43 PM=>EnableSsl = true
10/24/2022 7:26:43 PM=>DeliveryMethod
10/24/2022 7:26:43 PM=>Before Send
10/24/2022 7:27: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/24/2022 7:27:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:27:46 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:27:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:27:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:27:46 PM=>Info:- END Mailing Method
10/24/2022 7:27:46 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:27:46 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:27:46 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:27:46 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:27:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:27:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:27:46 PM=>Info - End of callingService Method
10/24/2022 7:29:46 PM=>Info - Check time Elapsed
10/24/2022 7:29:46 PM=>Info - Call callingService Method
10/24/2022 7:29:46 PM=>Info:- Call Both
10/24/2022 7:29:46 PM=>Info:- Start Executing SMS Method
10/24/2022 7:29:46 PM=>Info:- End Executing SMS Method
10/24/2022 7:29:46 PM=>Info:- Start Mailing Method
10/24/2022 7:29:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:29:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:29:46 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:29:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:29:46 PM=>Info:- Count = 1
10/24/2022 7:29:46 PM=>Info:- Count 1
10/24/2022 7:29:46 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:29:46 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:29:46 PM=>Info:- Start SenMail Method
10/24/2022 7:29:46 PM=>UseDefaultCredentials
10/24/2022 7:29:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:29:46 PM=>EnableSsl = true
10/24/2022 7:29:46 PM=>DeliveryMethod
10/24/2022 7:29:46 PM=>Before Send
10/24/2022 7:31: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.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/24/2022 7:31:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:31:10 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:31:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:31:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:31:11 PM=>Info:- END Mailing Method
10/24/2022 7:31:11 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:31:11 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:31:11 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:31:11 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:31:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:31:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:31:11 PM=>Info - End of callingService Method
10/24/2022 7:33:11 PM=>Info - Check time Elapsed
10/24/2022 7:33:11 PM=>Info - Call callingService Method
10/24/2022 7:33:11 PM=>Info:- Call Both
10/24/2022 7:33:11 PM=>Info:- Start Executing SMS Method
10/24/2022 7:33:11 PM=>Info:- End Executing SMS Method
10/24/2022 7:33:11 PM=>Info:- Start Mailing Method
10/24/2022 7:33:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:33:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:33:11 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:33:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:33:11 PM=>Info:- Count = 1
10/24/2022 7:33:11 PM=>Info:- Count 1
10/24/2022 7:33:11 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:33:11 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:33:11 PM=>Info:- Start SenMail Method
10/24/2022 7:33:11 PM=>UseDefaultCredentials
10/24/2022 7:33:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:33:11 PM=>EnableSsl = true
10/24/2022 7:33:11 PM=>DeliveryMethod
10/24/2022 7:33:11 PM=>Before Send
10/24/2022 7:34: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.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/24/2022 7:34:35 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:34:35 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:34:35 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:34:35 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:34:35 PM=>Info:- END Mailing Method
10/24/2022 7:34:35 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:34:35 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:34:35 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:34:35 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:34:35 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:34:35 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:34:35 PM=>Info - End of callingService Method
10/24/2022 7:36:35 PM=>Info - Check time Elapsed
10/24/2022 7:36:35 PM=>Info - Call callingService Method
10/24/2022 7:36:35 PM=>Info:- Call Both
10/24/2022 7:36:35 PM=>Info:- Start Executing SMS Method
10/24/2022 7:36:35 PM=>Info:- End Executing SMS Method
10/24/2022 7:36:35 PM=>Info:- Start Mailing Method
10/24/2022 7:36:35 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:36:35 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:36:35 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:36:35 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:36:35 PM=>Info:- Count = 1
10/24/2022 7:36:35 PM=>Info:- Count 1
10/24/2022 7:36:35 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:36:35 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:36:35 PM=>Info:- Start SenMail Method
10/24/2022 7:36:35 PM=>UseDefaultCredentials
10/24/2022 7:36:35 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:36:35 PM=>EnableSsl = true
10/24/2022 7:36:35 PM=>DeliveryMethod
10/24/2022 7:36:35 PM=>Before Send
10/24/2022 7:38: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.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/24/2022 7:38:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:38:00 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:38:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:38:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:38:00 PM=>Info:- END Mailing Method
10/24/2022 7:38:00 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:38:00 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:38:00 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:38:00 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:38:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:38:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:38:00 PM=>Info - End of callingService Method
10/24/2022 7:40:00 PM=>Info - Check time Elapsed
10/24/2022 7:40:00 PM=>Info - Call callingService Method
10/24/2022 7:40:00 PM=>Info:- Call Both
10/24/2022 7:40:00 PM=>Info:- Start Executing SMS Method
10/24/2022 7:40:00 PM=>Info:- End Executing SMS Method
10/24/2022 7:40:00 PM=>Info:- Start Mailing Method
10/24/2022 7:40:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:40:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:40:00 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:40:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:40:00 PM=>Info:- Count = 1
10/24/2022 7:40:00 PM=>Info:- Count 1
10/24/2022 7:40:00 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:40:00 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:40:00 PM=>Info:- Start SenMail Method
10/24/2022 7:40:00 PM=>UseDefaultCredentials
10/24/2022 7:40:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:40:00 PM=>EnableSsl = true
10/24/2022 7:40:00 PM=>DeliveryMethod
10/24/2022 7:40:00 PM=>Before Send
10/24/2022 7:40:09 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/24/2022 7:40:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:40:09 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:40:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:40:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:40:09 PM=>Info:- END Mailing Method
10/24/2022 7:40:09 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:40:09 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:40:09 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:40:09 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:40:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:40:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:40:09 PM=>Info - End of callingService Method
10/24/2022 7:42:09 PM=>Info - Check time Elapsed
10/24/2022 7:42:09 PM=>Info - Call callingService Method
10/24/2022 7:42:09 PM=>Info:- Call Both
10/24/2022 7:42:09 PM=>Info:- Start Executing SMS Method
10/24/2022 7:42:09 PM=>Info:- End Executing SMS Method
10/24/2022 7:42:09 PM=>Info:- Start Mailing Method
10/24/2022 7:42:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:42:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:42:09 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:42:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:42:09 PM=>Info:- Count = 1
10/24/2022 7:42:09 PM=>Info:- Count 1
10/24/2022 7:42:09 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:42:09 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:42:09 PM=>Info:- Start SenMail Method
10/24/2022 7:42:09 PM=>UseDefaultCredentials
10/24/2022 7:42:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:42:10 PM=>EnableSsl = true
10/24/2022 7:42:10 PM=>DeliveryMethod
10/24/2022 7:42:10 PM=>Before Send
10/24/2022 7:42: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/24/2022 7:42:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:42:19 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:42:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:42:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:42:19 PM=>Info:- END Mailing Method
10/24/2022 7:42:19 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:42:19 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:42:19 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:42:19 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:42:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:42:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:42:19 PM=>Info - End of callingService Method
10/24/2022 7:44:19 PM=>Info - Check time Elapsed
10/24/2022 7:44:19 PM=>Info - Call callingService Method
10/24/2022 7:44:19 PM=>Info:- Call Both
10/24/2022 7:44:19 PM=>Info:- Start Executing SMS Method
10/24/2022 7:44:19 PM=>Info:- End Executing SMS Method
10/24/2022 7:44:19 PM=>Info:- Start Mailing Method
10/24/2022 7:44:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:44:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:44:19 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:44:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:44:19 PM=>Info:- Count = 1
10/24/2022 7:44:19 PM=>Info:- Count 1
10/24/2022 7:44:19 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:44:19 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:44:19 PM=>Info:- Start SenMail Method
10/24/2022 7:44:19 PM=>UseDefaultCredentials
10/24/2022 7:44:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:44:19 PM=>EnableSsl = true
10/24/2022 7:44:19 PM=>DeliveryMethod
10/24/2022 7:44:19 PM=>Before Send
10/24/2022 7:44: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/24/2022 7:44:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:44:28 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:44:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:44:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:44:28 PM=>Info:- END Mailing Method
10/24/2022 7:44:28 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:44:28 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:44:28 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:44:28 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:44:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:44:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:44:28 PM=>Info - End of callingService Method
10/24/2022 7:46:28 PM=>Info - Check time Elapsed
10/24/2022 7:46:28 PM=>Info - Call callingService Method
10/24/2022 7:46:28 PM=>Info:- Call Both
10/24/2022 7:46:28 PM=>Info:- Start Executing SMS Method
10/24/2022 7:46:28 PM=>Info:- End Executing SMS Method
10/24/2022 7:46:28 PM=>Info:- Start Mailing Method
10/24/2022 7:46:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:46:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:46:28 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:46:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:46:28 PM=>Info:- Count = 1
10/24/2022 7:46:28 PM=>Info:- Count 1
10/24/2022 7:46:28 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:46:28 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:46:28 PM=>Info:- Start SenMail Method
10/24/2022 7:46:28 PM=>UseDefaultCredentials
10/24/2022 7:46:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:46:28 PM=>EnableSsl = true
10/24/2022 7:46:28 PM=>DeliveryMethod
10/24/2022 7:46:28 PM=>Before Send
10/24/2022 7:46: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/24/2022 7:46:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:46:28 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:46:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:46:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:46:29 PM=>Info:- END Mailing Method
10/24/2022 7:46:29 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:46:29 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:46:29 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:46:29 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:46:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:46:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:46:29 PM=>Info - End of callingService Method
10/24/2022 7:48:29 PM=>Info - Check time Elapsed
10/24/2022 7:48:29 PM=>Info - Call callingService Method
10/24/2022 7:48:29 PM=>Info:- Call Both
10/24/2022 7:48:29 PM=>Info:- Start Executing SMS Method
10/24/2022 7:48:29 PM=>Info:- End Executing SMS Method
10/24/2022 7:48:29 PM=>Info:- Start Mailing Method
10/24/2022 7:48:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:48:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:48:29 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:48:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:48:29 PM=>Info:- Count = 1
10/24/2022 7:48:29 PM=>Info:- Count 1
10/24/2022 7:48:29 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:48:29 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:48:29 PM=>Info:- Start SenMail Method
10/24/2022 7:48:29 PM=>UseDefaultCredentials
10/24/2022 7:48:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:48:29 PM=>EnableSsl = true
10/24/2022 7:48:29 PM=>DeliveryMethod
10/24/2022 7:48:29 PM=>Before Send
10/24/2022 7:48:32 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/24/2022 7:48:32 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:48:32 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:48:32 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:48:32 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:48:32 PM=>Info:- END Mailing Method
10/24/2022 7:48:32 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:48:32 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:48:32 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:48:32 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:48:32 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:48:32 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:48:32 PM=>Info - End of callingService Method
10/24/2022 7:50:32 PM=>Info - Check time Elapsed
10/24/2022 7:50:32 PM=>Info - Call callingService Method
10/24/2022 7:50:32 PM=>Info:- Call Both
10/24/2022 7:50:32 PM=>Info:- Start Executing SMS Method
10/24/2022 7:50:32 PM=>Info:- End Executing SMS Method
10/24/2022 7:50:32 PM=>Info:- Start Mailing Method
10/24/2022 7:50:32 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:50:32 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:50:32 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:50:32 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:50:32 PM=>Info:- Count = 1
10/24/2022 7:50:32 PM=>Info:- Count 1
10/24/2022 7:50:32 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:50:32 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:50:32 PM=>Info:- Start SenMail Method
10/24/2022 7:50:32 PM=>UseDefaultCredentials
10/24/2022 7:50:32 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:50:32 PM=>EnableSsl = true
10/24/2022 7:50:32 PM=>DeliveryMethod
10/24/2022 7:50:32 PM=>Before Send
10/24/2022 7:51:57 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/24/2022 7:51:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:51:57 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:51:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:51:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:51:57 PM=>Info:- END Mailing Method
10/24/2022 7:51:57 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:51:57 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:51:57 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:51:57 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:51:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:51:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:51:57 PM=>Info - End of callingService Method
10/24/2022 7:53:57 PM=>Info - Check time Elapsed
10/24/2022 7:53:57 PM=>Info - Call callingService Method
10/24/2022 7:53:57 PM=>Info:- Call Both
10/24/2022 7:53:57 PM=>Info:- Start Executing SMS Method
10/24/2022 7:53:57 PM=>Info:- End Executing SMS Method
10/24/2022 7:53:57 PM=>Info:- Start Mailing Method
10/24/2022 7:53:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:53:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:53:57 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:53:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:53:57 PM=>Info:- Count = 1
10/24/2022 7:53:57 PM=>Info:- Count 1
10/24/2022 7:53:57 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:53:57 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:53:57 PM=>Info:- Start SenMail Method
10/24/2022 7:53:57 PM=>UseDefaultCredentials
10/24/2022 7:53:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:53:57 PM=>EnableSsl = true
10/24/2022 7:53:57 PM=>DeliveryMethod
10/24/2022 7:53:57 PM=>Before Send
10/24/2022 7:54: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/24/2022 7:54:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:54:48 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:54:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:54:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:54:48 PM=>Info:- END Mailing Method
10/24/2022 7:54:48 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:54:48 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:54:48 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:54:48 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:54:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:54:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:54:48 PM=>Info - End of callingService Method
10/24/2022 7:56:48 PM=>Info - Check time Elapsed
10/24/2022 7:56:48 PM=>Info - Call callingService Method
10/24/2022 7:56:48 PM=>Info:- Call Both
10/24/2022 7:56:48 PM=>Info:- Start Executing SMS Method
10/24/2022 7:56:48 PM=>Info:- End Executing SMS Method
10/24/2022 7:56:49 PM=>Info:- Start Mailing Method
10/24/2022 7:56:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:56:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:56:49 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:56:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:56:49 PM=>Info:- Count = 1
10/24/2022 7:56:49 PM=>Info:- Count 1
10/24/2022 7:56:49 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:56:49 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:56:49 PM=>Info:- Start SenMail Method
10/24/2022 7:56:49 PM=>UseDefaultCredentials
10/24/2022 7:56:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:56:49 PM=>EnableSsl = true
10/24/2022 7:56:49 PM=>DeliveryMethod
10/24/2022 7:56:49 PM=>Before Send
10/24/2022 7:56: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/24/2022 7:56:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:56:49 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:56:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:56:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:56:49 PM=>Info:- END Mailing Method
10/24/2022 7:56:49 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:56:49 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:56:49 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:56:49 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:56:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:56:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:56:49 PM=>Info - End of callingService Method
10/24/2022 7:58:49 PM=>Info - Check time Elapsed
10/24/2022 7:58:49 PM=>Info - Call callingService Method
10/24/2022 7:58:49 PM=>Info:- Call Both
10/24/2022 7:58:49 PM=>Info:- Start Executing SMS Method
10/24/2022 7:58:49 PM=>Info:- End Executing SMS Method
10/24/2022 7:58:49 PM=>Info:- Start Mailing Method
10/24/2022 7:58:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 7:58:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 7:58:49 PM=>Info:- PendingMail.xml file read to list
10/24/2022 7:58:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 7:58:49 PM=>Info:- Count = 1
10/24/2022 7:58:49 PM=>Info:- Count 1
10/24/2022 7:58:49 PM=>Info - Fetching Data From MAIL XML
10/24/2022 7:58:49 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 7:58:49 PM=>Info:- Start SenMail Method
10/24/2022 7:58:49 PM=>UseDefaultCredentials
10/24/2022 7:58:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 7:58:49 PM=>EnableSsl = true
10/24/2022 7:58:49 PM=>DeliveryMethod
10/24/2022 7:58:49 PM=>Before Send
10/24/2022 7:58: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/24/2022 7:58:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 7:58:49 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 7:58:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 7:58:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 7:58:49 PM=>Info:- END Mailing Method
10/24/2022 7:58:49 PM=>Info:- Start Executing Telegram Method
10/24/2022 7:58:49 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 7:58:49 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 7:58:49 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 7:58:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 7:58:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 7:58:49 PM=>Info - End of callingService Method
10/24/2022 8:00:49 PM=>Info - Check time Elapsed
10/24/2022 8:00:49 PM=>Info - Call callingService Method
10/24/2022 8:00:49 PM=>Info:- Call Both
10/24/2022 8:00:49 PM=>Info:- Start Executing SMS Method
10/24/2022 8:00:49 PM=>Info:- End Executing SMS Method
10/24/2022 8:00:49 PM=>Info:- Start Mailing Method
10/24/2022 8:00:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:00:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:00:49 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:00:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:00:49 PM=>Info:- Count = 1
10/24/2022 8:00:49 PM=>Info:- Count 1
10/24/2022 8:00:49 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:00:49 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:00:49 PM=>Info:- Start SenMail Method
10/24/2022 8:00:49 PM=>UseDefaultCredentials
10/24/2022 8:00:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:00:49 PM=>EnableSsl = true
10/24/2022 8:00:49 PM=>DeliveryMethod
10/24/2022 8:00:49 PM=>Before Send
10/24/2022 8:00: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/24/2022 8:00:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:00:49 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:00:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:00:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:00:50 PM=>Info:- END Mailing Method
10/24/2022 8:00:50 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:00:50 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:00:50 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:00:50 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:00:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:00:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:00:50 PM=>Info - End of callingService Method
10/24/2022 8:02:50 PM=>Info - Check time Elapsed
10/24/2022 8:02:50 PM=>Info - Call callingService Method
10/24/2022 8:02:50 PM=>Info:- Call Both
10/24/2022 8:02:50 PM=>Info:- Start Executing SMS Method
10/24/2022 8:02:50 PM=>Info:- End Executing SMS Method
10/24/2022 8:02:50 PM=>Info:- Start Mailing Method
10/24/2022 8:02:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:02:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:02:50 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:02:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:02:50 PM=>Info:- Count = 1
10/24/2022 8:02:50 PM=>Info:- Count 1
10/24/2022 8:02:50 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:02:50 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:02:50 PM=>Info:- Start SenMail Method
10/24/2022 8:02:50 PM=>UseDefaultCredentials
10/24/2022 8:02:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:02:50 PM=>EnableSsl = true
10/24/2022 8:02:50 PM=>DeliveryMethod
10/24/2022 8:02:50 PM=>Before Send
10/24/2022 8: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/24/2022 8:02:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:02:50 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:02:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:02:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:02:50 PM=>Info:- END Mailing Method
10/24/2022 8:02:50 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:02:50 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:02:50 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:02:50 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:02:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:02:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:02:50 PM=>Info - End of callingService Method
10/24/2022 8:04:50 PM=>Info - Check time Elapsed
10/24/2022 8:04:50 PM=>Info - Call callingService Method
10/24/2022 8:04:50 PM=>Info:- Call Both
10/24/2022 8:04:50 PM=>Info:- Start Executing SMS Method
10/24/2022 8:04:50 PM=>Info:- End Executing SMS Method
10/24/2022 8:04:50 PM=>Info:- Start Mailing Method
10/24/2022 8:04:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:04:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:04:50 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:04:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:04:50 PM=>Info:- Count = 1
10/24/2022 8:04:50 PM=>Info:- Count 1
10/24/2022 8:04:50 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:04:50 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:04:50 PM=>Info:- Start SenMail Method
10/24/2022 8:04:50 PM=>UseDefaultCredentials
10/24/2022 8:04:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:04:50 PM=>EnableSsl = true
10/24/2022 8:04:50 PM=>DeliveryMethod
10/24/2022 8:04:50 PM=>Before Send
10/24/2022 8:06: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.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/24/2022 8:06:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:06:14 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:06:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:06:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:06:15 PM=>Info:- END Mailing Method
10/24/2022 8:06:15 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:06:15 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:06:15 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:06:15 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:06:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:06:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:06:15 PM=>Info - End of callingService Method
10/24/2022 8:08:15 PM=>Info - Check time Elapsed
10/24/2022 8:08:15 PM=>Info - Call callingService Method
10/24/2022 8:08:15 PM=>Info:- Call Both
10/24/2022 8:08:15 PM=>Info:- Start Executing SMS Method
10/24/2022 8:08:15 PM=>Info:- End Executing SMS Method
10/24/2022 8:08:15 PM=>Info:- Start Mailing Method
10/24/2022 8:08:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:08:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:08:15 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:08:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:08:15 PM=>Info:- Count = 1
10/24/2022 8:08:15 PM=>Info:- Count 1
10/24/2022 8:08:15 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:08:15 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:08:15 PM=>Info:- Start SenMail Method
10/24/2022 8:08:15 PM=>UseDefaultCredentials
10/24/2022 8:08:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:08:15 PM=>EnableSsl = true
10/24/2022 8:08:15 PM=>DeliveryMethod
10/24/2022 8:08:15 PM=>Before Send
10/24/2022 8: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/24/2022 8:08:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:08:24 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:08:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:08:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:08:24 PM=>Info:- END Mailing Method
10/24/2022 8:08:24 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:08:24 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:08:24 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:08:24 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:08:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:08:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:08:24 PM=>Info - End of callingService Method
10/24/2022 8:10:24 PM=>Info - Check time Elapsed
10/24/2022 8:10:24 PM=>Info - Call callingService Method
10/24/2022 8:10:24 PM=>Info:- Call Both
10/24/2022 8:10:24 PM=>Info:- Start Executing SMS Method
10/24/2022 8:10:24 PM=>Info:- End Executing SMS Method
10/24/2022 8:10:24 PM=>Info:- Start Mailing Method
10/24/2022 8:10:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:10:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:10:24 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:10:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:10:24 PM=>Info:- Count = 1
10/24/2022 8:10:24 PM=>Info:- Count 1
10/24/2022 8:10:24 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:10:24 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:10:24 PM=>Info:- Start SenMail Method
10/24/2022 8:10:24 PM=>UseDefaultCredentials
10/24/2022 8:10:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:10:24 PM=>EnableSsl = true
10/24/2022 8:10:24 PM=>DeliveryMethod
10/24/2022 8:10:24 PM=>Before Send
10/24/2022 8:10: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/24/2022 8:10:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:10:33 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:10:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:10:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:10:33 PM=>Info:- END Mailing Method
10/24/2022 8:10:33 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:10:33 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:10:33 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:10:33 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:10:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:10:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:10:33 PM=>Info - End of callingService Method
10/24/2022 8:12:33 PM=>Info - Check time Elapsed
10/24/2022 8:12:33 PM=>Info - Call callingService Method
10/24/2022 8:12:33 PM=>Info:- Call Both
10/24/2022 8:12:33 PM=>Info:- Start Executing SMS Method
10/24/2022 8:12:34 PM=>Info:- End Executing SMS Method
10/24/2022 8:12:34 PM=>Info:- Start Mailing Method
10/24/2022 8:12:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:12:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:12:34 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:12:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:12:34 PM=>Info:- Count = 1
10/24/2022 8:12:34 PM=>Info:- Count 1
10/24/2022 8:12:34 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:12:34 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:12:34 PM=>Info:- Start SenMail Method
10/24/2022 8:12:34 PM=>UseDefaultCredentials
10/24/2022 8:12:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:12:34 PM=>EnableSsl = true
10/24/2022 8:12:34 PM=>DeliveryMethod
10/24/2022 8:12:34 PM=>Before Send
10/24/2022 8:12: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/24/2022 8:12:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:12:43 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:12:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:12:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:12:43 PM=>Info:- END Mailing Method
10/24/2022 8:12:43 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:12:43 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:12:43 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:12:43 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:12:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:12:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:12:43 PM=>Info - End of callingService Method
10/24/2022 8:14:43 PM=>Info - Check time Elapsed
10/24/2022 8:14:43 PM=>Info - Call callingService Method
10/24/2022 8:14:43 PM=>Info:- Call Both
10/24/2022 8:14:43 PM=>Info:- Start Executing SMS Method
10/24/2022 8:14:43 PM=>Info:- End Executing SMS Method
10/24/2022 8:14:43 PM=>Info:- Start Mailing Method
10/24/2022 8:14:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:14:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:14:43 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:14:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:14:43 PM=>Info:- Count = 1
10/24/2022 8:14:43 PM=>Info:- Count 1
10/24/2022 8:14:43 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:14:43 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:14:43 PM=>Info:- Start SenMail Method
10/24/2022 8:14:43 PM=>UseDefaultCredentials
10/24/2022 8:14:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:14:43 PM=>EnableSsl = true
10/24/2022 8:14:43 PM=>DeliveryMethod
10/24/2022 8:14:43 PM=>Before Send
10/24/2022 8:14: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/24/2022 8:14:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:14:52 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:14:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:14:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:14:52 PM=>Info:- END Mailing Method
10/24/2022 8:14:52 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:14:52 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:14:52 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:14:52 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:14:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:14:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:14:52 PM=>Info - End of callingService Method
10/24/2022 8:16:52 PM=>Info - Check time Elapsed
10/24/2022 8:16:52 PM=>Info - Call callingService Method
10/24/2022 8:16:52 PM=>Info:- Call Both
10/24/2022 8:16:52 PM=>Info:- Start Executing SMS Method
10/24/2022 8:16:52 PM=>Info:- End Executing SMS Method
10/24/2022 8:16:52 PM=>Info:- Start Mailing Method
10/24/2022 8:16:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:16:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:16:52 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:16:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:16:52 PM=>Info:- Count = 1
10/24/2022 8:16:52 PM=>Info:- Count 1
10/24/2022 8:16:52 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:16:52 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:16:52 PM=>Info:- Start SenMail Method
10/24/2022 8:16:52 PM=>UseDefaultCredentials
10/24/2022 8:16:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:16:52 PM=>EnableSsl = true
10/24/2022 8:16:52 PM=>DeliveryMethod
10/24/2022 8:16:52 PM=>Before Send
10/24/2022 8:16: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/24/2022 8:16:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:16:56 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:16:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:16:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:16:56 PM=>Info:- END Mailing Method
10/24/2022 8:16:56 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:16:56 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:16:56 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:16:56 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:16:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:16:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:16:56 PM=>Info - End of callingService Method
10/24/2022 8:18:56 PM=>Info - Check time Elapsed
10/24/2022 8:18:56 PM=>Info - Call callingService Method
10/24/2022 8:18:56 PM=>Info:- Call Both
10/24/2022 8:18:56 PM=>Info:- Start Executing SMS Method
10/24/2022 8:18:56 PM=>Info:- End Executing SMS Method
10/24/2022 8:18:56 PM=>Info:- Start Mailing Method
10/24/2022 8:18:56 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:18:56 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:18:56 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:18:56 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:18:56 PM=>Info:- Count = 1
10/24/2022 8:18:56 PM=>Info:- Count 1
10/24/2022 8:18:56 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:18:56 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:18:56 PM=>Info:- Start SenMail Method
10/24/2022 8:18:56 PM=>UseDefaultCredentials
10/24/2022 8:18:56 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:18:56 PM=>EnableSsl = true
10/24/2022 8:18:56 PM=>DeliveryMethod
10/24/2022 8:18:56 PM=>Before Send
10/24/2022 8:18: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/24/2022 8:18:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:18:56 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:18:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:18:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:18:56 PM=>Info:- END Mailing Method
10/24/2022 8:18:56 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:18:56 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:18:56 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:18:56 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:18:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:18:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:18:56 PM=>Info - End of callingService Method
10/24/2022 8:20:56 PM=>Info - Check time Elapsed
10/24/2022 8:20:56 PM=>Info - Call callingService Method
10/24/2022 8:20:56 PM=>Info:- Call Both
10/24/2022 8:20:56 PM=>Info:- Start Executing SMS Method
10/24/2022 8:20:56 PM=>Info:- End Executing SMS Method
10/24/2022 8:20:56 PM=>Info:- Start Mailing Method
10/24/2022 8:20:56 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:20:56 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:20:56 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:20:56 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:20:56 PM=>Info:- Count = 1
10/24/2022 8:20:56 PM=>Info:- Count 1
10/24/2022 8:20:56 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:20:56 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:20:56 PM=>Info:- Start SenMail Method
10/24/2022 8:20:56 PM=>UseDefaultCredentials
10/24/2022 8:20:56 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:20:56 PM=>EnableSsl = true
10/24/2022 8:20:56 PM=>DeliveryMethod
10/24/2022 8:20:56 PM=>Before Send
10/24/2022 8:22: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.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/24/2022 8:22:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:22:20 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:22:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:22:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:22:21 PM=>Info:- END Mailing Method
10/24/2022 8:22:21 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:22:21 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:22:21 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:22:21 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:22:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:22:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:22:21 PM=>Info - End of callingService Method
10/24/2022 8:24:21 PM=>Info - Check time Elapsed
10/24/2022 8:24:21 PM=>Info - Call callingService Method
10/24/2022 8:24:21 PM=>Info:- Call Both
10/24/2022 8:24:21 PM=>Info:- Start Executing SMS Method
10/24/2022 8:24:21 PM=>Info:- End Executing SMS Method
10/24/2022 8:24:21 PM=>Info:- Start Mailing Method
10/24/2022 8:24:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:24:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:24:21 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:24:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:24:21 PM=>Info:- Count = 1
10/24/2022 8:24:21 PM=>Info:- Count 1
10/24/2022 8:24:21 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:24:21 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:24:21 PM=>Info:- Start SenMail Method
10/24/2022 8:24:21 PM=>UseDefaultCredentials
10/24/2022 8:24:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:24:21 PM=>EnableSsl = true
10/24/2022 8:24:21 PM=>DeliveryMethod
10/24/2022 8:24:21 PM=>Before Send
10/24/2022 8:24: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/24/2022 8:24:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:24:24 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:24:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:24:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:24:24 PM=>Info:- END Mailing Method
10/24/2022 8:24:24 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:24:24 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:24:24 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:24:24 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:24:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:24:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:24:24 PM=>Info - End of callingService Method
10/24/2022 8:26:24 PM=>Info - Check time Elapsed
10/24/2022 8:26:24 PM=>Info - Call callingService Method
10/24/2022 8:26:24 PM=>Info:- Call Both
10/24/2022 8:26:24 PM=>Info:- Start Executing SMS Method
10/24/2022 8:26:24 PM=>Info:- End Executing SMS Method
10/24/2022 8:26:24 PM=>Info:- Start Mailing Method
10/24/2022 8:26:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:26:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:26:24 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:26:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:26:24 PM=>Info:- Count = 1
10/24/2022 8:26:24 PM=>Info:- Count 1
10/24/2022 8:26:24 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:26:24 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:26:24 PM=>Info:- Start SenMail Method
10/24/2022 8:26:24 PM=>UseDefaultCredentials
10/24/2022 8:26:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:26:24 PM=>EnableSsl = true
10/24/2022 8:26:24 PM=>DeliveryMethod
10/24/2022 8:26:24 PM=>Before Send
10/24/2022 8:27: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 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/24/2022 8:27:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:27:49 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:27:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:27:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:27:49 PM=>Info:- END Mailing Method
10/24/2022 8:27:49 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:27:49 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:27:49 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:27:49 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:27:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:27:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:27:49 PM=>Info - End of callingService Method
10/24/2022 8:29:49 PM=>Info - Check time Elapsed
10/24/2022 8:29:49 PM=>Info - Call callingService Method
10/24/2022 8:29:49 PM=>Info:- Call Both
10/24/2022 8:29:49 PM=>Info:- Start Executing SMS Method
10/24/2022 8:29:49 PM=>Info:- End Executing SMS Method
10/24/2022 8:29:49 PM=>Info:- Start Mailing Method
10/24/2022 8:29:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:29:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:29:49 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:29:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:29:49 PM=>Info:- Count = 1
10/24/2022 8:29:49 PM=>Info:- Count 1
10/24/2022 8:29:49 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:29:49 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:29:49 PM=>Info:- Start SenMail Method
10/24/2022 8:29:49 PM=>UseDefaultCredentials
10/24/2022 8:29:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:29:49 PM=>EnableSsl = true
10/24/2022 8:29:49 PM=>DeliveryMethod
10/24/2022 8:29:49 PM=>Before Send
10/24/2022 8:31:13 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/24/2022 8:31:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:31:13 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:31:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:31:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:31:13 PM=>Info:- END Mailing Method
10/24/2022 8:31:13 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:31:13 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:31:13 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:31:13 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:31:13 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:31:13 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:31:13 PM=>Info - End of callingService Method
10/24/2022 8:33:13 PM=>Info - Check time Elapsed
10/24/2022 8:33:13 PM=>Info - Call callingService Method
10/24/2022 8:33:13 PM=>Info:- Call Both
10/24/2022 8:33:13 PM=>Info:- Start Executing SMS Method
10/24/2022 8:33:13 PM=>Info:- End Executing SMS Method
10/24/2022 8:33:13 PM=>Info:- Start Mailing Method
10/24/2022 8:33:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:33:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:33:13 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:33:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:33:13 PM=>Info:- Count = 1
10/24/2022 8:33:13 PM=>Info:- Count 1
10/24/2022 8:33:13 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:33:13 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:33:13 PM=>Info:- Start SenMail Method
10/24/2022 8:33:13 PM=>UseDefaultCredentials
10/24/2022 8:33:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:33:13 PM=>EnableSsl = true
10/24/2022 8:33:13 PM=>DeliveryMethod
10/24/2022 8:33:13 PM=>Before Send
10/24/2022 8:33: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/24/2022 8:33:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:33:34 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:33:35 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:33:35 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:33:35 PM=>Info:- END Mailing Method
10/24/2022 8:33:35 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:33:35 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:33:35 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:33:35 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:33:35 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:33:35 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:33:35 PM=>Info - End of callingService Method
10/24/2022 8:35:35 PM=>Info - Check time Elapsed
10/24/2022 8:35:35 PM=>Info - Call callingService Method
10/24/2022 8:35:35 PM=>Info:- Call Both
10/24/2022 8:35:35 PM=>Info:- Start Executing SMS Method
10/24/2022 8:35:35 PM=>Info:- End Executing SMS Method
10/24/2022 8:35:35 PM=>Info:- Start Mailing Method
10/24/2022 8:35:35 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:35:35 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:35:35 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:35:35 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:35:35 PM=>Info:- Count = 1
10/24/2022 8:35:35 PM=>Info:- Count 1
10/24/2022 8:35:35 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:35:35 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:35:35 PM=>Info:- Start SenMail Method
10/24/2022 8:35:35 PM=>UseDefaultCredentials
10/24/2022 8:35:35 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:35:35 PM=>EnableSsl = true
10/24/2022 8:35:35 PM=>DeliveryMethod
10/24/2022 8:35:35 PM=>Before Send
10/24/2022 8:35: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/24/2022 8:35:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:35:38 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:35:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:35:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:35:38 PM=>Info:- END Mailing Method
10/24/2022 8:35:38 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:35:38 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:35:38 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:35:38 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:35:38 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:35:38 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:35:38 PM=>Info - End of callingService Method
10/24/2022 8:37:38 PM=>Info - Check time Elapsed
10/24/2022 8:37:38 PM=>Info - Call callingService Method
10/24/2022 8:37:38 PM=>Info:- Call Both
10/24/2022 8:37:38 PM=>Info:- Start Executing SMS Method
10/24/2022 8:37:38 PM=>Info:- End Executing SMS Method
10/24/2022 8:37:38 PM=>Info:- Start Mailing Method
10/24/2022 8:37:38 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:37:38 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:37:38 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:37:38 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:37:38 PM=>Info:- Count = 1
10/24/2022 8:37:38 PM=>Info:- Count 1
10/24/2022 8:37:38 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:37:38 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:37:38 PM=>Info:- Start SenMail Method
10/24/2022 8:37:38 PM=>UseDefaultCredentials
10/24/2022 8:37:38 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:37:38 PM=>EnableSsl = true
10/24/2022 8:37:38 PM=>DeliveryMethod
10/24/2022 8:37:38 PM=>Before Send
10/24/2022 8:39:02 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/24/2022 8:39:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:39:02 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:39:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:39:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:39:03 PM=>Info:- END Mailing Method
10/24/2022 8:39:03 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:39:03 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:39:03 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:39:03 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:39:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:39:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:39:03 PM=>Info - End of callingService Method
10/24/2022 8:41:03 PM=>Info - Check time Elapsed
10/24/2022 8:41:03 PM=>Info - Call callingService Method
10/24/2022 8:41:03 PM=>Info:- Call Both
10/24/2022 8:41:03 PM=>Info:- Start Executing SMS Method
10/24/2022 8:41:03 PM=>Info:- End Executing SMS Method
10/24/2022 8:41:03 PM=>Info:- Start Mailing Method
10/24/2022 8:41:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:41:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:41:03 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:41:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:41:03 PM=>Info:- Count = 1
10/24/2022 8:41:03 PM=>Info:- Count 1
10/24/2022 8:41:03 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:41:03 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:41:03 PM=>Info:- Start SenMail Method
10/24/2022 8:41:03 PM=>UseDefaultCredentials
10/24/2022 8:41:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:41:03 PM=>EnableSsl = true
10/24/2022 8:41:03 PM=>DeliveryMethod
10/24/2022 8:41:03 PM=>Before Send
10/24/2022 8:41: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/24/2022 8:41:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:41:12 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:41:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:41:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:41:12 PM=>Info:- END Mailing Method
10/24/2022 8:41:12 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:41:12 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:41:12 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:41:12 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:41:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:41:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:41:12 PM=>Info - End of callingService Method
10/24/2022 8:43:12 PM=>Info - Check time Elapsed
10/24/2022 8:43:12 PM=>Info - Call callingService Method
10/24/2022 8:43:12 PM=>Info:- Call Both
10/24/2022 8:43:12 PM=>Info:- Start Executing SMS Method
10/24/2022 8:43:12 PM=>Info:- End Executing SMS Method
10/24/2022 8:43:12 PM=>Info:- Start Mailing Method
10/24/2022 8:43:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:43:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:43:12 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:43:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:43:12 PM=>Info:- Count = 1
10/24/2022 8:43:12 PM=>Info:- Count 1
10/24/2022 8:43:12 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:43:12 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:43:12 PM=>Info:- Start SenMail Method
10/24/2022 8:43:12 PM=>UseDefaultCredentials
10/24/2022 8:43:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:43:12 PM=>EnableSsl = true
10/24/2022 8:43:12 PM=>DeliveryMethod
10/24/2022 8:43:12 PM=>Before Send
10/24/2022 8:44: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/24/2022 8:44:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:44:15 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:44:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:44:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:44:16 PM=>Info:- END Mailing Method
10/24/2022 8:44:16 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:44:16 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:44:16 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:44:16 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:44:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:44:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:44:16 PM=>Info - End of callingService Method
10/24/2022 8:46:16 PM=>Info - Check time Elapsed
10/24/2022 8:46:16 PM=>Info - Call callingService Method
10/24/2022 8:46:16 PM=>Info:- Call Both
10/24/2022 8:46:16 PM=>Info:- Start Executing SMS Method
10/24/2022 8:46:16 PM=>Info:- End Executing SMS Method
10/24/2022 8:46:16 PM=>Info:- Start Mailing Method
10/24/2022 8:46:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:46:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:46:16 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:46:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:46:16 PM=>Info:- Count = 1
10/24/2022 8:46:16 PM=>Info:- Count 1
10/24/2022 8:46:16 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:46:16 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:46:16 PM=>Info:- Start SenMail Method
10/24/2022 8:46:16 PM=>UseDefaultCredentials
10/24/2022 8:46:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:46:16 PM=>EnableSsl = true
10/24/2022 8:46:16 PM=>DeliveryMethod
10/24/2022 8:46:16 PM=>Before Send
10/24/2022 8:46: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/24/2022 8:46:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:46:37 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:46:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:46:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:46:37 PM=>Info:- END Mailing Method
10/24/2022 8:46:37 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:46:37 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:46:37 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:46:37 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:46:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:46:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:46:37 PM=>Info - End of callingService Method
10/24/2022 8:48:37 PM=>Info - Check time Elapsed
10/24/2022 8:48:37 PM=>Info - Call callingService Method
10/24/2022 8:48:37 PM=>Info:- Call Both
10/24/2022 8:48:37 PM=>Info:- Start Executing SMS Method
10/24/2022 8:48:37 PM=>Info:- End Executing SMS Method
10/24/2022 8:48:37 PM=>Info:- Start Mailing Method
10/24/2022 8:48:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:48:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:48:37 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:48:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:48:37 PM=>Info:- Count = 1
10/24/2022 8:48:37 PM=>Info:- Count 1
10/24/2022 8:48:37 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:48:37 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:48:37 PM=>Info:- Start SenMail Method
10/24/2022 8:48:37 PM=>UseDefaultCredentials
10/24/2022 8:48:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:48:37 PM=>EnableSsl = true
10/24/2022 8:48:37 PM=>DeliveryMethod
10/24/2022 8:48:37 PM=>Before Send
10/24/2022 8:50:02 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/24/2022 8:50:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:50:02 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:50:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:50:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:50:02 PM=>Info:- END Mailing Method
10/24/2022 8:50:02 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:50:02 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:50:02 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:50:02 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:50:02 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:50:02 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:50:02 PM=>Info - End of callingService Method
10/24/2022 8:52:02 PM=>Info - Check time Elapsed
10/24/2022 8:52:02 PM=>Info - Call callingService Method
10/24/2022 8:52:02 PM=>Info:- Call Both
10/24/2022 8:52:02 PM=>Info:- Start Executing SMS Method
10/24/2022 8:52:02 PM=>Info:- End Executing SMS Method
10/24/2022 8:52:02 PM=>Info:- Start Mailing Method
10/24/2022 8:52:02 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:52:02 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:52:02 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:52:02 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:52:02 PM=>Info:- Count = 1
10/24/2022 8:52:02 PM=>Info:- Count 1
10/24/2022 8:52:02 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:52:02 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:52:02 PM=>Info:- Start SenMail Method
10/24/2022 8:52:02 PM=>UseDefaultCredentials
10/24/2022 8:52:02 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:52:02 PM=>EnableSsl = true
10/24/2022 8:52:02 PM=>DeliveryMethod
10/24/2022 8:52:02 PM=>Before Send
10/24/2022 8:52: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/24/2022 8:52:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:52:05 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:52:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:52:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:52:05 PM=>Info:- END Mailing Method
10/24/2022 8:52:05 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:52:05 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:52:06 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:52:06 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:52:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:52:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:52:06 PM=>Info - End of callingService Method
10/24/2022 8:54:06 PM=>Info - Check time Elapsed
10/24/2022 8:54:06 PM=>Info - Call callingService Method
10/24/2022 8:54:06 PM=>Info:- Call Both
10/24/2022 8:54:06 PM=>Info:- Start Executing SMS Method
10/24/2022 8:54:06 PM=>Info:- End Executing SMS Method
10/24/2022 8:54:06 PM=>Info:- Start Mailing Method
10/24/2022 8:54:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:54:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:54:06 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:54:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:54:06 PM=>Info:- Count = 1
10/24/2022 8:54:06 PM=>Info:- Count 1
10/24/2022 8:54:06 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:54:06 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:54:06 PM=>Info:- Start SenMail Method
10/24/2022 8:54:06 PM=>UseDefaultCredentials
10/24/2022 8:54:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:54:06 PM=>EnableSsl = true
10/24/2022 8:54:06 PM=>DeliveryMethod
10/24/2022 8:54:06 PM=>Before Send
10/24/2022 8:55: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 40.97.188.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/24/2022 8:55:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:55:30 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:55:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:55:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:55:30 PM=>Info:- END Mailing Method
10/24/2022 8:55:30 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:55:30 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:55:30 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:55:30 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:55:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:55:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:55:30 PM=>Info - End of callingService Method
10/24/2022 8:57:30 PM=>Info - Check time Elapsed
10/24/2022 8:57:30 PM=>Info - Call callingService Method
10/24/2022 8:57:30 PM=>Info:- Call Both
10/24/2022 8:57:30 PM=>Info:- Start Executing SMS Method
10/24/2022 8:57:30 PM=>Info:- End Executing SMS Method
10/24/2022 8:57:30 PM=>Info:- Start Mailing Method
10/24/2022 8:57:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:57:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:57:30 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:57:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:57:30 PM=>Info:- Count = 1
10/24/2022 8:57:30 PM=>Info:- Count 1
10/24/2022 8:57:30 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:57:30 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:57:30 PM=>Info:- Start SenMail Method
10/24/2022 8:57:30 PM=>UseDefaultCredentials
10/24/2022 8:57:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:57:30 PM=>EnableSsl = true
10/24/2022 8:57:30 PM=>DeliveryMethod
10/24/2022 8:57:30 PM=>Before Send
10/24/2022 8:57: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/24/2022 8:57:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:57:39 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:57:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:57:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:57:40 PM=>Info:- END Mailing Method
10/24/2022 8:57:40 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:57:40 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:57:40 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:57:40 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:57:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:57:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:57:40 PM=>Info - End of callingService Method
10/24/2022 8:59:40 PM=>Info - Check time Elapsed
10/24/2022 8:59:40 PM=>Info - Call callingService Method
10/24/2022 8:59:40 PM=>Info:- Call Both
10/24/2022 8:59:40 PM=>Info:- Start Executing SMS Method
10/24/2022 8:59:40 PM=>Info:- End Executing SMS Method
10/24/2022 8:59:40 PM=>Info:- Start Mailing Method
10/24/2022 8:59:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 8:59:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 8:59:40 PM=>Info:- PendingMail.xml file read to list
10/24/2022 8:59:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 8:59:40 PM=>Info:- Count = 1
10/24/2022 8:59:40 PM=>Info:- Count 1
10/24/2022 8:59:40 PM=>Info - Fetching Data From MAIL XML
10/24/2022 8:59:40 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 8:59:40 PM=>Info:- Start SenMail Method
10/24/2022 8:59:40 PM=>UseDefaultCredentials
10/24/2022 8:59:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 8:59:40 PM=>EnableSsl = true
10/24/2022 8:59:40 PM=>DeliveryMethod
10/24/2022 8:59:40 PM=>Before Send
10/24/2022 8:59: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/24/2022 8:59:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 8:59:40 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 8:59:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 8:59:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 8:59:40 PM=>Info:- END Mailing Method
10/24/2022 8:59:40 PM=>Info:- Start Executing Telegram Method
10/24/2022 8:59:40 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 8:59:40 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 8:59:40 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 8:59:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 8:59:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 8:59:40 PM=>Info - End of callingService Method
10/24/2022 9:01:40 PM=>Info - Check time Elapsed
10/24/2022 9:01:40 PM=>Info - Call callingService Method
10/24/2022 9:01:40 PM=>Info:- Call Both
10/24/2022 9:01:40 PM=>Info:- Start Executing SMS Method
10/24/2022 9:01:40 PM=>Info:- End Executing SMS Method
10/24/2022 9:01:40 PM=>Info:- Start Mailing Method
10/24/2022 9:01:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:01:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:01:40 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:01:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:01:40 PM=>Info:- Count = 1
10/24/2022 9:01:40 PM=>Info:- Count 1
10/24/2022 9:01:40 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:01:40 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:01:40 PM=>Info:- Start SenMail Method
10/24/2022 9:01:40 PM=>UseDefaultCredentials
10/24/2022 9:01:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:01:40 PM=>EnableSsl = true
10/24/2022 9:01:40 PM=>DeliveryMethod
10/24/2022 9:01:40 PM=>Before Send
10/24/2022 9:01: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/24/2022 9:01:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:01:43 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:01:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:01:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:01:43 PM=>Info:- END Mailing Method
10/24/2022 9:01:43 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:01:43 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:01:43 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:01:43 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:01:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:01:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:01:43 PM=>Info - End of callingService Method
10/24/2022 9:03:43 PM=>Info - Check time Elapsed
10/24/2022 9:03:43 PM=>Info - Call callingService Method
10/24/2022 9:03:44 PM=>Info:- Call Both
10/24/2022 9:03:44 PM=>Info:- Start Executing SMS Method
10/24/2022 9:03:44 PM=>Info:- End Executing SMS Method
10/24/2022 9:03:44 PM=>Info:- Start Mailing Method
10/24/2022 9:03:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:03:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:03:44 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:03:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:03:44 PM=>Info:- Count = 1
10/24/2022 9:03:44 PM=>Info:- Count 1
10/24/2022 9:03:44 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:03:44 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:03:44 PM=>Info:- Start SenMail Method
10/24/2022 9:03:44 PM=>UseDefaultCredentials
10/24/2022 9:03:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:03:44 PM=>EnableSsl = true
10/24/2022 9:03:44 PM=>DeliveryMethod
10/24/2022 9:03:44 PM=>Before Send
10/24/2022 9:05: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.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/24/2022 9:05:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:05:08 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:05:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:05:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:05:08 PM=>Info:- END Mailing Method
10/24/2022 9:05:08 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:05:08 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:05:08 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:05:08 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:05:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:05:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:05:08 PM=>Info - End of callingService Method
10/24/2022 9:07:08 PM=>Info - Check time Elapsed
10/24/2022 9:07:08 PM=>Info - Call callingService Method
10/24/2022 9:07:08 PM=>Info:- Call Both
10/24/2022 9:07:08 PM=>Info:- Start Executing SMS Method
10/24/2022 9:07:08 PM=>Info:- End Executing SMS Method
10/24/2022 9:07:08 PM=>Info:- Start Mailing Method
10/24/2022 9:07:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:07:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:07:08 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:07:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:07:08 PM=>Info:- Count = 1
10/24/2022 9:07:08 PM=>Info:- Count 1
10/24/2022 9:07:08 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:07:08 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:07:08 PM=>Info:- Start SenMail Method
10/24/2022 9:07:08 PM=>UseDefaultCredentials
10/24/2022 9:07:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:07:08 PM=>EnableSsl = true
10/24/2022 9:07:08 PM=>DeliveryMethod
10/24/2022 9:07:08 PM=>Before Send
10/24/2022 9:08: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.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/24/2022 9:08:32 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:08:32 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:08:32 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:08:32 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:08:33 PM=>Info:- END Mailing Method
10/24/2022 9:08:33 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:08:33 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:08:33 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:08:33 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:08:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:08:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:08:33 PM=>Info - End of callingService Method
10/24/2022 9:10:33 PM=>Info - Check time Elapsed
10/24/2022 9:10:33 PM=>Info - Call callingService Method
10/24/2022 9:10:33 PM=>Info:- Call Both
10/24/2022 9:10:33 PM=>Info:- Start Executing SMS Method
10/24/2022 9:10:33 PM=>Info:- End Executing SMS Method
10/24/2022 9:10:33 PM=>Info:- Start Mailing Method
10/24/2022 9:10:33 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:10:33 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:10:33 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:10:33 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:10:33 PM=>Info:- Count = 1
10/24/2022 9:10:33 PM=>Info:- Count 1
10/24/2022 9:10:33 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:10:33 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:10:33 PM=>Info:- Start SenMail Method
10/24/2022 9:10:33 PM=>UseDefaultCredentials
10/24/2022 9:10:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:10:33 PM=>EnableSsl = true
10/24/2022 9:10:33 PM=>DeliveryMethod
10/24/2022 9:10:33 PM=>Before Send
10/24/2022 9:10: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/24/2022 9:10:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:10:33 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:10:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:10:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:10:33 PM=>Info:- END Mailing Method
10/24/2022 9:10:33 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:10:33 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:10:33 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:10:33 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:10:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:10:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:10:33 PM=>Info - End of callingService Method
10/24/2022 9:12:33 PM=>Info - Check time Elapsed
10/24/2022 9:12:33 PM=>Info - Call callingService Method
10/24/2022 9:12:33 PM=>Info:- Call Both
10/24/2022 9:12:33 PM=>Info:- Start Executing SMS Method
10/24/2022 9:12:33 PM=>Info:- End Executing SMS Method
10/24/2022 9:12:33 PM=>Info:- Start Mailing Method
10/24/2022 9:12:33 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:12:33 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:12:33 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:12:33 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:12:33 PM=>Info:- Count = 1
10/24/2022 9:12:33 PM=>Info:- Count 1
10/24/2022 9:12:33 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:12:33 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:12:33 PM=>Info:- Start SenMail Method
10/24/2022 9:12:33 PM=>UseDefaultCredentials
10/24/2022 9:12:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:12:33 PM=>EnableSsl = true
10/24/2022 9:12:33 PM=>DeliveryMethod
10/24/2022 9:12:33 PM=>Before Send
10/24/2022 9:12: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/24/2022 9:12:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:12:33 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:12:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:12:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:12:33 PM=>Info:- END Mailing Method
10/24/2022 9:12:33 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:12:33 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:12:33 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:12:33 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:12:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:12:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:12:33 PM=>Info - End of callingService Method
10/24/2022 9:14:33 PM=>Info - Check time Elapsed
10/24/2022 9:14:33 PM=>Info - Call callingService Method
10/24/2022 9:14:33 PM=>Info:- Call Both
10/24/2022 9:14:33 PM=>Info:- Start Executing SMS Method
10/24/2022 9:14:33 PM=>Info:- End Executing SMS Method
10/24/2022 9:14:33 PM=>Info:- Start Mailing Method
10/24/2022 9:14:33 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:14:33 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:14:33 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:14:33 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:14:33 PM=>Info:- Count = 1
10/24/2022 9:14:33 PM=>Info:- Count 1
10/24/2022 9:14:33 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:14:33 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:14:33 PM=>Info:- Start SenMail Method
10/24/2022 9:14:33 PM=>UseDefaultCredentials
10/24/2022 9:14:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:14:33 PM=>EnableSsl = true
10/24/2022 9:14:33 PM=>DeliveryMethod
10/24/2022 9:14:33 PM=>Before Send
10/24/2022 9:14: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/24/2022 9:14:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:14:43 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:14:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:14:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:14:43 PM=>Info:- END Mailing Method
10/24/2022 9:14:43 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:14:43 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:14:43 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:14:43 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:14:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:14:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:14:43 PM=>Info - End of callingService Method
10/24/2022 9:16:43 PM=>Info - Check time Elapsed
10/24/2022 9:16:43 PM=>Info - Call callingService Method
10/24/2022 9:16:43 PM=>Info:- Call Both
10/24/2022 9:16:43 PM=>Info:- Start Executing SMS Method
10/24/2022 9:16:43 PM=>Info:- End Executing SMS Method
10/24/2022 9:16:43 PM=>Info:- Start Mailing Method
10/24/2022 9:16:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:16:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:16:43 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:16:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:16:43 PM=>Info:- Count = 1
10/24/2022 9:16:43 PM=>Info:- Count 1
10/24/2022 9:16:43 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:16:43 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:16:43 PM=>Info:- Start SenMail Method
10/24/2022 9:16:43 PM=>UseDefaultCredentials
10/24/2022 9:16:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:16:43 PM=>EnableSsl = true
10/24/2022 9:16:43 PM=>DeliveryMethod
10/24/2022 9:16:43 PM=>Before Send
10/24/2022 9:16: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/24/2022 9:16:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:16:52 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:16:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:16:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:16:52 PM=>Info:- END Mailing Method
10/24/2022 9:16:52 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:16:52 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:16:52 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:16:52 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:16:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:16:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:16:52 PM=>Info - End of callingService Method
10/24/2022 9:18:52 PM=>Info - Check time Elapsed
10/24/2022 9:18:52 PM=>Info - Call callingService Method
10/24/2022 9:18:52 PM=>Info:- Call Both
10/24/2022 9:18:52 PM=>Info:- Start Executing SMS Method
10/24/2022 9:18:52 PM=>Info:- End Executing SMS Method
10/24/2022 9:18:53 PM=>Info:- Start Mailing Method
10/24/2022 9:18:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:18:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:18:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:18:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:18:53 PM=>Info:- Count = 1
10/24/2022 9:18:53 PM=>Info:- Count 1
10/24/2022 9:18:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:18:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:18:53 PM=>Info:- Start SenMail Method
10/24/2022 9:18:53 PM=>UseDefaultCredentials
10/24/2022 9:18:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:18:53 PM=>EnableSsl = true
10/24/2022 9:18:53 PM=>DeliveryMethod
10/24/2022 9:18:53 PM=>Before Send
10/24/2022 9: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/24/2022 9:18:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:18:53 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:18:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:18:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:18:53 PM=>Info:- END Mailing Method
10/24/2022 9:18:53 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:18:53 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:18:53 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:18:53 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:18:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:18:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:18:53 PM=>Info - End of callingService Method
10/24/2022 9:20:53 PM=>Info - Check time Elapsed
10/24/2022 9:20:53 PM=>Info - Call callingService Method
10/24/2022 9:20:53 PM=>Info:- Call Both
10/24/2022 9:20:53 PM=>Info:- Start Executing SMS Method
10/24/2022 9:20:53 PM=>Info:- End Executing SMS Method
10/24/2022 9:20:53 PM=>Info:- Start Mailing Method
10/24/2022 9:20:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:20:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:20:53 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:20:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:20:53 PM=>Info:- Count = 1
10/24/2022 9:20:53 PM=>Info:- Count 1
10/24/2022 9:20:53 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:20:53 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:20:53 PM=>Info:- Start SenMail Method
10/24/2022 9:20:53 PM=>UseDefaultCredentials
10/24/2022 9:20:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:20:53 PM=>EnableSsl = true
10/24/2022 9:20:53 PM=>DeliveryMethod
10/24/2022 9:20:53 PM=>Before Send
10/24/2022 9:20: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/24/2022 9:20:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:20:56 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:20:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:20:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:20:56 PM=>Info:- END Mailing Method
10/24/2022 9:20:56 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:20:56 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:20:56 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:20:56 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:20:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:20:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:20:56 PM=>Info - End of callingService Method
10/24/2022 9:22:56 PM=>Info - Check time Elapsed
10/24/2022 9:22:56 PM=>Info - Call callingService Method
10/24/2022 9:22:56 PM=>Info:- Call Both
10/24/2022 9:22:56 PM=>Info:- Start Executing SMS Method
10/24/2022 9:22:56 PM=>Info:- End Executing SMS Method
10/24/2022 9:22:56 PM=>Info:- Start Mailing Method
10/24/2022 9:22:56 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:22:56 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:22:56 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:22:56 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:22:56 PM=>Info:- Count = 1
10/24/2022 9:22:56 PM=>Info:- Count 1
10/24/2022 9:22:56 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:22:56 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:22:56 PM=>Info:- Start SenMail Method
10/24/2022 9:22:56 PM=>UseDefaultCredentials
10/24/2022 9:22:56 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:22:56 PM=>EnableSsl = true
10/24/2022 9:22:56 PM=>DeliveryMethod
10/24/2022 9:22:56 PM=>Before Send
10/24/2022 9:24: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.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/24/2022 9:24:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:24:21 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:24:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:24:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:24:21 PM=>Info:- END Mailing Method
10/24/2022 9:24:21 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:24:21 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:24:21 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:24:21 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:24:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:24:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:24:21 PM=>Info - End of callingService Method
10/24/2022 9:26:21 PM=>Info - Check time Elapsed
10/24/2022 9:26:21 PM=>Info - Call callingService Method
10/24/2022 9:26:21 PM=>Info:- Call Both
10/24/2022 9:26:21 PM=>Info:- Start Executing SMS Method
10/24/2022 9:26:21 PM=>Info:- End Executing SMS Method
10/24/2022 9:26:21 PM=>Info:- Start Mailing Method
10/24/2022 9:26:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:26:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:26:21 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:26:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:26:21 PM=>Info:- Count = 1
10/24/2022 9:26:21 PM=>Info:- Count 1
10/24/2022 9:26:21 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:26:21 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:26:21 PM=>Info:- Start SenMail Method
10/24/2022 9:26:21 PM=>UseDefaultCredentials
10/24/2022 9:26:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:26:21 PM=>EnableSsl = true
10/24/2022 9:26:21 PM=>DeliveryMethod
10/24/2022 9:26:21 PM=>Before Send
10/24/2022 9:26: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/24/2022 9:26:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:26:24 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:26:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:26:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:26:24 PM=>Info:- END Mailing Method
10/24/2022 9:26:24 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:26:24 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:26:24 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:26:24 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:26:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:26:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:26:24 PM=>Info - End of callingService Method
10/24/2022 9:28:24 PM=>Info - Check time Elapsed
10/24/2022 9:28:24 PM=>Info - Call callingService Method
10/24/2022 9:28:24 PM=>Info:- Call Both
10/24/2022 9:28:24 PM=>Info:- Start Executing SMS Method
10/24/2022 9:28:24 PM=>Info:- End Executing SMS Method
10/24/2022 9:28:24 PM=>Info:- Start Mailing Method
10/24/2022 9:28:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:28:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:28:24 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:28:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:28:24 PM=>Info:- Count = 1
10/24/2022 9:28:24 PM=>Info:- Count 1
10/24/2022 9:28:24 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:28:24 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:28:24 PM=>Info:- Start SenMail Method
10/24/2022 9:28:24 PM=>UseDefaultCredentials
10/24/2022 9:28:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:28:24 PM=>EnableSsl = true
10/24/2022 9:28:24 PM=>DeliveryMethod
10/24/2022 9:28:24 PM=>Before Send
10/24/2022 9:28: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/24/2022 9:28:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:28:24 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:28:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:28:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:28:25 PM=>Info:- END Mailing Method
10/24/2022 9:28:25 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:28:25 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:28:25 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:28:25 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:28:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:28:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:28:25 PM=>Info - End of callingService Method
10/24/2022 9:30:25 PM=>Info - Check time Elapsed
10/24/2022 9:30:25 PM=>Info - Call callingService Method
10/24/2022 9:30:25 PM=>Info:- Call Both
10/24/2022 9:30:25 PM=>Info:- Start Executing SMS Method
10/24/2022 9:30:25 PM=>Info:- End Executing SMS Method
10/24/2022 9:30:25 PM=>Info:- Start Mailing Method
10/24/2022 9:30:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:30:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:30:25 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:30:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:30:25 PM=>Info:- Count = 1
10/24/2022 9:30:25 PM=>Info:- Count 1
10/24/2022 9:30:25 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:30:25 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:30:25 PM=>Info:- Start SenMail Method
10/24/2022 9:30:25 PM=>UseDefaultCredentials
10/24/2022 9:30:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:30:25 PM=>EnableSsl = true
10/24/2022 9:30:25 PM=>DeliveryMethod
10/24/2022 9:30:25 PM=>Before Send
10/24/2022 9:31:07 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/24/2022 9:31:07 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:31:07 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:31:07 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:31:07 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:31:07 PM=>Info:- END Mailing Method
10/24/2022 9:31:07 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:31:07 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:31:07 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:31:07 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:31:07 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:31:07 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:31:07 PM=>Info - End of callingService Method
10/24/2022 9:33:07 PM=>Info - Check time Elapsed
10/24/2022 9:33:07 PM=>Info - Call callingService Method
10/24/2022 9:33:07 PM=>Info:- Call Both
10/24/2022 9:33:07 PM=>Info:- Start Executing SMS Method
10/24/2022 9:33:07 PM=>Info:- End Executing SMS Method
10/24/2022 9:33:07 PM=>Info:- Start Mailing Method
10/24/2022 9:33:07 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:33:07 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:33:07 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:33:07 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:33:07 PM=>Info:- Count = 1
10/24/2022 9:33:07 PM=>Info:- Count 1
10/24/2022 9:33:07 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:33:07 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:33:07 PM=>Info:- Start SenMail Method
10/24/2022 9:33:07 PM=>UseDefaultCredentials
10/24/2022 9:33:07 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:33:07 PM=>EnableSsl = true
10/24/2022 9:33:07 PM=>DeliveryMethod
10/24/2022 9:33:07 PM=>Before Send
10/24/2022 9:33: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/24/2022 9:33:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:33:10 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:33:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:33:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:33:11 PM=>Info:- END Mailing Method
10/24/2022 9:33:11 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:33:11 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:33:11 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:33:11 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:33:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:33:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:33:11 PM=>Info - End of callingService Method
10/24/2022 9:35:11 PM=>Info - Check time Elapsed
10/24/2022 9:35:11 PM=>Info - Call callingService Method
10/24/2022 9:35:11 PM=>Info:- Call Both
10/24/2022 9:35:11 PM=>Info:- Start Executing SMS Method
10/24/2022 9:35:11 PM=>Info:- End Executing SMS Method
10/24/2022 9:35:11 PM=>Info:- Start Mailing Method
10/24/2022 9:35:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:35:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:35:11 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:35:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:35:11 PM=>Info:- Count = 1
10/24/2022 9:35:11 PM=>Info:- Count 1
10/24/2022 9:35:11 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:35:11 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:35:11 PM=>Info:- Start SenMail Method
10/24/2022 9:35:11 PM=>UseDefaultCredentials
10/24/2022 9:35:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:35:11 PM=>EnableSsl = true
10/24/2022 9:35:11 PM=>DeliveryMethod
10/24/2022 9:35:11 PM=>Before Send
10/24/2022 9:35: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/24/2022 9:35:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:35:20 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:35:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:35:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:35:20 PM=>Info:- END Mailing Method
10/24/2022 9:35:20 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:35:20 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:35:20 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:35:20 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:35:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:35:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:35:20 PM=>Info - End of callingService Method
10/24/2022 9:37:20 PM=>Info - Check time Elapsed
10/24/2022 9:37:20 PM=>Info - Call callingService Method
10/24/2022 9:37:20 PM=>Info:- Call Both
10/24/2022 9:37:20 PM=>Info:- Start Executing SMS Method
10/24/2022 9:37:20 PM=>Info:- End Executing SMS Method
10/24/2022 9:37:20 PM=>Info:- Start Mailing Method
10/24/2022 9:37:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:37:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:37:20 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:37:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:37:20 PM=>Info:- Count = 1
10/24/2022 9:37:20 PM=>Info:- Count 1
10/24/2022 9:37:20 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:37:20 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:37:20 PM=>Info:- Start SenMail Method
10/24/2022 9:37:20 PM=>UseDefaultCredentials
10/24/2022 9:37:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:37:20 PM=>EnableSsl = true
10/24/2022 9:37:20 PM=>DeliveryMethod
10/24/2022 9:37:20 PM=>Before Send
10/24/2022 9:38: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/24/2022 9:38:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:38:44 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:38:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:38:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:38:45 PM=>Info:- END Mailing Method
10/24/2022 9:38:45 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:38:45 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:38:45 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:38:45 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:38:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:38:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:38:45 PM=>Info - End of callingService Method
10/24/2022 9:40:45 PM=>Info - Check time Elapsed
10/24/2022 9:40:45 PM=>Info - Call callingService Method
10/24/2022 9:40:45 PM=>Info:- Call Both
10/24/2022 9:40:45 PM=>Info:- Start Executing SMS Method
10/24/2022 9:40:45 PM=>Info:- End Executing SMS Method
10/24/2022 9:40:45 PM=>Info:- Start Mailing Method
10/24/2022 9:40:45 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:40:45 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:40:45 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:40:45 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:40:45 PM=>Info:- Count = 1
10/24/2022 9:40:45 PM=>Info:- Count 1
10/24/2022 9:40:45 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:40:45 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:40:45 PM=>Info:- Start SenMail Method
10/24/2022 9:40:45 PM=>UseDefaultCredentials
10/24/2022 9:40:45 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:40:45 PM=>EnableSsl = true
10/24/2022 9:40:45 PM=>DeliveryMethod
10/24/2022 9:40:45 PM=>Before Send
10/24/2022 9:40: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/24/2022 9:40:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:40:54 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:40:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:40:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:40:54 PM=>Info:- END Mailing Method
10/24/2022 9:40:54 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:40:54 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:40:54 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:40:54 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:40:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:40:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:40:54 PM=>Info - End of callingService Method
10/24/2022 9:42:54 PM=>Info - Check time Elapsed
10/24/2022 9:42:54 PM=>Info - Call callingService Method
10/24/2022 9:42:54 PM=>Info:- Call Both
10/24/2022 9:42:54 PM=>Info:- Start Executing SMS Method
10/24/2022 9:42:54 PM=>Info:- End Executing SMS Method
10/24/2022 9:42:54 PM=>Info:- Start Mailing Method
10/24/2022 9:42:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:42:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:42:54 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:42:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:42:54 PM=>Info:- Count = 1
10/24/2022 9:42:54 PM=>Info:- Count 1
10/24/2022 9:42:54 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:42:54 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:42:54 PM=>Info:- Start SenMail Method
10/24/2022 9:42:54 PM=>UseDefaultCredentials
10/24/2022 9:42:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:42:54 PM=>EnableSsl = true
10/24/2022 9:42:54 PM=>DeliveryMethod
10/24/2022 9:42:54 PM=>Before Send
10/24/2022 9:43: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/24/2022 9:43:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:43:57 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:43:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:43:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:43:58 PM=>Info:- END Mailing Method
10/24/2022 9:43:58 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:43:58 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:43:58 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:43:58 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:43:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:43:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:43:58 PM=>Info - End of callingService Method
10/24/2022 9:45:58 PM=>Info - Check time Elapsed
10/24/2022 9:45:58 PM=>Info - Call callingService Method
10/24/2022 9:45:58 PM=>Info:- Call Both
10/24/2022 9:45:58 PM=>Info:- Start Executing SMS Method
10/24/2022 9:45:58 PM=>Info:- End Executing SMS Method
10/24/2022 9:45:58 PM=>Info:- Start Mailing Method
10/24/2022 9:45:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:45:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:45:58 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:45:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:45:58 PM=>Info:- Count = 1
10/24/2022 9:45:58 PM=>Info:- Count 1
10/24/2022 9:45:58 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:45:58 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:45:58 PM=>Info:- Start SenMail Method
10/24/2022 9:45:58 PM=>UseDefaultCredentials
10/24/2022 9:45:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:45:58 PM=>EnableSsl = true
10/24/2022 9:45:58 PM=>DeliveryMethod
10/24/2022 9:45:58 PM=>Before Send
10/24/2022 9:47: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.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/24/2022 9:47:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:47:22 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:47:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:47:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:47:22 PM=>Info:- END Mailing Method
10/24/2022 9:47:22 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:47:22 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:47:22 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:47:22 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:47:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:47:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:47:22 PM=>Info - End of callingService Method
10/24/2022 9:49:22 PM=>Info - Check time Elapsed
10/24/2022 9:49:22 PM=>Info - Call callingService Method
10/24/2022 9:49:22 PM=>Info:- Call Both
10/24/2022 9:49:22 PM=>Info:- Start Executing SMS Method
10/24/2022 9:49:22 PM=>Info:- End Executing SMS Method
10/24/2022 9:49:22 PM=>Info:- Start Mailing Method
10/24/2022 9:49:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:49:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:49:22 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:49:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:49:22 PM=>Info:- Count = 1
10/24/2022 9:49:22 PM=>Info:- Count 1
10/24/2022 9:49:22 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:49:22 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:49:22 PM=>Info:- Start SenMail Method
10/24/2022 9:49:22 PM=>UseDefaultCredentials
10/24/2022 9:49:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:49:22 PM=>EnableSsl = true
10/24/2022 9:49:22 PM=>DeliveryMethod
10/24/2022 9:49:22 PM=>Before Send
10/24/2022 9:49:32 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/24/2022 9:49:32 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:49:32 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:49:32 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:49:32 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:49:32 PM=>Info:- END Mailing Method
10/24/2022 9:49:32 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:49:32 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:49:32 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:49:32 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:49:32 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:49:32 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:49:32 PM=>Info - End of callingService Method
10/24/2022 9:51:32 PM=>Info - Check time Elapsed
10/24/2022 9:51:32 PM=>Info - Call callingService Method
10/24/2022 9:51:32 PM=>Info:- Call Both
10/24/2022 9:51:32 PM=>Info:- Start Executing SMS Method
10/24/2022 9:51:32 PM=>Info:- End Executing SMS Method
10/24/2022 9:51:32 PM=>Info:- Start Mailing Method
10/24/2022 9:51:32 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:51:32 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:51:32 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:51:32 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:51:32 PM=>Info:- Count = 1
10/24/2022 9:51:32 PM=>Info:- Count 1
10/24/2022 9:51:32 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:51:32 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:51:32 PM=>Info:- Start SenMail Method
10/24/2022 9:51:32 PM=>UseDefaultCredentials
10/24/2022 9:51:32 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:51:32 PM=>EnableSsl = true
10/24/2022 9:51:32 PM=>DeliveryMethod
10/24/2022 9:51:32 PM=>Before Send
10/24/2022 9:52: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.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/24/2022 9:52:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:52:56 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:52:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:52:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:52:56 PM=>Info:- END Mailing Method
10/24/2022 9:52:56 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:52:56 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:52:56 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:52:56 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:52:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:52:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:52:56 PM=>Info - End of callingService Method
10/24/2022 9:54:56 PM=>Info - Check time Elapsed
10/24/2022 9:54:56 PM=>Info - Call callingService Method
10/24/2022 9:54:56 PM=>Info:- Call Both
10/24/2022 9:54:56 PM=>Info:- Start Executing SMS Method
10/24/2022 9:54:56 PM=>Info:- End Executing SMS Method
10/24/2022 9:54:57 PM=>Info:- Start Mailing Method
10/24/2022 9:54:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:54:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:54:57 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:54:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:54:57 PM=>Info:- Count = 1
10/24/2022 9:54:57 PM=>Info:- Count 1
10/24/2022 9:54:57 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:54:57 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:54:57 PM=>Info:- Start SenMail Method
10/24/2022 9:54:57 PM=>UseDefaultCredentials
10/24/2022 9:54:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:54:57 PM=>EnableSsl = true
10/24/2022 9:54:57 PM=>DeliveryMethod
10/24/2022 9:54:57 PM=>Before Send
10/24/2022 9:54: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/24/2022 9:54:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:54:57 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:54:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:54:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:54:57 PM=>Info:- END Mailing Method
10/24/2022 9:54:57 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:54:57 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:54:57 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:54:57 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:54:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:54:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:54:57 PM=>Info - End of callingService Method
10/24/2022 9:56:57 PM=>Info - Check time Elapsed
10/24/2022 9:56:57 PM=>Info - Call callingService Method
10/24/2022 9:56:57 PM=>Info:- Call Both
10/24/2022 9:56:57 PM=>Info:- Start Executing SMS Method
10/24/2022 9:56:57 PM=>Info:- End Executing SMS Method
10/24/2022 9:56:57 PM=>Info:- Start Mailing Method
10/24/2022 9:56:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 9:56:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 9:56:57 PM=>Info:- PendingMail.xml file read to list
10/24/2022 9:56:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 9:56:57 PM=>Info:- Count = 1
10/24/2022 9:56:57 PM=>Info:- Count 1
10/24/2022 9:56:57 PM=>Info - Fetching Data From MAIL XML
10/24/2022 9:56:57 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 9:56:57 PM=>Info:- Start SenMail Method
10/24/2022 9:56:57 PM=>UseDefaultCredentials
10/24/2022 9:56:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 9:56:57 PM=>EnableSsl = true
10/24/2022 9:56:57 PM=>DeliveryMethod
10/24/2022 9:56:57 PM=>Before Send
10/24/2022 9:58: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.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/24/2022 9:58:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 9:58:21 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 9:58:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 9:58:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 9:58:21 PM=>Info:- END Mailing Method
10/24/2022 9:58:21 PM=>Info:- Start Executing Telegram Method
10/24/2022 9:58:21 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 9:58:21 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 9:58:21 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 9:58:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 9:58:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 9:58:21 PM=>Info - End of callingService Method
10/24/2022 10:00:22 PM=>Info - Check time Elapsed
10/24/2022 10:00:22 PM=>Info - Call callingService Method
10/24/2022 10:00:22 PM=>Info:- Call Both
10/24/2022 10:00:22 PM=>Info:- Start Executing SMS Method
10/24/2022 10:00:22 PM=>Info:- End Executing SMS Method
10/24/2022 10:00:22 PM=>Info:- Start Mailing Method
10/24/2022 10:00:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:00:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:00:22 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:00:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:00:22 PM=>Info:- Count = 1
10/24/2022 10:00:22 PM=>Info:- Count 1
10/24/2022 10:00:22 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:00:22 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:00:22 PM=>Info:- Start SenMail Method
10/24/2022 10:00:22 PM=>UseDefaultCredentials
10/24/2022 10:00:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:00:22 PM=>EnableSsl = true
10/24/2022 10:00:22 PM=>DeliveryMethod
10/24/2022 10:00:22 PM=>Before Send
10/24/2022 10:01: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/24/2022 10:01:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:01:13 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:01:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:01:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:01:13 PM=>Info:- END Mailing Method
10/24/2022 10:01:13 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:01:13 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:01:13 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:01:13 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:01:13 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:01:13 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:01:13 PM=>Info - End of callingService Method
10/24/2022 10:03:13 PM=>Info - Check time Elapsed
10/24/2022 10:03:13 PM=>Info - Call callingService Method
10/24/2022 10:03:13 PM=>Info:- Call Both
10/24/2022 10:03:13 PM=>Info:- Start Executing SMS Method
10/24/2022 10:03:13 PM=>Info:- End Executing SMS Method
10/24/2022 10:03:13 PM=>Info:- Start Mailing Method
10/24/2022 10:03:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:03:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:03:13 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:03:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:03:13 PM=>Info:- Count = 1
10/24/2022 10:03:13 PM=>Info:- Count 1
10/24/2022 10:03:13 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:03:13 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:03:13 PM=>Info:- Start SenMail Method
10/24/2022 10:03:13 PM=>UseDefaultCredentials
10/24/2022 10:03:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:03:13 PM=>EnableSsl = true
10/24/2022 10:03:13 PM=>DeliveryMethod
10/24/2022 10:03:13 PM=>Before Send
10/24/2022 10:03: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/24/2022 10:03:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:03:55 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:03:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:03:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:03:56 PM=>Info:- END Mailing Method
10/24/2022 10:03:56 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:03:56 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:03:56 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:03:56 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:03:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:03:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:03:56 PM=>Info - End of callingService Method
10/24/2022 10:05:56 PM=>Info - Check time Elapsed
10/24/2022 10:05:56 PM=>Info - Call callingService Method
10/24/2022 10:05:56 PM=>Info:- Call Both
10/24/2022 10:05:56 PM=>Info:- Start Executing SMS Method
10/24/2022 10:05:56 PM=>Info:- End Executing SMS Method
10/24/2022 10:05:56 PM=>Info:- Start Mailing Method
10/24/2022 10:05:56 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:05:56 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:05:56 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:05:56 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:05:56 PM=>Info:- Count = 1
10/24/2022 10:05:56 PM=>Info:- Count 1
10/24/2022 10:05:56 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:05:56 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:05:56 PM=>Info:- Start SenMail Method
10/24/2022 10:05:56 PM=>UseDefaultCredentials
10/24/2022 10:05:56 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:05:56 PM=>EnableSsl = true
10/24/2022 10:05:56 PM=>DeliveryMethod
10/24/2022 10:05:56 PM=>Before Send
10/24/2022 10:07: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.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/24/2022 10:07:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:07:20 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:07:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:07:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:07:20 PM=>Info:- END Mailing Method
10/24/2022 10:07:20 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:07:20 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:07:20 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:07:20 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:07:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:07:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:07:20 PM=>Info - End of callingService Method
10/24/2022 10:09:20 PM=>Info - Check time Elapsed
10/24/2022 10:09:20 PM=>Info - Call callingService Method
10/24/2022 10:09:20 PM=>Info:- Call Both
10/24/2022 10:09:20 PM=>Info:- Start Executing SMS Method
10/24/2022 10:09:20 PM=>Info:- End Executing SMS Method
10/24/2022 10:09:20 PM=>Info:- Start Mailing Method
10/24/2022 10:09:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:09:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:09:20 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:09:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:09:20 PM=>Info:- Count = 1
10/24/2022 10:09:20 PM=>Info:- Count 1
10/24/2022 10:09:20 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:09:20 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:09:20 PM=>Info:- Start SenMail Method
10/24/2022 10:09:20 PM=>UseDefaultCredentials
10/24/2022 10:09:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:09:20 PM=>EnableSsl = true
10/24/2022 10:09:20 PM=>DeliveryMethod
10/24/2022 10:09:20 PM=>Before Send
10/24/2022 10:10: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/24/2022 10:10:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:10:02 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:10:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:10:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:10:03 PM=>Info:- END Mailing Method
10/24/2022 10:10:03 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:10:03 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:10:03 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:10:03 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:10:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:10:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:10:03 PM=>Info - End of callingService Method
10/24/2022 10:12:03 PM=>Info - Check time Elapsed
10/24/2022 10:12:03 PM=>Info - Call callingService Method
10/24/2022 10:12:03 PM=>Info:- Call Both
10/24/2022 10:12:03 PM=>Info:- Start Executing SMS Method
10/24/2022 10:12:03 PM=>Info:- End Executing SMS Method
10/24/2022 10:12:03 PM=>Info:- Start Mailing Method
10/24/2022 10:12:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:12:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:12:03 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:12:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:12:03 PM=>Info:- Count = 1
10/24/2022 10:12:03 PM=>Info:- Count 1
10/24/2022 10:12:03 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:12:03 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:12:03 PM=>Info:- Start SenMail Method
10/24/2022 10:12:03 PM=>UseDefaultCredentials
10/24/2022 10:12:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:12:03 PM=>EnableSsl = true
10/24/2022 10:12:03 PM=>DeliveryMethod
10/24/2022 10:12:03 PM=>Before Send
10/24/2022 10:13: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 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/24/2022 10:13:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:13:27 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:13:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:13:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:13:27 PM=>Info:- END Mailing Method
10/24/2022 10:13:27 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:13:27 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:13:27 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:13:27 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:13:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:13:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:13:27 PM=>Info - End of callingService Method
10/24/2022 10:15:27 PM=>Info - Check time Elapsed
10/24/2022 10:15:27 PM=>Info - Call callingService Method
10/24/2022 10:15:27 PM=>Info:- Call Both
10/24/2022 10:15:27 PM=>Info:- Start Executing SMS Method
10/24/2022 10:15:27 PM=>Info:- End Executing SMS Method
10/24/2022 10:15:27 PM=>Info:- Start Mailing Method
10/24/2022 10:15:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:15:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:15:27 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:15:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:15:27 PM=>Info:- Count = 1
10/24/2022 10:15:27 PM=>Info:- Count 1
10/24/2022 10:15:27 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:15:27 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:15:27 PM=>Info:- Start SenMail Method
10/24/2022 10:15:27 PM=>UseDefaultCredentials
10/24/2022 10:15:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:15:27 PM=>EnableSsl = true
10/24/2022 10:15:27 PM=>DeliveryMethod
10/24/2022 10:15:27 PM=>Before Send
10/24/2022 10:15: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/24/2022 10:15:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:15:27 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:15:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:15:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:15:27 PM=>Info:- END Mailing Method
10/24/2022 10:15:27 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:15:27 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:15:27 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:15:27 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:15:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:15:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:15:27 PM=>Info - End of callingService Method
10/24/2022 10:17:27 PM=>Info - Check time Elapsed
10/24/2022 10:17:28 PM=>Info - Call callingService Method
10/24/2022 10:17:28 PM=>Info:- Call Both
10/24/2022 10:17:28 PM=>Info:- Start Executing SMS Method
10/24/2022 10:17:28 PM=>Info:- End Executing SMS Method
10/24/2022 10:17:28 PM=>Info:- Start Mailing Method
10/24/2022 10:17:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:17:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:17:28 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:17:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:17:28 PM=>Info:- Count = 1
10/24/2022 10:17:28 PM=>Info:- Count 1
10/24/2022 10:17:28 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:17:28 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:17:28 PM=>Info:- Start SenMail Method
10/24/2022 10:17:28 PM=>UseDefaultCredentials
10/24/2022 10:17:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:17:28 PM=>EnableSsl = true
10/24/2022 10:17:28 PM=>DeliveryMethod
10/24/2022 10:17:28 PM=>Before Send
10/24/2022 10:18: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.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/24/2022 10:18:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:18:52 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:18:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:18:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:18:52 PM=>Info:- END Mailing Method
10/24/2022 10:18:52 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:18:52 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:18:52 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:18:52 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:18:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:18:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:18:52 PM=>Info - End of callingService Method
10/24/2022 10:20:52 PM=>Info - Check time Elapsed
10/24/2022 10:20:52 PM=>Info - Call callingService Method
10/24/2022 10:20:52 PM=>Info:- Call Both
10/24/2022 10:20:52 PM=>Info:- Start Executing SMS Method
10/24/2022 10:20:52 PM=>Info:- End Executing SMS Method
10/24/2022 10:20:52 PM=>Info:- Start Mailing Method
10/24/2022 10:20:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:20:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:20:52 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:20:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:20:52 PM=>Info:- Count = 1
10/24/2022 10:20:52 PM=>Info:- Count 1
10/24/2022 10:20:52 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:20:52 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:20:52 PM=>Info:- Start SenMail Method
10/24/2022 10:20:52 PM=>UseDefaultCredentials
10/24/2022 10:20:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:20:52 PM=>EnableSsl = true
10/24/2022 10:20:52 PM=>DeliveryMethod
10/24/2022 10:20:52 PM=>Before Send
10/24/2022 10:20: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/24/2022 10:20:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:20:55 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:20:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:20:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:20:55 PM=>Info:- END Mailing Method
10/24/2022 10:20:55 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:20:55 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:20:55 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:20:55 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:20:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:20:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:20:55 PM=>Info - End of callingService Method
10/24/2022 10:22:55 PM=>Info - Check time Elapsed
10/24/2022 10:22:55 PM=>Info - Call callingService Method
10/24/2022 10:22:56 PM=>Info:- Call Both
10/24/2022 10:22:56 PM=>Info:- Start Executing SMS Method
10/24/2022 10:22:56 PM=>Info:- End Executing SMS Method
10/24/2022 10:22:56 PM=>Info:- Start Mailing Method
10/24/2022 10:22:56 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:22:56 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:22:56 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:22:56 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:22:56 PM=>Info:- Count = 1
10/24/2022 10:22:56 PM=>Info:- Count 1
10/24/2022 10:22:56 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:22:56 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:22:56 PM=>Info:- Start SenMail Method
10/24/2022 10:22:56 PM=>UseDefaultCredentials
10/24/2022 10:22:56 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:22:56 PM=>EnableSsl = true
10/24/2022 10:22:56 PM=>DeliveryMethod
10/24/2022 10:22:56 PM=>Before Send
10/24/2022 10:24: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.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/24/2022 10:24:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:24:20 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:24:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:24:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:24:20 PM=>Info:- END Mailing Method
10/24/2022 10:24:20 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:24:20 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:24:20 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:24:20 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:24:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:24:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:24:20 PM=>Info - End of callingService Method
10/24/2022 10:26:20 PM=>Info - Check time Elapsed
10/24/2022 10:26:20 PM=>Info - Call callingService Method
10/24/2022 10:26:20 PM=>Info:- Call Both
10/24/2022 10:26:20 PM=>Info:- Start Executing SMS Method
10/24/2022 10:26:20 PM=>Info:- End Executing SMS Method
10/24/2022 10:26:20 PM=>Info:- Start Mailing Method
10/24/2022 10:26:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:26:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:26:20 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:26:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:26:20 PM=>Info:- Count = 1
10/24/2022 10:26:20 PM=>Info:- Count 1
10/24/2022 10:26:20 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:26:20 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:26:20 PM=>Info:- Start SenMail Method
10/24/2022 10:26:20 PM=>UseDefaultCredentials
10/24/2022 10:26:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:26:20 PM=>EnableSsl = true
10/24/2022 10:26:20 PM=>DeliveryMethod
10/24/2022 10:26:20 PM=>Before Send
10/24/2022 10:26: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/24/2022 10:26:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:26:20 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:26:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:26:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:26:20 PM=>Info:- END Mailing Method
10/24/2022 10:26:20 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:26:20 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:26:20 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:26:20 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:26:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:26:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:26:20 PM=>Info - End of callingService Method
10/24/2022 10:28:20 PM=>Info - Check time Elapsed
10/24/2022 10:28:20 PM=>Info - Call callingService Method
10/24/2022 10:28:20 PM=>Info:- Call Both
10/24/2022 10:28:20 PM=>Info:- Start Executing SMS Method
10/24/2022 10:28:20 PM=>Info:- End Executing SMS Method
10/24/2022 10:28:21 PM=>Info:- Start Mailing Method
10/24/2022 10:28:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:28:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:28:21 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:28:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:28:21 PM=>Info:- Count = 1
10/24/2022 10:28:21 PM=>Info:- Count 1
10/24/2022 10:28:21 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:28:21 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:28:21 PM=>Info:- Start SenMail Method
10/24/2022 10:28:21 PM=>UseDefaultCredentials
10/24/2022 10:28:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:28:21 PM=>EnableSsl = true
10/24/2022 10:28:21 PM=>DeliveryMethod
10/24/2022 10:28:21 PM=>Before Send
10/24/2022 10:29: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.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/24/2022 10:29:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:29:45 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:29:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:29:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:29:45 PM=>Info:- END Mailing Method
10/24/2022 10:29:45 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:29:45 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:29:45 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:29:45 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:29:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:29:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:29:45 PM=>Info - End of callingService Method
10/24/2022 10:31:45 PM=>Info - Check time Elapsed
10/24/2022 10:31:45 PM=>Info - Call callingService Method
10/24/2022 10:31:45 PM=>Info:- Call Both
10/24/2022 10:31:45 PM=>Info:- Start Executing SMS Method
10/24/2022 10:31:45 PM=>Info:- End Executing SMS Method
10/24/2022 10:31:45 PM=>Info:- Start Mailing Method
10/24/2022 10:31:45 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:31:45 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:31:45 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:31:45 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:31:45 PM=>Info:- Count = 1
10/24/2022 10:31:45 PM=>Info:- Count 1
10/24/2022 10:31:45 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:31:45 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:31:45 PM=>Info:- Start SenMail Method
10/24/2022 10:31:45 PM=>UseDefaultCredentials
10/24/2022 10:31:45 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:31:45 PM=>EnableSsl = true
10/24/2022 10:31:45 PM=>DeliveryMethod
10/24/2022 10:31:45 PM=>Before Send
10/24/2022 10:33: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 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/24/2022 10:33:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:33:09 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:33:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:33:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:33:10 PM=>Info:- END Mailing Method
10/24/2022 10:33:10 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:33:10 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:33:10 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:33:10 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:33:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:33:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:33:10 PM=>Info - End of callingService Method
10/24/2022 10:35:10 PM=>Info - Check time Elapsed
10/24/2022 10:35:10 PM=>Info - Call callingService Method
10/24/2022 10:35:10 PM=>Info:- Call Both
10/24/2022 10:35:10 PM=>Info:- Start Executing SMS Method
10/24/2022 10:35:10 PM=>Info:- End Executing SMS Method
10/24/2022 10:35:10 PM=>Info:- Start Mailing Method
10/24/2022 10:35:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:35:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:35:10 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:35:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:35:10 PM=>Info:- Count = 1
10/24/2022 10:35:10 PM=>Info:- Count 1
10/24/2022 10:35:10 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:35:10 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:35:10 PM=>Info:- Start SenMail Method
10/24/2022 10:35:10 PM=>UseDefaultCredentials
10/24/2022 10:35:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:35:10 PM=>EnableSsl = true
10/24/2022 10:35:10 PM=>DeliveryMethod
10/24/2022 10:35:10 PM=>Before Send
10/24/2022 10:36: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.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/24/2022 10:36:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:36:34 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:36:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:36:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:36:34 PM=>Info:- END Mailing Method
10/24/2022 10:36:34 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:36:34 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:36:34 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:36:34 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:36:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:36:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:36:34 PM=>Info - End of callingService Method
10/24/2022 10:38:34 PM=>Info - Check time Elapsed
10/24/2022 10:38:34 PM=>Info - Call callingService Method
10/24/2022 10:38:34 PM=>Info:- Call Both
10/24/2022 10:38:34 PM=>Info:- Start Executing SMS Method
10/24/2022 10:38:34 PM=>Info:- End Executing SMS Method
10/24/2022 10:38:34 PM=>Info:- Start Mailing Method
10/24/2022 10:38:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:38:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:38:34 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:38:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:38:34 PM=>Info:- Count = 1
10/24/2022 10:38:34 PM=>Info:- Count 1
10/24/2022 10:38:34 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:38:34 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:38:34 PM=>Info:- Start SenMail Method
10/24/2022 10:38:34 PM=>UseDefaultCredentials
10/24/2022 10:38:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:38:34 PM=>EnableSsl = true
10/24/2022 10:38:34 PM=>DeliveryMethod
10/24/2022 10:38:34 PM=>Before Send
10/24/2022 10:38: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/24/2022 10:38:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:38:43 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:38:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:38:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:38:43 PM=>Info:- END Mailing Method
10/24/2022 10:38:43 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:38:43 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:38:43 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:38:43 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:38:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:38:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:38:44 PM=>Info - End of callingService Method
10/24/2022 10:40:44 PM=>Info - Check time Elapsed
10/24/2022 10:40:44 PM=>Info - Call callingService Method
10/24/2022 10:40:44 PM=>Info:- Call Both
10/24/2022 10:40:44 PM=>Info:- Start Executing SMS Method
10/24/2022 10:40:44 PM=>Info:- End Executing SMS Method
10/24/2022 10:40:44 PM=>Info:- Start Mailing Method
10/24/2022 10:40:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:40:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:40:44 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:40:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:40:44 PM=>Info:- Count = 1
10/24/2022 10:40:44 PM=>Info:- Count 1
10/24/2022 10:40:44 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:40:44 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:40:44 PM=>Info:- Start SenMail Method
10/24/2022 10:40:44 PM=>UseDefaultCredentials
10/24/2022 10:40:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:40:44 PM=>EnableSsl = true
10/24/2022 10:40:44 PM=>DeliveryMethod
10/24/2022 10:40:44 PM=>Before Send
10/24/2022 10:42: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.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/24/2022 10:42:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:42:08 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:42:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:42:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:42:08 PM=>Info:- END Mailing Method
10/24/2022 10:42:08 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:42:08 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:42:08 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:42:08 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:42:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:42:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:42:08 PM=>Info - End of callingService Method
10/24/2022 10:44:08 PM=>Info - Check time Elapsed
10/24/2022 10:44:08 PM=>Info - Call callingService Method
10/24/2022 10:44:08 PM=>Info:- Call Both
10/24/2022 10:44:08 PM=>Info:- Start Executing SMS Method
10/24/2022 10:44:08 PM=>Info:- End Executing SMS Method
10/24/2022 10:44:08 PM=>Info:- Start Mailing Method
10/24/2022 10:44:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:44:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:44:08 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:44:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:44:08 PM=>Info:- Count = 1
10/24/2022 10:44:08 PM=>Info:- Count 1
10/24/2022 10:44:08 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:44:08 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:44:08 PM=>Info:- Start SenMail Method
10/24/2022 10:44:08 PM=>UseDefaultCredentials
10/24/2022 10:44:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:44:08 PM=>EnableSsl = true
10/24/2022 10:44:08 PM=>DeliveryMethod
10/24/2022 10:44:08 PM=>Before Send
10/24/2022 10:44: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/24/2022 10:44:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:44:29 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:44:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:44:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:44:29 PM=>Info:- END Mailing Method
10/24/2022 10:44:29 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:44:29 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:44:29 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:44:29 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:44:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:44:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:44:29 PM=>Info - End of callingService Method
10/24/2022 10:46:29 PM=>Info - Check time Elapsed
10/24/2022 10:46:29 PM=>Info - Call callingService Method
10/24/2022 10:46:29 PM=>Info:- Call Both
10/24/2022 10:46:29 PM=>Info:- Start Executing SMS Method
10/24/2022 10:46:29 PM=>Info:- End Executing SMS Method
10/24/2022 10:46:30 PM=>Info:- Start Mailing Method
10/24/2022 10:46:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:46:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:46:30 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:46:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:46:30 PM=>Info:- Count = 1
10/24/2022 10:46:30 PM=>Info:- Count 1
10/24/2022 10:46:30 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:46:30 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:46:30 PM=>Info:- Start SenMail Method
10/24/2022 10:46:30 PM=>UseDefaultCredentials
10/24/2022 10:46:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:46:30 PM=>EnableSsl = true
10/24/2022 10:46:30 PM=>DeliveryMethod
10/24/2022 10:46:30 PM=>Before Send
10/24/2022 10:47: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/24/2022 10:47:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:47:33 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:47:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:47:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:47:33 PM=>Info:- END Mailing Method
10/24/2022 10:47:33 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:47:33 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:47:33 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:47:33 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:47:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:47:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:47:33 PM=>Info - End of callingService Method
10/24/2022 10:49:33 PM=>Info - Check time Elapsed
10/24/2022 10:49:33 PM=>Info - Call callingService Method
10/24/2022 10:49:33 PM=>Info:- Call Both
10/24/2022 10:49:33 PM=>Info:- Start Executing SMS Method
10/24/2022 10:49:33 PM=>Info:- End Executing SMS Method
10/24/2022 10:49:33 PM=>Info:- Start Mailing Method
10/24/2022 10:49:33 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:49:33 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:49:33 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:49:33 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:49:33 PM=>Info:- Count = 1
10/24/2022 10:49:33 PM=>Info:- Count 1
10/24/2022 10:49:33 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:49:33 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:49:33 PM=>Info:- Start SenMail Method
10/24/2022 10:49:33 PM=>UseDefaultCredentials
10/24/2022 10:49:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:49:33 PM=>EnableSsl = true
10/24/2022 10:49:33 PM=>DeliveryMethod
10/24/2022 10:49:33 PM=>Before Send
10/24/2022 10:49: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/24/2022 10:49:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:49:33 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:49:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:49:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:49:33 PM=>Info:- END Mailing Method
10/24/2022 10:49:33 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:49:33 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:49:33 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:49:33 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:49:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:49:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:49:33 PM=>Info - End of callingService Method
10/24/2022 10:51:33 PM=>Info - Check time Elapsed
10/24/2022 10:51:33 PM=>Info - Call callingService Method
10/24/2022 10:51:33 PM=>Info:- Call Both
10/24/2022 10:51:33 PM=>Info:- Start Executing SMS Method
10/24/2022 10:51:33 PM=>Info:- End Executing SMS Method
10/24/2022 10:51:33 PM=>Info:- Start Mailing Method
10/24/2022 10:51:33 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:51:33 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:51:33 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:51:33 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:51:33 PM=>Info:- Count = 1
10/24/2022 10:51:33 PM=>Info:- Count 1
10/24/2022 10:51:33 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:51:33 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:51:33 PM=>Info:- Start SenMail Method
10/24/2022 10:51:33 PM=>UseDefaultCredentials
10/24/2022 10:51:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:51:33 PM=>EnableSsl = true
10/24/2022 10:51:33 PM=>DeliveryMethod
10/24/2022 10:51:33 PM=>Before Send
10/24/2022 10:52:58 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/24/2022 10:52:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:52:58 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:52:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:52:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:52:58 PM=>Info:- END Mailing Method
10/24/2022 10:52:58 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:52:58 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:52:58 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:52:58 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:52:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:52:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:52:58 PM=>Info - End of callingService Method
10/24/2022 10:54:58 PM=>Info - Check time Elapsed
10/24/2022 10:54:58 PM=>Info - Call callingService Method
10/24/2022 10:54:58 PM=>Info:- Call Both
10/24/2022 10:54:58 PM=>Info:- Start Executing SMS Method
10/24/2022 10:54:58 PM=>Info:- End Executing SMS Method
10/24/2022 10:54:58 PM=>Info:- Start Mailing Method
10/24/2022 10:54:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:54:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:54:58 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:54:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:54:58 PM=>Info:- Count = 1
10/24/2022 10:54:58 PM=>Info:- Count 1
10/24/2022 10:54:58 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:54:58 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:54:58 PM=>Info:- Start SenMail Method
10/24/2022 10:54:58 PM=>UseDefaultCredentials
10/24/2022 10:54:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:54:58 PM=>EnableSsl = true
10/24/2022 10:54:58 PM=>DeliveryMethod
10/24/2022 10:54:58 PM=>Before Send
10/24/2022 10:55: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/24/2022 10:55:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:55:19 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:55:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:55:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:55:19 PM=>Info:- END Mailing Method
10/24/2022 10:55:19 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:55:19 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:55:19 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:55:19 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:55:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:55:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:55:19 PM=>Info - End of callingService Method
10/24/2022 10:57:19 PM=>Info - Check time Elapsed
10/24/2022 10:57:19 PM=>Info - Call callingService Method
10/24/2022 10:57:19 PM=>Info:- Call Both
10/24/2022 10:57:19 PM=>Info:- Start Executing SMS Method
10/24/2022 10:57:19 PM=>Info:- End Executing SMS Method
10/24/2022 10:57:19 PM=>Info:- Start Mailing Method
10/24/2022 10:57:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:57:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:57:19 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:57:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:57:19 PM=>Info:- Count = 1
10/24/2022 10:57:19 PM=>Info:- Count 1
10/24/2022 10:57:19 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:57:19 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:57:19 PM=>Info:- Start SenMail Method
10/24/2022 10:57:19 PM=>UseDefaultCredentials
10/24/2022 10:57:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:57:19 PM=>EnableSsl = true
10/24/2022 10:57:19 PM=>DeliveryMethod
10/24/2022 10:57:19 PM=>Before Send
10/24/2022 10:57: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/24/2022 10:57:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 10:57:41 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 10:57:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 10:57:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 10:57:41 PM=>Info:- END Mailing Method
10/24/2022 10:57:41 PM=>Info:- Start Executing Telegram Method
10/24/2022 10:57:41 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 10:57:41 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 10:57:41 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 10:57:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 10:57:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 10:57:41 PM=>Info - End of callingService Method
10/24/2022 10:59:41 PM=>Info - Check time Elapsed
10/24/2022 10:59:41 PM=>Info - Call callingService Method
10/24/2022 10:59:41 PM=>Info:- Call Both
10/24/2022 10:59:41 PM=>Info:- Start Executing SMS Method
10/24/2022 10:59:41 PM=>Info:- End Executing SMS Method
10/24/2022 10:59:41 PM=>Info:- Start Mailing Method
10/24/2022 10:59:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 10:59:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 10:59:41 PM=>Info:- PendingMail.xml file read to list
10/24/2022 10:59:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 10:59:41 PM=>Info:- Count = 1
10/24/2022 10:59:41 PM=>Info:- Count 1
10/24/2022 10:59:41 PM=>Info - Fetching Data From MAIL XML
10/24/2022 10:59:41 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 10:59:41 PM=>Info:- Start SenMail Method
10/24/2022 10:59:41 PM=>UseDefaultCredentials
10/24/2022 10:59:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 10:59:41 PM=>EnableSsl = true
10/24/2022 10:59:41 PM=>DeliveryMethod
10/24/2022 10:59:41 PM=>Before Send
10/24/2022 11:01: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/24/2022 11:01:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:01:05 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:01:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:01:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:01:05 PM=>Info:- END Mailing Method
10/24/2022 11:01:05 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:01:05 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:01:05 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:01:05 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:01:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:01:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:01:05 PM=>Info - End of callingService Method
10/24/2022 11:03:05 PM=>Info - Check time Elapsed
10/24/2022 11:03:05 PM=>Info - Call callingService Method
10/24/2022 11:03:05 PM=>Info:- Call Both
10/24/2022 11:03:05 PM=>Info:- Start Executing SMS Method
10/24/2022 11:03:05 PM=>Info:- End Executing SMS Method
10/24/2022 11:03:06 PM=>Info:- Start Mailing Method
10/24/2022 11:03:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:03:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:03:06 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:03:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:03:06 PM=>Info:- Count = 1
10/24/2022 11:03:06 PM=>Info:- Count 1
10/24/2022 11:03:06 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:03:06 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:03:06 PM=>Info:- Start SenMail Method
10/24/2022 11:03:06 PM=>UseDefaultCredentials
10/24/2022 11:03:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:03:06 PM=>EnableSsl = true
10/24/2022 11:03:06 PM=>DeliveryMethod
10/24/2022 11:03:06 PM=>Before Send
10/24/2022 11:03:09 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/24/2022 11:03:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:03:09 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:03:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:03:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:03:09 PM=>Info:- END Mailing Method
10/24/2022 11:03:09 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:03:09 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:03:09 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:03:09 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:03:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:03:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:03:09 PM=>Info - End of callingService Method
10/24/2022 11:05:09 PM=>Info - Check time Elapsed
10/24/2022 11:05:09 PM=>Info - Call callingService Method
10/24/2022 11:05:09 PM=>Info:- Call Both
10/24/2022 11:05:09 PM=>Info:- Start Executing SMS Method
10/24/2022 11:05:09 PM=>Info:- End Executing SMS Method
10/24/2022 11:05:09 PM=>Info:- Start Mailing Method
10/24/2022 11:05:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:05:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:05:09 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:05:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:05:09 PM=>Info:- Count = 1
10/24/2022 11:05:09 PM=>Info:- Count 1
10/24/2022 11:05:09 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:05:09 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:05:09 PM=>Info:- Start SenMail Method
10/24/2022 11:05:09 PM=>UseDefaultCredentials
10/24/2022 11:05:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:05:09 PM=>EnableSsl = true
10/24/2022 11:05:09 PM=>DeliveryMethod
10/24/2022 11:05:09 PM=>Before Send
10/24/2022 11:05:09 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/24/2022 11:05:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:05:09 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:05:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:05:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:05:09 PM=>Info:- END Mailing Method
10/24/2022 11:05:09 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:05:09 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:05:09 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:05:09 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:05:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:05:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:05:09 PM=>Info - End of callingService Method
10/24/2022 11:07:09 PM=>Info - Check time Elapsed
10/24/2022 11:07:09 PM=>Info - Call callingService Method
10/24/2022 11:07:09 PM=>Info:- Call Both
10/24/2022 11:07:09 PM=>Info:- Start Executing SMS Method
10/24/2022 11:07:09 PM=>Info:- End Executing SMS Method
10/24/2022 11:07:09 PM=>Info:- Start Mailing Method
10/24/2022 11:07:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:07:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:07:09 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:07:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:07:09 PM=>Info:- Count = 1
10/24/2022 11:07:09 PM=>Info:- Count 1
10/24/2022 11:07:09 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:07:09 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:07:09 PM=>Info:- Start SenMail Method
10/24/2022 11:07:09 PM=>UseDefaultCredentials
10/24/2022 11:07:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:07:09 PM=>EnableSsl = true
10/24/2022 11:07:09 PM=>DeliveryMethod
10/24/2022 11:07:09 PM=>Before Send
10/24/2022 11:08:33 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.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/24/2022 11:08:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:08:33 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:08:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:08:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:08:34 PM=>Info:- END Mailing Method
10/24/2022 11:08:34 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:08:34 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:08:34 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:08:34 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:08:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:08:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:08:34 PM=>Info - End of callingService Method
10/24/2022 11:10:34 PM=>Info - Check time Elapsed
10/24/2022 11:10:34 PM=>Info - Call callingService Method
10/24/2022 11:10:34 PM=>Info:- Call Both
10/24/2022 11:10:34 PM=>Info:- Start Executing SMS Method
10/24/2022 11:10:34 PM=>Info:- End Executing SMS Method
10/24/2022 11:10:34 PM=>Info:- Start Mailing Method
10/24/2022 11:10:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:10:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:10:34 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:10:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:10:34 PM=>Info:- Count = 1
10/24/2022 11:10:34 PM=>Info:- Count 1
10/24/2022 11:10:34 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:10:34 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:10:34 PM=>Info:- Start SenMail Method
10/24/2022 11:10:34 PM=>UseDefaultCredentials
10/24/2022 11:10:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:10:34 PM=>EnableSsl = true
10/24/2022 11:10:34 PM=>DeliveryMethod
10/24/2022 11:10:34 PM=>Before Send
10/24/2022 11:11:58 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.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/24/2022 11:11:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:11:58 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:11:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:11:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:11:58 PM=>Info:- END Mailing Method
10/24/2022 11:11:58 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:11:58 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:11:58 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:11:58 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:11:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:11:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:11:58 PM=>Info - End of callingService Method
10/24/2022 11:13:58 PM=>Info - Check time Elapsed
10/24/2022 11:13:58 PM=>Info - Call callingService Method
10/24/2022 11:13:58 PM=>Info:- Call Both
10/24/2022 11:13:58 PM=>Info:- Start Executing SMS Method
10/24/2022 11:13:58 PM=>Info:- End Executing SMS Method
10/24/2022 11:13:58 PM=>Info:- Start Mailing Method
10/24/2022 11:13:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:13:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:13:58 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:13:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:13:58 PM=>Info:- Count = 1
10/24/2022 11:13:58 PM=>Info:- Count 1
10/24/2022 11:13:58 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:13:58 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:13:58 PM=>Info:- Start SenMail Method
10/24/2022 11:13:58 PM=>UseDefaultCredentials
10/24/2022 11:13:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:13:58 PM=>EnableSsl = true
10/24/2022 11:13:58 PM=>DeliveryMethod
10/24/2022 11:13:58 PM=>Before Send
10/24/2022 11:13: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/24/2022 11:13:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:13:58 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:13:59 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:13:59 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:13:59 PM=>Info:- END Mailing Method
10/24/2022 11:13:59 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:13:59 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:13:59 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:13:59 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:13:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:13:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:13:59 PM=>Info - End of callingService Method
10/24/2022 11:15:59 PM=>Info - Check time Elapsed
10/24/2022 11:15:59 PM=>Info - Call callingService Method
10/24/2022 11:15:59 PM=>Info:- Call Both
10/24/2022 11:15:59 PM=>Info:- Start Executing SMS Method
10/24/2022 11:15:59 PM=>Info:- End Executing SMS Method
10/24/2022 11:15:59 PM=>Info:- Start Mailing Method
10/24/2022 11:15:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:15:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:15:59 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:15:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:15:59 PM=>Info:- Count = 1
10/24/2022 11:15:59 PM=>Info:- Count 1
10/24/2022 11:15:59 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:15:59 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:15:59 PM=>Info:- Start SenMail Method
10/24/2022 11:15:59 PM=>UseDefaultCredentials
10/24/2022 11:15:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:15:59 PM=>EnableSsl = true
10/24/2022 11:15:59 PM=>DeliveryMethod
10/24/2022 11:15:59 PM=>Before Send
10/24/2022 11:15: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/24/2022 11:15:59 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:15:59 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:15:59 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:15:59 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:15:59 PM=>Info:- END Mailing Method
10/24/2022 11:15:59 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:15:59 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:15:59 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:15:59 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:15:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:15:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:15:59 PM=>Info - End of callingService Method
10/24/2022 11:17:59 PM=>Info - Check time Elapsed
10/24/2022 11:17:59 PM=>Info - Call callingService Method
10/24/2022 11:17:59 PM=>Info:- Call Both
10/24/2022 11:17:59 PM=>Info:- Start Executing SMS Method
10/24/2022 11:17:59 PM=>Info:- End Executing SMS Method
10/24/2022 11:17:59 PM=>Info:- Start Mailing Method
10/24/2022 11:17:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:17:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:17:59 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:17:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:17:59 PM=>Info:- Count = 1
10/24/2022 11:17:59 PM=>Info:- Count 1
10/24/2022 11:17:59 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:17:59 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:17:59 PM=>Info:- Start SenMail Method
10/24/2022 11:17:59 PM=>UseDefaultCredentials
10/24/2022 11:17:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:17:59 PM=>EnableSsl = true
10/24/2022 11:17:59 PM=>DeliveryMethod
10/24/2022 11:17:59 PM=>Before Send
10/24/2022 11:19: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.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/24/2022 11:19:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:19:23 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:19:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:19:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:19:24 PM=>Info:- END Mailing Method
10/24/2022 11:19:24 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:19:24 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:19:24 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:19:24 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:19:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:19:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:19:24 PM=>Info - End of callingService Method
10/24/2022 11:21:24 PM=>Info - Check time Elapsed
10/24/2022 11:21:24 PM=>Info - Call callingService Method
10/24/2022 11:21:24 PM=>Info:- Call Both
10/24/2022 11:21:24 PM=>Info:- Start Executing SMS Method
10/24/2022 11:21:24 PM=>Info:- End Executing SMS Method
10/24/2022 11:21:24 PM=>Info:- Start Mailing Method
10/24/2022 11:21:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:21:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:21:24 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:21:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:21:24 PM=>Info:- Count = 1
10/24/2022 11:21:24 PM=>Info:- Count 1
10/24/2022 11:21:24 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:21:24 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:21:24 PM=>Info:- Start SenMail Method
10/24/2022 11:21:24 PM=>UseDefaultCredentials
10/24/2022 11:21:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:21:24 PM=>EnableSsl = true
10/24/2022 11:21:24 PM=>DeliveryMethod
10/24/2022 11:21:24 PM=>Before Send
10/24/2022 11:22: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 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/24/2022 11:22:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:22:48 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:22:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:22:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:22:48 PM=>Info:- END Mailing Method
10/24/2022 11:22:48 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:22:48 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:22:48 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:22:48 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:22:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:22:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:22:48 PM=>Info - End of callingService Method
10/24/2022 11:24:48 PM=>Info - Check time Elapsed
10/24/2022 11:24:48 PM=>Info - Call callingService Method
10/24/2022 11:24:48 PM=>Info:- Call Both
10/24/2022 11:24:48 PM=>Info:- Start Executing SMS Method
10/24/2022 11:24:48 PM=>Info:- End Executing SMS Method
10/24/2022 11:24:48 PM=>Info:- Start Mailing Method
10/24/2022 11:24:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:24:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:24:48 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:24:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:24:48 PM=>Info:- Count = 1
10/24/2022 11:24:48 PM=>Info:- Count 1
10/24/2022 11:24:48 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:24:48 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:24:48 PM=>Info:- Start SenMail Method
10/24/2022 11:24:48 PM=>UseDefaultCredentials
10/24/2022 11:24:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:24:48 PM=>EnableSsl = true
10/24/2022 11:24:48 PM=>DeliveryMethod
10/24/2022 11:24:48 PM=>Before Send
10/24/2022 11:26: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 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/24/2022 11:26:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:26:12 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:26:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:26:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:26:13 PM=>Info:- END Mailing Method
10/24/2022 11:26:13 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:26:13 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:26:13 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:26:13 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:26:13 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:26:13 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:26:13 PM=>Info - End of callingService Method
10/24/2022 11:28:13 PM=>Info - Check time Elapsed
10/24/2022 11:28:13 PM=>Info - Call callingService Method
10/24/2022 11:28:13 PM=>Info:- Call Both
10/24/2022 11:28:13 PM=>Info:- Start Executing SMS Method
10/24/2022 11:28:13 PM=>Info:- End Executing SMS Method
10/24/2022 11:28:13 PM=>Info:- Start Mailing Method
10/24/2022 11:28:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:28:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:28:13 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:28:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:28:13 PM=>Info:- Count = 1
10/24/2022 11:28:13 PM=>Info:- Count 1
10/24/2022 11:28:13 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:28:13 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:28:13 PM=>Info:- Start SenMail Method
10/24/2022 11:28:13 PM=>UseDefaultCredentials
10/24/2022 11:28:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:28:13 PM=>EnableSsl = true
10/24/2022 11:28:13 PM=>DeliveryMethod
10/24/2022 11:28:13 PM=>Before Send
10/24/2022 11:28: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/24/2022 11:28:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:28:34 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:28:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:28:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:28:34 PM=>Info:- END Mailing Method
10/24/2022 11:28:34 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:28:34 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:28:34 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:28:34 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:28:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:28:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:28:34 PM=>Info - End of callingService Method
10/24/2022 11:30:34 PM=>Info - Check time Elapsed
10/24/2022 11:30:34 PM=>Info - Call callingService Method
10/24/2022 11:30:34 PM=>Info:- Call Both
10/24/2022 11:30:34 PM=>Info:- Start Executing SMS Method
10/24/2022 11:30:34 PM=>Info:- End Executing SMS Method
10/24/2022 11:30:34 PM=>Info:- Start Mailing Method
10/24/2022 11:30:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:30:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:30:34 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:30:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:30:34 PM=>Info:- Count = 1
10/24/2022 11:30:34 PM=>Info:- Count 1
10/24/2022 11:30:34 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:30:34 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:30:34 PM=>Info:- Start SenMail Method
10/24/2022 11:30:34 PM=>UseDefaultCredentials
10/24/2022 11:30:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:30:34 PM=>EnableSsl = true
10/24/2022 11:30:34 PM=>DeliveryMethod
10/24/2022 11:30:34 PM=>Before Send
10/24/2022 11:31: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 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/24/2022 11:31:59 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:31:59 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:31:59 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:31:59 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:31:59 PM=>Info:- END Mailing Method
10/24/2022 11:31:59 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:31:59 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:31:59 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:31:59 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:31:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:31:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:31:59 PM=>Info - End of callingService Method
10/24/2022 11:33:59 PM=>Info - Check time Elapsed
10/24/2022 11:33:59 PM=>Info - Call callingService Method
10/24/2022 11:33:59 PM=>Info:- Call Both
10/24/2022 11:33:59 PM=>Info:- Start Executing SMS Method
10/24/2022 11:33:59 PM=>Info:- End Executing SMS Method
10/24/2022 11:33:59 PM=>Info:- Start Mailing Method
10/24/2022 11:33:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:33:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:33:59 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:33:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:33:59 PM=>Info:- Count = 1
10/24/2022 11:33:59 PM=>Info:- Count 1
10/24/2022 11:33:59 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:33:59 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:33:59 PM=>Info:- Start SenMail Method
10/24/2022 11:33:59 PM=>UseDefaultCredentials
10/24/2022 11:33:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:33:59 PM=>EnableSsl = true
10/24/2022 11:33:59 PM=>DeliveryMethod
10/24/2022 11:33:59 PM=>Before Send
10/24/2022 11:34: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/24/2022 11:34:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:34:20 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:34:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:34:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:34:20 PM=>Info:- END Mailing Method
10/24/2022 11:34:20 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:34:20 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:34:20 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:34:20 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:34:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:34:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:34:20 PM=>Info - End of callingService Method
10/24/2022 11:36:20 PM=>Info - Check time Elapsed
10/24/2022 11:36:20 PM=>Info - Call callingService Method
10/24/2022 11:36:20 PM=>Info:- Call Both
10/24/2022 11:36:21 PM=>Info:- Start Executing SMS Method
10/24/2022 11:36:21 PM=>Info:- End Executing SMS Method
10/24/2022 11:36:21 PM=>Info:- Start Mailing Method
10/24/2022 11:36:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:36:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:36:21 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:36:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:36:21 PM=>Info:- Count = 1
10/24/2022 11:36:21 PM=>Info:- Count 1
10/24/2022 11:36:21 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:36:21 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:36:21 PM=>Info:- Start SenMail Method
10/24/2022 11:36:21 PM=>UseDefaultCredentials
10/24/2022 11:36:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:36:21 PM=>EnableSsl = true
10/24/2022 11:36:21 PM=>DeliveryMethod
10/24/2022 11:36:21 PM=>Before Send
10/24/2022 11:36: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/24/2022 11:36:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:36:21 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:36:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:36:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:36:21 PM=>Info:- END Mailing Method
10/24/2022 11:36:21 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:36:21 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:36:21 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:36:21 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:36:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:36:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:36:21 PM=>Info - End of callingService Method
10/24/2022 11:38:21 PM=>Info - Check time Elapsed
10/24/2022 11:38:21 PM=>Info - Call callingService Method
10/24/2022 11:38:21 PM=>Info:- Call Both
10/24/2022 11:38:21 PM=>Info:- Start Executing SMS Method
10/24/2022 11:38:21 PM=>Info:- End Executing SMS Method
10/24/2022 11:38:21 PM=>Info:- Start Mailing Method
10/24/2022 11:38:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:38:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:38:21 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:38:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:38:21 PM=>Info:- Count = 1
10/24/2022 11:38:21 PM=>Info:- Count 1
10/24/2022 11:38:21 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:38:21 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:38:21 PM=>Info:- Start SenMail Method
10/24/2022 11:38:21 PM=>UseDefaultCredentials
10/24/2022 11:38:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:38:21 PM=>EnableSsl = true
10/24/2022 11:38:21 PM=>DeliveryMethod
10/24/2022 11:38:21 PM=>Before Send
10/24/2022 11:38: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/24/2022 11:38:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:38:42 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:38:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:38:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:38:42 PM=>Info:- END Mailing Method
10/24/2022 11:38:42 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:38:42 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:38:42 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:38:42 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:38:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:38:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:38:42 PM=>Info - End of callingService Method
10/24/2022 11:40:42 PM=>Info - Check time Elapsed
10/24/2022 11:40:42 PM=>Info - Call callingService Method
10/24/2022 11:40:42 PM=>Info:- Call Both
10/24/2022 11:40:42 PM=>Info:- Start Executing SMS Method
10/24/2022 11:40:42 PM=>Info:- End Executing SMS Method
10/24/2022 11:40:42 PM=>Info:- Start Mailing Method
10/24/2022 11:40:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:40:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:40:42 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:40:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:40:42 PM=>Info:- Count = 1
10/24/2022 11:40:42 PM=>Info:- Count 1
10/24/2022 11:40:42 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:40:42 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:40:42 PM=>Info:- Start SenMail Method
10/24/2022 11:40:42 PM=>UseDefaultCredentials
10/24/2022 11:40:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:40:42 PM=>EnableSsl = true
10/24/2022 11:40:42 PM=>DeliveryMethod
10/24/2022 11:40:42 PM=>Before Send
10/24/2022 11:40: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/24/2022 11:40:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:40:45 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:40:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:40:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:40:46 PM=>Info:- END Mailing Method
10/24/2022 11:40:46 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:40:46 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:40:46 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:40:46 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:40:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:40:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:40:46 PM=>Info - End of callingService Method
10/24/2022 11:42:46 PM=>Info - Check time Elapsed
10/24/2022 11:42:46 PM=>Info - Call callingService Method
10/24/2022 11:42:46 PM=>Info:- Call Both
10/24/2022 11:42:46 PM=>Info:- Start Executing SMS Method
10/24/2022 11:42:46 PM=>Info:- End Executing SMS Method
10/24/2022 11:42:46 PM=>Info:- Start Mailing Method
10/24/2022 11:42:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:42:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:42:46 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:42:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:42:46 PM=>Info:- Count = 1
10/24/2022 11:42:46 PM=>Info:- Count 1
10/24/2022 11:42:46 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:42:46 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:42:46 PM=>Info:- Start SenMail Method
10/24/2022 11:42:46 PM=>UseDefaultCredentials
10/24/2022 11:42:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:42:46 PM=>EnableSsl = true
10/24/2022 11:42:46 PM=>DeliveryMethod
10/24/2022 11:42:46 PM=>Before Send
10/24/2022 11:42: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/24/2022 11:42:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:42:55 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:42:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:42:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:42:55 PM=>Info:- END Mailing Method
10/24/2022 11:42:55 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:42:55 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:42:55 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:42:55 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:42:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:42:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:42:55 PM=>Info - End of callingService Method
10/24/2022 11:44:55 PM=>Info - Check time Elapsed
10/24/2022 11:44:55 PM=>Info - Call callingService Method
10/24/2022 11:44:55 PM=>Info:- Call Both
10/24/2022 11:44:55 PM=>Info:- Start Executing SMS Method
10/24/2022 11:44:55 PM=>Info:- End Executing SMS Method
10/24/2022 11:44:55 PM=>Info:- Start Mailing Method
10/24/2022 11:44:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:44:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:44:55 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:44:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:44:55 PM=>Info:- Count = 1
10/24/2022 11:44:55 PM=>Info:- Count 1
10/24/2022 11:44:55 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:44:55 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:44:55 PM=>Info:- Start SenMail Method
10/24/2022 11:44:55 PM=>UseDefaultCredentials
10/24/2022 11:44:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:44:55 PM=>EnableSsl = true
10/24/2022 11:44:55 PM=>DeliveryMethod
10/24/2022 11:44:55 PM=>Before Send
10/24/2022 11:45: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/24/2022 11:45:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:45:04 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:45:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:45:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:45:05 PM=>Info:- END Mailing Method
10/24/2022 11:45:05 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:45:05 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:45:05 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:45:05 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:45:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:45:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:45:05 PM=>Info - End of callingService Method
10/24/2022 11:47:05 PM=>Info - Check time Elapsed
10/24/2022 11:47:05 PM=>Info - Call callingService Method
10/24/2022 11:47:05 PM=>Info:- Call Both
10/24/2022 11:47:05 PM=>Info:- Start Executing SMS Method
10/24/2022 11:47:05 PM=>Info:- End Executing SMS Method
10/24/2022 11:47:05 PM=>Info:- Start Mailing Method
10/24/2022 11:47:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:47:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:47:05 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:47:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:47:05 PM=>Info:- Count = 1
10/24/2022 11:47:05 PM=>Info:- Count 1
10/24/2022 11:47:05 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:47:05 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:47:05 PM=>Info:- Start SenMail Method
10/24/2022 11:47:05 PM=>UseDefaultCredentials
10/24/2022 11:47:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:47:05 PM=>EnableSsl = true
10/24/2022 11:47:05 PM=>DeliveryMethod
10/24/2022 11:47:05 PM=>Before Send
10/24/2022 11:47: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/24/2022 11:47:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:47:08 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:47:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:47:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:47:08 PM=>Info:- END Mailing Method
10/24/2022 11:47:08 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:47:08 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:47:08 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:47:08 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:47:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:47:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:47:08 PM=>Info - End of callingService Method
10/24/2022 11:49:08 PM=>Info - Check time Elapsed
10/24/2022 11:49:08 PM=>Info - Call callingService Method
10/24/2022 11:49:08 PM=>Info:- Call Both
10/24/2022 11:49:08 PM=>Info:- Start Executing SMS Method
10/24/2022 11:49:08 PM=>Info:- End Executing SMS Method
10/24/2022 11:49:08 PM=>Info:- Start Mailing Method
10/24/2022 11:49:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:49:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:49:08 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:49:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:49:08 PM=>Info:- Count = 1
10/24/2022 11:49:08 PM=>Info:- Count 1
10/24/2022 11:49:08 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:49:08 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:49:08 PM=>Info:- Start SenMail Method
10/24/2022 11:49:08 PM=>UseDefaultCredentials
10/24/2022 11:49:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:49:08 PM=>EnableSsl = true
10/24/2022 11:49:08 PM=>DeliveryMethod
10/24/2022 11:49:08 PM=>Before Send
10/24/2022 11:49:17 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/24/2022 11:49:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:49:17 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:49:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:49:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:49:18 PM=>Info:- END Mailing Method
10/24/2022 11:49:18 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:49:18 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:49:18 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:49:18 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:49:18 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:49:18 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:49:18 PM=>Info - End of callingService Method
10/24/2022 11:51:18 PM=>Info - Check time Elapsed
10/24/2022 11:51:18 PM=>Info - Call callingService Method
10/24/2022 11:51:18 PM=>Info:- Call Both
10/24/2022 11:51:18 PM=>Info:- Start Executing SMS Method
10/24/2022 11:51:18 PM=>Info:- End Executing SMS Method
10/24/2022 11:51:18 PM=>Info:- Start Mailing Method
10/24/2022 11:51:18 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:51:18 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:51:18 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:51:18 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:51:18 PM=>Info:- Count = 1
10/24/2022 11:51:18 PM=>Info:- Count 1
10/24/2022 11:51:18 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:51:18 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:51:18 PM=>Info:- Start SenMail Method
10/24/2022 11:51:18 PM=>UseDefaultCredentials
10/24/2022 11:51:18 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:51:18 PM=>EnableSsl = true
10/24/2022 11:51:18 PM=>DeliveryMethod
10/24/2022 11:51:18 PM=>Before Send
10/24/2022 11:51: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/24/2022 11:51:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:51:27 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:51:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:51:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:51:28 PM=>Info:- END Mailing Method
10/24/2022 11:51:28 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:51:28 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:51:28 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:51:28 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:51:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:51:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:51:28 PM=>Info - End of callingService Method
10/24/2022 11:53:28 PM=>Info - Check time Elapsed
10/24/2022 11:53:28 PM=>Info - Call callingService Method
10/24/2022 11:53:28 PM=>Info:- Call Both
10/24/2022 11:53:28 PM=>Info:- Start Executing SMS Method
10/24/2022 11:53:28 PM=>Info:- End Executing SMS Method
10/24/2022 11:53:28 PM=>Info:- Start Mailing Method
10/24/2022 11:53:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:53:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:53:28 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:53:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:53:28 PM=>Info:- Count = 1
10/24/2022 11:53:28 PM=>Info:- Count 1
10/24/2022 11:53:28 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:53:28 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:53:28 PM=>Info:- Start SenMail Method
10/24/2022 11:53:28 PM=>UseDefaultCredentials
10/24/2022 11:53:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:53:28 PM=>EnableSsl = true
10/24/2022 11:53:28 PM=>DeliveryMethod
10/24/2022 11:53:28 PM=>Before Send
10/24/2022 11:53: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/24/2022 11:53:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:53:37 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:53:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:53:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:53:38 PM=>Info:- END Mailing Method
10/24/2022 11:53:38 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:53:38 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:53:38 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:53:38 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:53:38 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:53:38 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:53:38 PM=>Info - End of callingService Method
10/24/2022 11:55:38 PM=>Info - Check time Elapsed
10/24/2022 11:55:38 PM=>Info - Call callingService Method
10/24/2022 11:55:38 PM=>Info:- Call Both
10/24/2022 11:55:38 PM=>Info:- Start Executing SMS Method
10/24/2022 11:55:38 PM=>Info:- End Executing SMS Method
10/24/2022 11:55:38 PM=>Info:- Start Mailing Method
10/24/2022 11:55:38 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:55:38 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:55:38 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:55:38 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:55:38 PM=>Info:- Count = 1
10/24/2022 11:55:38 PM=>Info:- Count 1
10/24/2022 11:55:38 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:55:38 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:55:38 PM=>Info:- Start SenMail Method
10/24/2022 11:55:38 PM=>UseDefaultCredentials
10/24/2022 11:55:38 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:55:38 PM=>EnableSsl = true
10/24/2022 11:55:38 PM=>DeliveryMethod
10/24/2022 11:55:38 PM=>Before Send
10/24/2022 11:55: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/24/2022 11:55:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:55:41 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:55:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:55:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:55:41 PM=>Info:- END Mailing Method
10/24/2022 11:55:41 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:55:41 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:55:41 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:55:41 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:55:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:55:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:55:41 PM=>Info - End of callingService Method
10/24/2022 11:57:41 PM=>Info - Check time Elapsed
10/24/2022 11:57:41 PM=>Info - Call callingService Method
10/24/2022 11:57:41 PM=>Info:- Call Both
10/24/2022 11:57:41 PM=>Info:- Start Executing SMS Method
10/24/2022 11:57:41 PM=>Info:- End Executing SMS Method
10/24/2022 11:57:42 PM=>Info:- Start Mailing Method
10/24/2022 11:57:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:57:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:57:42 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:57:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:57:42 PM=>Info:- Count = 1
10/24/2022 11:57:42 PM=>Info:- Count 1
10/24/2022 11:57:42 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:57:42 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:57:42 PM=>Info:- Start SenMail Method
10/24/2022 11:57:42 PM=>UseDefaultCredentials
10/24/2022 11:57:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:57:42 PM=>EnableSsl = true
10/24/2022 11:57:42 PM=>DeliveryMethod
10/24/2022 11:57:42 PM=>Before Send
10/24/2022 11: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/24/2022 11:57:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/24/2022 11:57:42 PM=>(SenMail)Failure sending CC mail ID :
10/24/2022 11:57:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/24/2022 11:57:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/24/2022 11:57:42 PM=>Info:- END Mailing Method
10/24/2022 11:57:42 PM=>Info:- Start Executing Telegram Method
10/24/2022 11:57:42 PM=>Info:- PendingTelegram.xml not exists
10/24/2022 11:57:42 PM=>Info:- End Executing TELEGRAM Method
10/24/2022 11:57:42 PM=>WriteToPendingXML ErrorAlert Start
10/24/2022 11:57:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/24/2022 11:57:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/24/2022 11:57:42 PM=>Info - End of callingService Method
10/24/2022 11:59:42 PM=>Info - Check time Elapsed
10/24/2022 11:59:42 PM=>Info - Call callingService Method
10/24/2022 11:59:42 PM=>Info:- Call Both
10/24/2022 11:59:42 PM=>Info:- Start Executing SMS Method
10/24/2022 11:59:42 PM=>Info:- End Executing SMS Method
10/24/2022 11:59:42 PM=>Info:- Start Mailing Method
10/24/2022 11:59:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/24/2022 11:59:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/24/2022 11:59:42 PM=>Info:- PendingMail.xml file read to list
10/24/2022 11:59:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/24/2022 11:59:42 PM=>Info:- Count = 1
10/24/2022 11:59:42 PM=>Info:- Count 1
10/24/2022 11:59:42 PM=>Info - Fetching Data From MAIL XML
10/24/2022 11:59:42 PM=>Info - End of Fetching Data From Mail XML
10/24/2022 11:59:42 PM=>Info:- Start SenMail Method
10/24/2022 11:59:42 PM=>UseDefaultCredentials
10/24/2022 11:59:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/24/2022 11:59:42 PM=>EnableSsl = true
10/24/2022 11:59:42 PM=>DeliveryMethod
10/24/2022 11:59:42 PM=>Before Send
