10/25/2022 12:00: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/25/2022 12:00:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:00:24 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:00:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:00:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:00:24 AM=>Info:- END Mailing Method
10/25/2022 12:00:24 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:00:24 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:00:24 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:00:24 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:00:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:00:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:00:24 AM=>Info - End of callingService Method
10/25/2022 12:02:24 AM=>Info - Check time Elapsed
10/25/2022 12:02:24 AM=>Info - Call callingService Method
10/25/2022 12:02:24 AM=>Info:- Call Both
10/25/2022 12:02:24 AM=>Info:- Start Executing SMS Method
10/25/2022 12:02:24 AM=>Info:- End Executing SMS Method
10/25/2022 12:02:24 AM=>Info:- Start Mailing Method
10/25/2022 12:02:24 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:02:24 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:02:24 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:02:24 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:02:24 AM=>Info:- Count = 1
10/25/2022 12:02:24 AM=>Info:- Count 1
10/25/2022 12:02:24 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:02:24 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:02:24 AM=>Info:- Start SenMail Method
10/25/2022 12:02:24 AM=>UseDefaultCredentials
10/25/2022 12:02:24 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:02:24 AM=>EnableSsl = true
10/25/2022 12:02:24 AM=>DeliveryMethod
10/25/2022 12:02:24 AM=>Before Send
10/25/2022 12:03: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.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/25/2022 12:03:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:03:48 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:03:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:03:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:03:49 AM=>Info:- END Mailing Method
10/25/2022 12:03:49 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:03:49 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:03:49 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:03:49 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:03:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:03:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:03:49 AM=>Info - End of callingService Method
10/25/2022 12:05:49 AM=>Info - Check time Elapsed
10/25/2022 12:05:49 AM=>Info - Call callingService Method
10/25/2022 12:05:49 AM=>Info:- Call Both
10/25/2022 12:05:49 AM=>Info:- Start Executing SMS Method
10/25/2022 12:05:49 AM=>Info:- End Executing SMS Method
10/25/2022 12:05:49 AM=>Info:- Start Mailing Method
10/25/2022 12:05:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:05:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:05:49 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:05:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:05:49 AM=>Info:- Count = 1
10/25/2022 12:05:49 AM=>Info:- Count 1
10/25/2022 12:05:49 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:05:49 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:05:49 AM=>Info:- Start SenMail Method
10/25/2022 12:05:49 AM=>UseDefaultCredentials
10/25/2022 12:05:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:05:49 AM=>EnableSsl = true
10/25/2022 12:05:49 AM=>DeliveryMethod
10/25/2022 12:05:49 AM=>Before Send
10/25/2022 12:07: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.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/25/2022 12:07:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:07:13 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:07:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:07:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:07:13 AM=>Info:- END Mailing Method
10/25/2022 12:07:13 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:07:13 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:07:13 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:07:13 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:07:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:07:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:07:13 AM=>Info - End of callingService Method
10/25/2022 12:09:13 AM=>Info - Check time Elapsed
10/25/2022 12:09:13 AM=>Info - Call callingService Method
10/25/2022 12:09:13 AM=>Info:- Call Both
10/25/2022 12:09:13 AM=>Info:- Start Executing SMS Method
10/25/2022 12:09:13 AM=>Info:- End Executing SMS Method
10/25/2022 12:09:13 AM=>Info:- Start Mailing Method
10/25/2022 12:09:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:09:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:09:13 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:09:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:09:13 AM=>Info:- Count = 1
10/25/2022 12:09:13 AM=>Info:- Count 1
10/25/2022 12:09:13 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:09:13 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:09:13 AM=>Info:- Start SenMail Method
10/25/2022 12:09:13 AM=>UseDefaultCredentials
10/25/2022 12:09:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:09:13 AM=>EnableSsl = true
10/25/2022 12:09:13 AM=>DeliveryMethod
10/25/2022 12:09:13 AM=>Before Send
10/25/2022 12:10: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/25/2022 12:10:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:10:16 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:10:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:10:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:10:17 AM=>Info:- END Mailing Method
10/25/2022 12:10:17 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:10:17 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:10:17 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:10:17 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:10:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:10:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:10:17 AM=>Info - End of callingService Method
10/25/2022 12:12:17 AM=>Info - Check time Elapsed
10/25/2022 12:12:17 AM=>Info - Call callingService Method
10/25/2022 12:12:17 AM=>Info:- Call Both
10/25/2022 12:12:17 AM=>Info:- Start Executing SMS Method
10/25/2022 12:12:17 AM=>Info:- End Executing SMS Method
10/25/2022 12:12:17 AM=>Info:- Start Mailing Method
10/25/2022 12:12:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:12:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:12:17 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:12:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:12:17 AM=>Info:- Count = 1
10/25/2022 12:12:17 AM=>Info:- Count 1
10/25/2022 12:12:17 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:12:17 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:12:17 AM=>Info:- Start SenMail Method
10/25/2022 12:12:17 AM=>UseDefaultCredentials
10/25/2022 12:12:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:12:17 AM=>EnableSsl = true
10/25/2022 12:12:17 AM=>DeliveryMethod
10/25/2022 12:12:17 AM=>Before Send
10/25/2022 12:13: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.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/25/2022 12:13:41 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:13:41 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:13:41 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:13:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:13:41 AM=>Info:- END Mailing Method
10/25/2022 12:13:41 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:13:41 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:13:41 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:13:41 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:13:41 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:13:41 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:13:41 AM=>Info - End of callingService Method
10/25/2022 12:15:41 AM=>Info - Check time Elapsed
10/25/2022 12:15:41 AM=>Info - Call callingService Method
10/25/2022 12:15:41 AM=>Info:- Call Both
10/25/2022 12:15:41 AM=>Info:- Start Executing SMS Method
10/25/2022 12:15:41 AM=>Info:- End Executing SMS Method
10/25/2022 12:15:41 AM=>Info:- Start Mailing Method
10/25/2022 12:15:41 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:15:41 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:15:41 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:15:41 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:15:41 AM=>Info:- Count = 1
10/25/2022 12:15:41 AM=>Info:- Count 1
10/25/2022 12:15:41 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:15:41 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:15:41 AM=>Info:- Start SenMail Method
10/25/2022 12:15:41 AM=>UseDefaultCredentials
10/25/2022 12:15:41 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:15:41 AM=>EnableSsl = true
10/25/2022 12:15:41 AM=>DeliveryMethod
10/25/2022 12:15:41 AM=>Before Send
10/25/2022 12:17: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.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/25/2022 12:17:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:17:05 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:17:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:17:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:17:06 AM=>Info:- END Mailing Method
10/25/2022 12:17:06 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:17:06 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:17:06 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:17:06 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:17:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:17:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:17:06 AM=>Info - End of callingService Method
10/25/2022 12:19:06 AM=>Info - Check time Elapsed
10/25/2022 12:19:06 AM=>Info - Call callingService Method
10/25/2022 12:19:06 AM=>Info:- Call Both
10/25/2022 12:19:06 AM=>Info:- Start Executing SMS Method
10/25/2022 12:19:06 AM=>Info:- End Executing SMS Method
10/25/2022 12:19:06 AM=>Info:- Start Mailing Method
10/25/2022 12:19:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:19:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:19:06 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:19:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:19:06 AM=>Info:- Count = 1
10/25/2022 12:19:06 AM=>Info:- Count 1
10/25/2022 12:19:06 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:19:06 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:19:06 AM=>Info:- Start SenMail Method
10/25/2022 12:19:06 AM=>UseDefaultCredentials
10/25/2022 12:19:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:19:06 AM=>EnableSsl = true
10/25/2022 12:19:06 AM=>DeliveryMethod
10/25/2022 12:19:06 AM=>Before Send
10/25/2022 12:19: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/25/2022 12:19:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:19:15 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:19:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:19:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:19:15 AM=>Info:- END Mailing Method
10/25/2022 12:19:15 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:19:15 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:19:15 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:19:15 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:19:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:19:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:19:15 AM=>Info - End of callingService Method
10/25/2022 12:21:15 AM=>Info - Check time Elapsed
10/25/2022 12:21:15 AM=>Info - Call callingService Method
10/25/2022 12:21:15 AM=>Info:- Call Both
10/25/2022 12:21:15 AM=>Info:- Start Executing SMS Method
10/25/2022 12:21:15 AM=>Info:- End Executing SMS Method
10/25/2022 12:21:15 AM=>Info:- Start Mailing Method
10/25/2022 12:21:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:21:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:21:15 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:21:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:21:15 AM=>Info:- Count = 1
10/25/2022 12:21:15 AM=>Info:- Count 1
10/25/2022 12:21:15 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:21:15 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:21:15 AM=>Info:- Start SenMail Method
10/25/2022 12:21:15 AM=>UseDefaultCredentials
10/25/2022 12:21:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:21:15 AM=>EnableSsl = true
10/25/2022 12:21:15 AM=>DeliveryMethod
10/25/2022 12:21:15 AM=>Before Send
10/25/2022 12:21: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/25/2022 12:21:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:21:24 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:21:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:21:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:21:24 AM=>Info:- END Mailing Method
10/25/2022 12:21:24 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:21:24 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:21:24 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:21:24 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:21:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:21:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:21:24 AM=>Info - End of callingService Method
10/25/2022 12:23:25 AM=>Info - Check time Elapsed
10/25/2022 12:23:25 AM=>Info - Call callingService Method
10/25/2022 12:23:25 AM=>Info:- Call Both
10/25/2022 12:23:25 AM=>Info:- Start Executing SMS Method
10/25/2022 12:23:25 AM=>Info:- End Executing SMS Method
10/25/2022 12:23:25 AM=>Info:- Start Mailing Method
10/25/2022 12:23:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:23:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:23:25 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:23:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:23:25 AM=>Info:- Count = 1
10/25/2022 12:23:25 AM=>Info:- Count 1
10/25/2022 12:23:25 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:23:25 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:23:25 AM=>Info:- Start SenMail Method
10/25/2022 12:23:25 AM=>UseDefaultCredentials
10/25/2022 12:23:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:23:25 AM=>EnableSsl = true
10/25/2022 12:23:25 AM=>DeliveryMethod
10/25/2022 12:23:25 AM=>Before Send
10/25/2022 12:24:49 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 12:24:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:24:49 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:24:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:24:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:24:49 AM=>Info:- END Mailing Method
10/25/2022 12:24:49 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:24:49 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:24:49 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:24:49 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:24:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:24:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:24:49 AM=>Info - End of callingService Method
10/25/2022 12:26:49 AM=>Info - Check time Elapsed
10/25/2022 12:26:49 AM=>Info - Call callingService Method
10/25/2022 12:26:49 AM=>Info:- Call Both
10/25/2022 12:26:49 AM=>Info:- Start Executing SMS Method
10/25/2022 12:26:49 AM=>Info:- End Executing SMS Method
10/25/2022 12:26:49 AM=>Info:- Start Mailing Method
10/25/2022 12:26:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:26:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:26:49 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:26:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:26:49 AM=>Info:- Count = 1
10/25/2022 12:26:49 AM=>Info:- Count 1
10/25/2022 12:26:49 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:26:49 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:26:49 AM=>Info:- Start SenMail Method
10/25/2022 12:26:49 AM=>UseDefaultCredentials
10/25/2022 12:26:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:26:49 AM=>EnableSsl = true
10/25/2022 12:26:49 AM=>DeliveryMethod
10/25/2022 12:26:49 AM=>Before Send
10/25/2022 12:28:13 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 12:28:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:28:13 AM=>(SenMail)Failure sending CC mail ID :
10/25/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/25/2022 12:28:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:28:13 AM=>Info:- END Mailing Method
10/25/2022 12:28:13 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:28:13 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:28:13 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:28:13 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:28:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:28:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:28:13 AM=>Info - End of callingService Method
10/25/2022 12:30:13 AM=>Info - Check time Elapsed
10/25/2022 12:30:13 AM=>Info - Call callingService Method
10/25/2022 12:30:13 AM=>Info:- Call Both
10/25/2022 12:30:13 AM=>Info:- Start Executing SMS Method
10/25/2022 12:30:13 AM=>Info:- End Executing SMS Method
10/25/2022 12:30:13 AM=>Info:- Start Mailing Method
10/25/2022 12:30:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:30:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:30:13 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:30:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:30:13 AM=>Info:- Count = 1
10/25/2022 12:30:13 AM=>Info:- Count 1
10/25/2022 12:30:13 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:30:13 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:30:13 AM=>Info:- Start SenMail Method
10/25/2022 12:30:14 AM=>UseDefaultCredentials
10/25/2022 12:30:14 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:30:14 AM=>EnableSsl = true
10/25/2022 12:30:14 AM=>DeliveryMethod
10/25/2022 12:30:14 AM=>Before Send
10/25/2022 12:30: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/25/2022 12:30:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:30:35 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:30:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:30:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:30:35 AM=>Info:- END Mailing Method
10/25/2022 12:30:35 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:30:35 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:30:35 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:30:35 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:30:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:30:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:30:35 AM=>Info - End of callingService Method
10/25/2022 12:32:35 AM=>Info - Check time Elapsed
10/25/2022 12:32:35 AM=>Info - Call callingService Method
10/25/2022 12:32:35 AM=>Info:- Call Both
10/25/2022 12:32:35 AM=>Info:- Start Executing SMS Method
10/25/2022 12:32:35 AM=>Info:- End Executing SMS Method
10/25/2022 12:32:35 AM=>Info:- Start Mailing Method
10/25/2022 12:32:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:32:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:32:35 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:32:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:32:35 AM=>Info:- Count = 1
10/25/2022 12:32:35 AM=>Info:- Count 1
10/25/2022 12:32:35 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:32:35 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:32:35 AM=>Info:- Start SenMail Method
10/25/2022 12:32:35 AM=>UseDefaultCredentials
10/25/2022 12:32:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:32:35 AM=>EnableSsl = true
10/25/2022 12:32:35 AM=>DeliveryMethod
10/25/2022 12:32:35 AM=>Before Send
10/25/2022 12:33: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.109.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 12:33:59 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:33:59 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:33:59 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:33:59 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:33:59 AM=>Info:- END Mailing Method
10/25/2022 12:34:00 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:34:00 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:34:00 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:34:00 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:34:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:34:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:34:00 AM=>Info - End of callingService Method
10/25/2022 12:36:00 AM=>Info - Check time Elapsed
10/25/2022 12:36:00 AM=>Info - Call callingService Method
10/25/2022 12:36:00 AM=>Info:- Call Both
10/25/2022 12:36:00 AM=>Info:- Start Executing SMS Method
10/25/2022 12:36:00 AM=>Info:- End Executing SMS Method
10/25/2022 12:36:00 AM=>Info:- Start Mailing Method
10/25/2022 12:36:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:36:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:36:00 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:36:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:36:00 AM=>Info:- Count = 1
10/25/2022 12:36:00 AM=>Info:- Count 1
10/25/2022 12:36:00 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:36:00 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:36:00 AM=>Info:- Start SenMail Method
10/25/2022 12:36:00 AM=>UseDefaultCredentials
10/25/2022 12:36:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:36:00 AM=>EnableSsl = true
10/25/2022 12:36:00 AM=>DeliveryMethod
10/25/2022 12:36:00 AM=>Before Send
10/25/2022 12:37: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.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/25/2022 12:37:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:37:24 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:37:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:37:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:37:24 AM=>Info:- END Mailing Method
10/25/2022 12:37:24 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:37:24 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:37:24 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:37:24 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:37:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:37:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:37:24 AM=>Info - End of callingService Method
10/25/2022 12:39:24 AM=>Info - Check time Elapsed
10/25/2022 12:39:24 AM=>Info - Call callingService Method
10/25/2022 12:39:24 AM=>Info:- Call Both
10/25/2022 12:39:24 AM=>Info:- Start Executing SMS Method
10/25/2022 12:39:24 AM=>Info:- End Executing SMS Method
10/25/2022 12:39:24 AM=>Info:- Start Mailing Method
10/25/2022 12:39:24 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:39:24 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:39:24 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:39:24 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:39:24 AM=>Info:- Count = 1
10/25/2022 12:39:24 AM=>Info:- Count 1
10/25/2022 12:39:24 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:39:24 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:39:24 AM=>Info:- Start SenMail Method
10/25/2022 12:39:24 AM=>UseDefaultCredentials
10/25/2022 12:39:24 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:39:24 AM=>EnableSsl = true
10/25/2022 12:39:24 AM=>DeliveryMethod
10/25/2022 12:39:24 AM=>Before Send
10/25/2022 12:39: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/25/2022 12:39:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:39:24 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:39:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:39:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:39:24 AM=>Info:- END Mailing Method
10/25/2022 12:39:24 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:39:24 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:39:24 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:39:24 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:39:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:39:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:39:24 AM=>Info - End of callingService Method
10/25/2022 12:41:24 AM=>Info - Check time Elapsed
10/25/2022 12:41:24 AM=>Info - Call callingService Method
10/25/2022 12:41:24 AM=>Info:- Call Both
10/25/2022 12:41:24 AM=>Info:- Start Executing SMS Method
10/25/2022 12:41:24 AM=>Info:- End Executing SMS Method
10/25/2022 12:41:24 AM=>Info:- Start Mailing Method
10/25/2022 12:41:24 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:41:24 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:41:24 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:41:24 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:41:24 AM=>Info:- Count = 1
10/25/2022 12:41:24 AM=>Info:- Count 1
10/25/2022 12:41:24 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:41:24 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:41:24 AM=>Info:- Start SenMail Method
10/25/2022 12:41:24 AM=>UseDefaultCredentials
10/25/2022 12:41:24 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:41:24 AM=>EnableSsl = true
10/25/2022 12:41:24 AM=>DeliveryMethod
10/25/2022 12:41:24 AM=>Before Send
10/25/2022 12:41: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/25/2022 12:41:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:41:24 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:41:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:41:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:41:25 AM=>Info:- END Mailing Method
10/25/2022 12:41:25 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:41:25 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:41:25 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:41:25 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:41:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:41:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:41:25 AM=>Info - End of callingService Method
10/25/2022 12:43:25 AM=>Info - Check time Elapsed
10/25/2022 12:43:25 AM=>Info - Call callingService Method
10/25/2022 12:43:25 AM=>Info:- Call Both
10/25/2022 12:43:25 AM=>Info:- Start Executing SMS Method
10/25/2022 12:43:25 AM=>Info:- End Executing SMS Method
10/25/2022 12:43:25 AM=>Info:- Start Mailing Method
10/25/2022 12:43:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:43:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:43:25 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:43:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:43:25 AM=>Info:- Count = 1
10/25/2022 12:43:25 AM=>Info:- Count 1
10/25/2022 12:43:25 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:43:25 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:43:25 AM=>Info:- Start SenMail Method
10/25/2022 12:43:25 AM=>UseDefaultCredentials
10/25/2022 12:43:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:43:25 AM=>EnableSsl = true
10/25/2022 12:43:25 AM=>DeliveryMethod
10/25/2022 12:43:25 AM=>Before Send
10/25/2022 12:43: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/25/2022 12:43:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:43:25 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:43:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:43:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:43:25 AM=>Info:- END Mailing Method
10/25/2022 12:43:25 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:43:25 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:43:25 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:43:25 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:43:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:43:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:43:25 AM=>Info - End of callingService Method
10/25/2022 12:45:25 AM=>Info - Check time Elapsed
10/25/2022 12:45:25 AM=>Info - Call callingService Method
10/25/2022 12:45:25 AM=>Info:- Call Both
10/25/2022 12:45:25 AM=>Info:- Start Executing SMS Method
10/25/2022 12:45:25 AM=>Info:- End Executing SMS Method
10/25/2022 12:45:25 AM=>Info:- Start Mailing Method
10/25/2022 12:45:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:45:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:45:25 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:45:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:45:25 AM=>Info:- Count = 1
10/25/2022 12:45:25 AM=>Info:- Count 1
10/25/2022 12:45:25 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:45:25 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:45:25 AM=>Info:- Start SenMail Method
10/25/2022 12:45:25 AM=>UseDefaultCredentials
10/25/2022 12:45:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:45:25 AM=>EnableSsl = true
10/25/2022 12:45:25 AM=>DeliveryMethod
10/25/2022 12:45:25 AM=>Before Send
10/25/2022 12:45:28 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 12:45:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:45:28 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:45:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:45:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:45:29 AM=>Info:- END Mailing Method
10/25/2022 12:45:29 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:45:29 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:45:29 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:45:29 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:45:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:45:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:45:29 AM=>Info - End of callingService Method
10/25/2022 12:47:29 AM=>Info - Check time Elapsed
10/25/2022 12:47:29 AM=>Info - Call callingService Method
10/25/2022 12:47:29 AM=>Info:- Call Both
10/25/2022 12:47:29 AM=>Info:- Start Executing SMS Method
10/25/2022 12:47:29 AM=>Info:- End Executing SMS Method
10/25/2022 12:47:29 AM=>Info:- Start Mailing Method
10/25/2022 12:47:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:47:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:47:29 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:47:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:47:29 AM=>Info:- Count = 1
10/25/2022 12:47:29 AM=>Info:- Count 1
10/25/2022 12:47:29 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:47:29 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:47:29 AM=>Info:- Start SenMail Method
10/25/2022 12:47:29 AM=>UseDefaultCredentials
10/25/2022 12:47:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:47:29 AM=>EnableSsl = true
10/25/2022 12:47:29 AM=>DeliveryMethod
10/25/2022 12:47:29 AM=>Before Send
10/25/2022 12:47: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/25/2022 12:47:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:47:38 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:47:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:47:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:47:38 AM=>Info:- END Mailing Method
10/25/2022 12:47:38 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:47:38 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:47:38 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:47:38 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:47:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:47:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:47:38 AM=>Info - End of callingService Method
10/25/2022 12:49:38 AM=>Info - Check time Elapsed
10/25/2022 12:49:38 AM=>Info - Call callingService Method
10/25/2022 12:49:38 AM=>Info:- Call Both
10/25/2022 12:49:38 AM=>Info:- Start Executing SMS Method
10/25/2022 12:49:38 AM=>Info:- End Executing SMS Method
10/25/2022 12:49:38 AM=>Info:- Start Mailing Method
10/25/2022 12:49:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:49:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:49:38 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:49:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:49:38 AM=>Info:- Count = 1
10/25/2022 12:49:38 AM=>Info:- Count 1
10/25/2022 12:49:38 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:49:38 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:49:38 AM=>Info:- Start SenMail Method
10/25/2022 12:49:38 AM=>UseDefaultCredentials
10/25/2022 12:49:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:49:38 AM=>EnableSsl = true
10/25/2022 12:49:38 AM=>DeliveryMethod
10/25/2022 12:49:38 AM=>Before Send
10/25/2022 12:51: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.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/25/2022 12:51:02 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:51:02 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:51:02 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:51:02 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:51:03 AM=>Info:- END Mailing Method
10/25/2022 12:51:03 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:51:03 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:51:03 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:51:03 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:51:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:51:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:51:03 AM=>Info - End of callingService Method
10/25/2022 12:53:03 AM=>Info - Check time Elapsed
10/25/2022 12:53:03 AM=>Info - Call callingService Method
10/25/2022 12:53:03 AM=>Info:- Call Both
10/25/2022 12:53:03 AM=>Info:- Start Executing SMS Method
10/25/2022 12:53:03 AM=>Info:- End Executing SMS Method
10/25/2022 12:53:03 AM=>Info:- Start Mailing Method
10/25/2022 12:53:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:53:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:53:03 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:53:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:53:03 AM=>Info:- Count = 1
10/25/2022 12:53:03 AM=>Info:- Count 1
10/25/2022 12:53:03 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:53:03 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:53:03 AM=>Info:- Start SenMail Method
10/25/2022 12:53:03 AM=>UseDefaultCredentials
10/25/2022 12:53:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:53:03 AM=>EnableSsl = true
10/25/2022 12:53:03 AM=>DeliveryMethod
10/25/2022 12:53:03 AM=>Before Send
10/25/2022 12:54:27 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 12:54:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:54:27 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:54:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:54:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:54:27 AM=>Info:- END Mailing Method
10/25/2022 12:54:27 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:54:27 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:54:27 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:54:27 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:54:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:54:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:54:27 AM=>Info - End of callingService Method
10/25/2022 12:56:27 AM=>Info - Check time Elapsed
10/25/2022 12:56:27 AM=>Info - Call callingService Method
10/25/2022 12:56:27 AM=>Info:- Call Both
10/25/2022 12:56:27 AM=>Info:- Start Executing SMS Method
10/25/2022 12:56:27 AM=>Info:- End Executing SMS Method
10/25/2022 12:56:27 AM=>Info:- Start Mailing Method
10/25/2022 12:56:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:56:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:56:27 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:56:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:56:27 AM=>Info:- Count = 1
10/25/2022 12:56:27 AM=>Info:- Count 1
10/25/2022 12:56:27 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:56:27 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:56:27 AM=>Info:- Start SenMail Method
10/25/2022 12:56:27 AM=>UseDefaultCredentials
10/25/2022 12:56:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:56:27 AM=>EnableSsl = true
10/25/2022 12:56:27 AM=>DeliveryMethod
10/25/2022 12:56:27 AM=>Before Send
10/25/2022 12:56: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/25/2022 12:56:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:56:27 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:56:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:56:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:56:28 AM=>Info:- END Mailing Method
10/25/2022 12:56:28 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:56:28 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:56:28 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:56:28 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:56:28 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:56:28 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:56:28 AM=>Info - End of callingService Method
10/25/2022 12:58:28 AM=>Info - Check time Elapsed
10/25/2022 12:58:28 AM=>Info - Call callingService Method
10/25/2022 12:58:28 AM=>Info:- Call Both
10/25/2022 12:58:28 AM=>Info:- Start Executing SMS Method
10/25/2022 12:58:28 AM=>Info:- End Executing SMS Method
10/25/2022 12:58:28 AM=>Info:- Start Mailing Method
10/25/2022 12:58:28 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:58:28 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:58:28 AM=>Info:- PendingMail.xml file read to list
10/25/2022 12:58:28 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:58:28 AM=>Info:- Count = 1
10/25/2022 12:58:28 AM=>Info:- Count 1
10/25/2022 12:58:28 AM=>Info - Fetching Data From MAIL XML
10/25/2022 12:58:28 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:58:28 AM=>Info:- Start SenMail Method
10/25/2022 12:58:28 AM=>UseDefaultCredentials
10/25/2022 12:58:28 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:58:28 AM=>EnableSsl = true
10/25/2022 12:58:28 AM=>DeliveryMethod
10/25/2022 12:58:28 AM=>Before Send
10/25/2022 12:59: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.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/25/2022 12:59:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:59:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:59:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:59:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:59:52 AM=>Info:- END Mailing Method
10/25/2022 12:59:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 12:59:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:59:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:59:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:59:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:59:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:59:52 AM=>Info - End of callingService Method
10/25/2022 1:01:52 AM=>Info - Check time Elapsed
10/25/2022 1:01:52 AM=>Info - Call callingService Method
10/25/2022 1:01:52 AM=>Info:- Call Both
10/25/2022 1:01:52 AM=>Info:- Start Executing SMS Method
10/25/2022 1:01:52 AM=>Info:- End Executing SMS Method
10/25/2022 1:01:52 AM=>Info:- Start Mailing Method
10/25/2022 1:01:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:01:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:01:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:01:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:01:52 AM=>Info:- Count = 1
10/25/2022 1:01:52 AM=>Info:- Count 1
10/25/2022 1:01:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:01:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:01:52 AM=>Info:- Start SenMail Method
10/25/2022 1:01:52 AM=>UseDefaultCredentials
10/25/2022 1:01:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:01:52 AM=>EnableSsl = true
10/25/2022 1:01:52 AM=>DeliveryMethod
10/25/2022 1:01:52 AM=>Before Send
10/25/2022 1:01: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/25/2022 1:01:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:01:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:01:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:01:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:01:52 AM=>Info:- END Mailing Method
10/25/2022 1:01:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:01:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:01:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:01:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:01:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:01:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:01:52 AM=>Info - End of callingService Method
10/25/2022 1:03:52 AM=>Info - Check time Elapsed
10/25/2022 1:03:52 AM=>Info - Call callingService Method
10/25/2022 1:03:52 AM=>Info:- Call Both
10/25/2022 1:03:52 AM=>Info:- Start Executing SMS Method
10/25/2022 1:03:52 AM=>Info:- End Executing SMS Method
10/25/2022 1:03:52 AM=>Info:- Start Mailing Method
10/25/2022 1:03:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:03:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:03:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:03:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:03:52 AM=>Info:- Count = 1
10/25/2022 1:03:52 AM=>Info:- Count 1
10/25/2022 1:03:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:03:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:03:52 AM=>Info:- Start SenMail Method
10/25/2022 1:03:52 AM=>UseDefaultCredentials
10/25/2022 1:03:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:03:52 AM=>EnableSsl = true
10/25/2022 1:03:52 AM=>DeliveryMethod
10/25/2022 1:03:52 AM=>Before Send
10/25/2022 1:03: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/25/2022 1:03:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:03:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:03:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:03:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:03:53 AM=>Info:- END Mailing Method
10/25/2022 1:03:53 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:03:53 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:03:53 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:03:53 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:03:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:03:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:03:53 AM=>Info - End of callingService Method
10/25/2022 1:05:53 AM=>Info - Check time Elapsed
10/25/2022 1:05:53 AM=>Info - Call callingService Method
10/25/2022 1:05:53 AM=>Info:- Call Both
10/25/2022 1:05:53 AM=>Info:- Start Executing SMS Method
10/25/2022 1:05:53 AM=>Info:- End Executing SMS Method
10/25/2022 1:05:53 AM=>Info:- Start Mailing Method
10/25/2022 1:05:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:05:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:05:53 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:05:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:05:53 AM=>Info:- Count = 1
10/25/2022 1:05:53 AM=>Info:- Count 1
10/25/2022 1:05:53 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:05:53 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:05:53 AM=>Info:- Start SenMail Method
10/25/2022 1:05:53 AM=>UseDefaultCredentials
10/25/2022 1:05:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:05:53 AM=>EnableSsl = true
10/25/2022 1:05:53 AM=>DeliveryMethod
10/25/2022 1:05:53 AM=>Before Send
10/25/2022 1:06: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/25/2022 1:06:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:06:56 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:06:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:06:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:06:56 AM=>Info:- END Mailing Method
10/25/2022 1:06:56 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:06:56 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:06:56 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:06:56 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:06:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:06:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:06:56 AM=>Info - End of callingService Method
10/25/2022 1:08:56 AM=>Info - Check time Elapsed
10/25/2022 1:08:56 AM=>Info - Call callingService Method
10/25/2022 1:08:56 AM=>Info:- Call Both
10/25/2022 1:08:56 AM=>Info:- Start Executing SMS Method
10/25/2022 1:08:56 AM=>Info:- End Executing SMS Method
10/25/2022 1:08:56 AM=>Info:- Start Mailing Method
10/25/2022 1:08:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:08:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:08:56 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:08:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:08:56 AM=>Info:- Count = 1
10/25/2022 1:08:56 AM=>Info:- Count 1
10/25/2022 1:08:56 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:08:56 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:08:56 AM=>Info:- Start SenMail Method
10/25/2022 1:08:56 AM=>UseDefaultCredentials
10/25/2022 1:08:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:08:56 AM=>EnableSsl = true
10/25/2022 1:08:56 AM=>DeliveryMethod
10/25/2022 1:08:56 AM=>Before Send
10/25/2022 1:08:59 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 1:08:59 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:08:59 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:08:59 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:08:59 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:09:00 AM=>Info:- END Mailing Method
10/25/2022 1:09:00 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:09:00 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:09:00 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:09:00 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:09:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:09:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:09:00 AM=>Info - End of callingService Method
10/25/2022 1:11:00 AM=>Info - Check time Elapsed
10/25/2022 1:11:00 AM=>Info - Call callingService Method
10/25/2022 1:11:00 AM=>Info:- Call Both
10/25/2022 1:11:00 AM=>Info:- Start Executing SMS Method
10/25/2022 1:11:00 AM=>Info:- End Executing SMS Method
10/25/2022 1:11:00 AM=>Info:- Start Mailing Method
10/25/2022 1:11:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:11:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:11:00 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:11:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:11:00 AM=>Info:- Count = 1
10/25/2022 1:11:00 AM=>Info:- Count 1
10/25/2022 1:11:00 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:11:00 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:11:00 AM=>Info:- Start SenMail Method
10/25/2022 1:11:00 AM=>UseDefaultCredentials
10/25/2022 1:11:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:11:00 AM=>EnableSsl = true
10/25/2022 1:11:00 AM=>DeliveryMethod
10/25/2022 1:11:00 AM=>Before Send
10/25/2022 1:11: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/25/2022 1:11:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:11:09 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:11:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:11:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:11:09 AM=>Info:- END Mailing Method
10/25/2022 1:11:09 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:11:09 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:11:09 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:11:09 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:11:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:11:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:11:09 AM=>Info - End of callingService Method
10/25/2022 1:13:09 AM=>Info - Check time Elapsed
10/25/2022 1:13:09 AM=>Info - Call callingService Method
10/25/2022 1:13:09 AM=>Info:- Call Both
10/25/2022 1:13:09 AM=>Info:- Start Executing SMS Method
10/25/2022 1:13:09 AM=>Info:- End Executing SMS Method
10/25/2022 1:13:09 AM=>Info:- Start Mailing Method
10/25/2022 1:13:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:13:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:13:09 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:13:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:13:09 AM=>Info:- Count = 1
10/25/2022 1:13:09 AM=>Info:- Count 1
10/25/2022 1:13:09 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:13:09 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:13:09 AM=>Info:- Start SenMail Method
10/25/2022 1:13:09 AM=>UseDefaultCredentials
10/25/2022 1:13:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:13:09 AM=>EnableSsl = true
10/25/2022 1:13:09 AM=>DeliveryMethod
10/25/2022 1:13:09 AM=>Before Send
10/25/2022 1:13: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/25/2022 1:13:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:13:09 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:13:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:13:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:13:09 AM=>Info:- END Mailing Method
10/25/2022 1:13:09 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:13:09 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:13:09 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:13:09 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:13:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:13:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:13:09 AM=>Info - End of callingService Method
10/25/2022 1:15:09 AM=>Info - Check time Elapsed
10/25/2022 1:15:09 AM=>Info - Call callingService Method
10/25/2022 1:15:09 AM=>Info:- Call Both
10/25/2022 1:15:09 AM=>Info:- Start Executing SMS Method
10/25/2022 1:15:09 AM=>Info:- End Executing SMS Method
10/25/2022 1:15:09 AM=>Info:- Start Mailing Method
10/25/2022 1:15:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:15:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:15:09 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:15:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:15:09 AM=>Info:- Count = 1
10/25/2022 1:15:09 AM=>Info:- Count 1
10/25/2022 1:15:09 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:15:09 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:15:09 AM=>Info:- Start SenMail Method
10/25/2022 1:15:09 AM=>UseDefaultCredentials
10/25/2022 1:15:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:15:09 AM=>EnableSsl = true
10/25/2022 1:15:09 AM=>DeliveryMethod
10/25/2022 1:15:09 AM=>Before Send
10/25/2022 1:16: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.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/25/2022 1:16:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:16:34 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:16:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:16:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:16:34 AM=>Info:- END Mailing Method
10/25/2022 1:16:34 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:16:34 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:16:34 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:16:34 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:16:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:16:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:16:34 AM=>Info - End of callingService Method
10/25/2022 1:18:34 AM=>Info - Check time Elapsed
10/25/2022 1:18:34 AM=>Info - Call callingService Method
10/25/2022 1:18:34 AM=>Info:- Call Both
10/25/2022 1:18:34 AM=>Info:- Start Executing SMS Method
10/25/2022 1:18:34 AM=>Info:- End Executing SMS Method
10/25/2022 1:18:34 AM=>Info:- Start Mailing Method
10/25/2022 1:18:34 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:18:34 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:18:34 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:18:34 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:18:34 AM=>Info:- Count = 1
10/25/2022 1:18:34 AM=>Info:- Count 1
10/25/2022 1:18:34 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:18:34 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:18:34 AM=>Info:- Start SenMail Method
10/25/2022 1:18:34 AM=>UseDefaultCredentials
10/25/2022 1:18:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:18:34 AM=>EnableSsl = true
10/25/2022 1:18:34 AM=>DeliveryMethod
10/25/2022 1:18:34 AM=>Before Send
10/25/2022 1:19:58 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.58.98:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 1:19:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:19:58 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:19:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:19:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:19:58 AM=>Info:- END Mailing Method
10/25/2022 1:19:58 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:19:58 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:19:58 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:19:58 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:19:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:19:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:19:58 AM=>Info - End of callingService Method
10/25/2022 1:21:58 AM=>Info - Check time Elapsed
10/25/2022 1:21:58 AM=>Info - Call callingService Method
10/25/2022 1:21:58 AM=>Info:- Call Both
10/25/2022 1:21:58 AM=>Info:- Start Executing SMS Method
10/25/2022 1:21:58 AM=>Info:- End Executing SMS Method
10/25/2022 1:21:58 AM=>Info:- Start Mailing Method
10/25/2022 1:21:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:21:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:21:58 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:21:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:21:58 AM=>Info:- Count = 1
10/25/2022 1:21:58 AM=>Info:- Count 1
10/25/2022 1:21:58 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:21:58 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:21:58 AM=>Info:- Start SenMail Method
10/25/2022 1:21:58 AM=>UseDefaultCredentials
10/25/2022 1:21:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:21:58 AM=>EnableSsl = true
10/25/2022 1:21:58 AM=>DeliveryMethod
10/25/2022 1:21:58 AM=>Before Send
10/25/2022 1:22: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/25/2022 1:22:19 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:22:19 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:22:19 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:22:19 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:22:20 AM=>Info:- END Mailing Method
10/25/2022 1:22:20 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:22:20 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:22:20 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:22:20 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:22:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:22:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:22:20 AM=>Info - End of callingService Method
10/25/2022 1:24:20 AM=>Info - Check time Elapsed
10/25/2022 1:24:20 AM=>Info - Call callingService Method
10/25/2022 1:24:20 AM=>Info:- Call Both
10/25/2022 1:24:20 AM=>Info:- Start Executing SMS Method
10/25/2022 1:24:20 AM=>Info:- End Executing SMS Method
10/25/2022 1:24:20 AM=>Info:- Start Mailing Method
10/25/2022 1:24:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:24:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:24:20 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:24:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:24:20 AM=>Info:- Count = 1
10/25/2022 1:24:20 AM=>Info:- Count 1
10/25/2022 1:24:20 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:24:20 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:24:20 AM=>Info:- Start SenMail Method
10/25/2022 1:24:20 AM=>UseDefaultCredentials
10/25/2022 1:24:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:24:20 AM=>EnableSsl = true
10/25/2022 1:24:20 AM=>DeliveryMethod
10/25/2022 1:24:20 AM=>Before Send
10/25/2022 1:25: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.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/25/2022 1:25:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:25:44 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:25:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:25:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:25:44 AM=>Info:- END Mailing Method
10/25/2022 1:25:44 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:25:44 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:25:44 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:25:44 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:25:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:25:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:25:44 AM=>Info - End of callingService Method
10/25/2022 1:27:44 AM=>Info - Check time Elapsed
10/25/2022 1:27:44 AM=>Info - Call callingService Method
10/25/2022 1:27:44 AM=>Info:- Call Both
10/25/2022 1:27:44 AM=>Info:- Start Executing SMS Method
10/25/2022 1:27:44 AM=>Info:- End Executing SMS Method
10/25/2022 1:27:44 AM=>Info:- Start Mailing Method
10/25/2022 1:27:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:27:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:27:44 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:27:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:27:44 AM=>Info:- Count = 1
10/25/2022 1:27:44 AM=>Info:- Count 1
10/25/2022 1:27:44 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:27:44 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:27:44 AM=>Info:- Start SenMail Method
10/25/2022 1:27:44 AM=>UseDefaultCredentials
10/25/2022 1:27:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:27:44 AM=>EnableSsl = true
10/25/2022 1:27:44 AM=>DeliveryMethod
10/25/2022 1:27:44 AM=>Before Send
10/25/2022 1:28: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/25/2022 1:28:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:28:48 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:28:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:28:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:28:48 AM=>Info:- END Mailing Method
10/25/2022 1:28:48 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:28:48 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:28:48 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:28:48 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:28:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:28:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:28:48 AM=>Info - End of callingService Method
10/25/2022 1:30:48 AM=>Info - Check time Elapsed
10/25/2022 1:30:48 AM=>Info - Call callingService Method
10/25/2022 1:30:48 AM=>Info:- Call Both
10/25/2022 1:30:48 AM=>Info:- Start Executing SMS Method
10/25/2022 1:30:48 AM=>Info:- End Executing SMS Method
10/25/2022 1:30:48 AM=>Info:- Start Mailing Method
10/25/2022 1:30:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:30:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:30:48 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:30:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:30:48 AM=>Info:- Count = 1
10/25/2022 1:30:48 AM=>Info:- Count 1
10/25/2022 1:30:48 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:30:48 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:30:48 AM=>Info:- Start SenMail Method
10/25/2022 1:30:48 AM=>UseDefaultCredentials
10/25/2022 1:30:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:30:48 AM=>EnableSsl = true
10/25/2022 1:30:48 AM=>DeliveryMethod
10/25/2022 1:30:48 AM=>Before Send
10/25/2022 1:32: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.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/25/2022 1:32:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:32:12 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:32:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:32:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:32:12 AM=>Info:- END Mailing Method
10/25/2022 1:32:12 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:32:12 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:32:12 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:32:12 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:32:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:32:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:32:12 AM=>Info - End of callingService Method
10/25/2022 1:34:12 AM=>Info - Check time Elapsed
10/25/2022 1:34:12 AM=>Info - Call callingService Method
10/25/2022 1:34:12 AM=>Info:- Call Both
10/25/2022 1:34:12 AM=>Info:- Start Executing SMS Method
10/25/2022 1:34:12 AM=>Info:- End Executing SMS Method
10/25/2022 1:34:12 AM=>Info:- Start Mailing Method
10/25/2022 1:34:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:34:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:34:12 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:34:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:34:12 AM=>Info:- Count = 1
10/25/2022 1:34:12 AM=>Info:- Count 1
10/25/2022 1:34:12 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:34:12 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:34:12 AM=>Info:- Start SenMail Method
10/25/2022 1:34:12 AM=>UseDefaultCredentials
10/25/2022 1:34:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:34:12 AM=>EnableSsl = true
10/25/2022 1:34:12 AM=>DeliveryMethod
10/25/2022 1:34:12 AM=>Before Send
10/25/2022 1:35:37 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 1:35:37 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:35:37 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:35:37 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:35:37 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:35:37 AM=>Info:- END Mailing Method
10/25/2022 1:35:37 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:35:37 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:35:37 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:35:37 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:35:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:35:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:35:37 AM=>Info - End of callingService Method
10/25/2022 1:37:37 AM=>Info - Check time Elapsed
10/25/2022 1:37:37 AM=>Info - Call callingService Method
10/25/2022 1:37:37 AM=>Info:- Call Both
10/25/2022 1:37:37 AM=>Info:- Start Executing SMS Method
10/25/2022 1:37:37 AM=>Info:- End Executing SMS Method
10/25/2022 1:37:37 AM=>Info:- Start Mailing Method
10/25/2022 1:37:37 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:37:37 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:37:37 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:37:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:37:37 AM=>Info:- Count = 1
10/25/2022 1:37:37 AM=>Info:- Count 1
10/25/2022 1:37:37 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:37:37 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:37:37 AM=>Info:- Start SenMail Method
10/25/2022 1:37:37 AM=>UseDefaultCredentials
10/25/2022 1:37:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:37:37 AM=>EnableSsl = true
10/25/2022 1:37:37 AM=>DeliveryMethod
10/25/2022 1:37:37 AM=>Before Send
10/25/2022 1:37: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/25/2022 1:37:40 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:37:40 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:37:40 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:37:40 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:37:40 AM=>Info:- END Mailing Method
10/25/2022 1:37:40 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:37:40 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:37:40 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:37:40 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:37:40 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:37:40 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:37:40 AM=>Info - End of callingService Method
10/25/2022 1:39:40 AM=>Info - Check time Elapsed
10/25/2022 1:39:40 AM=>Info - Call callingService Method
10/25/2022 1:39:40 AM=>Info:- Call Both
10/25/2022 1:39:40 AM=>Info:- Start Executing SMS Method
10/25/2022 1:39:40 AM=>Info:- End Executing SMS Method
10/25/2022 1:39:40 AM=>Info:- Start Mailing Method
10/25/2022 1:39:40 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:39:40 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:39:40 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:39:40 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:39:40 AM=>Info:- Count = 1
10/25/2022 1:39:40 AM=>Info:- Count 1
10/25/2022 1:39:40 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:39:40 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:39:40 AM=>Info:- Start SenMail Method
10/25/2022 1:39:40 AM=>UseDefaultCredentials
10/25/2022 1:39:40 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:39:40 AM=>EnableSsl = true
10/25/2022 1:39:40 AM=>DeliveryMethod
10/25/2022 1:39:40 AM=>Before Send
10/25/2022 1:39: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/25/2022 1:39:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:39:49 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:39:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:39:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:39:50 AM=>Info:- END Mailing Method
10/25/2022 1:39:50 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:39:50 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:39:50 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:39:50 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:39:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:39:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:39:50 AM=>Info - End of callingService Method
10/25/2022 1:41:50 AM=>Info - Check time Elapsed
10/25/2022 1:41:50 AM=>Info - Call callingService Method
10/25/2022 1:41:50 AM=>Info:- Call Both
10/25/2022 1:41:50 AM=>Info:- Start Executing SMS Method
10/25/2022 1:41:50 AM=>Info:- End Executing SMS Method
10/25/2022 1:41:50 AM=>Info:- Start Mailing Method
10/25/2022 1:41:50 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:41:50 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:41:50 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:41:50 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:41:50 AM=>Info:- Count = 1
10/25/2022 1:41:50 AM=>Info:- Count 1
10/25/2022 1:41:50 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:41:50 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:41:50 AM=>Info:- Start SenMail Method
10/25/2022 1:41:50 AM=>UseDefaultCredentials
10/25/2022 1:41:50 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:41:50 AM=>EnableSsl = true
10/25/2022 1:41:50 AM=>DeliveryMethod
10/25/2022 1:41:50 AM=>Before Send
10/25/2022 1:42: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/25/2022 1:42:11 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:42:11 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:42:11 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:42:11 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:42:11 AM=>Info:- END Mailing Method
10/25/2022 1:42:11 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:42:11 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:42:11 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:42:11 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:42:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:42:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:42:11 AM=>Info - End of callingService Method
10/25/2022 1:44:11 AM=>Info - Check time Elapsed
10/25/2022 1:44:11 AM=>Info - Call callingService Method
10/25/2022 1:44:11 AM=>Info:- Call Both
10/25/2022 1:44:11 AM=>Info:- Start Executing SMS Method
10/25/2022 1:44:11 AM=>Info:- End Executing SMS Method
10/25/2022 1:44:11 AM=>Info:- Start Mailing Method
10/25/2022 1:44:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:44:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:44:11 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:44:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:44:11 AM=>Info:- Count = 1
10/25/2022 1:44:11 AM=>Info:- Count 1
10/25/2022 1:44:11 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:44:11 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:44:11 AM=>Info:- Start SenMail Method
10/25/2022 1:44:11 AM=>UseDefaultCredentials
10/25/2022 1:44:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:44:11 AM=>EnableSsl = true
10/25/2022 1:44:11 AM=>DeliveryMethod
10/25/2022 1:44:11 AM=>Before Send
10/25/2022 1:44: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/25/2022 1:44:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:44:20 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:44:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:44:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:44:21 AM=>Info:- END Mailing Method
10/25/2022 1:44:21 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:44:21 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:44:21 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:44:21 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:44:21 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:44:21 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:44:21 AM=>Info - End of callingService Method
10/25/2022 1:46:21 AM=>Info - Check time Elapsed
10/25/2022 1:46:21 AM=>Info - Call callingService Method
10/25/2022 1:46:21 AM=>Info:- Call Both
10/25/2022 1:46:21 AM=>Info:- Start Executing SMS Method
10/25/2022 1:46:21 AM=>Info:- End Executing SMS Method
10/25/2022 1:46:21 AM=>Info:- Start Mailing Method
10/25/2022 1:46:21 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:46:21 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:46:21 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:46:21 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:46:21 AM=>Info:- Count = 1
10/25/2022 1:46:21 AM=>Info:- Count 1
10/25/2022 1:46:21 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:46:21 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:46:21 AM=>Info:- Start SenMail Method
10/25/2022 1:46:21 AM=>UseDefaultCredentials
10/25/2022 1:46:21 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:46:21 AM=>EnableSsl = true
10/25/2022 1:46:21 AM=>DeliveryMethod
10/25/2022 1:46:21 AM=>Before Send
10/25/2022 1:47:45 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 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/25/2022 1:47:45 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:47:45 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:47:45 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:47:45 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:47:45 AM=>Info:- END Mailing Method
10/25/2022 1:47:45 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:47:45 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:47:45 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:47:45 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:47:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:47:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:47:45 AM=>Info - End of callingService Method
10/25/2022 1:49:45 AM=>Info - Check time Elapsed
10/25/2022 1:49:45 AM=>Info - Call callingService Method
10/25/2022 1:49:45 AM=>Info:- Call Both
10/25/2022 1:49:45 AM=>Info:- Start Executing SMS Method
10/25/2022 1:49:45 AM=>Info:- End Executing SMS Method
10/25/2022 1:49:45 AM=>Info:- Start Mailing Method
10/25/2022 1:49:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:49:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:49:45 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:49:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:49:45 AM=>Info:- Count = 1
10/25/2022 1:49:45 AM=>Info:- Count 1
10/25/2022 1:49:45 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:49:45 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:49:45 AM=>Info:- Start SenMail Method
10/25/2022 1:49:45 AM=>UseDefaultCredentials
10/25/2022 1:49:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:49:45 AM=>EnableSsl = true
10/25/2022 1:49:45 AM=>DeliveryMethod
10/25/2022 1:49:45 AM=>Before Send
10/25/2022 1:51:09 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/25/2022 1:51:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:51:09 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:51:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:51:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:51:10 AM=>Info:- END Mailing Method
10/25/2022 1:51:10 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:51:10 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:51:10 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:51:10 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:51:10 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:51:10 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:51:10 AM=>Info - End of callingService Method
10/25/2022 1:53:10 AM=>Info - Check time Elapsed
10/25/2022 1:53:10 AM=>Info - Call callingService Method
10/25/2022 1:53:10 AM=>Info:- Call Both
10/25/2022 1:53:10 AM=>Info:- Start Executing SMS Method
10/25/2022 1:53:10 AM=>Info:- End Executing SMS Method
10/25/2022 1:53:10 AM=>Info:- Start Mailing Method
10/25/2022 1:53:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:53:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:53:10 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:53:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:53:10 AM=>Info:- Count = 1
10/25/2022 1:53:10 AM=>Info:- Count 1
10/25/2022 1:53:10 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:53:10 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:53:10 AM=>Info:- Start SenMail Method
10/25/2022 1:53:10 AM=>UseDefaultCredentials
10/25/2022 1:53:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:53:10 AM=>EnableSsl = true
10/25/2022 1:53:10 AM=>DeliveryMethod
10/25/2022 1:53:10 AM=>Before Send
10/25/2022 1:54: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.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/25/2022 1:54:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:54:34 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:54:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:54:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:54:34 AM=>Info:- END Mailing Method
10/25/2022 1:54:34 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:54:34 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:54:34 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:54:34 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:54:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:54:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:54:34 AM=>Info - End of callingService Method
10/25/2022 1:56:34 AM=>Info - Check time Elapsed
10/25/2022 1:56:34 AM=>Info - Call callingService Method
10/25/2022 1:56:34 AM=>Info:- Call Both
10/25/2022 1:56:34 AM=>Info:- Start Executing SMS Method
10/25/2022 1:56:34 AM=>Info:- End Executing SMS Method
10/25/2022 1:56:34 AM=>Info:- Start Mailing Method
10/25/2022 1:56:34 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:56:34 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:56:34 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:56:34 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:56:34 AM=>Info:- Count = 1
10/25/2022 1:56:34 AM=>Info:- Count 1
10/25/2022 1:56:34 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:56:34 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:56:34 AM=>Info:- Start SenMail Method
10/25/2022 1:56:34 AM=>UseDefaultCredentials
10/25/2022 1:56:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:56:34 AM=>EnableSsl = true
10/25/2022 1:56:34 AM=>DeliveryMethod
10/25/2022 1:56:34 AM=>Before Send
10/25/2022 1:57: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.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/25/2022 1:57:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:57:58 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:57:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:57:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:57:58 AM=>Info:- END Mailing Method
10/25/2022 1:57:58 AM=>Info:- Start Executing Telegram Method
10/25/2022 1:57:58 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:57:58 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:57:58 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:57:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:57:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:57:58 AM=>Info - End of callingService Method
10/25/2022 1:59:58 AM=>Info - Check time Elapsed
10/25/2022 1:59:58 AM=>Info - Call callingService Method
10/25/2022 1:59:58 AM=>Info:- Call Both
10/25/2022 1:59:58 AM=>Info:- Start Executing SMS Method
10/25/2022 1:59:58 AM=>Info:- End Executing SMS Method
10/25/2022 1:59:59 AM=>Info:- Start Mailing Method
10/25/2022 1:59:59 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:59:59 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:59:59 AM=>Info:- PendingMail.xml file read to list
10/25/2022 1:59:59 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:59:59 AM=>Info:- Count = 1
10/25/2022 1:59:59 AM=>Info:- Count 1
10/25/2022 1:59:59 AM=>Info - Fetching Data From MAIL XML
10/25/2022 1:59:59 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:59:59 AM=>Info:- Start SenMail Method
10/25/2022 1:59:59 AM=>UseDefaultCredentials
10/25/2022 1:59:59 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:59:59 AM=>EnableSsl = true
10/25/2022 1:59:59 AM=>DeliveryMethod
10/25/2022 1:59:59 AM=>Before Send
10/25/2022 2:01: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.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/25/2022 2:01:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:01:23 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:01:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:01:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:01:23 AM=>Info:- END Mailing Method
10/25/2022 2:01:23 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:01:23 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:01:23 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:01:23 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:01:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:01:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:01:23 AM=>Info - End of callingService Method
10/25/2022 2:03:23 AM=>Info - Check time Elapsed
10/25/2022 2:03:23 AM=>Info - Call callingService Method
10/25/2022 2:03:23 AM=>Info:- Call Both
10/25/2022 2:03:23 AM=>Info:- Start Executing SMS Method
10/25/2022 2:03:23 AM=>Info:- End Executing SMS Method
10/25/2022 2:03:23 AM=>Info:- Start Mailing Method
10/25/2022 2:03:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:03:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:03:23 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:03:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:03:23 AM=>Info:- Count = 1
10/25/2022 2:03:23 AM=>Info:- Count 1
10/25/2022 2:03:23 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:03:23 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:03:23 AM=>Info:- Start SenMail Method
10/25/2022 2:03:23 AM=>UseDefaultCredentials
10/25/2022 2:03:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:03:23 AM=>EnableSsl = true
10/25/2022 2:03:23 AM=>DeliveryMethod
10/25/2022 2:03:23 AM=>Before Send
10/25/2022 2:04: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 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/25/2022 2:04:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:04:47 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:04:47 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:04:47 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:04:47 AM=>Info:- END Mailing Method
10/25/2022 2:04:47 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:04:47 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:04:47 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:04:47 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:04:47 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:04:47 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:04:47 AM=>Info - End of callingService Method
10/25/2022 2:06:47 AM=>Info - Check time Elapsed
10/25/2022 2:06:47 AM=>Info - Call callingService Method
10/25/2022 2:06:47 AM=>Info:- Call Both
10/25/2022 2:06:47 AM=>Info:- Start Executing SMS Method
10/25/2022 2:06:47 AM=>Info:- End Executing SMS Method
10/25/2022 2:06:47 AM=>Info:- Start Mailing Method
10/25/2022 2:06:47 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:06:47 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:06:47 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:06:47 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:06:47 AM=>Info:- Count = 1
10/25/2022 2:06:47 AM=>Info:- Count 1
10/25/2022 2:06:47 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:06:47 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:06:47 AM=>Info:- Start SenMail Method
10/25/2022 2:06:47 AM=>UseDefaultCredentials
10/25/2022 2:06:47 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:06:47 AM=>EnableSsl = true
10/25/2022 2:06:47 AM=>DeliveryMethod
10/25/2022 2:06:47 AM=>Before Send
10/25/2022 2:07: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/25/2022 2:07:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:07:09 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:07:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:07:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:07:09 AM=>Info:- END Mailing Method
10/25/2022 2:07:09 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:07:09 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:07:09 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:07:09 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:07:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:07:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:07:09 AM=>Info - End of callingService Method
10/25/2022 2:09:09 AM=>Info - Check time Elapsed
10/25/2022 2:09:09 AM=>Info - Call callingService Method
10/25/2022 2:09:09 AM=>Info:- Call Both
10/25/2022 2:09:09 AM=>Info:- Start Executing SMS Method
10/25/2022 2:09:09 AM=>Info:- End Executing SMS Method
10/25/2022 2:09:09 AM=>Info:- Start Mailing Method
10/25/2022 2:09:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:09:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:09:09 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:09:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:09:09 AM=>Info:- Count = 1
10/25/2022 2:09:09 AM=>Info:- Count 1
10/25/2022 2:09:09 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:09:09 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:09:09 AM=>Info:- Start SenMail Method
10/25/2022 2:09:09 AM=>UseDefaultCredentials
10/25/2022 2:09:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:09:09 AM=>EnableSsl = true
10/25/2022 2:09:09 AM=>DeliveryMethod
10/25/2022 2:09:09 AM=>Before Send
10/25/2022 2:09: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/25/2022 2:09:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:09:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:09:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:09:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:09:18 AM=>Info:- END Mailing Method
10/25/2022 2:09:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:09:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:09:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:09:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:09:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:09:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:09:18 AM=>Info - End of callingService Method
10/25/2022 2:11:18 AM=>Info - Check time Elapsed
10/25/2022 2:11:18 AM=>Info - Call callingService Method
10/25/2022 2:11:18 AM=>Info:- Call Both
10/25/2022 2:11:18 AM=>Info:- Start Executing SMS Method
10/25/2022 2:11:18 AM=>Info:- End Executing SMS Method
10/25/2022 2:11:18 AM=>Info:- Start Mailing Method
10/25/2022 2:11:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:11:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:11:18 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:11:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:11:18 AM=>Info:- Count = 1
10/25/2022 2:11:18 AM=>Info:- Count 1
10/25/2022 2:11:18 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:11:18 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:11:18 AM=>Info:- Start SenMail Method
10/25/2022 2:11:18 AM=>UseDefaultCredentials
10/25/2022 2:11:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:11:18 AM=>EnableSsl = true
10/25/2022 2:11:18 AM=>DeliveryMethod
10/25/2022 2:11:18 AM=>Before Send
10/25/2022 2:12: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/25/2022 2:12:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:12:09 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:12:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:12:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:12:10 AM=>Info:- END Mailing Method
10/25/2022 2:12:10 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:12:10 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:12:10 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:12:10 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:12:10 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:12:10 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:12:10 AM=>Info - End of callingService Method
10/25/2022 2:14:10 AM=>Info - Check time Elapsed
10/25/2022 2:14:10 AM=>Info - Call callingService Method
10/25/2022 2:14:10 AM=>Info:- Call Both
10/25/2022 2:14:10 AM=>Info:- Start Executing SMS Method
10/25/2022 2:14:10 AM=>Info:- End Executing SMS Method
10/25/2022 2:14:10 AM=>Info:- Start Mailing Method
10/25/2022 2:14:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:14:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:14:10 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:14:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:14:10 AM=>Info:- Count = 1
10/25/2022 2:14:10 AM=>Info:- Count 1
10/25/2022 2:14:10 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:14:10 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:14:10 AM=>Info:- Start SenMail Method
10/25/2022 2:14:10 AM=>UseDefaultCredentials
10/25/2022 2:14:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:14:10 AM=>EnableSsl = true
10/25/2022 2:14:10 AM=>DeliveryMethod
10/25/2022 2:14:10 AM=>Before Send
10/25/2022 2:15: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.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/25/2022 2:15:34 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:15:34 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:15:34 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:15:34 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:15:34 AM=>Info:- END Mailing Method
10/25/2022 2:15:34 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:15:34 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:15:34 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:15:34 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:15:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:15:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:15:34 AM=>Info - End of callingService Method
10/25/2022 2:17:34 AM=>Info - Check time Elapsed
10/25/2022 2:17:34 AM=>Info - Call callingService Method
10/25/2022 2:17:34 AM=>Info:- Call Both
10/25/2022 2:17:34 AM=>Info:- Start Executing SMS Method
10/25/2022 2:17:34 AM=>Info:- End Executing SMS Method
10/25/2022 2:17:34 AM=>Info:- Start Mailing Method
10/25/2022 2:17:34 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:17:34 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:17:34 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:17:34 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:17:34 AM=>Info:- Count = 1
10/25/2022 2:17:34 AM=>Info:- Count 1
10/25/2022 2:17:34 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:17:34 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:17:34 AM=>Info:- Start SenMail Method
10/25/2022 2:17:34 AM=>UseDefaultCredentials
10/25/2022 2:17:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:17:34 AM=>EnableSsl = true
10/25/2022 2:17:34 AM=>DeliveryMethod
10/25/2022 2:17:34 AM=>Before Send
10/25/2022 2:17:37 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 2:17:37 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:17:37 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:17:37 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:17:37 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:17:38 AM=>Info:- END Mailing Method
10/25/2022 2:17:38 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:17:38 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:17:38 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:17:38 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:17:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:17:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:17:38 AM=>Info - End of callingService Method
10/25/2022 2:19:38 AM=>Info - Check time Elapsed
10/25/2022 2:19:38 AM=>Info - Call callingService Method
10/25/2022 2:19:38 AM=>Info:- Call Both
10/25/2022 2:19:38 AM=>Info:- Start Executing SMS Method
10/25/2022 2:19:38 AM=>Info:- End Executing SMS Method
10/25/2022 2:19:38 AM=>Info:- Start Mailing Method
10/25/2022 2:19:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:19:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:19:38 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:19:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:19:38 AM=>Info:- Count = 1
10/25/2022 2:19:38 AM=>Info:- Count 1
10/25/2022 2:19:38 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:19:38 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:19:38 AM=>Info:- Start SenMail Method
10/25/2022 2:19:38 AM=>UseDefaultCredentials
10/25/2022 2:19:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:19:38 AM=>EnableSsl = true
10/25/2022 2:19:38 AM=>DeliveryMethod
10/25/2022 2:19:38 AM=>Before Send
10/25/2022 2:19:41 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 2:19:41 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:19:41 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:19:41 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:19:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:19:41 AM=>Info:- END Mailing Method
10/25/2022 2:19:41 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:19:41 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:19:41 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:19:41 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:19:41 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:19:41 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:19:41 AM=>Info - End of callingService Method
10/25/2022 2:21:41 AM=>Info - Check time Elapsed
10/25/2022 2:21:41 AM=>Info - Call callingService Method
10/25/2022 2:21:41 AM=>Info:- Call Both
10/25/2022 2:21:41 AM=>Info:- Start Executing SMS Method
10/25/2022 2:21:41 AM=>Info:- End Executing SMS Method
10/25/2022 2:21:41 AM=>Info:- Start Mailing Method
10/25/2022 2:21:41 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:21:41 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:21:41 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:21:41 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:21:41 AM=>Info:- Count = 1
10/25/2022 2:21:41 AM=>Info:- Count 1
10/25/2022 2:21:41 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:21:41 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:21:41 AM=>Info:- Start SenMail Method
10/25/2022 2:21:41 AM=>UseDefaultCredentials
10/25/2022 2:21:41 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:21:41 AM=>EnableSsl = true
10/25/2022 2:21:41 AM=>DeliveryMethod
10/25/2022 2:21:41 AM=>Before Send
10/25/2022 2: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/25/2022 2:21:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:21:50 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:21:50 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:21:50 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:21:50 AM=>Info:- END Mailing Method
10/25/2022 2:21:50 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:21:50 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:21:50 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:21:50 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:21:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:21:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:21:50 AM=>Info - End of callingService Method
10/25/2022 2:23:50 AM=>Info - Check time Elapsed
10/25/2022 2:23:50 AM=>Info - Call callingService Method
10/25/2022 2:23:50 AM=>Info:- Call Both
10/25/2022 2:23:50 AM=>Info:- Start Executing SMS Method
10/25/2022 2:23:50 AM=>Info:- End Executing SMS Method
10/25/2022 2:23:50 AM=>Info:- Start Mailing Method
10/25/2022 2:23:50 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:23:50 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:23:50 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:23:50 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:23:50 AM=>Info:- Count = 1
10/25/2022 2:23:50 AM=>Info:- Count 1
10/25/2022 2:23:50 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:23:50 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:23:50 AM=>Info:- Start SenMail Method
10/25/2022 2:23:50 AM=>UseDefaultCredentials
10/25/2022 2:23:50 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:23:50 AM=>EnableSsl = true
10/25/2022 2:23:50 AM=>DeliveryMethod
10/25/2022 2:23:50 AM=>Before Send
10/25/2022 2:25: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.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/25/2022 2:25:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:25:15 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:25:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:25:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:25:15 AM=>Info:- END Mailing Method
10/25/2022 2:25:15 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:25:15 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:25:15 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:25:15 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:25:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:25:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:25:15 AM=>Info - End of callingService Method
10/25/2022 2:27:15 AM=>Info - Check time Elapsed
10/25/2022 2:27:15 AM=>Info - Call callingService Method
10/25/2022 2:27:15 AM=>Info:- Call Both
10/25/2022 2:27:15 AM=>Info:- Start Executing SMS Method
10/25/2022 2:27:15 AM=>Info:- End Executing SMS Method
10/25/2022 2:27:15 AM=>Info:- Start Mailing Method
10/25/2022 2:27:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:27:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:27:15 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:27:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:27:15 AM=>Info:- Count = 1
10/25/2022 2:27:15 AM=>Info:- Count 1
10/25/2022 2:27:15 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:27:15 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:27:15 AM=>Info:- Start SenMail Method
10/25/2022 2:27:15 AM=>UseDefaultCredentials
10/25/2022 2:27:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:27:15 AM=>EnableSsl = true
10/25/2022 2:27:15 AM=>DeliveryMethod
10/25/2022 2:27:15 AM=>Before Send
10/25/2022 2:28:39 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 2:28:39 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:28:39 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:28:39 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:28:39 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:28:39 AM=>Info:- END Mailing Method
10/25/2022 2:28:39 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:28:39 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:28:39 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:28:39 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:28:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:28:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:28:39 AM=>Info - End of callingService Method
10/25/2022 2:30:39 AM=>Info - Check time Elapsed
10/25/2022 2:30:39 AM=>Info - Call callingService Method
10/25/2022 2:30:39 AM=>Info:- Call Both
10/25/2022 2:30:39 AM=>Info:- Start Executing SMS Method
10/25/2022 2:30:39 AM=>Info:- End Executing SMS Method
10/25/2022 2:30:39 AM=>Info:- Start Mailing Method
10/25/2022 2:30:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:30:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:30:39 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:30:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:30:39 AM=>Info:- Count = 1
10/25/2022 2:30:39 AM=>Info:- Count 1
10/25/2022 2:30:39 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:30:39 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:30:39 AM=>Info:- Start SenMail Method
10/25/2022 2:30:39 AM=>UseDefaultCredentials
10/25/2022 2:30:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:30:39 AM=>EnableSsl = true
10/25/2022 2:30:39 AM=>DeliveryMethod
10/25/2022 2:30:39 AM=>Before Send
10/25/2022 2:32: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.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/25/2022 2:32:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:32:04 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:32:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:32:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:32:04 AM=>Info:- END Mailing Method
10/25/2022 2:32:04 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:32:04 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:32:04 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:32:04 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:32:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:32:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:32:04 AM=>Info - End of callingService Method
10/25/2022 2:34:04 AM=>Info - Check time Elapsed
10/25/2022 2:34:04 AM=>Info - Call callingService Method
10/25/2022 2:34:04 AM=>Info:- Call Both
10/25/2022 2:34:04 AM=>Info:- Start Executing SMS Method
10/25/2022 2:34:04 AM=>Info:- End Executing SMS Method
10/25/2022 2:34:04 AM=>Info:- Start Mailing Method
10/25/2022 2:34:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:34:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:34:04 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:34:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:34:04 AM=>Info:- Count = 1
10/25/2022 2:34:04 AM=>Info:- Count 1
10/25/2022 2:34:04 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:34:04 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:34:04 AM=>Info:- Start SenMail Method
10/25/2022 2:34:04 AM=>UseDefaultCredentials
10/25/2022 2:34:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:34:04 AM=>EnableSsl = true
10/25/2022 2:34:04 AM=>DeliveryMethod
10/25/2022 2:34:04 AM=>Before Send
10/25/2022 2:34: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/25/2022 2:34:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:34:04 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:34:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:34:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:34:04 AM=>Info:- END Mailing Method
10/25/2022 2:34:04 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:34:04 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:34:04 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:34:04 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:34:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:34:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:34:04 AM=>Info - End of callingService Method
10/25/2022 2:36:04 AM=>Info - Check time Elapsed
10/25/2022 2:36:04 AM=>Info - Call callingService Method
10/25/2022 2:36:04 AM=>Info:- Call Both
10/25/2022 2:36:04 AM=>Info:- Start Executing SMS Method
10/25/2022 2:36:04 AM=>Info:- End Executing SMS Method
10/25/2022 2:36:04 AM=>Info:- Start Mailing Method
10/25/2022 2:36:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:36:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:36:04 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:36:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:36:04 AM=>Info:- Count = 1
10/25/2022 2:36:04 AM=>Info:- Count 1
10/25/2022 2:36:04 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:36:04 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:36:04 AM=>Info:- Start SenMail Method
10/25/2022 2:36:04 AM=>UseDefaultCredentials
10/25/2022 2:36:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:36:04 AM=>EnableSsl = true
10/25/2022 2:36:04 AM=>DeliveryMethod
10/25/2022 2:36:04 AM=>Before Send
10/25/2022 2:37: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.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/25/2022 2:37:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:37:29 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:37:29 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:37:29 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:37:29 AM=>Info:- END Mailing Method
10/25/2022 2:37:29 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:37:29 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:37:29 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:37:29 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:37:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:37:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:37:29 AM=>Info - End of callingService Method
10/25/2022 2:39:29 AM=>Info - Check time Elapsed
10/25/2022 2:39:29 AM=>Info - Call callingService Method
10/25/2022 2:39:29 AM=>Info:- Call Both
10/25/2022 2:39:29 AM=>Info:- Start Executing SMS Method
10/25/2022 2:39:29 AM=>Info:- End Executing SMS Method
10/25/2022 2:39:29 AM=>Info:- Start Mailing Method
10/25/2022 2:39:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:39:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:39:29 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:39:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:39:29 AM=>Info:- Count = 1
10/25/2022 2:39:29 AM=>Info:- Count 1
10/25/2022 2:39:29 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:39:29 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:39:29 AM=>Info:- Start SenMail Method
10/25/2022 2:39:29 AM=>UseDefaultCredentials
10/25/2022 2:39:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:39:29 AM=>EnableSsl = true
10/25/2022 2:39:29 AM=>DeliveryMethod
10/25/2022 2:39:29 AM=>Before Send
10/25/2022 2:39: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/25/2022 2:39:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:39:50 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:39:50 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:39:50 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:39:50 AM=>Info:- END Mailing Method
10/25/2022 2:39:50 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:39:50 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:39:50 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:39:50 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:39:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:39:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:39:50 AM=>Info - End of callingService Method
10/25/2022 2:41:50 AM=>Info - Check time Elapsed
10/25/2022 2:41:50 AM=>Info - Call callingService Method
10/25/2022 2:41:50 AM=>Info:- Call Both
10/25/2022 2:41:50 AM=>Info:- Start Executing SMS Method
10/25/2022 2:41:50 AM=>Info:- End Executing SMS Method
10/25/2022 2:41:50 AM=>Info:- Start Mailing Method
10/25/2022 2:41:50 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:41:50 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:41:50 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:41:50 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:41:50 AM=>Info:- Count = 1
10/25/2022 2:41:50 AM=>Info:- Count 1
10/25/2022 2:41:50 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:41:50 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:41:50 AM=>Info:- Start SenMail Method
10/25/2022 2:41:50 AM=>UseDefaultCredentials
10/25/2022 2:41:50 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:41:50 AM=>EnableSsl = true
10/25/2022 2:41:50 AM=>DeliveryMethod
10/25/2022 2:41:50 AM=>Before Send
10/25/2022 2:43: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.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/25/2022 2:43:14 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:43:14 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:43:14 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:43:14 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:43:15 AM=>Info:- END Mailing Method
10/25/2022 2:43:15 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:43:15 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:43:15 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:43:15 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:43:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:43:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:43:15 AM=>Info - End of callingService Method
10/25/2022 2:45:15 AM=>Info - Check time Elapsed
10/25/2022 2:45:15 AM=>Info - Call callingService Method
10/25/2022 2:45:15 AM=>Info:- Call Both
10/25/2022 2:45:15 AM=>Info:- Start Executing SMS Method
10/25/2022 2:45:15 AM=>Info:- End Executing SMS Method
10/25/2022 2:45:15 AM=>Info:- Start Mailing Method
10/25/2022 2:45:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:45:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:45:15 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:45:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:45:15 AM=>Info:- Count = 1
10/25/2022 2:45:15 AM=>Info:- Count 1
10/25/2022 2:45:15 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:45:15 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:45:15 AM=>Info:- Start SenMail Method
10/25/2022 2:45:15 AM=>UseDefaultCredentials
10/25/2022 2:45:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:45:15 AM=>EnableSsl = true
10/25/2022 2:45:15 AM=>DeliveryMethod
10/25/2022 2:45:15 AM=>Before Send
10/25/2022 2:45: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/25/2022 2:45:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:45:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:45:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:45:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:45:18 AM=>Info:- END Mailing Method
10/25/2022 2:45:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:45:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:45:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:45:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:45:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:45:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:45:18 AM=>Info - End of callingService Method
10/25/2022 2:47:18 AM=>Info - Check time Elapsed
10/25/2022 2:47:18 AM=>Info - Call callingService Method
10/25/2022 2:47:18 AM=>Info:- Call Both
10/25/2022 2:47:18 AM=>Info:- Start Executing SMS Method
10/25/2022 2:47:18 AM=>Info:- End Executing SMS Method
10/25/2022 2:47:18 AM=>Info:- Start Mailing Method
10/25/2022 2:47:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:47:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:47:18 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:47:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:47:18 AM=>Info:- Count = 1
10/25/2022 2:47:18 AM=>Info:- Count 1
10/25/2022 2:47:18 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:47:18 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:47:18 AM=>Info:- Start SenMail Method
10/25/2022 2:47:18 AM=>UseDefaultCredentials
10/25/2022 2:47:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:47:18 AM=>EnableSsl = true
10/25/2022 2:47:18 AM=>DeliveryMethod
10/25/2022 2:47:18 AM=>Before Send
10/25/2022 2:47: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/25/2022 2:47:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:47:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:47:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:47:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:47:19 AM=>Info:- END Mailing Method
10/25/2022 2:47:19 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:47:19 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:47:19 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:47:19 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:47:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:47:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:47:19 AM=>Info - End of callingService Method
10/25/2022 2:49:19 AM=>Info - Check time Elapsed
10/25/2022 2:49:19 AM=>Info - Call callingService Method
10/25/2022 2:49:19 AM=>Info:- Call Both
10/25/2022 2:49:19 AM=>Info:- Start Executing SMS Method
10/25/2022 2:49:19 AM=>Info:- End Executing SMS Method
10/25/2022 2:49:19 AM=>Info:- Start Mailing Method
10/25/2022 2:49:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:49:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:49:19 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:49:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:49:19 AM=>Info:- Count = 1
10/25/2022 2:49:19 AM=>Info:- Count 1
10/25/2022 2:49:19 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:49:19 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:49:19 AM=>Info:- Start SenMail Method
10/25/2022 2:49:19 AM=>UseDefaultCredentials
10/25/2022 2:49:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:49:19 AM=>EnableSsl = true
10/25/2022 2:49:19 AM=>DeliveryMethod
10/25/2022 2:49:19 AM=>Before Send
10/25/2022 2:50:43 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 2:50:43 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:50:43 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:50:43 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:50:43 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:50:43 AM=>Info:- END Mailing Method
10/25/2022 2:50:43 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:50:43 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:50:43 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:50:43 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:50:43 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:50:43 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:50:43 AM=>Info - End of callingService Method
10/25/2022 2:52:43 AM=>Info - Check time Elapsed
10/25/2022 2:52:43 AM=>Info - Call callingService Method
10/25/2022 2:52:43 AM=>Info:- Call Both
10/25/2022 2:52:43 AM=>Info:- Start Executing SMS Method
10/25/2022 2:52:43 AM=>Info:- End Executing SMS Method
10/25/2022 2:52:43 AM=>Info:- Start Mailing Method
10/25/2022 2:52:43 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:52:43 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:52:43 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:52:43 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:52:43 AM=>Info:- Count = 1
10/25/2022 2:52:43 AM=>Info:- Count 1
10/25/2022 2:52:43 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:52:43 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:52:43 AM=>Info:- Start SenMail Method
10/25/2022 2:52:43 AM=>UseDefaultCredentials
10/25/2022 2:52:43 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:52:43 AM=>EnableSsl = true
10/25/2022 2:52:43 AM=>DeliveryMethod
10/25/2022 2:52:43 AM=>Before Send
10/25/2022 2:54: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.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/25/2022 2:54:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:54:07 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:54:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:54:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:54:08 AM=>Info:- END Mailing Method
10/25/2022 2:54:08 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:54:08 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:54:08 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:54:08 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:54:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:54:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:54:08 AM=>Info - End of callingService Method
10/25/2022 2:56:08 AM=>Info - Check time Elapsed
10/25/2022 2:56:08 AM=>Info - Call callingService Method
10/25/2022 2:56:08 AM=>Info:- Call Both
10/25/2022 2:56:08 AM=>Info:- Start Executing SMS Method
10/25/2022 2:56:08 AM=>Info:- End Executing SMS Method
10/25/2022 2:56:08 AM=>Info:- Start Mailing Method
10/25/2022 2:56:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:56:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:56:08 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:56:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:56:08 AM=>Info:- Count = 1
10/25/2022 2:56:08 AM=>Info:- Count 1
10/25/2022 2:56:08 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:56:08 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:56:08 AM=>Info:- Start SenMail Method
10/25/2022 2:56:08 AM=>UseDefaultCredentials
10/25/2022 2:56:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:56:08 AM=>EnableSsl = true
10/25/2022 2:56:08 AM=>DeliveryMethod
10/25/2022 2:56:08 AM=>Before Send
10/25/2022 2:56: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/25/2022 2:56:29 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:56:29 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:56:29 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:56:29 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:56:29 AM=>Info:- END Mailing Method
10/25/2022 2:56:29 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:56:29 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:56:29 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:56:29 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:56:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:56:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:56:29 AM=>Info - End of callingService Method
10/25/2022 2:58:29 AM=>Info - Check time Elapsed
10/25/2022 2:58:29 AM=>Info - Call callingService Method
10/25/2022 2:58:29 AM=>Info:- Call Both
10/25/2022 2:58:29 AM=>Info:- Start Executing SMS Method
10/25/2022 2:58:29 AM=>Info:- End Executing SMS Method
10/25/2022 2:58:29 AM=>Info:- Start Mailing Method
10/25/2022 2:58:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:58:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:58:29 AM=>Info:- PendingMail.xml file read to list
10/25/2022 2:58:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:58:29 AM=>Info:- Count = 1
10/25/2022 2:58:29 AM=>Info:- Count 1
10/25/2022 2:58:29 AM=>Info - Fetching Data From MAIL XML
10/25/2022 2:58:29 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:58:29 AM=>Info:- Start SenMail Method
10/25/2022 2:58:29 AM=>UseDefaultCredentials
10/25/2022 2:58:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:58:29 AM=>EnableSsl = true
10/25/2022 2:58:29 AM=>DeliveryMethod
10/25/2022 2:58:29 AM=>Before Send
10/25/2022 2:59: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.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/25/2022 2:59:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:59:53 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:59:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:59:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:59:54 AM=>Info:- END Mailing Method
10/25/2022 2:59:54 AM=>Info:- Start Executing Telegram Method
10/25/2022 2:59:54 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:59:54 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:59:54 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:59:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:59:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:59:54 AM=>Info - End of callingService Method
10/25/2022 3:01:54 AM=>Info - Check time Elapsed
10/25/2022 3:01:54 AM=>Info - Call callingService Method
10/25/2022 3:01:54 AM=>Info:- Call Both
10/25/2022 3:01:54 AM=>Info:- Start Executing SMS Method
10/25/2022 3:01:54 AM=>Info:- End Executing SMS Method
10/25/2022 3:01:54 AM=>Info:- Start Mailing Method
10/25/2022 3:01:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:01:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:01:54 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:01:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:01:54 AM=>Info:- Count = 1
10/25/2022 3:01:54 AM=>Info:- Count 1
10/25/2022 3:01:54 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:01:54 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:01:54 AM=>Info:- Start SenMail Method
10/25/2022 3:01:54 AM=>UseDefaultCredentials
10/25/2022 3:01:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:01:54 AM=>EnableSsl = true
10/25/2022 3:01:54 AM=>DeliveryMethod
10/25/2022 3:01:54 AM=>Before Send
10/25/2022 3:01:57 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 3:01:57 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:01:57 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:01:57 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:01:57 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:01:57 AM=>Info:- END Mailing Method
10/25/2022 3:01:57 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:01:57 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:01:57 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:01:57 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:01:57 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:01:57 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:01:57 AM=>Info - End of callingService Method
10/25/2022 3:03:57 AM=>Info - Check time Elapsed
10/25/2022 3:03:57 AM=>Info - Call callingService Method
10/25/2022 3:03:57 AM=>Info:- Call Both
10/25/2022 3:03:57 AM=>Info:- Start Executing SMS Method
10/25/2022 3:03:57 AM=>Info:- End Executing SMS Method
10/25/2022 3:03:57 AM=>Info:- Start Mailing Method
10/25/2022 3:03:57 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:03:57 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:03:57 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:03:57 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:03:57 AM=>Info:- Count = 1
10/25/2022 3:03:57 AM=>Info:- Count 1
10/25/2022 3:03:57 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:03:57 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:03:57 AM=>Info:- Start SenMail Method
10/25/2022 3:03:57 AM=>UseDefaultCredentials
10/25/2022 3:03:57 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:03:57 AM=>EnableSsl = true
10/25/2022 3:03:57 AM=>DeliveryMethod
10/25/2022 3:03:57 AM=>Before Send
10/25/2022 3:03:57 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 3:03:57 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:03:57 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:03:57 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:03:57 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:03:58 AM=>Info:- END Mailing Method
10/25/2022 3:03:58 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:03:58 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:03:58 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:03:58 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:03:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:03:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:03:58 AM=>Info - End of callingService Method
10/25/2022 3:05:58 AM=>Info - Check time Elapsed
10/25/2022 3:05:58 AM=>Info - Call callingService Method
10/25/2022 3:05:58 AM=>Info:- Call Both
10/25/2022 3:05:58 AM=>Info:- Start Executing SMS Method
10/25/2022 3:05:58 AM=>Info:- End Executing SMS Method
10/25/2022 3:05:58 AM=>Info:- Start Mailing Method
10/25/2022 3:05:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:05:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:05:58 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:05:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:05:58 AM=>Info:- Count = 1
10/25/2022 3:05:58 AM=>Info:- Count 1
10/25/2022 3:05:58 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:05:58 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:05:58 AM=>Info:- Start SenMail Method
10/25/2022 3:05:58 AM=>UseDefaultCredentials
10/25/2022 3:05:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:05:58 AM=>EnableSsl = true
10/25/2022 3:05:58 AM=>DeliveryMethod
10/25/2022 3:05:58 AM=>Before Send
10/25/2022 3:06: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/25/2022 3:06:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:06:07 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:06:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:06:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:06:07 AM=>Info:- END Mailing Method
10/25/2022 3:06:07 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:06:07 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:06:07 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:06:07 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:06:07 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:06:07 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:06:07 AM=>Info - End of callingService Method
10/25/2022 3:08:07 AM=>Info - Check time Elapsed
10/25/2022 3:08:07 AM=>Info - Call callingService Method
10/25/2022 3:08:07 AM=>Info:- Call Both
10/25/2022 3:08:07 AM=>Info:- Start Executing SMS Method
10/25/2022 3:08:07 AM=>Info:- End Executing SMS Method
10/25/2022 3:08:07 AM=>Info:- Start Mailing Method
10/25/2022 3:08:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:08:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:08:07 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:08:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:08:07 AM=>Info:- Count = 1
10/25/2022 3:08:07 AM=>Info:- Count 1
10/25/2022 3:08:07 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:08:07 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:08:07 AM=>Info:- Start SenMail Method
10/25/2022 3:08:07 AM=>UseDefaultCredentials
10/25/2022 3:08:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:08:07 AM=>EnableSsl = true
10/25/2022 3:08:07 AM=>DeliveryMethod
10/25/2022 3:08:07 AM=>Before Send
10/25/2022 3:09: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/25/2022 3:09:31 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:09:31 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:09:31 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:09:31 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:09:31 AM=>Info:- END Mailing Method
10/25/2022 3:09:32 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:09:32 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:09:32 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:09:32 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:09:32 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:09:32 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:09:32 AM=>Info - End of callingService Method
10/25/2022 3:11:32 AM=>Info - Check time Elapsed
10/25/2022 3:11:32 AM=>Info - Call callingService Method
10/25/2022 3:11:32 AM=>Info:- Call Both
10/25/2022 3:11:32 AM=>Info:- Start Executing SMS Method
10/25/2022 3:11:32 AM=>Info:- End Executing SMS Method
10/25/2022 3:11:32 AM=>Info:- Start Mailing Method
10/25/2022 3:11:32 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:11:32 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:11:32 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:11:32 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:11:32 AM=>Info:- Count = 1
10/25/2022 3:11:32 AM=>Info:- Count 1
10/25/2022 3:11:32 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:11:32 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:11:32 AM=>Info:- Start SenMail Method
10/25/2022 3:11:32 AM=>UseDefaultCredentials
10/25/2022 3:11:32 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:11:32 AM=>EnableSsl = true
10/25/2022 3:11:32 AM=>DeliveryMethod
10/25/2022 3:11:32 AM=>Before Send
10/25/2022 3:11:41 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 3:11:41 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:11:41 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:11:41 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:11:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:11:41 AM=>Info:- END Mailing Method
10/25/2022 3:11:41 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:11:41 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:11:41 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:11:41 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:11:41 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:11:41 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:11:41 AM=>Info - End of callingService Method
10/25/2022 3:13:41 AM=>Info - Check time Elapsed
10/25/2022 3:13:41 AM=>Info - Call callingService Method
10/25/2022 3:13:41 AM=>Info:- Call Both
10/25/2022 3:13:41 AM=>Info:- Start Executing SMS Method
10/25/2022 3:13:41 AM=>Info:- End Executing SMS Method
10/25/2022 3:13:41 AM=>Info:- Start Mailing Method
10/25/2022 3:13:41 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:13:41 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:13:41 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:13:41 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:13:41 AM=>Info:- Count = 1
10/25/2022 3:13:41 AM=>Info:- Count 1
10/25/2022 3:13:41 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:13:41 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:13:41 AM=>Info:- Start SenMail Method
10/25/2022 3:13:41 AM=>UseDefaultCredentials
10/25/2022 3:13:41 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:13:41 AM=>EnableSsl = true
10/25/2022 3:13:41 AM=>DeliveryMethod
10/25/2022 3:13:41 AM=>Before Send
10/25/2022 3:15: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.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/25/2022 3:15:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:15:05 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:15:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:15:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:15:05 AM=>Info:- END Mailing Method
10/25/2022 3:15:05 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:15:05 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:15:05 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:15:05 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:15:05 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:15:05 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:15:05 AM=>Info - End of callingService Method
10/25/2022 3:17:05 AM=>Info - Check time Elapsed
10/25/2022 3:17:05 AM=>Info - Call callingService Method
10/25/2022 3:17:05 AM=>Info:- Call Both
10/25/2022 3:17:05 AM=>Info:- Start Executing SMS Method
10/25/2022 3:17:05 AM=>Info:- End Executing SMS Method
10/25/2022 3:17:05 AM=>Info:- Start Mailing Method
10/25/2022 3:17:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:17:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:17:05 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:17:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:17:06 AM=>Info:- Count = 1
10/25/2022 3:17:06 AM=>Info:- Count 1
10/25/2022 3:17:06 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:17:06 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:17:06 AM=>Info:- Start SenMail Method
10/25/2022 3:17:06 AM=>UseDefaultCredentials
10/25/2022 3:17:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:17:06 AM=>EnableSsl = true
10/25/2022 3:17:06 AM=>DeliveryMethod
10/25/2022 3:17:06 AM=>Before Send
10/25/2022 3:18: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.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/25/2022 3:18:30 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:18:30 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:18:30 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:18:30 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:18:30 AM=>Info:- END Mailing Method
10/25/2022 3:18:30 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:18:30 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:18:30 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:18:30 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:18:30 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:18:30 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:18:30 AM=>Info - End of callingService Method
10/25/2022 3:20:30 AM=>Info - Check time Elapsed
10/25/2022 3:20:30 AM=>Info - Call callingService Method
10/25/2022 3:20:30 AM=>Info:- Call Both
10/25/2022 3:20:30 AM=>Info:- Start Executing SMS Method
10/25/2022 3:20:30 AM=>Info:- End Executing SMS Method
10/25/2022 3:20:30 AM=>Info:- Start Mailing Method
10/25/2022 3:20:30 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:20:30 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:20:30 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:20:30 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:20:30 AM=>Info:- Count = 1
10/25/2022 3:20:30 AM=>Info:- Count 1
10/25/2022 3:20:30 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:20:30 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:20:30 AM=>Info:- Start SenMail Method
10/25/2022 3:20:30 AM=>UseDefaultCredentials
10/25/2022 3:20:30 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:20:30 AM=>EnableSsl = true
10/25/2022 3:20:30 AM=>DeliveryMethod
10/25/2022 3:20:30 AM=>Before Send
10/25/2022 3:21: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/25/2022 3:21:33 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:21:33 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:21:33 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:21:33 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:21:34 AM=>Info:- END Mailing Method
10/25/2022 3:21:34 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:21:34 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:21:34 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:21:34 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:21:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:21:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:21:34 AM=>Info - End of callingService Method
10/25/2022 3:23:34 AM=>Info - Check time Elapsed
10/25/2022 3:23:34 AM=>Info - Call callingService Method
10/25/2022 3:23:34 AM=>Info:- Call Both
10/25/2022 3:23:34 AM=>Info:- Start Executing SMS Method
10/25/2022 3:23:34 AM=>Info:- End Executing SMS Method
10/25/2022 3:23:34 AM=>Info:- Start Mailing Method
10/25/2022 3:23:34 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:23:34 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:23:34 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:23:34 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:23:34 AM=>Info:- Count = 1
10/25/2022 3:23:34 AM=>Info:- Count 1
10/25/2022 3:23:34 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:23:34 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:23:34 AM=>Info:- Start SenMail Method
10/25/2022 3:23:34 AM=>UseDefaultCredentials
10/25/2022 3:23:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:23:34 AM=>EnableSsl = true
10/25/2022 3:23:34 AM=>DeliveryMethod
10/25/2022 3:23:34 AM=>Before Send
10/25/2022 3:24: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/25/2022 3:24:40 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:24:40 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:24:40 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:24:40 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:24:40 AM=>Info:- END Mailing Method
10/25/2022 3:24:40 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:24:40 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:24:40 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:24:40 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:24:40 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:24:40 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:24:40 AM=>Info - End of callingService Method
10/25/2022 3:26:40 AM=>Info - Check time Elapsed
10/25/2022 3:26:40 AM=>Info - Call callingService Method
10/25/2022 3:26:40 AM=>Info:- Call Both
10/25/2022 3:26:40 AM=>Info:- Start Executing SMS Method
10/25/2022 3:26:40 AM=>Info:- End Executing SMS Method
10/25/2022 3:26:40 AM=>Info:- Start Mailing Method
10/25/2022 3:26:40 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:26:40 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:26:40 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:26:40 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:26:40 AM=>Info:- Count = 1
10/25/2022 3:26:40 AM=>Info:- Count 1
10/25/2022 3:26:40 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:26:40 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:26:40 AM=>Info:- Start SenMail Method
10/25/2022 3:26:40 AM=>UseDefaultCredentials
10/25/2022 3:26:40 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:26:40 AM=>EnableSsl = true
10/25/2022 3:26:40 AM=>DeliveryMethod
10/25/2022 3:26:40 AM=>Before Send
10/25/2022 3:27: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/25/2022 3:27:10 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:27:10 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:27:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:27:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:27:11 AM=>Info:- END Mailing Method
10/25/2022 3:27:11 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:27:11 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:27:11 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:27:11 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:27:11 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:27:11 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:27:11 AM=>Info - End of callingService Method
10/25/2022 3:29:11 AM=>Info - Check time Elapsed
10/25/2022 3:29:11 AM=>Info - Call callingService Method
10/25/2022 3:29:11 AM=>Info:- Call Both
10/25/2022 3:29:11 AM=>Info:- Start Executing SMS Method
10/25/2022 3:29:11 AM=>Info:- End Executing SMS Method
10/25/2022 3:29:11 AM=>Info:- Start Mailing Method
10/25/2022 3:29:11 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:29:11 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:29:11 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:29:11 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:29:11 AM=>Info:- Count = 1
10/25/2022 3:29:11 AM=>Info:- Count 1
10/25/2022 3:29:11 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:29:11 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:29:11 AM=>Info:- Start SenMail Method
10/25/2022 3:29:11 AM=>UseDefaultCredentials
10/25/2022 3:29:11 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:29:11 AM=>EnableSsl = true
10/25/2022 3:29:11 AM=>DeliveryMethod
10/25/2022 3:29:11 AM=>Before Send
10/25/2022 3: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/25/2022 3:29:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:29:20 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:29:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:29:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:29:20 AM=>Info:- END Mailing Method
10/25/2022 3:29:20 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:29:20 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:29:20 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:29:20 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:29:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:29:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:29:20 AM=>Info - End of callingService Method
10/25/2022 3:31:20 AM=>Info - Check time Elapsed
10/25/2022 3:31:20 AM=>Info - Call callingService Method
10/25/2022 3:31:20 AM=>Info:- Call Both
10/25/2022 3:31:20 AM=>Info:- Start Executing SMS Method
10/25/2022 3:31:20 AM=>Info:- End Executing SMS Method
10/25/2022 3:31:20 AM=>Info:- Start Mailing Method
10/25/2022 3:31:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:31:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:31:20 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:31:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:31:20 AM=>Info:- Count = 1
10/25/2022 3:31:20 AM=>Info:- Count 1
10/25/2022 3:31:20 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:31:20 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:31:20 AM=>Info:- Start SenMail Method
10/25/2022 3:31:20 AM=>UseDefaultCredentials
10/25/2022 3:31:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:31:20 AM=>EnableSsl = true
10/25/2022 3:31:20 AM=>DeliveryMethod
10/25/2022 3:31:20 AM=>Before Send
10/25/2022 3:32: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.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/25/2022 3:32:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:32:44 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:32:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:32:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:32:44 AM=>Info:- END Mailing Method
10/25/2022 3:32:44 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:32:44 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:32:44 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:32:44 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:32:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:32:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:32:44 AM=>Info - End of callingService Method
10/25/2022 3:34:45 AM=>Info - Check time Elapsed
10/25/2022 3:34:45 AM=>Info - Call callingService Method
10/25/2022 3:34:45 AM=>Info:- Call Both
10/25/2022 3:34:45 AM=>Info:- Start Executing SMS Method
10/25/2022 3:34:45 AM=>Info:- End Executing SMS Method
10/25/2022 3:34:45 AM=>Info:- Start Mailing Method
10/25/2022 3:34:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:34:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:34:45 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:34:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:34:45 AM=>Info:- Count = 1
10/25/2022 3:34:45 AM=>Info:- Count 1
10/25/2022 3:34:45 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:34:45 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:34:45 AM=>Info:- Start SenMail Method
10/25/2022 3:34:45 AM=>UseDefaultCredentials
10/25/2022 3:34:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:34:45 AM=>EnableSsl = true
10/25/2022 3:34:45 AM=>DeliveryMethod
10/25/2022 3:34:45 AM=>Before Send
10/25/2022 3:36:09 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.88.114:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 3:36:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:36:09 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:36:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:36:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:36:09 AM=>Info:- END Mailing Method
10/25/2022 3:36:09 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:36:09 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:36:09 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:36:09 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:36:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:36:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:36:09 AM=>Info - End of callingService Method
10/25/2022 3:38:09 AM=>Info - Check time Elapsed
10/25/2022 3:38:09 AM=>Info - Call callingService Method
10/25/2022 3:38:09 AM=>Info:- Call Both
10/25/2022 3:38:09 AM=>Info:- Start Executing SMS Method
10/25/2022 3:38:09 AM=>Info:- End Executing SMS Method
10/25/2022 3:38:09 AM=>Info:- Start Mailing Method
10/25/2022 3:38:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:38:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:38:09 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:38:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:38:09 AM=>Info:- Count = 1
10/25/2022 3:38:09 AM=>Info:- Count 1
10/25/2022 3:38:09 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:38:09 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:38:09 AM=>Info:- Start SenMail Method
10/25/2022 3:38:09 AM=>UseDefaultCredentials
10/25/2022 3:38:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:38:09 AM=>EnableSsl = true
10/25/2022 3:38:09 AM=>DeliveryMethod
10/25/2022 3:38:09 AM=>Before Send
10/25/2022 3:39:33 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/25/2022 3:39:33 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:39:33 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:39:33 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:39:33 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:39:34 AM=>Info:- END Mailing Method
10/25/2022 3:39:34 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:39:34 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:39:34 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:39:34 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:39:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:39:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:39:34 AM=>Info - End of callingService Method
10/25/2022 3:41:34 AM=>Info - Check time Elapsed
10/25/2022 3:41:34 AM=>Info - Call callingService Method
10/25/2022 3:41:34 AM=>Info:- Call Both
10/25/2022 3:41:34 AM=>Info:- Start Executing SMS Method
10/25/2022 3:41:34 AM=>Info:- End Executing SMS Method
10/25/2022 3:41:34 AM=>Info:- Start Mailing Method
10/25/2022 3:41:34 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:41:34 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:41:34 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:41:34 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:41:34 AM=>Info:- Count = 1
10/25/2022 3:41:34 AM=>Info:- Count 1
10/25/2022 3:41:34 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:41:34 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:41:34 AM=>Info:- Start SenMail Method
10/25/2022 3:41:34 AM=>UseDefaultCredentials
10/25/2022 3:41:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:41:34 AM=>EnableSsl = true
10/25/2022 3:41:34 AM=>DeliveryMethod
10/25/2022 3:41:34 AM=>Before Send
10/25/2022 3:42: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.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/25/2022 3:42:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:42:58 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:42:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:42:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:42:58 AM=>Info:- END Mailing Method
10/25/2022 3:42:58 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:42:58 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:42:58 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:42:58 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:42:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:42:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:42:58 AM=>Info - End of callingService Method
10/25/2022 3:44:58 AM=>Info - Check time Elapsed
10/25/2022 3:44:58 AM=>Info - Call callingService Method
10/25/2022 3:44:58 AM=>Info:- Call Both
10/25/2022 3:44:58 AM=>Info:- Start Executing SMS Method
10/25/2022 3:44:58 AM=>Info:- End Executing SMS Method
10/25/2022 3:44:58 AM=>Info:- Start Mailing Method
10/25/2022 3:44:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:44:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:44:58 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:44:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:44:58 AM=>Info:- Count = 1
10/25/2022 3:44:58 AM=>Info:- Count 1
10/25/2022 3:44:58 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:44:58 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:44:58 AM=>Info:- Start SenMail Method
10/25/2022 3:44:58 AM=>UseDefaultCredentials
10/25/2022 3:44:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:44:58 AM=>EnableSsl = true
10/25/2022 3:44:58 AM=>DeliveryMethod
10/25/2022 3:44:58 AM=>Before Send
10/25/2022 3:45: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/25/2022 3:45:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:45:01 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:45:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:45:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:45:02 AM=>Info:- END Mailing Method
10/25/2022 3:45:02 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:45:02 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:45:02 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:45:02 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:45:02 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:45:02 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:45:02 AM=>Info - End of callingService Method
10/25/2022 3:47:02 AM=>Info - Check time Elapsed
10/25/2022 3:47:02 AM=>Info - Call callingService Method
10/25/2022 3:47:02 AM=>Info:- Call Both
10/25/2022 3:47:02 AM=>Info:- Start Executing SMS Method
10/25/2022 3:47:02 AM=>Info:- End Executing SMS Method
10/25/2022 3:47:02 AM=>Info:- Start Mailing Method
10/25/2022 3:47:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:47:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:47:02 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:47:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:47:02 AM=>Info:- Count = 1
10/25/2022 3:47:02 AM=>Info:- Count 1
10/25/2022 3:47:02 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:47:02 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:47:02 AM=>Info:- Start SenMail Method
10/25/2022 3:47:02 AM=>UseDefaultCredentials
10/25/2022 3:47:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:47:02 AM=>EnableSsl = true
10/25/2022 3:47:02 AM=>DeliveryMethod
10/25/2022 3:47:02 AM=>Before Send
10/25/2022 3:48: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.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/25/2022 3:48:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:48:26 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:48:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:48:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:48:26 AM=>Info:- END Mailing Method
10/25/2022 3:48:26 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:48:26 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:48:26 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:48:26 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:48:26 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:48:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:48:26 AM=>Info - End of callingService Method
10/25/2022 3:50:26 AM=>Info - Check time Elapsed
10/25/2022 3:50:26 AM=>Info - Call callingService Method
10/25/2022 3:50:26 AM=>Info:- Call Both
10/25/2022 3:50:26 AM=>Info:- Start Executing SMS Method
10/25/2022 3:50:26 AM=>Info:- End Executing SMS Method
10/25/2022 3:50:26 AM=>Info:- Start Mailing Method
10/25/2022 3:50:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:50:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:50:26 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:50:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:50:26 AM=>Info:- Count = 1
10/25/2022 3:50:26 AM=>Info:- Count 1
10/25/2022 3:50:26 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:50:26 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:50:26 AM=>Info:- Start SenMail Method
10/25/2022 3:50:26 AM=>UseDefaultCredentials
10/25/2022 3:50:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:50:26 AM=>EnableSsl = true
10/25/2022 3:50:26 AM=>DeliveryMethod
10/25/2022 3:50:26 AM=>Before Send
10/25/2022 3:50: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/25/2022 3:50:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:50:26 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:50:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:50:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:50:26 AM=>Info:- END Mailing Method
10/25/2022 3:50:26 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:50:26 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:50:26 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:50:26 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:50:26 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:50:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:50:26 AM=>Info - End of callingService Method
10/25/2022 3:52:26 AM=>Info - Check time Elapsed
10/25/2022 3:52:26 AM=>Info - Call callingService Method
10/25/2022 3:52:26 AM=>Info:- Call Both
10/25/2022 3:52:26 AM=>Info:- Start Executing SMS Method
10/25/2022 3:52:26 AM=>Info:- End Executing SMS Method
10/25/2022 3:52:26 AM=>Info:- Start Mailing Method
10/25/2022 3:52:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:52:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:52:26 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:52:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:52:26 AM=>Info:- Count = 1
10/25/2022 3:52:26 AM=>Info:- Count 1
10/25/2022 3:52:26 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:52:26 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:52:26 AM=>Info:- Start SenMail Method
10/25/2022 3:52:26 AM=>UseDefaultCredentials
10/25/2022 3:52:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:52:26 AM=>EnableSsl = true
10/25/2022 3:52:26 AM=>DeliveryMethod
10/25/2022 3:52:26 AM=>Before Send
10/25/2022 3:53: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.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/25/2022 3:53:51 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:53:51 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:53:51 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:53:51 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:53:51 AM=>Info:- END Mailing Method
10/25/2022 3:53:51 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:53:51 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:53:51 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:53:51 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:53:51 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:53:51 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:53:51 AM=>Info - End of callingService Method
10/25/2022 3:55:51 AM=>Info - Check time Elapsed
10/25/2022 3:55:51 AM=>Info - Call callingService Method
10/25/2022 3:55:51 AM=>Info:- Call Both
10/25/2022 3:55:51 AM=>Info:- Start Executing SMS Method
10/25/2022 3:55:51 AM=>Info:- End Executing SMS Method
10/25/2022 3:55:51 AM=>Info:- Start Mailing Method
10/25/2022 3:55:51 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:55:51 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:55:51 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:55:51 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:55:51 AM=>Info:- Count = 1
10/25/2022 3:55:51 AM=>Info:- Count 1
10/25/2022 3:55:51 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:55:51 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:55:51 AM=>Info:- Start SenMail Method
10/25/2022 3:55:51 AM=>UseDefaultCredentials
10/25/2022 3:55:51 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:55:51 AM=>EnableSsl = true
10/25/2022 3:55:51 AM=>DeliveryMethod
10/25/2022 3:55:51 AM=>Before Send
10/25/2022 3:57:15 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.88.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/25/2022 3:57:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:57:15 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:57:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:57:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:57:15 AM=>Info:- END Mailing Method
10/25/2022 3:57:15 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:57:15 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:57:15 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:57:15 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:57:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:57:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:57:15 AM=>Info - End of callingService Method
10/25/2022 3:59:15 AM=>Info - Check time Elapsed
10/25/2022 3:59:15 AM=>Info - Call callingService Method
10/25/2022 3:59:15 AM=>Info:- Call Both
10/25/2022 3:59:15 AM=>Info:- Start Executing SMS Method
10/25/2022 3:59:15 AM=>Info:- End Executing SMS Method
10/25/2022 3:59:15 AM=>Info:- Start Mailing Method
10/25/2022 3:59:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:59:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:59:15 AM=>Info:- PendingMail.xml file read to list
10/25/2022 3:59:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:59:15 AM=>Info:- Count = 1
10/25/2022 3:59:15 AM=>Info:- Count 1
10/25/2022 3:59:15 AM=>Info - Fetching Data From MAIL XML
10/25/2022 3:59:15 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:59:15 AM=>Info:- Start SenMail Method
10/25/2022 3:59:15 AM=>UseDefaultCredentials
10/25/2022 3:59:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:59:15 AM=>EnableSsl = true
10/25/2022 3:59:15 AM=>DeliveryMethod
10/25/2022 3:59:15 AM=>Before Send
10/25/2022 3: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/25/2022 3:59:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:59:15 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:59:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:59:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:59:16 AM=>Info:- END Mailing Method
10/25/2022 3:59:16 AM=>Info:- Start Executing Telegram Method
10/25/2022 3:59:16 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:59:16 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:59:16 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:59:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:59:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:59:16 AM=>Info - End of callingService Method
10/25/2022 4:01:16 AM=>Info - Check time Elapsed
10/25/2022 4:01:16 AM=>Info - Call callingService Method
10/25/2022 4:01:16 AM=>Info:- Call Both
10/25/2022 4:01:16 AM=>Info:- Start Executing SMS Method
10/25/2022 4:01:16 AM=>Info:- End Executing SMS Method
10/25/2022 4:01:16 AM=>Info:- Start Mailing Method
10/25/2022 4:01:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:01:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:01:16 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:01:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:01:16 AM=>Info:- Count = 1
10/25/2022 4:01:16 AM=>Info:- Count 1
10/25/2022 4:01:16 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:01:16 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:01:16 AM=>Info:- Start SenMail Method
10/25/2022 4:01:16 AM=>UseDefaultCredentials
10/25/2022 4:01:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:01:16 AM=>EnableSsl = true
10/25/2022 4:01:16 AM=>DeliveryMethod
10/25/2022 4:01:16 AM=>Before Send
10/25/2022 4:01: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/25/2022 4:01:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:01:25 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:01:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:01:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:01:25 AM=>Info:- END Mailing Method
10/25/2022 4:01:25 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:01:25 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:01:25 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:01:25 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:01:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:01:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:01:25 AM=>Info - End of callingService Method
10/25/2022 4:03:25 AM=>Info - Check time Elapsed
10/25/2022 4:03:25 AM=>Info - Call callingService Method
10/25/2022 4:03:25 AM=>Info:- Call Both
10/25/2022 4:03:25 AM=>Info:- Start Executing SMS Method
10/25/2022 4:03:25 AM=>Info:- End Executing SMS Method
10/25/2022 4:03:25 AM=>Info:- Start Mailing Method
10/25/2022 4:03:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:03:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:03:25 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:03:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:03:25 AM=>Info:- Count = 1
10/25/2022 4:03:25 AM=>Info:- Count 1
10/25/2022 4:03:25 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:03:25 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:03:25 AM=>Info:- Start SenMail Method
10/25/2022 4:03:25 AM=>UseDefaultCredentials
10/25/2022 4:03:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:03:25 AM=>EnableSsl = true
10/25/2022 4:03:25 AM=>DeliveryMethod
10/25/2022 4:03:25 AM=>Before Send
10/25/2022 4:04: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.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/25/2022 4:04:49 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:04:49 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:04:49 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:04:49 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:04:50 AM=>Info:- END Mailing Method
10/25/2022 4:04:50 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:04:50 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:04:50 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:04:50 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:04:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:04:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:04:50 AM=>Info - End of callingService Method
10/25/2022 4:06:50 AM=>Info - Check time Elapsed
10/25/2022 4:06:50 AM=>Info - Call callingService Method
10/25/2022 4:06:50 AM=>Info:- Call Both
10/25/2022 4:06:50 AM=>Info:- Start Executing SMS Method
10/25/2022 4:06:50 AM=>Info:- End Executing SMS Method
10/25/2022 4:06:50 AM=>Info:- Start Mailing Method
10/25/2022 4:06:50 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:06:50 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:06:50 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:06:50 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:06:50 AM=>Info:- Count = 1
10/25/2022 4:06:50 AM=>Info:- Count 1
10/25/2022 4:06:50 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:06:50 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:06:50 AM=>Info:- Start SenMail Method
10/25/2022 4:06:50 AM=>UseDefaultCredentials
10/25/2022 4:06:50 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:06:50 AM=>EnableSsl = true
10/25/2022 4:06:50 AM=>DeliveryMethod
10/25/2022 4:06:50 AM=>Before Send
10/25/2022 4: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/25/2022 4:07:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:07:53 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:07:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:07:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:07:53 AM=>Info:- END Mailing Method
10/25/2022 4:07:53 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:07:53 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:07:53 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:07:53 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:07:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:07:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:07:53 AM=>Info - End of callingService Method
10/25/2022 4:09:53 AM=>Info - Check time Elapsed
10/25/2022 4:09:53 AM=>Info - Call callingService Method
10/25/2022 4:09:53 AM=>Info:- Call Both
10/25/2022 4:09:53 AM=>Info:- Start Executing SMS Method
10/25/2022 4:09:53 AM=>Info:- End Executing SMS Method
10/25/2022 4:09:53 AM=>Info:- Start Mailing Method
10/25/2022 4:09:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:09:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:09:53 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:09:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:09:53 AM=>Info:- Count = 1
10/25/2022 4:09:53 AM=>Info:- Count 1
10/25/2022 4:09:54 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:09:54 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:09:54 AM=>Info:- Start SenMail Method
10/25/2022 4:09:54 AM=>UseDefaultCredentials
10/25/2022 4:09:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:09:54 AM=>EnableSsl = true
10/25/2022 4:09:54 AM=>DeliveryMethod
10/25/2022 4:09:54 AM=>Before Send
10/25/2022 4:10: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/25/2022 4:10:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:10:03 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:10:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:10:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:10:03 AM=>Info:- END Mailing Method
10/25/2022 4:10:03 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:10:03 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:10:03 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:10:03 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:10:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:10:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:10:03 AM=>Info - End of callingService Method
10/25/2022 4:12:03 AM=>Info - Check time Elapsed
10/25/2022 4:12:03 AM=>Info - Call callingService Method
10/25/2022 4:12:03 AM=>Info:- Call Both
10/25/2022 4:12:03 AM=>Info:- Start Executing SMS Method
10/25/2022 4:12:03 AM=>Info:- End Executing SMS Method
10/25/2022 4:12:03 AM=>Info:- Start Mailing Method
10/25/2022 4:12:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:12:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:12:03 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:12:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:12:03 AM=>Info:- Count = 1
10/25/2022 4:12:03 AM=>Info:- Count 1
10/25/2022 4:12:03 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:12:03 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:12:03 AM=>Info:- Start SenMail Method
10/25/2022 4:12:03 AM=>UseDefaultCredentials
10/25/2022 4:12:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:12:03 AM=>EnableSsl = true
10/25/2022 4:12:03 AM=>DeliveryMethod
10/25/2022 4:12:03 AM=>Before Send
10/25/2022 4:13:27 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 4:13:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:13:27 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:13:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:13:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:13:27 AM=>Info:- END Mailing Method
10/25/2022 4:13:27 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:13:27 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:13:27 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:13:27 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:13:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:13:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:13:27 AM=>Info - End of callingService Method
10/25/2022 4:15:27 AM=>Info - Check time Elapsed
10/25/2022 4:15:27 AM=>Info - Call callingService Method
10/25/2022 4:15:27 AM=>Info:- Call Both
10/25/2022 4:15:27 AM=>Info:- Start Executing SMS Method
10/25/2022 4:15:27 AM=>Info:- End Executing SMS Method
10/25/2022 4:15:27 AM=>Info:- Start Mailing Method
10/25/2022 4:15:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:15:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:15:27 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:15:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:15:27 AM=>Info:- Count = 1
10/25/2022 4:15:27 AM=>Info:- Count 1
10/25/2022 4:15:27 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:15:27 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:15:27 AM=>Info:- Start SenMail Method
10/25/2022 4:15:27 AM=>UseDefaultCredentials
10/25/2022 4:15:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:15:27 AM=>EnableSsl = true
10/25/2022 4:15:27 AM=>DeliveryMethod
10/25/2022 4:15:27 AM=>Before Send
10/25/2022 4:16:52 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.88.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/25/2022 4:16:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:16:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:16:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:16:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:16:52 AM=>Info:- END Mailing Method
10/25/2022 4:16:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:16:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:16:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:16:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:16:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:16:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:16:52 AM=>Info - End of callingService Method
10/25/2022 4:18:52 AM=>Info - Check time Elapsed
10/25/2022 4:18:52 AM=>Info - Call callingService Method
10/25/2022 4:18:52 AM=>Info:- Call Both
10/25/2022 4:18:52 AM=>Info:- Start Executing SMS Method
10/25/2022 4:18:52 AM=>Info:- End Executing SMS Method
10/25/2022 4:18:52 AM=>Info:- Start Mailing Method
10/25/2022 4:18:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:18:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:18:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:18:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:18:52 AM=>Info:- Count = 1
10/25/2022 4:18:52 AM=>Info:- Count 1
10/25/2022 4:18:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:18:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:18:52 AM=>Info:- Start SenMail Method
10/25/2022 4:18:52 AM=>UseDefaultCredentials
10/25/2022 4:18:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:18:52 AM=>EnableSsl = true
10/25/2022 4:18:52 AM=>DeliveryMethod
10/25/2022 4:18:52 AM=>Before Send
10/25/2022 4:18: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/25/2022 4:18:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:18:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:18:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:18:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:18:52 AM=>Info:- END Mailing Method
10/25/2022 4:18:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:18:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:18:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:18:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:18:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:18:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:18:52 AM=>Info - End of callingService Method
10/25/2022 4:20:52 AM=>Info - Check time Elapsed
10/25/2022 4:20:52 AM=>Info - Call callingService Method
10/25/2022 4:20:52 AM=>Info:- Call Both
10/25/2022 4:20:52 AM=>Info:- Start Executing SMS Method
10/25/2022 4:20:52 AM=>Info:- End Executing SMS Method
10/25/2022 4:20:52 AM=>Info:- Start Mailing Method
10/25/2022 4:20:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:20:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:20:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:20:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:20:52 AM=>Info:- Count = 1
10/25/2022 4:20:52 AM=>Info:- Count 1
10/25/2022 4:20:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:20:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:20:52 AM=>Info:- Start SenMail Method
10/25/2022 4:20:52 AM=>UseDefaultCredentials
10/25/2022 4:20:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:20:52 AM=>EnableSsl = true
10/25/2022 4:20:52 AM=>DeliveryMethod
10/25/2022 4:20:52 AM=>Before Send
10/25/2022 4:22: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.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/25/2022 4:22:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:22:16 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:22:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:22:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:22:17 AM=>Info:- END Mailing Method
10/25/2022 4:22:17 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:22:17 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:22:17 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:22:17 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:22:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:22:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:22:17 AM=>Info - End of callingService Method
10/25/2022 4:24:17 AM=>Info - Check time Elapsed
10/25/2022 4:24:17 AM=>Info - Call callingService Method
10/25/2022 4:24:17 AM=>Info:- Call Both
10/25/2022 4:24:17 AM=>Info:- Start Executing SMS Method
10/25/2022 4:24:17 AM=>Info:- End Executing SMS Method
10/25/2022 4:24:17 AM=>Info:- Start Mailing Method
10/25/2022 4:24:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:24:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:24:17 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:24:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:24:17 AM=>Info:- Count = 1
10/25/2022 4:24:17 AM=>Info:- Count 1
10/25/2022 4:24:17 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:24:17 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:24:17 AM=>Info:- Start SenMail Method
10/25/2022 4:24:17 AM=>UseDefaultCredentials
10/25/2022 4:24:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:24:17 AM=>EnableSsl = true
10/25/2022 4:24:17 AM=>DeliveryMethod
10/25/2022 4:24:17 AM=>Before Send
10/25/2022 4:24: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/25/2022 4:24:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:24:17 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:24:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:24:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:24:17 AM=>Info:- END Mailing Method
10/25/2022 4:24:17 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:24:17 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:24:17 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:24:17 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:24:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:24:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:24:17 AM=>Info - End of callingService Method
10/25/2022 4:26:17 AM=>Info - Check time Elapsed
10/25/2022 4:26:17 AM=>Info - Call callingService Method
10/25/2022 4:26:17 AM=>Info:- Call Both
10/25/2022 4:26:17 AM=>Info:- Start Executing SMS Method
10/25/2022 4:26:17 AM=>Info:- End Executing SMS Method
10/25/2022 4:26:17 AM=>Info:- Start Mailing Method
10/25/2022 4:26:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:26:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:26:17 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:26:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:26:17 AM=>Info:- Count = 1
10/25/2022 4:26:17 AM=>Info:- Count 1
10/25/2022 4:26:17 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:26:17 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:26:17 AM=>Info:- Start SenMail Method
10/25/2022 4:26:17 AM=>UseDefaultCredentials
10/25/2022 4:26:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:26:17 AM=>EnableSsl = true
10/25/2022 4:26:17 AM=>DeliveryMethod
10/25/2022 4:26:17 AM=>Before Send
10/25/2022 4:27: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.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/25/2022 4:27:41 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:27:41 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:27:41 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:27:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:27:42 AM=>Info:- END Mailing Method
10/25/2022 4:27:42 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:27:42 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:27:42 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:27:42 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:27:42 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:27:42 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:27:42 AM=>Info - End of callingService Method
10/25/2022 4:29:42 AM=>Info - Check time Elapsed
10/25/2022 4:29:42 AM=>Info - Call callingService Method
10/25/2022 4:29:42 AM=>Info:- Call Both
10/25/2022 4:29:42 AM=>Info:- Start Executing SMS Method
10/25/2022 4:29:42 AM=>Info:- End Executing SMS Method
10/25/2022 4:29:42 AM=>Info:- Start Mailing Method
10/25/2022 4:29:42 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:29:42 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:29:42 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:29:42 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:29:42 AM=>Info:- Count = 1
10/25/2022 4:29:42 AM=>Info:- Count 1
10/25/2022 4:29:42 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:29:42 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:29:42 AM=>Info:- Start SenMail Method
10/25/2022 4:29:42 AM=>UseDefaultCredentials
10/25/2022 4:29:42 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:29:42 AM=>EnableSsl = true
10/25/2022 4:29:42 AM=>DeliveryMethod
10/25/2022 4:29:42 AM=>Before Send
10/25/2022 4:31: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 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/25/2022 4:31:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:31:06 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:31:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:31:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:31:06 AM=>Info:- END Mailing Method
10/25/2022 4:31:06 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:31:06 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:31:06 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:31:06 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:31:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:31:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:31:06 AM=>Info - End of callingService Method
10/25/2022 4:33:06 AM=>Info - Check time Elapsed
10/25/2022 4:33:06 AM=>Info - Call callingService Method
10/25/2022 4:33:06 AM=>Info:- Call Both
10/25/2022 4:33:06 AM=>Info:- Start Executing SMS Method
10/25/2022 4:33:06 AM=>Info:- End Executing SMS Method
10/25/2022 4:33:06 AM=>Info:- Start Mailing Method
10/25/2022 4:33:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:33:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:33:06 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:33:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:33:06 AM=>Info:- Count = 1
10/25/2022 4:33:06 AM=>Info:- Count 1
10/25/2022 4:33:06 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:33:06 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:33:06 AM=>Info:- Start SenMail Method
10/25/2022 4:33:06 AM=>UseDefaultCredentials
10/25/2022 4:33:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:33:06 AM=>EnableSsl = true
10/25/2022 4:33:06 AM=>DeliveryMethod
10/25/2022 4:33:06 AM=>Before Send
10/25/2022 4:33: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/25/2022 4:33:06 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:33:06 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:33:06 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:33:06 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:33:06 AM=>Info:- END Mailing Method
10/25/2022 4:33:06 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:33:06 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:33:06 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:33:06 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:33:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:33:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:33:06 AM=>Info - End of callingService Method
10/25/2022 4:35:06 AM=>Info - Check time Elapsed
10/25/2022 4:35:06 AM=>Info - Call callingService Method
10/25/2022 4:35:07 AM=>Info:- Call Both
10/25/2022 4:35:07 AM=>Info:- Start Executing SMS Method
10/25/2022 4:35:07 AM=>Info:- End Executing SMS Method
10/25/2022 4:35:07 AM=>Info:- Start Mailing Method
10/25/2022 4:35:07 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:35:07 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:35:07 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:35:07 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:35:07 AM=>Info:- Count = 1
10/25/2022 4:35:07 AM=>Info:- Count 1
10/25/2022 4:35:07 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:35:07 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:35:07 AM=>Info:- Start SenMail Method
10/25/2022 4:35:07 AM=>UseDefaultCredentials
10/25/2022 4:35:07 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:35:07 AM=>EnableSsl = true
10/25/2022 4:35:07 AM=>DeliveryMethod
10/25/2022 4:35:07 AM=>Before Send
10/25/2022 4:36: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.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/25/2022 4:36:31 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:36:31 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:36:31 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:36:31 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:36:31 AM=>Info:- END Mailing Method
10/25/2022 4:36:31 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:36:31 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:36:31 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:36:31 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:36:31 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:36:31 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:36:31 AM=>Info - End of callingService Method
10/25/2022 4:38:31 AM=>Info - Check time Elapsed
10/25/2022 4:38:31 AM=>Info - Call callingService Method
10/25/2022 4:38:31 AM=>Info:- Call Both
10/25/2022 4:38:31 AM=>Info:- Start Executing SMS Method
10/25/2022 4:38:31 AM=>Info:- End Executing SMS Method
10/25/2022 4:38:31 AM=>Info:- Start Mailing Method
10/25/2022 4:38:31 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:38:31 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:38:31 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:38:31 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:38:31 AM=>Info:- Count = 1
10/25/2022 4:38:31 AM=>Info:- Count 1
10/25/2022 4:38:31 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:38:31 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:38:31 AM=>Info:- Start SenMail Method
10/25/2022 4:38:31 AM=>UseDefaultCredentials
10/25/2022 4:38:31 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:38:31 AM=>EnableSsl = true
10/25/2022 4:38:31 AM=>DeliveryMethod
10/25/2022 4:38:31 AM=>Before Send
10/25/2022 4:38: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/25/2022 4:38:31 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:38:31 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:38:31 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:38:31 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:38:31 AM=>Info:- END Mailing Method
10/25/2022 4:38:31 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:38:31 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:38:31 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:38:31 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:38:31 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:38:31 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:38:31 AM=>Info - End of callingService Method
10/25/2022 4:40:31 AM=>Info - Check time Elapsed
10/25/2022 4:40:31 AM=>Info - Call callingService Method
10/25/2022 4:40:31 AM=>Info:- Call Both
10/25/2022 4:40:31 AM=>Info:- Start Executing SMS Method
10/25/2022 4:40:31 AM=>Info:- End Executing SMS Method
10/25/2022 4:40:31 AM=>Info:- Start Mailing Method
10/25/2022 4:40:31 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:40:31 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:40:31 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:40:31 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:40:31 AM=>Info:- Count = 1
10/25/2022 4:40:31 AM=>Info:- Count 1
10/25/2022 4:40:31 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:40:31 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:40:31 AM=>Info:- Start SenMail Method
10/25/2022 4:40:31 AM=>UseDefaultCredentials
10/25/2022 4:40:31 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:40:31 AM=>EnableSsl = true
10/25/2022 4:40:31 AM=>DeliveryMethod
10/25/2022 4:40:31 AM=>Before Send
10/25/2022 4:41: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/25/2022 4:41:35 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:41:35 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:41:35 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:41:35 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:41:35 AM=>Info:- END Mailing Method
10/25/2022 4:41:35 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:41:35 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:41:35 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:41:35 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:41:35 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:41:35 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:41:35 AM=>Info - End of callingService Method
10/25/2022 4:43:35 AM=>Info - Check time Elapsed
10/25/2022 4:43:35 AM=>Info - Call callingService Method
10/25/2022 4:43:35 AM=>Info:- Call Both
10/25/2022 4:43:35 AM=>Info:- Start Executing SMS Method
10/25/2022 4:43:35 AM=>Info:- End Executing SMS Method
10/25/2022 4:43:35 AM=>Info:- Start Mailing Method
10/25/2022 4:43:35 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:43:35 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:43:35 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:43:35 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:43:35 AM=>Info:- Count = 1
10/25/2022 4:43:35 AM=>Info:- Count 1
10/25/2022 4:43:35 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:43:35 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:43:35 AM=>Info:- Start SenMail Method
10/25/2022 4:43:35 AM=>UseDefaultCredentials
10/25/2022 4:43:35 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:43:35 AM=>EnableSsl = true
10/25/2022 4:43:35 AM=>DeliveryMethod
10/25/2022 4:43:35 AM=>Before Send
10/25/2022 4:44: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.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/25/2022 4:44:59 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:44:59 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:44:59 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:44:59 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:44:59 AM=>Info:- END Mailing Method
10/25/2022 4:44:59 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:44:59 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:44:59 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:44:59 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:44:59 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:44:59 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:44:59 AM=>Info - End of callingService Method
10/25/2022 4:46:59 AM=>Info - Check time Elapsed
10/25/2022 4:46:59 AM=>Info - Call callingService Method
10/25/2022 4:46:59 AM=>Info:- Call Both
10/25/2022 4:46:59 AM=>Info:- Start Executing SMS Method
10/25/2022 4:46:59 AM=>Info:- End Executing SMS Method
10/25/2022 4:46:59 AM=>Info:- Start Mailing Method
10/25/2022 4:46:59 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:46:59 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:46:59 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:46:59 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:46:59 AM=>Info:- Count = 1
10/25/2022 4:46:59 AM=>Info:- Count 1
10/25/2022 4:46:59 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:46:59 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:46:59 AM=>Info:- Start SenMail Method
10/25/2022 4:46:59 AM=>UseDefaultCredentials
10/25/2022 4:46:59 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:46:59 AM=>EnableSsl = true
10/25/2022 4:46:59 AM=>DeliveryMethod
10/25/2022 4:46:59 AM=>Before Send
10/25/2022 4:48:23 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.35.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/25/2022 4:48:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:48:23 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:48:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:48:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:48:24 AM=>Info:- END Mailing Method
10/25/2022 4:48:24 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:48:24 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:48:24 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:48:24 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:48:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:48:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:48:24 AM=>Info - End of callingService Method
10/25/2022 4:50:24 AM=>Info - Check time Elapsed
10/25/2022 4:50:24 AM=>Info - Call callingService Method
10/25/2022 4:50:24 AM=>Info:- Call Both
10/25/2022 4:50:24 AM=>Info:- Start Executing SMS Method
10/25/2022 4:50:24 AM=>Info:- End Executing SMS Method
10/25/2022 4:50:24 AM=>Info:- Start Mailing Method
10/25/2022 4:50:24 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:50:24 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:50:24 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:50:24 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:50:24 AM=>Info:- Count = 1
10/25/2022 4:50:24 AM=>Info:- Count 1
10/25/2022 4:50:24 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:50:24 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:50:24 AM=>Info:- Start SenMail Method
10/25/2022 4:50:24 AM=>UseDefaultCredentials
10/25/2022 4:50:24 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:50:24 AM=>EnableSsl = true
10/25/2022 4:50:24 AM=>DeliveryMethod
10/25/2022 4:50:24 AM=>Before Send
10/25/2022 4:51: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 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/25/2022 4:51:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:51:48 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:51:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:51:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:51:48 AM=>Info:- END Mailing Method
10/25/2022 4:51:48 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:51:48 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:51:48 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:51:48 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:51:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:51:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:51:48 AM=>Info - End of callingService Method
10/25/2022 4:53:48 AM=>Info - Check time Elapsed
10/25/2022 4:53:48 AM=>Info - Call callingService Method
10/25/2022 4:53:48 AM=>Info:- Call Both
10/25/2022 4:53:48 AM=>Info:- Start Executing SMS Method
10/25/2022 4:53:48 AM=>Info:- End Executing SMS Method
10/25/2022 4:53:48 AM=>Info:- Start Mailing Method
10/25/2022 4:53:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:53:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:53:48 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:53:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:53:48 AM=>Info:- Count = 1
10/25/2022 4:53:48 AM=>Info:- Count 1
10/25/2022 4:53:48 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:53:48 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:53:48 AM=>Info:- Start SenMail Method
10/25/2022 4:53:48 AM=>UseDefaultCredentials
10/25/2022 4:53:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:53:48 AM=>EnableSsl = true
10/25/2022 4:53:48 AM=>DeliveryMethod
10/25/2022 4:53:48 AM=>Before Send
10/25/2022 4:53:57 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 4:53:57 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:53:57 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:53:57 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:53:57 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:53:58 AM=>Info:- END Mailing Method
10/25/2022 4:53:58 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:53:58 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:53:58 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:53:58 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:53:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:53:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:53:58 AM=>Info - End of callingService Method
10/25/2022 4:55:58 AM=>Info - Check time Elapsed
10/25/2022 4:55:58 AM=>Info - Call callingService Method
10/25/2022 4:55:58 AM=>Info:- Call Both
10/25/2022 4:55:58 AM=>Info:- Start Executing SMS Method
10/25/2022 4:55:58 AM=>Info:- End Executing SMS Method
10/25/2022 4:55:58 AM=>Info:- Start Mailing Method
10/25/2022 4:55:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:55:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:55:58 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:55:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:55:58 AM=>Info:- Count = 1
10/25/2022 4:55:58 AM=>Info:- Count 1
10/25/2022 4:55:58 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:55:58 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:55:58 AM=>Info:- Start SenMail Method
10/25/2022 4:55:58 AM=>UseDefaultCredentials
10/25/2022 4:55:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:55:58 AM=>EnableSsl = true
10/25/2022 4:55:58 AM=>DeliveryMethod
10/25/2022 4:55:58 AM=>Before Send
10/25/2022 4:56: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/25/2022 4:56:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:56:01 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:56:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:56:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:56:01 AM=>Info:- END Mailing Method
10/25/2022 4:56:01 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:56:01 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:56:01 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:56:01 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:56:01 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:56:01 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:56:01 AM=>Info - End of callingService Method
10/25/2022 4:58:01 AM=>Info - Check time Elapsed
10/25/2022 4:58:01 AM=>Info - Call callingService Method
10/25/2022 4:58:01 AM=>Info:- Call Both
10/25/2022 4:58:01 AM=>Info:- Start Executing SMS Method
10/25/2022 4:58:01 AM=>Info:- End Executing SMS Method
10/25/2022 4:58:01 AM=>Info:- Start Mailing Method
10/25/2022 4:58:01 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:58:01 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:58:01 AM=>Info:- PendingMail.xml file read to list
10/25/2022 4:58:01 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:58:01 AM=>Info:- Count = 1
10/25/2022 4:58:01 AM=>Info:- Count 1
10/25/2022 4:58:01 AM=>Info - Fetching Data From MAIL XML
10/25/2022 4:58:01 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:58:01 AM=>Info:- Start SenMail Method
10/25/2022 4:58:01 AM=>UseDefaultCredentials
10/25/2022 4:58:01 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:58:01 AM=>EnableSsl = true
10/25/2022 4:58:01 AM=>DeliveryMethod
10/25/2022 4:58:01 AM=>Before Send
10/25/2022 4:58: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/25/2022 4:58:22 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:58:22 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:58:22 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:58:22 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:58:23 AM=>Info:- END Mailing Method
10/25/2022 4:58:23 AM=>Info:- Start Executing Telegram Method
10/25/2022 4:58:23 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:58:23 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:58:23 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:58:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:58:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:58:23 AM=>Info - End of callingService Method
10/25/2022 5:00:23 AM=>Info - Check time Elapsed
10/25/2022 5:00:23 AM=>Info - Call callingService Method
10/25/2022 5:00:23 AM=>Info:- Call Both
10/25/2022 5:00:23 AM=>Info:- Start Executing SMS Method
10/25/2022 5:00:23 AM=>Info:- End Executing SMS Method
10/25/2022 5:00:23 AM=>Info:- Start Mailing Method
10/25/2022 5:00:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:00:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:00:23 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:00:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:00:23 AM=>Info:- Count = 1
10/25/2022 5:00:23 AM=>Info:- Count 1
10/25/2022 5:00:23 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:00:23 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:00:23 AM=>Info:- Start SenMail Method
10/25/2022 5:00:23 AM=>UseDefaultCredentials
10/25/2022 5:00:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:00:23 AM=>EnableSsl = true
10/25/2022 5:00:23 AM=>DeliveryMethod
10/25/2022 5:00:23 AM=>Before Send
10/25/2022 5:00: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/25/2022 5:00:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:00:23 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:00:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:00:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:00:23 AM=>Info:- END Mailing Method
10/25/2022 5:00:23 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:00:23 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:00:23 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:00:23 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:00:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:00:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:00:23 AM=>Info - End of callingService Method
10/25/2022 5:02:23 AM=>Info - Check time Elapsed
10/25/2022 5:02:23 AM=>Info - Call callingService Method
10/25/2022 5:02:23 AM=>Info:- Call Both
10/25/2022 5:02:23 AM=>Info:- Start Executing SMS Method
10/25/2022 5:02:23 AM=>Info:- End Executing SMS Method
10/25/2022 5:02:23 AM=>Info:- Start Mailing Method
10/25/2022 5:02:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:02:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:02:23 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:02:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:02:23 AM=>Info:- Count = 1
10/25/2022 5:02:23 AM=>Info:- Count 1
10/25/2022 5:02:23 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:02:23 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:02:23 AM=>Info:- Start SenMail Method
10/25/2022 5:02:23 AM=>UseDefaultCredentials
10/25/2022 5:02:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:02:23 AM=>EnableSsl = true
10/25/2022 5:02:23 AM=>DeliveryMethod
10/25/2022 5:02:23 AM=>Before Send
10/25/2022 5:02: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/25/2022 5:02:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:02:26 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:02:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:02:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:02:27 AM=>Info:- END Mailing Method
10/25/2022 5:02:27 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:02:27 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:02:27 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:02:27 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:02:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:02:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:02:27 AM=>Info - End of callingService Method
10/25/2022 5:04:27 AM=>Info - Check time Elapsed
10/25/2022 5:04:27 AM=>Info - Call callingService Method
10/25/2022 5:04:27 AM=>Info:- Call Both
10/25/2022 5:04:27 AM=>Info:- Start Executing SMS Method
10/25/2022 5:04:27 AM=>Info:- End Executing SMS Method
10/25/2022 5:04:27 AM=>Info:- Start Mailing Method
10/25/2022 5:04:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:04:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:04:27 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:04:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:04:27 AM=>Info:- Count = 1
10/25/2022 5:04:27 AM=>Info:- Count 1
10/25/2022 5:04:27 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:04:27 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:04:27 AM=>Info:- Start SenMail Method
10/25/2022 5:04:27 AM=>UseDefaultCredentials
10/25/2022 5:04:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:04:27 AM=>EnableSsl = true
10/25/2022 5:04:27 AM=>DeliveryMethod
10/25/2022 5:04:27 AM=>Before Send
10/25/2022 5:04:27 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 5:04:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:04:27 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:04:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:04:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:04:27 AM=>Info:- END Mailing Method
10/25/2022 5:04:27 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:04:27 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:04:27 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:04:27 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:04:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:04:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:04:27 AM=>Info - End of callingService Method
10/25/2022 5:06:27 AM=>Info - Check time Elapsed
10/25/2022 5:06:27 AM=>Info - Call callingService Method
10/25/2022 5:06:27 AM=>Info:- Call Both
10/25/2022 5:06:27 AM=>Info:- Start Executing SMS Method
10/25/2022 5:06:27 AM=>Info:- End Executing SMS Method
10/25/2022 5:06:27 AM=>Info:- Start Mailing Method
10/25/2022 5:06:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:06:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:06:27 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:06:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:06:27 AM=>Info:- Count = 1
10/25/2022 5:06:27 AM=>Info:- Count 1
10/25/2022 5:06:27 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:06:27 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:06:27 AM=>Info:- Start SenMail Method
10/25/2022 5:06:27 AM=>UseDefaultCredentials
10/25/2022 5:06:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:06:27 AM=>EnableSsl = true
10/25/2022 5:06:27 AM=>DeliveryMethod
10/25/2022 5:06:27 AM=>Before Send
10/25/2022 5: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/25/2022 5:06:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:06:48 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:06:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:06:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:06:48 AM=>Info:- END Mailing Method
10/25/2022 5:06:48 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:06:48 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:06:48 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:06:48 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:06:48 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:06:48 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:06:48 AM=>Info - End of callingService Method
10/25/2022 5:08:48 AM=>Info - Check time Elapsed
10/25/2022 5:08:48 AM=>Info - Call callingService Method
10/25/2022 5:08:48 AM=>Info:- Call Both
10/25/2022 5:08:48 AM=>Info:- Start Executing SMS Method
10/25/2022 5:08:48 AM=>Info:- End Executing SMS Method
10/25/2022 5:08:48 AM=>Info:- Start Mailing Method
10/25/2022 5:08:48 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:08:48 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:08:48 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:08:48 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:08:48 AM=>Info:- Count = 1
10/25/2022 5:08:48 AM=>Info:- Count 1
10/25/2022 5:08:48 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:08:48 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:08:48 AM=>Info:- Start SenMail Method
10/25/2022 5:08:48 AM=>UseDefaultCredentials
10/25/2022 5:08:48 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:08:48 AM=>EnableSsl = true
10/25/2022 5:08:48 AM=>DeliveryMethod
10/25/2022 5:08:48 AM=>Before Send
10/25/2022 5:10: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.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/25/2022 5:10:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:10:13 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:10:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:10:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:10:13 AM=>Info:- END Mailing Method
10/25/2022 5:10:13 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:10:13 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:10:13 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:10:13 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:10:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:10:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:10:13 AM=>Info - End of callingService Method
10/25/2022 5:12:13 AM=>Info - Check time Elapsed
10/25/2022 5:12:13 AM=>Info - Call callingService Method
10/25/2022 5:12:13 AM=>Info:- Call Both
10/25/2022 5:12:13 AM=>Info:- Start Executing SMS Method
10/25/2022 5:12:13 AM=>Info:- End Executing SMS Method
10/25/2022 5:12:13 AM=>Info:- Start Mailing Method
10/25/2022 5:12:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:12:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:12:13 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:12:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:12:13 AM=>Info:- Count = 1
10/25/2022 5:12:13 AM=>Info:- Count 1
10/25/2022 5:12:13 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:12:13 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:12:13 AM=>Info:- Start SenMail Method
10/25/2022 5:12:13 AM=>UseDefaultCredentials
10/25/2022 5:12:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:12:13 AM=>EnableSsl = true
10/25/2022 5:12:13 AM=>DeliveryMethod
10/25/2022 5:12:13 AM=>Before Send
10/25/2022 5:13:37 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.33.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 5:13:37 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:13:37 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:13:37 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:13:37 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:13:37 AM=>Info:- END Mailing Method
10/25/2022 5:13:37 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:13:37 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:13:37 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:13:37 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:13:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:13:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:13:37 AM=>Info - End of callingService Method
10/25/2022 5:15:37 AM=>Info - Check time Elapsed
10/25/2022 5:15:37 AM=>Info - Call callingService Method
10/25/2022 5:15:38 AM=>Info:- Call Both
10/25/2022 5:15:38 AM=>Info:- Start Executing SMS Method
10/25/2022 5:15:38 AM=>Info:- End Executing SMS Method
10/25/2022 5:15:38 AM=>Info:- Start Mailing Method
10/25/2022 5:15:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:15:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:15:38 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:15:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:15:38 AM=>Info:- Count = 1
10/25/2022 5:15:38 AM=>Info:- Count 1
10/25/2022 5:15:38 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:15:38 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:15:38 AM=>Info:- Start SenMail Method
10/25/2022 5:15:38 AM=>UseDefaultCredentials
10/25/2022 5:15:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:15:38 AM=>EnableSsl = true
10/25/2022 5:15:38 AM=>DeliveryMethod
10/25/2022 5:15:38 AM=>Before Send
10/25/2022 5:15: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/25/2022 5:15:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:15:47 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:15:47 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:15:47 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:15:47 AM=>Info:- END Mailing Method
10/25/2022 5:15:47 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:15:47 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:15:47 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:15:47 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:15:47 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:15:47 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:15:47 AM=>Info - End of callingService Method
10/25/2022 5:17:47 AM=>Info - Check time Elapsed
10/25/2022 5:17:47 AM=>Info - Call callingService Method
10/25/2022 5:17:47 AM=>Info:- Call Both
10/25/2022 5:17:47 AM=>Info:- Start Executing SMS Method
10/25/2022 5:17:47 AM=>Info:- End Executing SMS Method
10/25/2022 5:17:47 AM=>Info:- Start Mailing Method
10/25/2022 5:17:47 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:17:47 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:17:47 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:17:47 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:17:47 AM=>Info:- Count = 1
10/25/2022 5:17:47 AM=>Info:- Count 1
10/25/2022 5:17:47 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:17:47 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:17:47 AM=>Info:- Start SenMail Method
10/25/2022 5:17:47 AM=>UseDefaultCredentials
10/25/2022 5:17:47 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:17:47 AM=>EnableSsl = true
10/25/2022 5:17:47 AM=>DeliveryMethod
10/25/2022 5:17:47 AM=>Before Send
10/25/2022 5:17: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/25/2022 5:17:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:17:50 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:17:50 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:17:50 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:17:50 AM=>Info:- END Mailing Method
10/25/2022 5:17:50 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:17:50 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:17:50 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:17:50 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:17:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:17:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:17:50 AM=>Info - End of callingService Method
10/25/2022 5:19:50 AM=>Info - Check time Elapsed
10/25/2022 5:19:50 AM=>Info - Call callingService Method
10/25/2022 5:19:50 AM=>Info:- Call Both
10/25/2022 5:19:50 AM=>Info:- Start Executing SMS Method
10/25/2022 5:19:50 AM=>Info:- End Executing SMS Method
10/25/2022 5:19:50 AM=>Info:- Start Mailing Method
10/25/2022 5:19:50 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:19:50 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:19:50 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:19:50 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:19:50 AM=>Info:- Count = 1
10/25/2022 5:19:50 AM=>Info:- Count 1
10/25/2022 5:19:50 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:19:50 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:19:50 AM=>Info:- Start SenMail Method
10/25/2022 5:19:50 AM=>UseDefaultCredentials
10/25/2022 5:19:50 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:19:50 AM=>EnableSsl = true
10/25/2022 5:19:50 AM=>DeliveryMethod
10/25/2022 5:19:50 AM=>Before Send
10/25/2022 5:19:59 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 5:19:59 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:19:59 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:19:59 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:19:59 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:20:00 AM=>Info:- END Mailing Method
10/25/2022 5:20:00 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:20:00 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:20:00 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:20:00 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:20:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:20:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:20:00 AM=>Info - End of callingService Method
10/25/2022 5:22:00 AM=>Info - Check time Elapsed
10/25/2022 5:22:00 AM=>Info - Call callingService Method
10/25/2022 5:22:00 AM=>Info:- Call Both
10/25/2022 5:22:00 AM=>Info:- Start Executing SMS Method
10/25/2022 5:22:00 AM=>Info:- End Executing SMS Method
10/25/2022 5:22:00 AM=>Info:- Start Mailing Method
10/25/2022 5:22:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:22:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:22:00 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:22:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:22:00 AM=>Info:- Count = 1
10/25/2022 5:22:00 AM=>Info:- Count 1
10/25/2022 5:22:00 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:22:00 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:22:00 AM=>Info:- Start SenMail Method
10/25/2022 5:22:00 AM=>UseDefaultCredentials
10/25/2022 5:22:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:22:00 AM=>EnableSsl = true
10/25/2022 5:22:00 AM=>DeliveryMethod
10/25/2022 5:22:00 AM=>Before Send
10/25/2022 5:23: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.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/25/2022 5:23:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:23:24 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:23:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:23:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:23:24 AM=>Info:- END Mailing Method
10/25/2022 5:23:24 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:23:24 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:23:24 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:23:24 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:23:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:23:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:23:24 AM=>Info - End of callingService Method
10/25/2022 5:25:24 AM=>Info - Check time Elapsed
10/25/2022 5:25:24 AM=>Info - Call callingService Method
10/25/2022 5:25:24 AM=>Info:- Call Both
10/25/2022 5:25:24 AM=>Info:- Start Executing SMS Method
10/25/2022 5:25:24 AM=>Info:- End Executing SMS Method
10/25/2022 5:25:24 AM=>Info:- Start Mailing Method
10/25/2022 5:25:24 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:25:24 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:25:24 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:25:24 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:25:24 AM=>Info:- Count = 1
10/25/2022 5:25:24 AM=>Info:- Count 1
10/25/2022 5:25:24 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:25:24 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:25:24 AM=>Info:- Start SenMail Method
10/25/2022 5:25:24 AM=>UseDefaultCredentials
10/25/2022 5:25:24 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:25:24 AM=>EnableSsl = true
10/25/2022 5:25:24 AM=>DeliveryMethod
10/25/2022 5:25:24 AM=>Before Send
10/25/2022 5:25: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/25/2022 5:25:33 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:25:33 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:25:33 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:25:33 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:25:34 AM=>Info:- END Mailing Method
10/25/2022 5:25:34 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:25:34 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:25:34 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:25:34 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:25:34 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:25:34 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:25:34 AM=>Info - End of callingService Method
10/25/2022 5:27:34 AM=>Info - Check time Elapsed
10/25/2022 5:27:34 AM=>Info - Call callingService Method
10/25/2022 5:27:34 AM=>Info:- Call Both
10/25/2022 5:27:34 AM=>Info:- Start Executing SMS Method
10/25/2022 5:27:34 AM=>Info:- End Executing SMS Method
10/25/2022 5:27:34 AM=>Info:- Start Mailing Method
10/25/2022 5:27:34 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:27:34 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:27:34 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:27:34 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:27:34 AM=>Info:- Count = 1
10/25/2022 5:27:34 AM=>Info:- Count 1
10/25/2022 5:27:34 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:27:34 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:27:34 AM=>Info:- Start SenMail Method
10/25/2022 5:27:34 AM=>UseDefaultCredentials
10/25/2022 5:27:34 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:27:34 AM=>EnableSsl = true
10/25/2022 5:27:34 AM=>DeliveryMethod
10/25/2022 5:27:34 AM=>Before Send
10/25/2022 5:27:37 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 5:27:37 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:27:37 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:27:37 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:27:37 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:27:37 AM=>Info:- END Mailing Method
10/25/2022 5:27:37 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:27:37 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:27:37 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:27:37 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:27:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:27:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:27:37 AM=>Info - End of callingService Method
10/25/2022 5:29:37 AM=>Info - Check time Elapsed
10/25/2022 5:29:37 AM=>Info - Call callingService Method
10/25/2022 5:29:37 AM=>Info:- Call Both
10/25/2022 5:29:37 AM=>Info:- Start Executing SMS Method
10/25/2022 5:29:37 AM=>Info:- End Executing SMS Method
10/25/2022 5:29:37 AM=>Info:- Start Mailing Method
10/25/2022 5:29:37 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:29:37 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:29:37 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:29:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:29:37 AM=>Info:- Count = 1
10/25/2022 5:29:37 AM=>Info:- Count 1
10/25/2022 5:29:37 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:29:37 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:29:37 AM=>Info:- Start SenMail Method
10/25/2022 5:29:37 AM=>UseDefaultCredentials
10/25/2022 5:29:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:29:37 AM=>EnableSsl = true
10/25/2022 5:29:37 AM=>DeliveryMethod
10/25/2022 5:29:37 AM=>Before Send
10/25/2022 5:31: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.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/25/2022 5:31:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:31:01 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:31:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:31:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:31:02 AM=>Info:- END Mailing Method
10/25/2022 5:31:02 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:31:02 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:31:02 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:31:02 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:31:02 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:31:02 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:31:02 AM=>Info - End of callingService Method
10/25/2022 5:33:02 AM=>Info - Check time Elapsed
10/25/2022 5:33:02 AM=>Info - Call callingService Method
10/25/2022 5:33:02 AM=>Info:- Call Both
10/25/2022 5:33:02 AM=>Info:- Start Executing SMS Method
10/25/2022 5:33:02 AM=>Info:- End Executing SMS Method
10/25/2022 5:33:02 AM=>Info:- Start Mailing Method
10/25/2022 5:33:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:33:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:33:02 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:33:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:33:02 AM=>Info:- Count = 1
10/25/2022 5:33:02 AM=>Info:- Count 1
10/25/2022 5:33:02 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:33:02 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:33:02 AM=>Info:- Start SenMail Method
10/25/2022 5:33:02 AM=>UseDefaultCredentials
10/25/2022 5:33:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:33:02 AM=>EnableSsl = true
10/25/2022 5:33:02 AM=>DeliveryMethod
10/25/2022 5:33:02 AM=>Before Send
10/25/2022 5: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/25/2022 5:33:02 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:33:02 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:33:02 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:33:02 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:33:02 AM=>Info:- END Mailing Method
10/25/2022 5:33:02 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:33:02 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:33:02 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:33:02 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:33:02 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:33:02 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:33:02 AM=>Info - End of callingService Method
10/25/2022 5:35:02 AM=>Info - Check time Elapsed
10/25/2022 5:35:02 AM=>Info - Call callingService Method
10/25/2022 5:35:02 AM=>Info:- Call Both
10/25/2022 5:35:02 AM=>Info:- Start Executing SMS Method
10/25/2022 5:35:02 AM=>Info:- End Executing SMS Method
10/25/2022 5:35:02 AM=>Info:- Start Mailing Method
10/25/2022 5:35:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:35:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:35:02 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:35:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:35:02 AM=>Info:- Count = 1
10/25/2022 5:35:02 AM=>Info:- Count 1
10/25/2022 5:35:02 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:35:02 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:35:02 AM=>Info:- Start SenMail Method
10/25/2022 5:35:02 AM=>UseDefaultCredentials
10/25/2022 5:35:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:35:02 AM=>EnableSsl = true
10/25/2022 5:35:02 AM=>DeliveryMethod
10/25/2022 5:35:02 AM=>Before Send
10/25/2022 5:35:05 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 5:35:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:35:05 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:35:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:35:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:35:05 AM=>Info:- END Mailing Method
10/25/2022 5:35:06 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:35:06 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:35:06 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:35:06 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:35:06 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:35:06 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:35:06 AM=>Info - End of callingService Method
10/25/2022 5:37:06 AM=>Info - Check time Elapsed
10/25/2022 5:37:06 AM=>Info - Call callingService Method
10/25/2022 5:37:06 AM=>Info:- Call Both
10/25/2022 5:37:06 AM=>Info:- Start Executing SMS Method
10/25/2022 5:37:06 AM=>Info:- End Executing SMS Method
10/25/2022 5:37:06 AM=>Info:- Start Mailing Method
10/25/2022 5:37:06 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:37:06 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:37:06 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:37:06 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:37:06 AM=>Info:- Count = 1
10/25/2022 5:37:06 AM=>Info:- Count 1
10/25/2022 5:37:06 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:37:06 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:37:06 AM=>Info:- Start SenMail Method
10/25/2022 5:37:06 AM=>UseDefaultCredentials
10/25/2022 5:37:06 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:37:06 AM=>EnableSsl = true
10/25/2022 5:37:06 AM=>DeliveryMethod
10/25/2022 5:37:06 AM=>Before Send
10/25/2022 5:37: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/25/2022 5:37:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:37:15 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:37:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:37:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:37:15 AM=>Info:- END Mailing Method
10/25/2022 5:37:15 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:37:15 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:37:15 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:37:15 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:37:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:37:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:37:15 AM=>Info - End of callingService Method
10/25/2022 5:39:15 AM=>Info - Check time Elapsed
10/25/2022 5:39:15 AM=>Info - Call callingService Method
10/25/2022 5:39:15 AM=>Info:- Call Both
10/25/2022 5:39:15 AM=>Info:- Start Executing SMS Method
10/25/2022 5:39:15 AM=>Info:- End Executing SMS Method
10/25/2022 5:39:15 AM=>Info:- Start Mailing Method
10/25/2022 5:39:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:39:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:39:15 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:39:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:39:15 AM=>Info:- Count = 1
10/25/2022 5:39:15 AM=>Info:- Count 1
10/25/2022 5:39:15 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:39:15 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:39:15 AM=>Info:- Start SenMail Method
10/25/2022 5:39:15 AM=>UseDefaultCredentials
10/25/2022 5:39:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:39:15 AM=>EnableSsl = true
10/25/2022 5:39:15 AM=>DeliveryMethod
10/25/2022 5:39:15 AM=>Before Send
10/25/2022 5:39: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/25/2022 5:39:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:39:15 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:39:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:39:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:39:15 AM=>Info:- END Mailing Method
10/25/2022 5:39:15 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:39:15 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:39:15 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:39:15 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:39:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:39:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:39:15 AM=>Info - End of callingService Method
10/25/2022 5:41:15 AM=>Info - Check time Elapsed
10/25/2022 5:41:15 AM=>Info - Call callingService Method
10/25/2022 5:41:15 AM=>Info:- Call Both
10/25/2022 5:41:15 AM=>Info:- Start Executing SMS Method
10/25/2022 5:41:15 AM=>Info:- End Executing SMS Method
10/25/2022 5:41:15 AM=>Info:- Start Mailing Method
10/25/2022 5:41:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:41:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:41:15 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:41:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:41:15 AM=>Info:- Count = 1
10/25/2022 5:41:15 AM=>Info:- Count 1
10/25/2022 5:41:15 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:41:15 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:41:15 AM=>Info:- Start SenMail Method
10/25/2022 5:41:15 AM=>UseDefaultCredentials
10/25/2022 5:41:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:41:15 AM=>EnableSsl = true
10/25/2022 5:41:15 AM=>DeliveryMethod
10/25/2022 5:41:15 AM=>Before Send
10/25/2022 5:41:18 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 5:41:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:41:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:41:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:41:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:41:19 AM=>Info:- END Mailing Method
10/25/2022 5:41:19 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:41:19 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:41:19 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:41:19 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:41:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:41:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:41:19 AM=>Info - End of callingService Method
10/25/2022 5:43:19 AM=>Info - Check time Elapsed
10/25/2022 5:43:19 AM=>Info - Call callingService Method
10/25/2022 5:43:19 AM=>Info:- Call Both
10/25/2022 5:43:19 AM=>Info:- Start Executing SMS Method
10/25/2022 5:43:19 AM=>Info:- End Executing SMS Method
10/25/2022 5:43:19 AM=>Info:- Start Mailing Method
10/25/2022 5:43:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:43:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:43:19 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:43:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:43:19 AM=>Info:- Count = 1
10/25/2022 5:43:19 AM=>Info:- Count 1
10/25/2022 5:43:19 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:43:19 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:43:19 AM=>Info:- Start SenMail Method
10/25/2022 5:43:19 AM=>UseDefaultCredentials
10/25/2022 5:43:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:43:19 AM=>EnableSsl = true
10/25/2022 5:43:19 AM=>DeliveryMethod
10/25/2022 5:43:19 AM=>Before Send
10/25/2022 5:43: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/25/2022 5:43:19 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:43:19 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:43:19 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:43:19 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:43:19 AM=>Info:- END Mailing Method
10/25/2022 5:43:19 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:43:19 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:43:19 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:43:19 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:43:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:43:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:43:19 AM=>Info - End of callingService Method
10/25/2022 5:45:19 AM=>Info - Check time Elapsed
10/25/2022 5:45:19 AM=>Info - Call callingService Method
10/25/2022 5:45:19 AM=>Info:- Call Both
10/25/2022 5:45:19 AM=>Info:- Start Executing SMS Method
10/25/2022 5:45:19 AM=>Info:- End Executing SMS Method
10/25/2022 5:45:19 AM=>Info:- Start Mailing Method
10/25/2022 5:45:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:45:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:45:19 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:45:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:45:19 AM=>Info:- Count = 1
10/25/2022 5:45:19 AM=>Info:- Count 1
10/25/2022 5:45:19 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:45:19 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:45:19 AM=>Info:- Start SenMail Method
10/25/2022 5:45:19 AM=>UseDefaultCredentials
10/25/2022 5:45:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:45:19 AM=>EnableSsl = true
10/25/2022 5:45:19 AM=>DeliveryMethod
10/25/2022 5:45:19 AM=>Before Send
10/25/2022 5:46:43 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.87.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/25/2022 5:46:43 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:46:43 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:46:43 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:46:43 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:46:44 AM=>Info:- END Mailing Method
10/25/2022 5:46:44 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:46:44 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:46:44 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:46:44 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:46:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:46:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:46:44 AM=>Info - End of callingService Method
10/25/2022 5:48:44 AM=>Info - Check time Elapsed
10/25/2022 5:48:44 AM=>Info - Call callingService Method
10/25/2022 5:48:44 AM=>Info:- Call Both
10/25/2022 5:48:44 AM=>Info:- Start Executing SMS Method
10/25/2022 5:48:44 AM=>Info:- End Executing SMS Method
10/25/2022 5:48:44 AM=>Info:- Start Mailing Method
10/25/2022 5:48:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:48:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:48:44 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:48:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:48:44 AM=>Info:- Count = 1
10/25/2022 5:48:44 AM=>Info:- Count 1
10/25/2022 5:48:44 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:48:44 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:48:44 AM=>Info:- Start SenMail Method
10/25/2022 5:48:44 AM=>UseDefaultCredentials
10/25/2022 5:48:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:48:44 AM=>EnableSsl = true
10/25/2022 5:48:44 AM=>DeliveryMethod
10/25/2022 5:48:44 AM=>Before Send
10/25/2022 5:48: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/25/2022 5:48:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:48:53 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:48:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:48:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:48:53 AM=>Info:- END Mailing Method
10/25/2022 5:48:53 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:48:53 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:48:53 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:48:53 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:48:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:48:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:48:53 AM=>Info - End of callingService Method
10/25/2022 5:50:53 AM=>Info - Check time Elapsed
10/25/2022 5:50:53 AM=>Info - Call callingService Method
10/25/2022 5:50:53 AM=>Info:- Call Both
10/25/2022 5:50:53 AM=>Info:- Start Executing SMS Method
10/25/2022 5:50:53 AM=>Info:- End Executing SMS Method
10/25/2022 5:50:53 AM=>Info:- Start Mailing Method
10/25/2022 5:50:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:50:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:50:53 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:50:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:50:53 AM=>Info:- Count = 1
10/25/2022 5:50:53 AM=>Info:- Count 1
10/25/2022 5:50:53 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:50:53 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:50:53 AM=>Info:- Start SenMail Method
10/25/2022 5:50:53 AM=>UseDefaultCredentials
10/25/2022 5:50:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:50:53 AM=>EnableSsl = true
10/25/2022 5:50:53 AM=>DeliveryMethod
10/25/2022 5:50:53 AM=>Before Send
10/25/2022 5:52: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.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/25/2022 5:52:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:52:17 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:52:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:52:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:52:18 AM=>Info:- END Mailing Method
10/25/2022 5:52:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:52:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:52:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:52:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:52:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:52:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:52:18 AM=>Info - End of callingService Method
10/25/2022 5:54:18 AM=>Info - Check time Elapsed
10/25/2022 5:54:18 AM=>Info - Call callingService Method
10/25/2022 5:54:18 AM=>Info:- Call Both
10/25/2022 5:54:18 AM=>Info:- Start Executing SMS Method
10/25/2022 5:54:18 AM=>Info:- End Executing SMS Method
10/25/2022 5:54:18 AM=>Info:- Start Mailing Method
10/25/2022 5:54:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:54:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:54:18 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:54:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:54:18 AM=>Info:- Count = 1
10/25/2022 5:54:18 AM=>Info:- Count 1
10/25/2022 5:54:18 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:54:18 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:54:18 AM=>Info:- Start SenMail Method
10/25/2022 5:54:18 AM=>UseDefaultCredentials
10/25/2022 5:54:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:54:18 AM=>EnableSsl = true
10/25/2022 5:54:18 AM=>DeliveryMethod
10/25/2022 5:54:18 AM=>Before Send
10/25/2022 5:54: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/25/2022 5:54:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:54:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:54:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:54:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:54:18 AM=>Info:- END Mailing Method
10/25/2022 5:54:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:54:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:54:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:54:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:54:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:54:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:54:18 AM=>Info - End of callingService Method
10/25/2022 5:56:18 AM=>Info - Check time Elapsed
10/25/2022 5:56:18 AM=>Info - Call callingService Method
10/25/2022 5:56:18 AM=>Info:- Call Both
10/25/2022 5:56:18 AM=>Info:- Start Executing SMS Method
10/25/2022 5:56:18 AM=>Info:- End Executing SMS Method
10/25/2022 5:56:18 AM=>Info:- Start Mailing Method
10/25/2022 5:56:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:56:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:56:18 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:56:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:56:18 AM=>Info:- Count = 1
10/25/2022 5:56:18 AM=>Info:- Count 1
10/25/2022 5:56:18 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:56:18 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:56:18 AM=>Info:- Start SenMail Method
10/25/2022 5:56:18 AM=>UseDefaultCredentials
10/25/2022 5:56:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:56:18 AM=>EnableSsl = true
10/25/2022 5:56:18 AM=>DeliveryMethod
10/25/2022 5:56:18 AM=>Before Send
10/25/2022 5:56: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/25/2022 5:56:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:56:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:56:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:56:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:56:18 AM=>Info:- END Mailing Method
10/25/2022 5:56:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:56:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:56:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:56:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:56:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:56:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:56:18 AM=>Info - End of callingService Method
10/25/2022 5:58:18 AM=>Info - Check time Elapsed
10/25/2022 5:58:18 AM=>Info - Call callingService Method
10/25/2022 5:58:18 AM=>Info:- Call Both
10/25/2022 5:58:18 AM=>Info:- Start Executing SMS Method
10/25/2022 5:58:18 AM=>Info:- End Executing SMS Method
10/25/2022 5:58:18 AM=>Info:- Start Mailing Method
10/25/2022 5:58:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:58:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:58:18 AM=>Info:- PendingMail.xml file read to list
10/25/2022 5:58:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:58:18 AM=>Info:- Count = 1
10/25/2022 5:58:18 AM=>Info:- Count 1
10/25/2022 5:58:18 AM=>Info - Fetching Data From MAIL XML
10/25/2022 5:58:18 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:58:18 AM=>Info:- Start SenMail Method
10/25/2022 5:58:18 AM=>UseDefaultCredentials
10/25/2022 5:58:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:58:18 AM=>EnableSsl = true
10/25/2022 5:58:18 AM=>DeliveryMethod
10/25/2022 5:58:18 AM=>Before Send
10/25/2022 5:59: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.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/25/2022 5:59:42 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:59:42 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:59:42 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:59:43 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:59:43 AM=>Info:- END Mailing Method
10/25/2022 5:59:43 AM=>Info:- Start Executing Telegram Method
10/25/2022 5:59:43 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:59:43 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:59:43 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:59:43 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:59:43 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:59:43 AM=>Info - End of callingService Method
10/25/2022 6:01:43 AM=>Info - Check time Elapsed
10/25/2022 6:01:43 AM=>Info - Call callingService Method
10/25/2022 6:01:43 AM=>Info:- Call Both
10/25/2022 6:01:43 AM=>Info:- Start Executing SMS Method
10/25/2022 6:01:43 AM=>Info:- End Executing SMS Method
10/25/2022 6:01:43 AM=>Info:- Start Mailing Method
10/25/2022 6:01:43 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:01:43 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:01:43 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:01:43 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:01:43 AM=>Info:- Count = 1
10/25/2022 6:01:43 AM=>Info:- Count 1
10/25/2022 6:01:43 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:01:43 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:01:43 AM=>Info:- Start SenMail Method
10/25/2022 6:01:43 AM=>UseDefaultCredentials
10/25/2022 6:01:43 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:01:43 AM=>EnableSsl = true
10/25/2022 6:01:43 AM=>DeliveryMethod
10/25/2022 6:01:43 AM=>Before Send
10/25/2022 6:02: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/25/2022 6:02:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:02:25 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:02:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:02:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:02:25 AM=>Info:- END Mailing Method
10/25/2022 6:02:25 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:02:25 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:02:25 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:02:25 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:02:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:02:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:02:25 AM=>Info - End of callingService Method
10/25/2022 6:04:25 AM=>Info - Check time Elapsed
10/25/2022 6:04:25 AM=>Info - Call callingService Method
10/25/2022 6:04:25 AM=>Info:- Call Both
10/25/2022 6:04:25 AM=>Info:- Start Executing SMS Method
10/25/2022 6:04:25 AM=>Info:- End Executing SMS Method
10/25/2022 6:04:25 AM=>Info:- Start Mailing Method
10/25/2022 6:04:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:04:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:04:25 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:04:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:04:25 AM=>Info:- Count = 1
10/25/2022 6:04:25 AM=>Info:- Count 1
10/25/2022 6:04:25 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:04:25 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:04:25 AM=>Info:- Start SenMail Method
10/25/2022 6:04:25 AM=>UseDefaultCredentials
10/25/2022 6:04:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:04:25 AM=>EnableSsl = true
10/25/2022 6:04:25 AM=>DeliveryMethod
10/25/2022 6:04:25 AM=>Before Send
10/25/2022 6:05: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/25/2022 6:05:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:05:28 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:05:28 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:05:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:05:29 AM=>Info:- END Mailing Method
10/25/2022 6:05:29 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:05:29 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:05:29 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:05:29 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:05:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:05:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:05:29 AM=>Info - End of callingService Method
10/25/2022 6:07:29 AM=>Info - Check time Elapsed
10/25/2022 6:07:29 AM=>Info - Call callingService Method
10/25/2022 6:07:29 AM=>Info:- Call Both
10/25/2022 6:07:29 AM=>Info:- Start Executing SMS Method
10/25/2022 6:07:29 AM=>Info:- End Executing SMS Method
10/25/2022 6:07:29 AM=>Info:- Start Mailing Method
10/25/2022 6:07:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:07:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:07:29 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:07:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:07:29 AM=>Info:- Count = 1
10/25/2022 6:07:29 AM=>Info:- Count 1
10/25/2022 6:07:29 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:07:29 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:07:29 AM=>Info:- Start SenMail Method
10/25/2022 6:07:29 AM=>UseDefaultCredentials
10/25/2022 6:07:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:07:29 AM=>EnableSsl = true
10/25/2022 6:07:29 AM=>DeliveryMethod
10/25/2022 6:07:29 AM=>Before Send
10/25/2022 6:07: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/25/2022 6:07:29 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:07:29 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:07:29 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:07:29 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:07:29 AM=>Info:- END Mailing Method
10/25/2022 6:07:29 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:07:29 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:07:29 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:07:29 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:07:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:07:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:07:29 AM=>Info - End of callingService Method
10/25/2022 6:09:29 AM=>Info - Check time Elapsed
10/25/2022 6:09:29 AM=>Info - Call callingService Method
10/25/2022 6:09:29 AM=>Info:- Call Both
10/25/2022 6:09:29 AM=>Info:- Start Executing SMS Method
10/25/2022 6:09:29 AM=>Info:- End Executing SMS Method
10/25/2022 6:09:29 AM=>Info:- Start Mailing Method
10/25/2022 6:09:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:09:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:09:29 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:09:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:09:29 AM=>Info:- Count = 1
10/25/2022 6:09:29 AM=>Info:- Count 1
10/25/2022 6:09:29 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:09:29 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:09:29 AM=>Info:- Start SenMail Method
10/25/2022 6:09:29 AM=>UseDefaultCredentials
10/25/2022 6:09:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:09:29 AM=>EnableSsl = true
10/25/2022 6:09:29 AM=>DeliveryMethod
10/25/2022 6:09:29 AM=>Before Send
10/25/2022 6:09: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/25/2022 6:09:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:09:38 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:09:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:09:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:09:39 AM=>Info:- END Mailing Method
10/25/2022 6:09:39 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:09:39 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:09:39 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:09:39 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:09:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:09:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:09:39 AM=>Info - End of callingService Method
10/25/2022 6:11:39 AM=>Info - Check time Elapsed
10/25/2022 6:11:39 AM=>Info - Call callingService Method
10/25/2022 6:11:39 AM=>Info:- Call Both
10/25/2022 6:11:39 AM=>Info:- Start Executing SMS Method
10/25/2022 6:11:39 AM=>Info:- End Executing SMS Method
10/25/2022 6:11:39 AM=>Info:- Start Mailing Method
10/25/2022 6:11:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:11:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:11:39 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:11:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:11:39 AM=>Info:- Count = 1
10/25/2022 6:11:39 AM=>Info:- Count 1
10/25/2022 6:11:39 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:11:39 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:11:39 AM=>Info:- Start SenMail Method
10/25/2022 6:11:39 AM=>UseDefaultCredentials
10/25/2022 6:11:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:11:39 AM=>EnableSsl = true
10/25/2022 6:11:39 AM=>DeliveryMethod
10/25/2022 6:11:39 AM=>Before Send
10/25/2022 6:13:03 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.88.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/25/2022 6:13:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:13:03 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:13:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:13:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:13:03 AM=>Info:- END Mailing Method
10/25/2022 6:13:03 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:13:03 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:13:03 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:13:03 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:13:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:13:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:13:03 AM=>Info - End of callingService Method
10/25/2022 6:15:03 AM=>Info - Check time Elapsed
10/25/2022 6:15:03 AM=>Info - Call callingService Method
10/25/2022 6:15:03 AM=>Info:- Call Both
10/25/2022 6:15:03 AM=>Info:- Start Executing SMS Method
10/25/2022 6:15:03 AM=>Info:- End Executing SMS Method
10/25/2022 6:15:03 AM=>Info:- Start Mailing Method
10/25/2022 6:15:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:15:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:15:03 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:15:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:15:03 AM=>Info:- Count = 1
10/25/2022 6:15:03 AM=>Info:- Count 1
10/25/2022 6:15:03 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:15:03 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:15:03 AM=>Info:- Start SenMail Method
10/25/2022 6:15:03 AM=>UseDefaultCredentials
10/25/2022 6:15:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:15:03 AM=>EnableSsl = true
10/25/2022 6:15:03 AM=>DeliveryMethod
10/25/2022 6:15:03 AM=>Before Send
10/25/2022 6:16:27 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.111.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/25/2022 6:16:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:16:27 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:16:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:16:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:16:28 AM=>Info:- END Mailing Method
10/25/2022 6:16:28 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:16:28 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:16:28 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:16:28 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:16:28 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:16:28 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:16:28 AM=>Info - End of callingService Method
10/25/2022 6:18:28 AM=>Info - Check time Elapsed
10/25/2022 6:18:28 AM=>Info - Call callingService Method
10/25/2022 6:18:28 AM=>Info:- Call Both
10/25/2022 6:18:28 AM=>Info:- Start Executing SMS Method
10/25/2022 6:18:28 AM=>Info:- End Executing SMS Method
10/25/2022 6:18:28 AM=>Info:- Start Mailing Method
10/25/2022 6:18:28 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:18:28 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:18:28 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:18:28 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:18:28 AM=>Info:- Count = 1
10/25/2022 6:18:28 AM=>Info:- Count 1
10/25/2022 6:18:28 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:18:28 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:18:28 AM=>Info:- Start SenMail Method
10/25/2022 6:18:28 AM=>UseDefaultCredentials
10/25/2022 6:18:28 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:18:28 AM=>EnableSsl = true
10/25/2022 6:18:28 AM=>DeliveryMethod
10/25/2022 6:18:28 AM=>Before Send
10/25/2022 6:19: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.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/25/2022 6:19:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:19:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:19:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:19:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:19:52 AM=>Info:- END Mailing Method
10/25/2022 6:19:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:19:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:19:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:19:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:19:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:19:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:19:52 AM=>Info - End of callingService Method
10/25/2022 6:21:52 AM=>Info - Check time Elapsed
10/25/2022 6:21:52 AM=>Info - Call callingService Method
10/25/2022 6:21:52 AM=>Info:- Call Both
10/25/2022 6:21:52 AM=>Info:- Start Executing SMS Method
10/25/2022 6:21:52 AM=>Info:- End Executing SMS Method
10/25/2022 6:21:52 AM=>Info:- Start Mailing Method
10/25/2022 6:21:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:21:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:21:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:21:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:21:52 AM=>Info:- Count = 1
10/25/2022 6:21:52 AM=>Info:- Count 1
10/25/2022 6:21:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:21:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:21:52 AM=>Info:- Start SenMail Method
10/25/2022 6:21:52 AM=>UseDefaultCredentials
10/25/2022 6:21:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:21:52 AM=>EnableSsl = true
10/25/2022 6:21:52 AM=>DeliveryMethod
10/25/2022 6:21:52 AM=>Before Send
10/25/2022 6:21: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/25/2022 6:21:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:21:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:21:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:21:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:21:52 AM=>Info:- END Mailing Method
10/25/2022 6:21:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:21:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:21:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:21:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:21:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:21:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:21:52 AM=>Info - End of callingService Method
10/25/2022 6:23:52 AM=>Info - Check time Elapsed
10/25/2022 6:23:52 AM=>Info - Call callingService Method
10/25/2022 6:23:52 AM=>Info:- Call Both
10/25/2022 6:23:52 AM=>Info:- Start Executing SMS Method
10/25/2022 6:23:52 AM=>Info:- End Executing SMS Method
10/25/2022 6:23:52 AM=>Info:- Start Mailing Method
10/25/2022 6:23:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:23:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:23:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:23:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:23:52 AM=>Info:- Count = 1
10/25/2022 6:23:52 AM=>Info:- Count 1
10/25/2022 6:23:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:23:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:23:52 AM=>Info:- Start SenMail Method
10/25/2022 6:23:52 AM=>UseDefaultCredentials
10/25/2022 6:23:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:23:52 AM=>EnableSsl = true
10/25/2022 6:23:52 AM=>DeliveryMethod
10/25/2022 6:23:52 AM=>Before Send
10/25/2022 6:23: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/25/2022 6:23:55 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:23:55 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:23:55 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:23:55 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:23:56 AM=>Info:- END Mailing Method
10/25/2022 6:23:56 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:23:56 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:23:56 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:23:56 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:23:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:23:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:23:56 AM=>Info - End of callingService Method
10/25/2022 6:25:56 AM=>Info - Check time Elapsed
10/25/2022 6:25:56 AM=>Info - Call callingService Method
10/25/2022 6:25:56 AM=>Info:- Call Both
10/25/2022 6:25:56 AM=>Info:- Start Executing SMS Method
10/25/2022 6:25:56 AM=>Info:- End Executing SMS Method
10/25/2022 6:25:56 AM=>Info:- Start Mailing Method
10/25/2022 6:25:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:25:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:25:56 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:25:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:25:56 AM=>Info:- Count = 1
10/25/2022 6:25:56 AM=>Info:- Count 1
10/25/2022 6:25:56 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:25:56 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:25:56 AM=>Info:- Start SenMail Method
10/25/2022 6:25:56 AM=>UseDefaultCredentials
10/25/2022 6:25:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:25:56 AM=>EnableSsl = true
10/25/2022 6:25:56 AM=>DeliveryMethod
10/25/2022 6:25:56 AM=>Before Send
10/25/2022 6:27:20 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.88.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/25/2022 6:27:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:27:20 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:27:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:27:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:27:20 AM=>Info:- END Mailing Method
10/25/2022 6:27:20 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:27:20 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:27:20 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:27:20 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:27:20 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:27:20 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:27:20 AM=>Info - End of callingService Method
10/25/2022 6:29:20 AM=>Info - Check time Elapsed
10/25/2022 6:29:20 AM=>Info - Call callingService Method
10/25/2022 6:29:20 AM=>Info:- Call Both
10/25/2022 6:29:20 AM=>Info:- Start Executing SMS Method
10/25/2022 6:29:20 AM=>Info:- End Executing SMS Method
10/25/2022 6:29:20 AM=>Info:- Start Mailing Method
10/25/2022 6:29:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:29:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:29:20 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:29:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:29:20 AM=>Info:- Count = 1
10/25/2022 6:29:20 AM=>Info:- Count 1
10/25/2022 6:29:20 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:29:20 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:29:20 AM=>Info:- Start SenMail Method
10/25/2022 6:29:20 AM=>UseDefaultCredentials
10/25/2022 6:29:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:29:20 AM=>EnableSsl = true
10/25/2022 6:29:20 AM=>DeliveryMethod
10/25/2022 6:29:20 AM=>Before Send
10/25/2022 6: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/25/2022 6:29:20 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:29:20 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:29:20 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:29:20 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:29:21 AM=>Info:- END Mailing Method
10/25/2022 6:29:21 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:29:21 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:29:21 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:29:21 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:29:21 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:29:21 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:29:21 AM=>Info - End of callingService Method
10/25/2022 6:31:21 AM=>Info - Check time Elapsed
10/25/2022 6:31:21 AM=>Info - Call callingService Method
10/25/2022 6:31:21 AM=>Info:- Call Both
10/25/2022 6:31:21 AM=>Info:- Start Executing SMS Method
10/25/2022 6:31:21 AM=>Info:- End Executing SMS Method
10/25/2022 6:31:21 AM=>Info:- Start Mailing Method
10/25/2022 6:31:21 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:31:21 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:31:21 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:31:21 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:31:21 AM=>Info:- Count = 1
10/25/2022 6:31:21 AM=>Info:- Count 1
10/25/2022 6:31:21 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:31:21 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:31:21 AM=>Info:- Start SenMail Method
10/25/2022 6:31:21 AM=>UseDefaultCredentials
10/25/2022 6:31:21 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:31:21 AM=>EnableSsl = true
10/25/2022 6:31:21 AM=>DeliveryMethod
10/25/2022 6:31:21 AM=>Before Send
10/25/2022 6:31: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/25/2022 6:31:24 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:31:24 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:31:24 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:31:24 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:31:24 AM=>Info:- END Mailing Method
10/25/2022 6:31:24 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:31:24 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:31:24 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:31:24 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:31:24 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:31:24 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:31:24 AM=>Info - End of callingService Method
10/25/2022 6:33:24 AM=>Info - Check time Elapsed
10/25/2022 6:33:24 AM=>Info - Call callingService Method
10/25/2022 6:33:24 AM=>Info:- Call Both
10/25/2022 6:33:24 AM=>Info:- Start Executing SMS Method
10/25/2022 6:33:24 AM=>Info:- End Executing SMS Method
10/25/2022 6:33:24 AM=>Info:- Start Mailing Method
10/25/2022 6:33:24 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:33:24 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:33:24 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:33:24 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:33:24 AM=>Info:- Count = 1
10/25/2022 6:33:24 AM=>Info:- Count 1
10/25/2022 6:33:24 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:33:24 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:33:24 AM=>Info:- Start SenMail Method
10/25/2022 6:33:24 AM=>UseDefaultCredentials
10/25/2022 6:33:24 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:33:24 AM=>EnableSsl = true
10/25/2022 6:33:24 AM=>DeliveryMethod
10/25/2022 6:33:24 AM=>Before Send
10/25/2022 6:34: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 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/25/2022 6:34:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:34:48 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:34:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:34:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:34:49 AM=>Info:- END Mailing Method
10/25/2022 6:34:49 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:34:49 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:34:49 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:34:49 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:34:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:34:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:34:49 AM=>Info - End of callingService Method
10/25/2022 6:36:49 AM=>Info - Check time Elapsed
10/25/2022 6:36:49 AM=>Info - Call callingService Method
10/25/2022 6:36:49 AM=>Info:- Call Both
10/25/2022 6:36:49 AM=>Info:- Start Executing SMS Method
10/25/2022 6:36:49 AM=>Info:- End Executing SMS Method
10/25/2022 6:36:49 AM=>Info:- Start Mailing Method
10/25/2022 6:36:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:36:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:36:49 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:36:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:36:49 AM=>Info:- Count = 1
10/25/2022 6:36:49 AM=>Info:- Count 1
10/25/2022 6:36:49 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:36:49 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:36:49 AM=>Info:- Start SenMail Method
10/25/2022 6:36:49 AM=>UseDefaultCredentials
10/25/2022 6:36:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:36:49 AM=>EnableSsl = true
10/25/2022 6:36:49 AM=>DeliveryMethod
10/25/2022 6:36:49 AM=>Before Send
10/25/2022 6:36: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/25/2022 6:36:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:36:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:36:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:36:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:36:52 AM=>Info:- END Mailing Method
10/25/2022 6:36:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:36:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:36:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:36:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:36:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:36:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:36:52 AM=>Info - End of callingService Method
10/25/2022 6:38:52 AM=>Info - Check time Elapsed
10/25/2022 6:38:52 AM=>Info - Call callingService Method
10/25/2022 6:38:52 AM=>Info:- Call Both
10/25/2022 6:38:52 AM=>Info:- Start Executing SMS Method
10/25/2022 6:38:52 AM=>Info:- End Executing SMS Method
10/25/2022 6:38:52 AM=>Info:- Start Mailing Method
10/25/2022 6:38:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:38:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:38:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:38:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:38:52 AM=>Info:- Count = 1
10/25/2022 6:38:52 AM=>Info:- Count 1
10/25/2022 6:38:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:38:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:38:52 AM=>Info:- Start SenMail Method
10/25/2022 6:38:52 AM=>UseDefaultCredentials
10/25/2022 6:38:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:38:52 AM=>EnableSsl = true
10/25/2022 6:38:52 AM=>DeliveryMethod
10/25/2022 6:38:52 AM=>Before Send
10/25/2022 6:39: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/25/2022 6:39:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:39:01 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:39:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:39:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:39:01 AM=>Info:- END Mailing Method
10/25/2022 6:39:01 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:39:01 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:39:01 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:39:01 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:39:01 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:39:01 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:39:01 AM=>Info - End of callingService Method
10/25/2022 6:41:01 AM=>Info - Check time Elapsed
10/25/2022 6:41:01 AM=>Info - Call callingService Method
10/25/2022 6:41:01 AM=>Info:- Call Both
10/25/2022 6:41:01 AM=>Info:- Start Executing SMS Method
10/25/2022 6:41:02 AM=>Info:- End Executing SMS Method
10/25/2022 6:41:02 AM=>Info:- Start Mailing Method
10/25/2022 6:41:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:41:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:41:02 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:41:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:41:02 AM=>Info:- Count = 1
10/25/2022 6:41:02 AM=>Info:- Count 1
10/25/2022 6:41:02 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:41:02 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:41:02 AM=>Info:- Start SenMail Method
10/25/2022 6:41:02 AM=>UseDefaultCredentials
10/25/2022 6:41:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:41:02 AM=>EnableSsl = true
10/25/2022 6:41:02 AM=>DeliveryMethod
10/25/2022 6:41:02 AM=>Before Send
10/25/2022 6:42: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.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/25/2022 6:42:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:42:26 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:42:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:42:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:42:26 AM=>Info:- END Mailing Method
10/25/2022 6:42:26 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:42:26 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:42:26 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:42:26 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:42:26 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:42:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:42:26 AM=>Info - End of callingService Method
10/25/2022 6:44:26 AM=>Info - Check time Elapsed
10/25/2022 6:44:26 AM=>Info - Call callingService Method
10/25/2022 6:44:26 AM=>Info:- Call Both
10/25/2022 6:44:26 AM=>Info:- Start Executing SMS Method
10/25/2022 6:44:26 AM=>Info:- End Executing SMS Method
10/25/2022 6:44:26 AM=>Info:- Start Mailing Method
10/25/2022 6:44:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:44:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:44:26 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:44:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:44:26 AM=>Info:- Count = 1
10/25/2022 6:44:26 AM=>Info:- Count 1
10/25/2022 6:44:26 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:44:26 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:44:26 AM=>Info:- Start SenMail Method
10/25/2022 6:44:26 AM=>UseDefaultCredentials
10/25/2022 6:44:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:44:26 AM=>EnableSsl = true
10/25/2022 6:44:26 AM=>DeliveryMethod
10/25/2022 6:44:26 AM=>Before Send
10/25/2022 6:45:50 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 6:45:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:45:50 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:45:50 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:45:50 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:45:50 AM=>Info:- END Mailing Method
10/25/2022 6:45:50 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:45:50 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:45:51 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:45:51 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:45:51 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:45:51 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:45:51 AM=>Info - End of callingService Method
10/25/2022 6:47:51 AM=>Info - Check time Elapsed
10/25/2022 6:47:51 AM=>Info - Call callingService Method
10/25/2022 6:47:51 AM=>Info:- Call Both
10/25/2022 6:47:51 AM=>Info:- Start Executing SMS Method
10/25/2022 6:47:51 AM=>Info:- End Executing SMS Method
10/25/2022 6:47:51 AM=>Info:- Start Mailing Method
10/25/2022 6:47:51 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:47:51 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:47:51 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:47:51 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:47:51 AM=>Info:- Count = 1
10/25/2022 6:47:51 AM=>Info:- Count 1
10/25/2022 6:47:51 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:47:51 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:47:51 AM=>Info:- Start SenMail Method
10/25/2022 6:47:51 AM=>UseDefaultCredentials
10/25/2022 6:47:51 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:47:51 AM=>EnableSsl = true
10/25/2022 6:47:51 AM=>DeliveryMethod
10/25/2022 6:47:51 AM=>Before Send
10/25/2022 6:49: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 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/25/2022 6:49:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:49:15 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:49:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:49:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:49:15 AM=>Info:- END Mailing Method
10/25/2022 6:49:15 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:49:15 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:49:15 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:49:15 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:49:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:49:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:49:15 AM=>Info - End of callingService Method
10/25/2022 6:51:15 AM=>Info - Check time Elapsed
10/25/2022 6:51:15 AM=>Info - Call callingService Method
10/25/2022 6:51:15 AM=>Info:- Call Both
10/25/2022 6:51:15 AM=>Info:- Start Executing SMS Method
10/25/2022 6:51:15 AM=>Info:- End Executing SMS Method
10/25/2022 6:51:15 AM=>Info:- Start Mailing Method
10/25/2022 6:51:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:51:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:51:15 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:51:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:51:15 AM=>Info:- Count = 1
10/25/2022 6:51:15 AM=>Info:- Count 1
10/25/2022 6:51:15 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:51:15 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:51:15 AM=>Info:- Start SenMail Method
10/25/2022 6:51:15 AM=>UseDefaultCredentials
10/25/2022 6:51:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:51:15 AM=>EnableSsl = true
10/25/2022 6:51:15 AM=>DeliveryMethod
10/25/2022 6:51:15 AM=>Before Send
10/25/2022 6:51: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/25/2022 6:51:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:51:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:51:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:51:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:51:18 AM=>Info:- END Mailing Method
10/25/2022 6:51:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:51:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:51:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:51:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:51:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:51:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:51:18 AM=>Info - End of callingService Method
10/25/2022 6:53:18 AM=>Info - Check time Elapsed
10/25/2022 6:53:18 AM=>Info - Call callingService Method
10/25/2022 6:53:19 AM=>Info:- Call Both
10/25/2022 6:53:19 AM=>Info:- Start Executing SMS Method
10/25/2022 6:53:19 AM=>Info:- End Executing SMS Method
10/25/2022 6:53:19 AM=>Info:- Start Mailing Method
10/25/2022 6:53:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:53:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:53:19 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:53:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:53:19 AM=>Info:- Count = 1
10/25/2022 6:53:19 AM=>Info:- Count 1
10/25/2022 6:53:19 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:53:19 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:53:19 AM=>Info:- Start SenMail Method
10/25/2022 6:53:19 AM=>UseDefaultCredentials
10/25/2022 6:53:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:53:19 AM=>EnableSsl = true
10/25/2022 6:53:19 AM=>DeliveryMethod
10/25/2022 6:53:19 AM=>Before Send
10/25/2022 6:53: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/25/2022 6:53:22 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:53:22 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:53:22 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:53:22 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:53:22 AM=>Info:- END Mailing Method
10/25/2022 6:53:22 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:53:22 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:53:22 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:53:22 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:53:22 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:53:22 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:53:22 AM=>Info - End of callingService Method
10/25/2022 6:55:22 AM=>Info - Check time Elapsed
10/25/2022 6:55:22 AM=>Info - Call callingService Method
10/25/2022 6:55:22 AM=>Info:- Call Both
10/25/2022 6:55:22 AM=>Info:- Start Executing SMS Method
10/25/2022 6:55:22 AM=>Info:- End Executing SMS Method
10/25/2022 6:55:22 AM=>Info:- Start Mailing Method
10/25/2022 6:55:22 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:55:22 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:55:22 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:55:22 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:55:22 AM=>Info:- Count = 1
10/25/2022 6:55:22 AM=>Info:- Count 1
10/25/2022 6:55:22 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:55:22 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:55:22 AM=>Info:- Start SenMail Method
10/25/2022 6:55:22 AM=>UseDefaultCredentials
10/25/2022 6:55:22 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:55:22 AM=>EnableSsl = true
10/25/2022 6:55:22 AM=>DeliveryMethod
10/25/2022 6:55:22 AM=>Before Send
10/25/2022 6:56:46 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 6:56:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:56:46 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:56:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:56:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:56:47 AM=>Info:- END Mailing Method
10/25/2022 6:56:47 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:56:47 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:56:47 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:56:47 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:56:47 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:56:47 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:56:47 AM=>Info - End of callingService Method
10/25/2022 6:58:47 AM=>Info - Check time Elapsed
10/25/2022 6:58:47 AM=>Info - Call callingService Method
10/25/2022 6:58:47 AM=>Info:- Call Both
10/25/2022 6:58:47 AM=>Info:- Start Executing SMS Method
10/25/2022 6:58:47 AM=>Info:- End Executing SMS Method
10/25/2022 6:58:47 AM=>Info:- Start Mailing Method
10/25/2022 6:58:47 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:58:47 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:58:47 AM=>Info:- PendingMail.xml file read to list
10/25/2022 6:58:47 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:58:47 AM=>Info:- Count = 1
10/25/2022 6:58:47 AM=>Info:- Count 1
10/25/2022 6:58:47 AM=>Info - Fetching Data From MAIL XML
10/25/2022 6:58:47 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:58:47 AM=>Info:- Start SenMail Method
10/25/2022 6:58:47 AM=>UseDefaultCredentials
10/25/2022 6:58:47 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:58:47 AM=>EnableSsl = true
10/25/2022 6:58:47 AM=>DeliveryMethod
10/25/2022 6:58:47 AM=>Before Send
10/25/2022 6:58: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/25/2022 6:58:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:58:47 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:58:47 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:58:47 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:58:47 AM=>Info:- END Mailing Method
10/25/2022 6:58:47 AM=>Info:- Start Executing Telegram Method
10/25/2022 6:58:47 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:58:47 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:58:47 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:58:47 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:58:47 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:58:47 AM=>Info - End of callingService Method
10/25/2022 7:00:47 AM=>Info - Check time Elapsed
10/25/2022 7:00:47 AM=>Info - Call callingService Method
10/25/2022 7:00:47 AM=>Info:- Call Both
10/25/2022 7:00:47 AM=>Info:- Start Executing SMS Method
10/25/2022 7:00:47 AM=>Info:- End Executing SMS Method
10/25/2022 7:00:47 AM=>Info:- Start Mailing Method
10/25/2022 7:00:47 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:00:47 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:00:47 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:00:47 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:00:47 AM=>Info:- Count = 1
10/25/2022 7:00:47 AM=>Info:- Count 1
10/25/2022 7:00:47 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:00:47 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:00:47 AM=>Info:- Start SenMail Method
10/25/2022 7:00:47 AM=>UseDefaultCredentials
10/25/2022 7:00:47 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:00:47 AM=>EnableSsl = true
10/25/2022 7:00:47 AM=>DeliveryMethod
10/25/2022 7:00:47 AM=>Before Send
10/25/2022 7:01: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/25/2022 7:01:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:01:50 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:01:50 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:01:50 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:01:50 AM=>Info:- END Mailing Method
10/25/2022 7:01:50 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:01:50 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:01:50 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:01:50 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:01:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:01:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:01:50 AM=>Info - End of callingService Method
10/25/2022 7:03:50 AM=>Info - Check time Elapsed
10/25/2022 7:03:50 AM=>Info - Call callingService Method
10/25/2022 7:03:50 AM=>Info:- Call Both
10/25/2022 7:03:50 AM=>Info:- Start Executing SMS Method
10/25/2022 7:03:51 AM=>Info:- End Executing SMS Method
10/25/2022 7:03:51 AM=>Info:- Start Mailing Method
10/25/2022 7:03:51 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:03:51 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:03:51 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:03:51 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:03:51 AM=>Info:- Count = 1
10/25/2022 7:03:51 AM=>Info:- Count 1
10/25/2022 7:03:51 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:03:51 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:03:51 AM=>Info:- Start SenMail Method
10/25/2022 7:03:51 AM=>UseDefaultCredentials
10/25/2022 7:03:51 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:03:51 AM=>EnableSsl = true
10/25/2022 7:03:51 AM=>DeliveryMethod
10/25/2022 7:03:51 AM=>Before Send
10/25/2022 7:05: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.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/25/2022 7:05:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:05:15 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:05:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:05:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:05:15 AM=>Info:- END Mailing Method
10/25/2022 7:05:15 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:05:15 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:05:15 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:05:15 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:05:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:05:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:05:15 AM=>Info - End of callingService Method
10/25/2022 7:07:15 AM=>Info - Check time Elapsed
10/25/2022 7:07:15 AM=>Info - Call callingService Method
10/25/2022 7:07:15 AM=>Info:- Call Both
10/25/2022 7:07:15 AM=>Info:- Start Executing SMS Method
10/25/2022 7:07:15 AM=>Info:- End Executing SMS Method
10/25/2022 7:07:15 AM=>Info:- Start Mailing Method
10/25/2022 7:07:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:07:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:07:15 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:07:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:07:15 AM=>Info:- Count = 1
10/25/2022 7:07:15 AM=>Info:- Count 1
10/25/2022 7:07:15 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:07:15 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:07:15 AM=>Info:- Start SenMail Method
10/25/2022 7:07:15 AM=>UseDefaultCredentials
10/25/2022 7:07:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:07:15 AM=>EnableSsl = true
10/25/2022 7:07:15 AM=>DeliveryMethod
10/25/2022 7:07:15 AM=>Before Send
10/25/2022 7:07: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/25/2022 7:07:15 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:07:15 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:07:15 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:07:15 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:07:15 AM=>Info:- END Mailing Method
10/25/2022 7:07:15 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:07:15 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:07:15 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:07:15 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:07:15 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:07:15 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:07:15 AM=>Info - End of callingService Method
10/25/2022 7:09:15 AM=>Info - Check time Elapsed
10/25/2022 7:09:15 AM=>Info - Call callingService Method
10/25/2022 7:09:15 AM=>Info:- Call Both
10/25/2022 7:09:15 AM=>Info:- Start Executing SMS Method
10/25/2022 7:09:15 AM=>Info:- End Executing SMS Method
10/25/2022 7:09:15 AM=>Info:- Start Mailing Method
10/25/2022 7:09:15 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:09:15 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:09:15 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:09:15 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:09:15 AM=>Info:- Count = 1
10/25/2022 7:09:15 AM=>Info:- Count 1
10/25/2022 7:09:15 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:09:15 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:09:15 AM=>Info:- Start SenMail Method
10/25/2022 7:09:15 AM=>UseDefaultCredentials
10/25/2022 7:09:15 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:09:15 AM=>EnableSsl = true
10/25/2022 7:09:15 AM=>DeliveryMethod
10/25/2022 7:09:15 AM=>Before Send
10/25/2022 7:09: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/25/2022 7:09:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:09:36 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:09:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:09:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:09:37 AM=>Info:- END Mailing Method
10/25/2022 7:09:37 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:09:37 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:09:37 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:09:37 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:09:37 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:09:37 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:09:37 AM=>Info - End of callingService Method
10/25/2022 7:11:37 AM=>Info - Check time Elapsed
10/25/2022 7:11:37 AM=>Info - Call callingService Method
10/25/2022 7:11:37 AM=>Info:- Call Both
10/25/2022 7:11:37 AM=>Info:- Start Executing SMS Method
10/25/2022 7:11:37 AM=>Info:- End Executing SMS Method
10/25/2022 7:11:37 AM=>Info:- Start Mailing Method
10/25/2022 7:11:37 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:11:37 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:11:37 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:11:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:11:37 AM=>Info:- Count = 1
10/25/2022 7:11:37 AM=>Info:- Count 1
10/25/2022 7:11:37 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:11:37 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:11:37 AM=>Info:- Start SenMail Method
10/25/2022 7:11:37 AM=>UseDefaultCredentials
10/25/2022 7:11:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:11:37 AM=>EnableSsl = true
10/25/2022 7:11:37 AM=>DeliveryMethod
10/25/2022 7:11:37 AM=>Before Send
10/25/2022 7:13: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.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/25/2022 7:13:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:13:01 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:13:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:13:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:13:01 AM=>Info:- END Mailing Method
10/25/2022 7:13:01 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:13:01 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:13:01 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:13:01 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:13:01 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:13:01 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:13:01 AM=>Info - End of callingService Method
10/25/2022 7:15:01 AM=>Info - Check time Elapsed
10/25/2022 7:15:01 AM=>Info - Call callingService Method
10/25/2022 7:15:01 AM=>Info:- Call Both
10/25/2022 7:15:01 AM=>Info:- Start Executing SMS Method
10/25/2022 7:15:01 AM=>Info:- End Executing SMS Method
10/25/2022 7:15:01 AM=>Info:- Start Mailing Method
10/25/2022 7:15:01 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:15:01 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:15:01 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:15:01 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:15:01 AM=>Info:- Count = 1
10/25/2022 7:15:01 AM=>Info:- Count 1
10/25/2022 7:15:01 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:15:01 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:15:01 AM=>Info:- Start SenMail Method
10/25/2022 7:15:01 AM=>UseDefaultCredentials
10/25/2022 7:15:01 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:15:01 AM=>EnableSsl = true
10/25/2022 7:15:01 AM=>DeliveryMethod
10/25/2022 7:15:01 AM=>Before Send
10/25/2022 7:15: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/25/2022 7:15:43 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:15:43 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:15:43 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:15:43 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:15:44 AM=>Info:- END Mailing Method
10/25/2022 7:15:44 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:15:44 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:15:44 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:15:44 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:15:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:15:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:15:44 AM=>Info - End of callingService Method
10/25/2022 7:17:44 AM=>Info - Check time Elapsed
10/25/2022 7:17:44 AM=>Info - Call callingService Method
10/25/2022 7:17:44 AM=>Info:- Call Both
10/25/2022 7:17:44 AM=>Info:- Start Executing SMS Method
10/25/2022 7:17:44 AM=>Info:- End Executing SMS Method
10/25/2022 7:17:44 AM=>Info:- Start Mailing Method
10/25/2022 7:17:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:17:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:17:44 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:17:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:17:44 AM=>Info:- Count = 1
10/25/2022 7:17:44 AM=>Info:- Count 1
10/25/2022 7:17:44 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:17:44 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:17:44 AM=>Info:- Start SenMail Method
10/25/2022 7:17:44 AM=>UseDefaultCredentials
10/25/2022 7:17:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:17:44 AM=>EnableSsl = true
10/25/2022 7:17:44 AM=>DeliveryMethod
10/25/2022 7:17:44 AM=>Before Send
10/25/2022 7:18:05 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 7:18:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:18:05 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:18:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:18:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:18:05 AM=>Info:- END Mailing Method
10/25/2022 7:18:05 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:18:05 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:18:05 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:18:05 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:18:05 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:18:05 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:18:05 AM=>Info - End of callingService Method
10/25/2022 7:20:05 AM=>Info - Check time Elapsed
10/25/2022 7:20:05 AM=>Info - Call callingService Method
10/25/2022 7:20:05 AM=>Info:- Call Both
10/25/2022 7:20:05 AM=>Info:- Start Executing SMS Method
10/25/2022 7:20:05 AM=>Info:- End Executing SMS Method
10/25/2022 7:20:05 AM=>Info:- Start Mailing Method
10/25/2022 7:20:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:20:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:20:05 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:20:05 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:20:05 AM=>Info:- Count = 1
10/25/2022 7:20:05 AM=>Info:- Count 1
10/25/2022 7:20:05 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:20:05 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:20:05 AM=>Info:- Start SenMail Method
10/25/2022 7:20:05 AM=>UseDefaultCredentials
10/25/2022 7:20:05 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:20:05 AM=>EnableSsl = true
10/25/2022 7:20:05 AM=>DeliveryMethod
10/25/2022 7:20:05 AM=>Before Send
10/25/2022 7:21: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.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/25/2022 7:21:29 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:21:29 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:21:29 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:21:29 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:21:30 AM=>Info:- END Mailing Method
10/25/2022 7:21:30 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:21:30 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:21:30 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:21:30 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:21:30 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:21:30 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:21:30 AM=>Info - End of callingService Method
10/25/2022 7:23:30 AM=>Info - Check time Elapsed
10/25/2022 7:23:30 AM=>Info - Call callingService Method
10/25/2022 7:23:30 AM=>Info:- Call Both
10/25/2022 7:23:30 AM=>Info:- Start Executing SMS Method
10/25/2022 7:23:30 AM=>Info:- End Executing SMS Method
10/25/2022 7:23:30 AM=>Info:- Start Mailing Method
10/25/2022 7:23:30 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:23:30 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:23:30 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:23:30 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:23:30 AM=>Info:- Count = 1
10/25/2022 7:23:30 AM=>Info:- Count 1
10/25/2022 7:23:30 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:23:30 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:23:30 AM=>Info:- Start SenMail Method
10/25/2022 7:23:30 AM=>UseDefaultCredentials
10/25/2022 7:23:30 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:23:30 AM=>EnableSsl = true
10/25/2022 7:23:30 AM=>DeliveryMethod
10/25/2022 7:23:30 AM=>Before Send
10/25/2022 7:24:54 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/25/2022 7:24:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:24:54 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:24:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:24:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:24:54 AM=>Info:- END Mailing Method
10/25/2022 7:24:54 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:24:54 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:24:54 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:24:54 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:24:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:24:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:24:54 AM=>Info - End of callingService Method
10/25/2022 7:26:54 AM=>Info - Check time Elapsed
10/25/2022 7:26:54 AM=>Info - Call callingService Method
10/25/2022 7:26:54 AM=>Info:- Call Both
10/25/2022 7:26:54 AM=>Info:- Start Executing SMS Method
10/25/2022 7:26:55 AM=>Info:- End Executing SMS Method
10/25/2022 7:26:55 AM=>Info:- Start Mailing Method
10/25/2022 7:26:55 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:26:55 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:26:55 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:26:55 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:26:55 AM=>Info:- Count = 1
10/25/2022 7:26:55 AM=>Info:- Count 1
10/25/2022 7:26:55 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:26:55 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:26:55 AM=>Info:- Start SenMail Method
10/25/2022 7:26:55 AM=>UseDefaultCredentials
10/25/2022 7:26:55 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:26:55 AM=>EnableSsl = true
10/25/2022 7:26:55 AM=>DeliveryMethod
10/25/2022 7:26:55 AM=>Before Send
10/25/2022 7:27: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/25/2022 7:27:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:27:16 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:27:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:27:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:27:16 AM=>Info:- END Mailing Method
10/25/2022 7:27:16 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:27:16 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:27:16 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:27:16 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:27:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:27:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:27:16 AM=>Info - End of callingService Method
10/25/2022 7:29:16 AM=>Info - Check time Elapsed
10/25/2022 7:29:16 AM=>Info - Call callingService Method
10/25/2022 7:29:16 AM=>Info:- Call Both
10/25/2022 7:29:16 AM=>Info:- Start Executing SMS Method
10/25/2022 7:29:16 AM=>Info:- End Executing SMS Method
10/25/2022 7:29:16 AM=>Info:- Start Mailing Method
10/25/2022 7:29:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:29:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:29:16 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:29:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:29:16 AM=>Info:- Count = 1
10/25/2022 7:29:16 AM=>Info:- Count 1
10/25/2022 7:29:16 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:29:16 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:29:16 AM=>Info:- Start SenMail Method
10/25/2022 7:29:16 AM=>UseDefaultCredentials
10/25/2022 7:29:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:29:16 AM=>EnableSsl = true
10/25/2022 7:29:16 AM=>DeliveryMethod
10/25/2022 7:29:16 AM=>Before Send
10/25/2022 7:29: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/25/2022 7:29:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:29:25 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:29:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:29:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:29:25 AM=>Info:- END Mailing Method
10/25/2022 7:29:25 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:29:25 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:29:25 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:29:25 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:29:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:29:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:29:25 AM=>Info - End of callingService Method
10/25/2022 7:31:25 AM=>Info - Check time Elapsed
10/25/2022 7:31:25 AM=>Info - Call callingService Method
10/25/2022 7:31:25 AM=>Info:- Call Both
10/25/2022 7:31:25 AM=>Info:- Start Executing SMS Method
10/25/2022 7:31:25 AM=>Info:- End Executing SMS Method
10/25/2022 7:31:25 AM=>Info:- Start Mailing Method
10/25/2022 7:31:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:31:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:31:25 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:31:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:31:25 AM=>Info:- Count = 1
10/25/2022 7:31:25 AM=>Info:- Count 1
10/25/2022 7:31:25 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:31:25 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:31:25 AM=>Info:- Start SenMail Method
10/25/2022 7:31:25 AM=>UseDefaultCredentials
10/25/2022 7:31:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:31:25 AM=>EnableSsl = true
10/25/2022 7:31:25 AM=>DeliveryMethod
10/25/2022 7:31:25 AM=>Before Send
10/25/2022 7:32:50 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 7:32:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:32:50 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:32:50 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:32:50 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:32:50 AM=>Info:- END Mailing Method
10/25/2022 7:32:50 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:32:50 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:32:50 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:32:50 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:32:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:32:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:32:50 AM=>Info - End of callingService Method
10/25/2022 7:34:50 AM=>Info - Check time Elapsed
10/25/2022 7:34:50 AM=>Info - Call callingService Method
10/25/2022 7:34:50 AM=>Info:- Call Both
10/25/2022 7:34:50 AM=>Info:- Start Executing SMS Method
10/25/2022 7:34:50 AM=>Info:- End Executing SMS Method
10/25/2022 7:34:50 AM=>Info:- Start Mailing Method
10/25/2022 7:34:50 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:34:50 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:34:50 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:34:50 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:34:50 AM=>Info:- Count = 1
10/25/2022 7:34:50 AM=>Info:- Count 1
10/25/2022 7:34:50 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:34:50 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:34:50 AM=>Info:- Start SenMail Method
10/25/2022 7:34:50 AM=>UseDefaultCredentials
10/25/2022 7:34:50 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:34:50 AM=>EnableSsl = true
10/25/2022 7:34:50 AM=>DeliveryMethod
10/25/2022 7:34:50 AM=>Before Send
10/25/2022 7:35: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/25/2022 7:35:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:35:53 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:35:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:35:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:35:53 AM=>Info:- END Mailing Method
10/25/2022 7:35:53 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:35:53 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:35:53 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:35:53 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:35:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:35:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:35:53 AM=>Info - End of callingService Method
10/25/2022 7:37:53 AM=>Info - Check time Elapsed
10/25/2022 7:37:53 AM=>Info - Call callingService Method
10/25/2022 7:37:54 AM=>Info:- Call Both
10/25/2022 7:37:54 AM=>Info:- Start Executing SMS Method
10/25/2022 7:37:54 AM=>Info:- End Executing SMS Method
10/25/2022 7:37:54 AM=>Info:- Start Mailing Method
10/25/2022 7:37:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:37:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:37:54 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:37:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:37:54 AM=>Info:- Count = 1
10/25/2022 7:37:54 AM=>Info:- Count 1
10/25/2022 7:37:54 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:37:54 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:37:54 AM=>Info:- Start SenMail Method
10/25/2022 7:37:54 AM=>UseDefaultCredentials
10/25/2022 7:37:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:37:54 AM=>EnableSsl = true
10/25/2022 7:37:54 AM=>DeliveryMethod
10/25/2022 7:37:54 AM=>Before Send
10/25/2022 7:39: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.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/25/2022 7:39:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:39:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:39:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:39:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:39:18 AM=>Info:- END Mailing Method
10/25/2022 7:39:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:39:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:39:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:39:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:39:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:39:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:39:18 AM=>Info - End of callingService Method
10/25/2022 7:41:18 AM=>Info - Check time Elapsed
10/25/2022 7:41:18 AM=>Info - Call callingService Method
10/25/2022 7:41:18 AM=>Info:- Call Both
10/25/2022 7:41:18 AM=>Info:- Start Executing SMS Method
10/25/2022 7:41:18 AM=>Info:- End Executing SMS Method
10/25/2022 7:41:18 AM=>Info:- Start Mailing Method
10/25/2022 7:41:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:41:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:41:18 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:41:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:41:18 AM=>Info:- Count = 1
10/25/2022 7:41:18 AM=>Info:- Count 1
10/25/2022 7:41:18 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:41:18 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:41:18 AM=>Info:- Start SenMail Method
10/25/2022 7:41:18 AM=>UseDefaultCredentials
10/25/2022 7:41:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:41:18 AM=>EnableSsl = true
10/25/2022 7:41:18 AM=>DeliveryMethod
10/25/2022 7:41:18 AM=>Before Send
10/25/2022 7:41: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/25/2022 7:41:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:41:27 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:41:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:41:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:41:27 AM=>Info:- END Mailing Method
10/25/2022 7:41:27 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:41:27 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:41:27 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:41:27 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:41:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:41:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:41:27 AM=>Info - End of callingService Method
10/25/2022 7:43:27 AM=>Info - Check time Elapsed
10/25/2022 7:43:27 AM=>Info - Call callingService Method
10/25/2022 7:43:27 AM=>Info:- Call Both
10/25/2022 7:43:27 AM=>Info:- Start Executing SMS Method
10/25/2022 7:43:27 AM=>Info:- End Executing SMS Method
10/25/2022 7:43:27 AM=>Info:- Start Mailing Method
10/25/2022 7:43:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:43:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:43:27 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:43:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:43:27 AM=>Info:- Count = 1
10/25/2022 7:43:27 AM=>Info:- Count 1
10/25/2022 7:43:27 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:43:27 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:43:27 AM=>Info:- Start SenMail Method
10/25/2022 7:43:27 AM=>UseDefaultCredentials
10/25/2022 7:43:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:43:27 AM=>EnableSsl = true
10/25/2022 7:43:27 AM=>DeliveryMethod
10/25/2022 7:43:27 AM=>Before Send
10/25/2022 7:44:52 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 7:44:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:44:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:44:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:44:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:44:52 AM=>Info:- END Mailing Method
10/25/2022 7:44:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:44:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:44:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:44:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:44:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:44:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:44:52 AM=>Info - End of callingService Method
10/25/2022 7:46:52 AM=>Info - Check time Elapsed
10/25/2022 7:46:52 AM=>Info - Call callingService Method
10/25/2022 7:46:52 AM=>Info:- Call Both
10/25/2022 7:46:52 AM=>Info:- Start Executing SMS Method
10/25/2022 7:46:52 AM=>Info:- End Executing SMS Method
10/25/2022 7:46:52 AM=>Info:- Start Mailing Method
10/25/2022 7:46:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:46:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:46:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:46:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:46:52 AM=>Info:- Count = 1
10/25/2022 7:46:52 AM=>Info:- Count 1
10/25/2022 7:46:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:46:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:46:52 AM=>Info:- Start SenMail Method
10/25/2022 7:46:52 AM=>UseDefaultCredentials
10/25/2022 7:46:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:46:52 AM=>EnableSsl = true
10/25/2022 7:46:52 AM=>DeliveryMethod
10/25/2022 7:46:52 AM=>Before Send
10/25/2022 7:46: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/25/2022 7:46:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:46:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:46:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:46:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:46:52 AM=>Info:- END Mailing Method
10/25/2022 7:46:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:46:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:46:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:46:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:46:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:46:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:46:52 AM=>Info - End of callingService Method
10/25/2022 7:48:52 AM=>Info - Check time Elapsed
10/25/2022 7:48:52 AM=>Info - Call callingService Method
10/25/2022 7:48:52 AM=>Info:- Call Both
10/25/2022 7:48:52 AM=>Info:- Start Executing SMS Method
10/25/2022 7:48:52 AM=>Info:- End Executing SMS Method
10/25/2022 7:48:52 AM=>Info:- Start Mailing Method
10/25/2022 7:48:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:48:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:48:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:48:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:48:52 AM=>Info:- Count = 1
10/25/2022 7:48:52 AM=>Info:- Count 1
10/25/2022 7:48:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:48:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:48:52 AM=>Info:- Start SenMail Method
10/25/2022 7:48:52 AM=>UseDefaultCredentials
10/25/2022 7:48:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:48:52 AM=>EnableSsl = true
10/25/2022 7:48:52 AM=>DeliveryMethod
10/25/2022 7:48:52 AM=>Before Send
10/25/2022 7:48: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/25/2022 7:48:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:48:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:48:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:48:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:48:53 AM=>Info:- END Mailing Method
10/25/2022 7:48:53 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:48:53 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:48:53 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:48:53 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:48:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:48:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:48:53 AM=>Info - End of callingService Method
10/25/2022 7:50:53 AM=>Info - Check time Elapsed
10/25/2022 7:50:53 AM=>Info - Call callingService Method
10/25/2022 7:50:53 AM=>Info:- Call Both
10/25/2022 7:50:53 AM=>Info:- Start Executing SMS Method
10/25/2022 7:50:53 AM=>Info:- End Executing SMS Method
10/25/2022 7:50:53 AM=>Info:- Start Mailing Method
10/25/2022 7:50:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:50:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:50:53 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:50:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:50:53 AM=>Info:- Count = 1
10/25/2022 7:50:53 AM=>Info:- Count 1
10/25/2022 7:50:53 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:50:53 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:50:53 AM=>Info:- Start SenMail Method
10/25/2022 7:50:53 AM=>UseDefaultCredentials
10/25/2022 7:50:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:50:53 AM=>EnableSsl = true
10/25/2022 7:50:53 AM=>DeliveryMethod
10/25/2022 7:50:53 AM=>Before Send
10/25/2022 7:50: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/25/2022 7:50:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:50:53 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:50:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:50:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:50:53 AM=>Info:- END Mailing Method
10/25/2022 7:50:53 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:50:53 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:50:53 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:50:53 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:50:53 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:50:53 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:50:53 AM=>Info - End of callingService Method
10/25/2022 7:52:53 AM=>Info - Check time Elapsed
10/25/2022 7:52:53 AM=>Info - Call callingService Method
10/25/2022 7:52:53 AM=>Info:- Call Both
10/25/2022 7:52:53 AM=>Info:- Start Executing SMS Method
10/25/2022 7:52:53 AM=>Info:- End Executing SMS Method
10/25/2022 7:52:53 AM=>Info:- Start Mailing Method
10/25/2022 7:52:53 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:52:53 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:52:53 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:52:53 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:52:53 AM=>Info:- Count = 1
10/25/2022 7:52:53 AM=>Info:- Count 1
10/25/2022 7:52:53 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:52:53 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:52:53 AM=>Info:- Start SenMail Method
10/25/2022 7:52:53 AM=>UseDefaultCredentials
10/25/2022 7:52:53 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:52:53 AM=>EnableSsl = true
10/25/2022 7:52:53 AM=>DeliveryMethod
10/25/2022 7:52:53 AM=>Before Send
10/25/2022 7:53: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/25/2022 7:53:02 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:53:02 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:53:02 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:53:02 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:53:02 AM=>Info:- END Mailing Method
10/25/2022 7:53:02 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:53:02 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:53:02 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:53:02 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:53:02 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:53:02 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:53:02 AM=>Info - End of callingService Method
10/25/2022 7:55:02 AM=>Info - Check time Elapsed
10/25/2022 7:55:02 AM=>Info - Call callingService Method
10/25/2022 7:55:02 AM=>Info:- Call Both
10/25/2022 7:55:02 AM=>Info:- Start Executing SMS Method
10/25/2022 7:55:03 AM=>Info:- End Executing SMS Method
10/25/2022 7:55:03 AM=>Info:- Start Mailing Method
10/25/2022 7:55:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:55:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:55:03 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:55:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:55:03 AM=>Info:- Count = 1
10/25/2022 7:55:03 AM=>Info:- Count 1
10/25/2022 7:55:03 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:55:03 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:55:03 AM=>Info:- Start SenMail Method
10/25/2022 7:55:03 AM=>UseDefaultCredentials
10/25/2022 7:55:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:55:03 AM=>EnableSsl = true
10/25/2022 7:55:03 AM=>DeliveryMethod
10/25/2022 7:55:03 AM=>Before Send
10/25/2022 7:55: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/25/2022 7:55:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:55:12 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:55:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:55:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:55:12 AM=>Info:- END Mailing Method
10/25/2022 7:55:12 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:55:12 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:55:12 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:55:12 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:55:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:55:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:55:12 AM=>Info - End of callingService Method
10/25/2022 7:57:12 AM=>Info - Check time Elapsed
10/25/2022 7:57:12 AM=>Info - Call callingService Method
10/25/2022 7:57:12 AM=>Info:- Call Both
10/25/2022 7:57:12 AM=>Info:- Start Executing SMS Method
10/25/2022 7:57:12 AM=>Info:- End Executing SMS Method
10/25/2022 7:57:12 AM=>Info:- Start Mailing Method
10/25/2022 7:57:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:57:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:57:12 AM=>Info:- PendingMail.xml file read to list
10/25/2022 7:57:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:57:12 AM=>Info:- Count = 1
10/25/2022 7:57:12 AM=>Info:- Count 1
10/25/2022 7:57:12 AM=>Info - Fetching Data From MAIL XML
10/25/2022 7:57:12 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:57:12 AM=>Info:- Start SenMail Method
10/25/2022 7:57:12 AM=>UseDefaultCredentials
10/25/2022 7:57:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:57:12 AM=>EnableSsl = true
10/25/2022 7:57:12 AM=>DeliveryMethod
10/25/2022 7:57:12 AM=>Before Send
10/25/2022 7:58: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.33.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 7:58:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:58:36 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:58:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:58:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:58:36 AM=>Info:- END Mailing Method
10/25/2022 7:58:36 AM=>Info:- Start Executing Telegram Method
10/25/2022 7:58:36 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:58:36 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:58:36 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:58:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:58:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:58:36 AM=>Info - End of callingService Method
10/25/2022 8:00:36 AM=>Info - Check time Elapsed
10/25/2022 8:00:36 AM=>Info - Call callingService Method
10/25/2022 8:00:36 AM=>Info:- Call Both
10/25/2022 8:00:36 AM=>Info:- Start Executing SMS Method
10/25/2022 8:00:36 AM=>Info:- End Executing SMS Method
10/25/2022 8:00:36 AM=>Info:- Start Mailing Method
10/25/2022 8:00:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:00:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:00:37 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:00:37 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:00:37 AM=>Info:- Count = 1
10/25/2022 8:00:37 AM=>Info:- Count 1
10/25/2022 8:00:37 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:00:37 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:00:37 AM=>Info:- Start SenMail Method
10/25/2022 8:00:37 AM=>UseDefaultCredentials
10/25/2022 8:00:37 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:00:37 AM=>EnableSsl = true
10/25/2022 8:00:37 AM=>DeliveryMethod
10/25/2022 8:00:37 AM=>Before Send
10/25/2022 8:02: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.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/25/2022 8:02:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:02:01 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:02:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:02:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:02:01 AM=>Info:- END Mailing Method
10/25/2022 8:02:01 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:02:01 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:02:01 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:02:01 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:02:01 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:02:01 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:02:01 AM=>Info - End of callingService Method
10/25/2022 8:04:01 AM=>Info - Check time Elapsed
10/25/2022 8:04:01 AM=>Info - Call callingService Method
10/25/2022 8:04:01 AM=>Info:- Call Both
10/25/2022 8:04:01 AM=>Info:- Start Executing SMS Method
10/25/2022 8:04:01 AM=>Info:- End Executing SMS Method
10/25/2022 8:04:01 AM=>Info:- Start Mailing Method
10/25/2022 8:04:01 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:04:01 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:04:01 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:04:01 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:04:01 AM=>Info:- Count = 1
10/25/2022 8:04:01 AM=>Info:- Count 1
10/25/2022 8:04:01 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:04:01 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:04:01 AM=>Info:- Start SenMail Method
10/25/2022 8:04:01 AM=>UseDefaultCredentials
10/25/2022 8:04:01 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:04:01 AM=>EnableSsl = true
10/25/2022 8:04:01 AM=>DeliveryMethod
10/25/2022 8:04:01 AM=>Before Send
10/25/2022 8:05: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.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/25/2022 8:05:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:05:25 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:05:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:05:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:05:25 AM=>Info:- END Mailing Method
10/25/2022 8:05:25 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:05:25 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:05:25 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:05:25 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:05:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:05:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:05:25 AM=>Info - End of callingService Method
10/25/2022 8:07:26 AM=>Info - Check time Elapsed
10/25/2022 8:07:26 AM=>Info - Call callingService Method
10/25/2022 8:07:26 AM=>Info:- Call Both
10/25/2022 8:07:26 AM=>Info:- Start Executing SMS Method
10/25/2022 8:07:26 AM=>Info:- End Executing SMS Method
10/25/2022 8:07:26 AM=>Info:- Start Mailing Method
10/25/2022 8:07:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:07:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:07:26 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:07:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:07:26 AM=>Info:- Count = 1
10/25/2022 8:07:26 AM=>Info:- Count 1
10/25/2022 8:07:26 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:07:26 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:07:26 AM=>Info:- Start SenMail Method
10/25/2022 8:07:26 AM=>UseDefaultCredentials
10/25/2022 8:07:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:07:26 AM=>EnableSsl = true
10/25/2022 8:07:26 AM=>DeliveryMethod
10/25/2022 8:07:26 AM=>Before Send
10/25/2022 8:07: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/25/2022 8:07:29 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:07:29 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:07:29 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:07:29 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:07:29 AM=>Info:- END Mailing Method
10/25/2022 8:07:29 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:07:29 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:07:29 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:07:29 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:07:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:07:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:07:29 AM=>Info - End of callingService Method
10/25/2022 8:09:29 AM=>Info - Check time Elapsed
10/25/2022 8:09:29 AM=>Info - Call callingService Method
10/25/2022 8:09:29 AM=>Info:- Call Both
10/25/2022 8:09:29 AM=>Info:- Start Executing SMS Method
10/25/2022 8:09:29 AM=>Info:- End Executing SMS Method
10/25/2022 8:09:29 AM=>Info:- Start Mailing Method
10/25/2022 8:09:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:09:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:09:29 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:09:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:09:29 AM=>Info:- Count = 1
10/25/2022 8:09:29 AM=>Info:- Count 1
10/25/2022 8:09:29 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:09:29 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:09:29 AM=>Info:- Start SenMail Method
10/25/2022 8:09:29 AM=>UseDefaultCredentials
10/25/2022 8:09:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:09:29 AM=>EnableSsl = true
10/25/2022 8:09:29 AM=>DeliveryMethod
10/25/2022 8:09:29 AM=>Before Send
10/25/2022 8:10: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/25/2022 8:10:32 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:10:32 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:10:32 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:10:32 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:10:32 AM=>Info:- END Mailing Method
10/25/2022 8:10:32 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:10:32 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:10:32 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:10:32 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:10:32 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:10:32 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:10:32 AM=>Info - End of callingService Method
10/25/2022 8:12:32 AM=>Info - Check time Elapsed
10/25/2022 8:12:32 AM=>Info - Call callingService Method
10/25/2022 8:12:32 AM=>Info:- Call Both
10/25/2022 8:12:32 AM=>Info:- Start Executing SMS Method
10/25/2022 8:12:32 AM=>Info:- End Executing SMS Method
10/25/2022 8:12:32 AM=>Info:- Start Mailing Method
10/25/2022 8:12:32 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:12:32 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:12:32 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:12:32 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:12:32 AM=>Info:- Count = 1
10/25/2022 8:12:32 AM=>Info:- Count 1
10/25/2022 8:12:32 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:12:32 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:12:32 AM=>Info:- Start SenMail Method
10/25/2022 8:12:32 AM=>UseDefaultCredentials
10/25/2022 8:12:32 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:12:32 AM=>EnableSsl = true
10/25/2022 8:12:32 AM=>DeliveryMethod
10/25/2022 8:12:32 AM=>Before Send
10/25/2022 8:13: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.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/25/2022 8:13:57 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:13:57 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:13:57 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:13:57 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:13:57 AM=>Info:- END Mailing Method
10/25/2022 8:13:57 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:13:57 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:13:57 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:13:57 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:13:57 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:13:57 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:13:57 AM=>Info - End of callingService Method
10/25/2022 8:15:57 AM=>Info - Check time Elapsed
10/25/2022 8:15:57 AM=>Info - Call callingService Method
10/25/2022 8:15:57 AM=>Info:- Call Both
10/25/2022 8:15:57 AM=>Info:- Start Executing SMS Method
10/25/2022 8:15:57 AM=>Info:- End Executing SMS Method
10/25/2022 8:15:57 AM=>Info:- Start Mailing Method
10/25/2022 8:15:57 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:15:57 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:15:57 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:15:57 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:15:57 AM=>Info:- Count = 1
10/25/2022 8:15:57 AM=>Info:- Count 1
10/25/2022 8:15:57 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:15:57 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:15:57 AM=>Info:- Start SenMail Method
10/25/2022 8:15:57 AM=>UseDefaultCredentials
10/25/2022 8:15:57 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:15:57 AM=>EnableSsl = true
10/25/2022 8:15:57 AM=>DeliveryMethod
10/25/2022 8:15:57 AM=>Before Send
10/25/2022 8:16: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/25/2022 8:16:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:16:00 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:16:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:16:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:16:00 AM=>Info:- END Mailing Method
10/25/2022 8:16:00 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:16:00 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:16:00 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:16:00 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:16:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:16:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:16:00 AM=>Info - End of callingService Method
10/25/2022 8:18:00 AM=>Info - Check time Elapsed
10/25/2022 8:18:00 AM=>Info - Call callingService Method
10/25/2022 8:18:00 AM=>Info:- Call Both
10/25/2022 8:18:00 AM=>Info:- Start Executing SMS Method
10/25/2022 8:18:00 AM=>Info:- End Executing SMS Method
10/25/2022 8:18:00 AM=>Info:- Start Mailing Method
10/25/2022 8:18:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:18:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:18:00 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:18:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:18:00 AM=>Info:- Count = 1
10/25/2022 8:18:00 AM=>Info:- Count 1
10/25/2022 8:18:00 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:18:00 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:18:00 AM=>Info:- Start SenMail Method
10/25/2022 8:18:00 AM=>UseDefaultCredentials
10/25/2022 8:18:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:18:00 AM=>EnableSsl = true
10/25/2022 8:18:00 AM=>DeliveryMethod
10/25/2022 8:18:00 AM=>Before Send
10/25/2022 8:18: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/25/2022 8:18:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:18:03 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:18:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:18:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:18:04 AM=>Info:- END Mailing Method
10/25/2022 8:18:04 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:18:04 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:18:04 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:18:04 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:18:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:18:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:18:04 AM=>Info - End of callingService Method
10/25/2022 8:20:04 AM=>Info - Check time Elapsed
10/25/2022 8:20:04 AM=>Info - Call callingService Method
10/25/2022 8:20:04 AM=>Info:- Call Both
10/25/2022 8:20:04 AM=>Info:- Start Executing SMS Method
10/25/2022 8:20:04 AM=>Info:- End Executing SMS Method
10/25/2022 8:20:04 AM=>Info:- Start Mailing Method
10/25/2022 8:20:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:20:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:20:04 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:20:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:20:04 AM=>Info:- Count = 1
10/25/2022 8:20:04 AM=>Info:- Count 1
10/25/2022 8:20:04 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:20:04 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:20:04 AM=>Info:- Start SenMail Method
10/25/2022 8:20:04 AM=>UseDefaultCredentials
10/25/2022 8:20:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:20:04 AM=>EnableSsl = true
10/25/2022 8:20:04 AM=>DeliveryMethod
10/25/2022 8:20:04 AM=>Before Send
10/25/2022 8:20: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/25/2022 8:20:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:20:13 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:20:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:20:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:20:13 AM=>Info:- END Mailing Method
10/25/2022 8:20:13 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:20:13 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:20:13 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:20:13 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:20:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:20:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:20:13 AM=>Info - End of callingService Method
10/25/2022 8:22:13 AM=>Info - Check time Elapsed
10/25/2022 8:22:13 AM=>Info - Call callingService Method
10/25/2022 8:22:13 AM=>Info:- Call Both
10/25/2022 8:22:13 AM=>Info:- Start Executing SMS Method
10/25/2022 8:22:13 AM=>Info:- End Executing SMS Method
10/25/2022 8:22:13 AM=>Info:- Start Mailing Method
10/25/2022 8:22:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:22:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:22:13 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:22:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:22:13 AM=>Info:- Count = 1
10/25/2022 8:22:13 AM=>Info:- Count 1
10/25/2022 8:22:13 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:22:13 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:22:13 AM=>Info:- Start SenMail Method
10/25/2022 8:22:13 AM=>UseDefaultCredentials
10/25/2022 8:22:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:22:13 AM=>EnableSsl = true
10/25/2022 8:22:13 AM=>DeliveryMethod
10/25/2022 8:22:13 AM=>Before Send
10/25/2022 8: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 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/25/2022 8:23:37 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:23:37 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:23:37 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:23:37 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:23:38 AM=>Info:- END Mailing Method
10/25/2022 8:23:38 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:23:38 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:23:38 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:23:38 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:23:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:23:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:23:38 AM=>Info - End of callingService Method
10/25/2022 8:25:38 AM=>Info - Check time Elapsed
10/25/2022 8:25:38 AM=>Info - Call callingService Method
10/25/2022 8:25:38 AM=>Info:- Call Both
10/25/2022 8:25:38 AM=>Info:- Start Executing SMS Method
10/25/2022 8:25:38 AM=>Info:- End Executing SMS Method
10/25/2022 8:25:38 AM=>Info:- Start Mailing Method
10/25/2022 8:25:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:25:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:25:38 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:25:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:25:38 AM=>Info:- Count = 1
10/25/2022 8:25:38 AM=>Info:- Count 1
10/25/2022 8:25:38 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:25:38 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:25:38 AM=>Info:- Start SenMail Method
10/25/2022 8:25:38 AM=>UseDefaultCredentials
10/25/2022 8:25:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:25:38 AM=>EnableSsl = true
10/25/2022 8:25:38 AM=>DeliveryMethod
10/25/2022 8:25:38 AM=>Before Send
10/25/2022 8:25: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/25/2022 8:25:47 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:25:47 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:25:47 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:25:47 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:25:47 AM=>Info:- END Mailing Method
10/25/2022 8:25:47 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:25:47 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:25:47 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:25:47 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:25:47 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:25:47 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:25:47 AM=>Info - End of callingService Method
10/25/2022 8:27:47 AM=>Info - Check time Elapsed
10/25/2022 8:27:47 AM=>Info - Call callingService Method
10/25/2022 8:27:47 AM=>Info:- Call Both
10/25/2022 8:27:47 AM=>Info:- Start Executing SMS Method
10/25/2022 8:27:47 AM=>Info:- End Executing SMS Method
10/25/2022 8:27:47 AM=>Info:- Start Mailing Method
10/25/2022 8:27:47 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:27:47 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:27:47 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:27:47 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:27:47 AM=>Info:- Count = 1
10/25/2022 8:27:47 AM=>Info:- Count 1
10/25/2022 8:27:47 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:27:47 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:27:47 AM=>Info:- Start SenMail Method
10/25/2022 8:27:47 AM=>UseDefaultCredentials
10/25/2022 8:27:47 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:27:47 AM=>EnableSsl = true
10/25/2022 8:27:47 AM=>DeliveryMethod
10/25/2022 8:27:47 AM=>Before Send
10/25/2022 8: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/25/2022 8:27:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:27:56 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:27:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:27:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:27:57 AM=>Info:- END Mailing Method
10/25/2022 8:27:57 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:27:57 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:27:57 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:27:57 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:27:57 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:27:57 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:27:57 AM=>Info - End of callingService Method
10/25/2022 8:29:57 AM=>Info - Check time Elapsed
10/25/2022 8:29:57 AM=>Info - Call callingService Method
10/25/2022 8:29:57 AM=>Info:- Call Both
10/25/2022 8:29:57 AM=>Info:- Start Executing SMS Method
10/25/2022 8:29:57 AM=>Info:- End Executing SMS Method
10/25/2022 8:29:57 AM=>Info:- Start Mailing Method
10/25/2022 8:29:57 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:29:57 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:29:57 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:29:57 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:29:57 AM=>Info:- Count = 1
10/25/2022 8:29:57 AM=>Info:- Count 1
10/25/2022 8:29:57 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:29:57 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:29:57 AM=>Info:- Start SenMail Method
10/25/2022 8:29:57 AM=>UseDefaultCredentials
10/25/2022 8:29:57 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:29:57 AM=>EnableSsl = true
10/25/2022 8:29:57 AM=>DeliveryMethod
10/25/2022 8:29:57 AM=>Before Send
10/25/2022 8:29:57 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 8:29:57 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:29:57 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:29:57 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:29:57 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:29:57 AM=>Info:- END Mailing Method
10/25/2022 8:29:57 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:29:57 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:29:57 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:29:57 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:29:57 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:29:57 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:29:57 AM=>Info - End of callingService Method
10/25/2022 8:31:57 AM=>Info - Check time Elapsed
10/25/2022 8:31:57 AM=>Info - Call callingService Method
10/25/2022 8:31:57 AM=>Info:- Call Both
10/25/2022 8:31:57 AM=>Info:- Start Executing SMS Method
10/25/2022 8:31:57 AM=>Info:- End Executing SMS Method
10/25/2022 8:31:57 AM=>Info:- Start Mailing Method
10/25/2022 8:31:57 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:31:57 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:31:57 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:31:57 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:31:57 AM=>Info:- Count = 1
10/25/2022 8:31:57 AM=>Info:- Count 1
10/25/2022 8:31:57 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:31:57 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:31:57 AM=>Info:- Start SenMail Method
10/25/2022 8:31:57 AM=>UseDefaultCredentials
10/25/2022 8:31:57 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:31:57 AM=>EnableSsl = true
10/25/2022 8:31:57 AM=>DeliveryMethod
10/25/2022 8:31:57 AM=>Before Send
10/25/2022 8:33:21 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/25/2022 8:33:21 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:33:21 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:33:21 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:33:21 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:33:22 AM=>Info:- END Mailing Method
10/25/2022 8:33:22 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:33:22 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:33:22 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:33:22 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:33:22 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:33:22 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:33:22 AM=>Info - End of callingService Method
10/25/2022 8:35:22 AM=>Info - Check time Elapsed
10/25/2022 8:35:22 AM=>Info - Call callingService Method
10/25/2022 8:35:22 AM=>Info:- Call Both
10/25/2022 8:35:22 AM=>Info:- Start Executing SMS Method
10/25/2022 8:35:22 AM=>Info:- End Executing SMS Method
10/25/2022 8:35:22 AM=>Info:- Start Mailing Method
10/25/2022 8:35:22 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:35:22 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:35:22 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:35:22 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:35:22 AM=>Info:- Count = 1
10/25/2022 8:35:22 AM=>Info:- Count 1
10/25/2022 8:35:22 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:35:22 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:35:22 AM=>Info:- Start SenMail Method
10/25/2022 8:35:22 AM=>UseDefaultCredentials
10/25/2022 8:35:22 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:35:22 AM=>EnableSsl = true
10/25/2022 8:35:22 AM=>DeliveryMethod
10/25/2022 8:35:22 AM=>Before Send
10/25/2022 8:36:46 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 8:36:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:36:46 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:36:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:36:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:36:46 AM=>Info:- END Mailing Method
10/25/2022 8:36:46 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:36:46 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:36:46 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:36:46 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:36:46 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:36:46 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:36:46 AM=>Info - End of callingService Method
10/25/2022 8:38:46 AM=>Info - Check time Elapsed
10/25/2022 8:38:46 AM=>Info - Call callingService Method
10/25/2022 8:38:46 AM=>Info:- Call Both
10/25/2022 8:38:46 AM=>Info:- Start Executing SMS Method
10/25/2022 8:38:46 AM=>Info:- End Executing SMS Method
10/25/2022 8:38:46 AM=>Info:- Start Mailing Method
10/25/2022 8:38:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:38:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:38:46 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:38:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:38:46 AM=>Info:- Count = 1
10/25/2022 8:38:46 AM=>Info:- Count 1
10/25/2022 8:38:46 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:38:46 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:38:46 AM=>Info:- Start SenMail Method
10/25/2022 8:38:46 AM=>UseDefaultCredentials
10/25/2022 8:38:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:38:46 AM=>EnableSsl = true
10/25/2022 8:38:46 AM=>DeliveryMethod
10/25/2022 8:38:46 AM=>Before Send
10/25/2022 8:39: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/25/2022 8:39:07 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:39:07 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:39:07 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:39:07 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:39:08 AM=>Info:- END Mailing Method
10/25/2022 8:39:08 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:39:08 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:39:08 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:39:08 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:39:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:39:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:39:08 AM=>Info - End of callingService Method
10/25/2022 8:41:08 AM=>Info - Check time Elapsed
10/25/2022 8:41:08 AM=>Info - Call callingService Method
10/25/2022 8:41:08 AM=>Info:- Call Both
10/25/2022 8:41:08 AM=>Info:- Start Executing SMS Method
10/25/2022 8:41:08 AM=>Info:- End Executing SMS Method
10/25/2022 8:41:08 AM=>Info:- Start Mailing Method
10/25/2022 8:41:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:41:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:41:08 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:41:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:41:08 AM=>Info:- Count = 1
10/25/2022 8:41:08 AM=>Info:- Count 1
10/25/2022 8:41:08 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:41:08 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:41:08 AM=>Info:- Start SenMail Method
10/25/2022 8:41:08 AM=>UseDefaultCredentials
10/25/2022 8:41:08 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:41:08 AM=>EnableSsl = true
10/25/2022 8:41:08 AM=>DeliveryMethod
10/25/2022 8:41:08 AM=>Before Send
10/25/2022 8:41: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/25/2022 8:41:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:41:50 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:41:50 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:41:50 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:41:50 AM=>Info:- END Mailing Method
10/25/2022 8:41:50 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:41:50 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:41:50 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:41:50 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:41:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:41:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:41:50 AM=>Info - End of callingService Method
10/25/2022 8:43:50 AM=>Info - Check time Elapsed
10/25/2022 8:43:50 AM=>Info - Call callingService Method
10/25/2022 8:43:51 AM=>Info:- Call Both
10/25/2022 8:43:51 AM=>Info:- Start Executing SMS Method
10/25/2022 8:43:51 AM=>Info:- End Executing SMS Method
10/25/2022 8:43:51 AM=>Info:- Start Mailing Method
10/25/2022 8:43:51 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:43:51 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:43:51 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:43:51 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:43:51 AM=>Info:- Count = 1
10/25/2022 8:43:51 AM=>Info:- Count 1
10/25/2022 8:43:51 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:43:51 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:43:51 AM=>Info:- Start SenMail Method
10/25/2022 8:43:51 AM=>UseDefaultCredentials
10/25/2022 8:43:51 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:43:51 AM=>EnableSsl = true
10/25/2022 8:43:51 AM=>DeliveryMethod
10/25/2022 8:43:51 AM=>Before Send
10/25/2022 8:43: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/25/2022 8:43:51 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:43:51 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:43:51 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:43:51 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:43:51 AM=>Info:- END Mailing Method
10/25/2022 8:43:51 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:43:51 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:43:51 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:43:51 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:43:51 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:43:51 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:43:51 AM=>Info - End of callingService Method
10/25/2022 8:45:51 AM=>Info - Check time Elapsed
10/25/2022 8:45:51 AM=>Info - Call callingService Method
10/25/2022 8:45:51 AM=>Info:- Call Both
10/25/2022 8:45:51 AM=>Info:- Start Executing SMS Method
10/25/2022 8:45:51 AM=>Info:- End Executing SMS Method
10/25/2022 8:45:51 AM=>Info:- Start Mailing Method
10/25/2022 8:45:51 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:45:51 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:45:51 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:45:51 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:45:51 AM=>Info:- Count = 1
10/25/2022 8:45:51 AM=>Info:- Count 1
10/25/2022 8:45:51 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:45:51 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:45:51 AM=>Info:- Start SenMail Method
10/25/2022 8:45:51 AM=>UseDefaultCredentials
10/25/2022 8:45:51 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:45:51 AM=>EnableSsl = true
10/25/2022 8:45:51 AM=>DeliveryMethod
10/25/2022 8:45:51 AM=>Before Send
10/25/2022 8:46: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/25/2022 8:46:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:46:00 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:46:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:46:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:46:00 AM=>Info:- END Mailing Method
10/25/2022 8:46:00 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:46:00 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:46:00 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:46:00 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:46:00 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:46:00 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:46:00 AM=>Info - End of callingService Method
10/25/2022 8:48:00 AM=>Info - Check time Elapsed
10/25/2022 8:48:00 AM=>Info - Call callingService Method
10/25/2022 8:48:00 AM=>Info:- Call Both
10/25/2022 8:48:00 AM=>Info:- Start Executing SMS Method
10/25/2022 8:48:00 AM=>Info:- End Executing SMS Method
10/25/2022 8:48:00 AM=>Info:- Start Mailing Method
10/25/2022 8:48:00 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:48:00 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:48:00 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:48:00 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:48:00 AM=>Info:- Count = 1
10/25/2022 8:48:00 AM=>Info:- Count 1
10/25/2022 8:48:00 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:48:00 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:48:00 AM=>Info:- Start SenMail Method
10/25/2022 8:48:00 AM=>UseDefaultCredentials
10/25/2022 8:48:00 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:48:00 AM=>EnableSsl = true
10/25/2022 8:48:00 AM=>DeliveryMethod
10/25/2022 8:48:00 AM=>Before Send
10/25/2022 8:49: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/25/2022 8:49:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:49:03 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:49:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:49:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:49:04 AM=>Info:- END Mailing Method
10/25/2022 8:49:04 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:49:04 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:49:04 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:49:04 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:49:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:49:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:49:04 AM=>Info - End of callingService Method
10/25/2022 8:51:04 AM=>Info - Check time Elapsed
10/25/2022 8:51:04 AM=>Info - Call callingService Method
10/25/2022 8:51:04 AM=>Info:- Call Both
10/25/2022 8:51:04 AM=>Info:- Start Executing SMS Method
10/25/2022 8:51:04 AM=>Info:- End Executing SMS Method
10/25/2022 8:51:04 AM=>Info:- Start Mailing Method
10/25/2022 8:51:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:51:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:51:04 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:51:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:51:04 AM=>Info:- Count = 1
10/25/2022 8:51:04 AM=>Info:- Count 1
10/25/2022 8:51:04 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:51:04 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:51:04 AM=>Info:- Start SenMail Method
10/25/2022 8:51:04 AM=>UseDefaultCredentials
10/25/2022 8:51:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:51:04 AM=>EnableSsl = true
10/25/2022 8:51:04 AM=>DeliveryMethod
10/25/2022 8:51:04 AM=>Before Send
10/25/2022 8:51: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/25/2022 8:51:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:51:13 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:51:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:51:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:51:13 AM=>Info:- END Mailing Method
10/25/2022 8:51:13 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:51:13 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:51:13 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:51:13 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:51:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:51:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:51:13 AM=>Info - End of callingService Method
10/25/2022 8:53:13 AM=>Info - Check time Elapsed
10/25/2022 8:53:13 AM=>Info - Call callingService Method
10/25/2022 8:53:13 AM=>Info:- Call Both
10/25/2022 8:53:13 AM=>Info:- Start Executing SMS Method
10/25/2022 8:53:13 AM=>Info:- End Executing SMS Method
10/25/2022 8:53:13 AM=>Info:- Start Mailing Method
10/25/2022 8:53:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:53:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:53:13 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:53:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:53:13 AM=>Info:- Count = 1
10/25/2022 8:53:13 AM=>Info:- Count 1
10/25/2022 8:53:13 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:53:13 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:53:13 AM=>Info:- Start SenMail Method
10/25/2022 8:53:13 AM=>UseDefaultCredentials
10/25/2022 8:53:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:53:13 AM=>EnableSsl = true
10/25/2022 8:53:13 AM=>DeliveryMethod
10/25/2022 8:53:13 AM=>Before Send
10/25/2022 8:54:37 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 8:54:37 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:54:37 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:54:37 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:54:37 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:54:38 AM=>Info:- END Mailing Method
10/25/2022 8:54:38 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:54:38 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:54:38 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:54:38 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:54:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:54:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:54:38 AM=>Info - End of callingService Method
10/25/2022 8:56:38 AM=>Info - Check time Elapsed
10/25/2022 8:56:38 AM=>Info - Call callingService Method
10/25/2022 8:56:38 AM=>Info:- Call Both
10/25/2022 8:56:38 AM=>Info:- Start Executing SMS Method
10/25/2022 8:56:38 AM=>Info:- End Executing SMS Method
10/25/2022 8:56:38 AM=>Info:- Start Mailing Method
10/25/2022 8:56:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:56:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:56:38 AM=>Info:- PendingMail.xml file read to list
10/25/2022 8:56:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:56:38 AM=>Info:- Count = 1
10/25/2022 8:56:38 AM=>Info:- Count 1
10/25/2022 8:56:38 AM=>Info - Fetching Data From MAIL XML
10/25/2022 8:56:38 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:56:38 AM=>Info:- Start SenMail Method
10/25/2022 8:56:38 AM=>UseDefaultCredentials
10/25/2022 8:56:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:56:38 AM=>EnableSsl = true
10/25/2022 8:56:38 AM=>DeliveryMethod
10/25/2022 8:56:38 AM=>Before Send
10/25/2022 8:58: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.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/25/2022 8:58:02 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:58:02 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:58:02 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:58:02 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:58:02 AM=>Info:- END Mailing Method
10/25/2022 8:58:02 AM=>Info:- Start Executing Telegram Method
10/25/2022 8:58:02 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:58:02 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:58:02 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:58:02 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:58:02 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:58:02 AM=>Info - End of callingService Method
10/25/2022 9:00:02 AM=>Info - Check time Elapsed
10/25/2022 9:00:02 AM=>Info - Call callingService Method
10/25/2022 9:00:02 AM=>Info:- Call Both
10/25/2022 9:00:02 AM=>Info:- Start Executing SMS Method
10/25/2022 9:00:02 AM=>Info:- End Executing SMS Method
10/25/2022 9:00:02 AM=>Info:- Start Mailing Method
10/25/2022 9:00:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:00:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:00:02 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:00:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:00:02 AM=>Info:- Count = 1
10/25/2022 9:00:02 AM=>Info:- Count 1
10/25/2022 9:00:02 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:00:02 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:00:02 AM=>Info:- Start SenMail Method
10/25/2022 9:00:02 AM=>UseDefaultCredentials
10/25/2022 9:00:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:00:02 AM=>EnableSsl = true
10/25/2022 9:00:02 AM=>DeliveryMethod
10/25/2022 9:00:02 AM=>Before Send
10/25/2022 9:01:27 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 9:01:27 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:01:27 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:01:27 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:01:27 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:01:27 AM=>Info:- END Mailing Method
10/25/2022 9:01:27 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:01:27 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:01:27 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:01:27 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:01:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:01:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:01:27 AM=>Info - End of callingService Method
10/25/2022 9:03:27 AM=>Info - Check time Elapsed
10/25/2022 9:03:27 AM=>Info - Call callingService Method
10/25/2022 9:03:27 AM=>Info:- Call Both
10/25/2022 9:03:27 AM=>Info:- Start Executing SMS Method
10/25/2022 9:03:27 AM=>Info:- End Executing SMS Method
10/25/2022 9:03:27 AM=>Info:- Start Mailing Method
10/25/2022 9:03:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:03:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:03:27 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:03:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:03:27 AM=>Info:- Count = 1
10/25/2022 9:03:27 AM=>Info:- Count 1
10/25/2022 9:03:27 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:03:27 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:03:27 AM=>Info:- Start SenMail Method
10/25/2022 9:03:27 AM=>UseDefaultCredentials
10/25/2022 9:03:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:03:27 AM=>EnableSsl = true
10/25/2022 9:03:27 AM=>DeliveryMethod
10/25/2022 9:03:27 AM=>Before Send
10/25/2022 9:04: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.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/25/2022 9:04:51 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:04:51 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:04:51 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:04:51 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:04:51 AM=>Info:- END Mailing Method
10/25/2022 9:04:51 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:04:51 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:04:51 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:04:51 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:04:51 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:04:51 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:04:51 AM=>Info - End of callingService Method
10/25/2022 9:06:52 AM=>Info - Check time Elapsed
10/25/2022 9:06:52 AM=>Info - Call callingService Method
10/25/2022 9:06:52 AM=>Info:- Call Both
10/25/2022 9:06:52 AM=>Info:- Start Executing SMS Method
10/25/2022 9:06:52 AM=>Info:- End Executing SMS Method
10/25/2022 9:06:52 AM=>Info:- Start Mailing Method
10/25/2022 9:06:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:06:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:06:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:06:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:06:52 AM=>Info:- Count = 1
10/25/2022 9:06:52 AM=>Info:- Count 1
10/25/2022 9:06:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:06:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:06:52 AM=>Info:- Start SenMail Method
10/25/2022 9:06:52 AM=>UseDefaultCredentials
10/25/2022 9:06:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:06:52 AM=>EnableSsl = true
10/25/2022 9:06:52 AM=>DeliveryMethod
10/25/2022 9:06:52 AM=>Before Send
10/25/2022 9:06: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/25/2022 9:06:55 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:06:55 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:06:55 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:06:55 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:06:55 AM=>Info:- END Mailing Method
10/25/2022 9:06:55 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:06:55 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:06:55 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:06:55 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:06:55 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:06:55 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:06:55 AM=>Info - End of callingService Method
10/25/2022 9:08:55 AM=>Info - Check time Elapsed
10/25/2022 9:08:55 AM=>Info - Call callingService Method
10/25/2022 9:08:55 AM=>Info:- Call Both
10/25/2022 9:08:55 AM=>Info:- Start Executing SMS Method
10/25/2022 9:08:55 AM=>Info:- End Executing SMS Method
10/25/2022 9:08:55 AM=>Info:- Start Mailing Method
10/25/2022 9:08:55 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:08:55 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:08:55 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:08:55 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:08:55 AM=>Info:- Count = 1
10/25/2022 9:08:55 AM=>Info:- Count 1
10/25/2022 9:08:55 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:08:55 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:08:55 AM=>Info:- Start SenMail Method
10/25/2022 9:08:55 AM=>UseDefaultCredentials
10/25/2022 9:08:55 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:08:55 AM=>EnableSsl = true
10/25/2022 9:08:55 AM=>DeliveryMethod
10/25/2022 9:08:55 AM=>Before Send
10/25/2022 9:08: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/25/2022 9:08:58 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:08:58 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:08:58 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:08:58 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:08:58 AM=>Info:- END Mailing Method
10/25/2022 9:08:58 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:08:58 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:08:58 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:08:58 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:08:58 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:08:58 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:08:58 AM=>Info - End of callingService Method
10/25/2022 9:10:58 AM=>Info - Check time Elapsed
10/25/2022 9:10:58 AM=>Info - Call callingService Method
10/25/2022 9:10:58 AM=>Info:- Call Both
10/25/2022 9:10:58 AM=>Info:- Start Executing SMS Method
10/25/2022 9:10:58 AM=>Info:- End Executing SMS Method
10/25/2022 9:10:58 AM=>Info:- Start Mailing Method
10/25/2022 9:10:58 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:10:58 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:10:58 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:10:58 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:10:58 AM=>Info:- Count = 1
10/25/2022 9:10:58 AM=>Info:- Count 1
10/25/2022 9:10:58 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:10:58 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:10:58 AM=>Info:- Start SenMail Method
10/25/2022 9:10:58 AM=>UseDefaultCredentials
10/25/2022 9:10:58 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:10:58 AM=>EnableSsl = true
10/25/2022 9:10:58 AM=>DeliveryMethod
10/25/2022 9:10:58 AM=>Before Send
10/25/2022 9:12: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.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/25/2022 9:12:23 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:12:23 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:12:23 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:12:23 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:12:23 AM=>Info:- END Mailing Method
10/25/2022 9:12:23 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:12:23 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:12:23 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:12:23 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:12:23 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:12:23 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:12:23 AM=>Info - End of callingService Method
10/25/2022 9:14:23 AM=>Info - Check time Elapsed
10/25/2022 9:14:23 AM=>Info - Call callingService Method
10/25/2022 9:14:23 AM=>Info:- Call Both
10/25/2022 9:14:23 AM=>Info:- Start Executing SMS Method
10/25/2022 9:14:23 AM=>Info:- End Executing SMS Method
10/25/2022 9:14:23 AM=>Info:- Start Mailing Method
10/25/2022 9:14:23 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:14:23 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:14:23 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:14:23 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:14:23 AM=>Info:- Count = 1
10/25/2022 9:14:23 AM=>Info:- Count 1
10/25/2022 9:14:23 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:14:23 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:14:23 AM=>Info:- Start SenMail Method
10/25/2022 9:14:23 AM=>UseDefaultCredentials
10/25/2022 9:14:23 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:14:23 AM=>EnableSsl = true
10/25/2022 9:14:23 AM=>DeliveryMethod
10/25/2022 9:14:23 AM=>Before Send
10/25/2022 9:14: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/25/2022 9:14:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:14:26 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:14:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:14:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:14:26 AM=>Info:- END Mailing Method
10/25/2022 9:14:26 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:14:26 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:14:26 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:14:26 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:14:26 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:14:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:14:26 AM=>Info - End of callingService Method
10/25/2022 9:16:26 AM=>Info - Check time Elapsed
10/25/2022 9:16:26 AM=>Info - Call callingService Method
10/25/2022 9:16:26 AM=>Info:- Call Both
10/25/2022 9:16:26 AM=>Info:- Start Executing SMS Method
10/25/2022 9:16:26 AM=>Info:- End Executing SMS Method
10/25/2022 9:16:26 AM=>Info:- Start Mailing Method
10/25/2022 9:16:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:16:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:16:26 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:16:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:16:26 AM=>Info:- Count = 1
10/25/2022 9:16:26 AM=>Info:- Count 1
10/25/2022 9:16:26 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:16:26 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:16:26 AM=>Info:- Start SenMail Method
10/25/2022 9:16:26 AM=>UseDefaultCredentials
10/25/2022 9:16:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:16:26 AM=>EnableSsl = true
10/25/2022 9:16:26 AM=>DeliveryMethod
10/25/2022 9:16:26 AM=>Before Send
10/25/2022 9:17:50 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 9:17:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:17:51 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:17:51 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:17:51 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:17:51 AM=>Info:- END Mailing Method
10/25/2022 9:17:51 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:17:51 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:17:51 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:17:51 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:17:51 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:17:51 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:17:51 AM=>Info - End of callingService Method
10/25/2022 9:19:51 AM=>Info - Check time Elapsed
10/25/2022 9:19:51 AM=>Info - Call callingService Method
10/25/2022 9:19:51 AM=>Info:- Call Both
10/25/2022 9:19:51 AM=>Info:- Start Executing SMS Method
10/25/2022 9:19:51 AM=>Info:- End Executing SMS Method
10/25/2022 9:19:51 AM=>Info:- Start Mailing Method
10/25/2022 9:19:51 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:19:51 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:19:51 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:19:51 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:19:51 AM=>Info:- Count = 1
10/25/2022 9:19:51 AM=>Info:- Count 1
10/25/2022 9:19:51 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:19:51 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:19:51 AM=>Info:- Start SenMail Method
10/25/2022 9:19:51 AM=>UseDefaultCredentials
10/25/2022 9:19:51 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:19:51 AM=>EnableSsl = true
10/25/2022 9:19:51 AM=>DeliveryMethod
10/25/2022 9:19:51 AM=>Before Send
10/25/2022 9:19: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/25/2022 9:19:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:19:54 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:19:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:19:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:19:54 AM=>Info:- END Mailing Method
10/25/2022 9:19:54 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:19:54 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:19:54 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:19:54 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:19:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:19:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:19:54 AM=>Info - End of callingService Method
10/25/2022 9:21:54 AM=>Info - Check time Elapsed
10/25/2022 9:21:54 AM=>Info - Call callingService Method
10/25/2022 9:21:54 AM=>Info:- Call Both
10/25/2022 9:21:54 AM=>Info:- Start Executing SMS Method
10/25/2022 9:21:54 AM=>Info:- End Executing SMS Method
10/25/2022 9:21:54 AM=>Info:- Start Mailing Method
10/25/2022 9:21:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:21:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:21:54 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:21:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:21:54 AM=>Info:- Count = 1
10/25/2022 9:21:54 AM=>Info:- Count 1
10/25/2022 9:21:54 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:21:54 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:21:54 AM=>Info:- Start SenMail Method
10/25/2022 9:21:54 AM=>UseDefaultCredentials
10/25/2022 9:21:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:21:54 AM=>EnableSsl = true
10/25/2022 9:21:54 AM=>DeliveryMethod
10/25/2022 9:21:54 AM=>Before Send
10/25/2022 9:23:19 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 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/25/2022 9:23:19 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:23:19 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:23:19 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:23:19 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:23:19 AM=>Info:- END Mailing Method
10/25/2022 9:23:19 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:23:19 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:23:19 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:23:19 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:23:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:23:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:23:19 AM=>Info - End of callingService Method
10/25/2022 9:25:19 AM=>Info - Check time Elapsed
10/25/2022 9:25:19 AM=>Info - Call callingService Method
10/25/2022 9:25:19 AM=>Info:- Call Both
10/25/2022 9:25:19 AM=>Info:- Start Executing SMS Method
10/25/2022 9:25:19 AM=>Info:- End Executing SMS Method
10/25/2022 9:25:19 AM=>Info:- Start Mailing Method
10/25/2022 9:25:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:25:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:25:19 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:25:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:25:19 AM=>Info:- Count = 1
10/25/2022 9:25:19 AM=>Info:- Count 1
10/25/2022 9:25:19 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:25:19 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:25:19 AM=>Info:- Start SenMail Method
10/25/2022 9:25:19 AM=>UseDefaultCredentials
10/25/2022 9:25:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:25:19 AM=>EnableSsl = true
10/25/2022 9:25:19 AM=>DeliveryMethod
10/25/2022 9:25:19 AM=>Before Send
10/25/2022 9:26:43 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 9:26:43 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:26:43 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:26:43 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:26:43 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:26:43 AM=>Info:- END Mailing Method
10/25/2022 9:26:43 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:26:43 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:26:43 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:26:43 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:26:43 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:26:43 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:26:43 AM=>Info - End of callingService Method
10/25/2022 9:28:43 AM=>Info - Check time Elapsed
10/25/2022 9:28:43 AM=>Info - Call callingService Method
10/25/2022 9:28:43 AM=>Info:- Call Both
10/25/2022 9:28:43 AM=>Info:- Start Executing SMS Method
10/25/2022 9:28:43 AM=>Info:- End Executing SMS Method
10/25/2022 9:28:43 AM=>Info:- Start Mailing Method
10/25/2022 9:28:43 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:28:43 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:28:43 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:28:43 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:28:43 AM=>Info:- Count = 1
10/25/2022 9:28:43 AM=>Info:- Count 1
10/25/2022 9:28:43 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:28:43 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:28:43 AM=>Info:- Start SenMail Method
10/25/2022 9:28:43 AM=>UseDefaultCredentials
10/25/2022 9:28:43 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:28:43 AM=>EnableSsl = true
10/25/2022 9:28:43 AM=>DeliveryMethod
10/25/2022 9:28:43 AM=>Before Send
10/25/2022 9:28: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/25/2022 9:28:43 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:28:43 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:28:43 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:28:43 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:28:44 AM=>Info:- END Mailing Method
10/25/2022 9:28:44 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:28:44 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:28:44 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:28:44 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:28:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:28:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:28:44 AM=>Info - End of callingService Method
10/25/2022 9:30:44 AM=>Info - Check time Elapsed
10/25/2022 9:30:44 AM=>Info - Call callingService Method
10/25/2022 9:30:44 AM=>Info:- Call Both
10/25/2022 9:30:44 AM=>Info:- Start Executing SMS Method
10/25/2022 9:30:44 AM=>Info:- End Executing SMS Method
10/25/2022 9:30:44 AM=>Info:- Start Mailing Method
10/25/2022 9:30:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:30:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:30:44 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:30:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:30:44 AM=>Info:- Count = 1
10/25/2022 9:30:44 AM=>Info:- Count 1
10/25/2022 9:30:44 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:30:44 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:30:44 AM=>Info:- Start SenMail Method
10/25/2022 9:30:44 AM=>UseDefaultCredentials
10/25/2022 9:30:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:30:44 AM=>EnableSsl = true
10/25/2022 9:30:44 AM=>DeliveryMethod
10/25/2022 9:30:44 AM=>Before Send
10/25/2022 9:30: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/25/2022 9:30:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:30:44 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:30:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:30:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:30:44 AM=>Info:- END Mailing Method
10/25/2022 9:30:44 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:30:44 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:30:44 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:30:44 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:30:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:30:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:30:44 AM=>Info - End of callingService Method
10/25/2022 9:32:44 AM=>Info - Check time Elapsed
10/25/2022 9:32:44 AM=>Info - Call callingService Method
10/25/2022 9:32:44 AM=>Info:- Call Both
10/25/2022 9:32:44 AM=>Info:- Start Executing SMS Method
10/25/2022 9:32:44 AM=>Info:- End Executing SMS Method
10/25/2022 9:32:44 AM=>Info:- Start Mailing Method
10/25/2022 9:32:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:32:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:32:44 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:32:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:32:44 AM=>Info:- Count = 1
10/25/2022 9:32:44 AM=>Info:- Count 1
10/25/2022 9:32:44 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:32:44 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:32:44 AM=>Info:- Start SenMail Method
10/25/2022 9:32:44 AM=>UseDefaultCredentials
10/25/2022 9:32:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:32:44 AM=>EnableSsl = true
10/25/2022 9:32:44 AM=>DeliveryMethod
10/25/2022 9:32:44 AM=>Before Send
10/25/2022 9:32: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/25/2022 9:32:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:32:44 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:32:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:32:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:32:45 AM=>Info:- END Mailing Method
10/25/2022 9:32:45 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:32:45 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:32:45 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:32:45 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:32:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:32:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:32:45 AM=>Info - End of callingService Method
10/25/2022 9:34:45 AM=>Info - Check time Elapsed
10/25/2022 9:34:45 AM=>Info - Call callingService Method
10/25/2022 9:34:45 AM=>Info:- Call Both
10/25/2022 9:34:45 AM=>Info:- Start Executing SMS Method
10/25/2022 9:34:45 AM=>Info:- End Executing SMS Method
10/25/2022 9:34:45 AM=>Info:- Start Mailing Method
10/25/2022 9:34:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:34:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:34:45 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:34:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:34:45 AM=>Info:- Count = 1
10/25/2022 9:34:45 AM=>Info:- Count 1
10/25/2022 9:34:45 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:34:45 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:34:45 AM=>Info:- Start SenMail Method
10/25/2022 9:34:45 AM=>UseDefaultCredentials
10/25/2022 9:34:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:34:45 AM=>EnableSsl = true
10/25/2022 9:34:45 AM=>DeliveryMethod
10/25/2022 9:34:45 AM=>Before Send
10/25/2022 9:36:09 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/25/2022 9:36:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:36:09 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:36:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:36:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:36:09 AM=>Info:- END Mailing Method
10/25/2022 9:36:09 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:36:09 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:36:09 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:36:09 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:36:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:36:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:36:09 AM=>Info - End of callingService Method
10/25/2022 9:38:09 AM=>Info - Check time Elapsed
10/25/2022 9:38:09 AM=>Info - Call callingService Method
10/25/2022 9:38:09 AM=>Info:- Call Both
10/25/2022 9:38:09 AM=>Info:- Start Executing SMS Method
10/25/2022 9:38:09 AM=>Info:- End Executing SMS Method
10/25/2022 9:38:09 AM=>Info:- Start Mailing Method
10/25/2022 9:38:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:38:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:38:09 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:38:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:38:09 AM=>Info:- Count = 1
10/25/2022 9:38:09 AM=>Info:- Count 1
10/25/2022 9:38:09 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:38:09 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:38:09 AM=>Info:- Start SenMail Method
10/25/2022 9:38:09 AM=>UseDefaultCredentials
10/25/2022 9:38:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:38:09 AM=>EnableSsl = true
10/25/2022 9:38:09 AM=>DeliveryMethod
10/25/2022 9:38:09 AM=>Before Send
10/25/2022 9:38: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/25/2022 9:38:09 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:38:09 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:38:09 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:38:09 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:38:09 AM=>Info:- END Mailing Method
10/25/2022 9:38:09 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:38:09 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:38:09 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:38:09 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:38:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:38:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:38:09 AM=>Info - End of callingService Method
10/25/2022 9:40:09 AM=>Info - Check time Elapsed
10/25/2022 9:40:09 AM=>Info - Call callingService Method
10/25/2022 9:40:10 AM=>Info:- Call Both
10/25/2022 9:40:10 AM=>Info:- Start Executing SMS Method
10/25/2022 9:40:10 AM=>Info:- End Executing SMS Method
10/25/2022 9:40:10 AM=>Info:- Start Mailing Method
10/25/2022 9:40:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:40:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:40:10 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:40:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:40:10 AM=>Info:- Count = 1
10/25/2022 9:40:10 AM=>Info:- Count 1
10/25/2022 9:40:10 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:40:10 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:40:10 AM=>Info:- Start SenMail Method
10/25/2022 9:40:10 AM=>UseDefaultCredentials
10/25/2022 9:40:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:40:10 AM=>EnableSsl = true
10/25/2022 9:40:10 AM=>DeliveryMethod
10/25/2022 9:40:10 AM=>Before Send
10/25/2022 9:40: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/25/2022 9:40:10 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:40:10 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:40:10 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:40:10 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:40:10 AM=>Info:- END Mailing Method
10/25/2022 9:40:10 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:40:10 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:40:10 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:40:10 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:40:10 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:40:10 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:40:10 AM=>Info - End of callingService Method
10/25/2022 9:42:10 AM=>Info - Check time Elapsed
10/25/2022 9:42:10 AM=>Info - Call callingService Method
10/25/2022 9:42:10 AM=>Info:- Call Both
10/25/2022 9:42:10 AM=>Info:- Start Executing SMS Method
10/25/2022 9:42:10 AM=>Info:- End Executing SMS Method
10/25/2022 9:42:10 AM=>Info:- Start Mailing Method
10/25/2022 9:42:10 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:42:10 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:42:10 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:42:10 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:42:10 AM=>Info:- Count = 1
10/25/2022 9:42:10 AM=>Info:- Count 1
10/25/2022 9:42:10 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:42:10 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:42:10 AM=>Info:- Start SenMail Method
10/25/2022 9:42:10 AM=>UseDefaultCredentials
10/25/2022 9:42:10 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:42:10 AM=>EnableSsl = true
10/25/2022 9:42:10 AM=>DeliveryMethod
10/25/2022 9:42:10 AM=>Before Send
10/25/2022 9:42: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/25/2022 9:42:19 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:42:19 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:42:19 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:42:19 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:42:19 AM=>Info:- END Mailing Method
10/25/2022 9:42:19 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:42:19 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:42:19 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:42:19 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:42:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:42:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:42:19 AM=>Info - End of callingService Method
10/25/2022 9:44:19 AM=>Info - Check time Elapsed
10/25/2022 9:44:19 AM=>Info - Call callingService Method
10/25/2022 9:44:19 AM=>Info:- Call Both
10/25/2022 9:44:19 AM=>Info:- Start Executing SMS Method
10/25/2022 9:44:19 AM=>Info:- End Executing SMS Method
10/25/2022 9:44:19 AM=>Info:- Start Mailing Method
10/25/2022 9:44:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:44:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:44:19 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:44:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:44:19 AM=>Info:- Count = 1
10/25/2022 9:44:19 AM=>Info:- Count 1
10/25/2022 9:44:19 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:44:19 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:44:19 AM=>Info:- Start SenMail Method
10/25/2022 9:44:19 AM=>UseDefaultCredentials
10/25/2022 9:44:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:44:19 AM=>EnableSsl = true
10/25/2022 9:44:19 AM=>DeliveryMethod
10/25/2022 9:44:19 AM=>Before Send
10/25/2022 9:45: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.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/25/2022 9:45:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:45:44 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:45:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:45:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:45:44 AM=>Info:- END Mailing Method
10/25/2022 9:45:44 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:45:44 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:45:44 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:45:44 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:45:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:45:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:45:44 AM=>Info - End of callingService Method
10/25/2022 9:47:44 AM=>Info - Check time Elapsed
10/25/2022 9:47:44 AM=>Info - Call callingService Method
10/25/2022 9:47:44 AM=>Info:- Call Both
10/25/2022 9:47:44 AM=>Info:- Start Executing SMS Method
10/25/2022 9:47:44 AM=>Info:- End Executing SMS Method
10/25/2022 9:47:44 AM=>Info:- Start Mailing Method
10/25/2022 9:47:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:47:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:47:44 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:47:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:47:44 AM=>Info:- Count = 1
10/25/2022 9:47:44 AM=>Info:- Count 1
10/25/2022 9:47:44 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:47:44 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:47:44 AM=>Info:- Start SenMail Method
10/25/2022 9:47:44 AM=>UseDefaultCredentials
10/25/2022 9:47:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:47:44 AM=>EnableSsl = true
10/25/2022 9:47:44 AM=>DeliveryMethod
10/25/2022 9:47:44 AM=>Before Send
10/25/2022 9:47: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/25/2022 9:47:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:47:44 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:47:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:47:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:47:44 AM=>Info:- END Mailing Method
10/25/2022 9:47:44 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:47:44 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:47:44 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:47:44 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:47:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:47:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:47:44 AM=>Info - End of callingService Method
10/25/2022 9:49:44 AM=>Info - Check time Elapsed
10/25/2022 9:49:44 AM=>Info - Call callingService Method
10/25/2022 9:49:44 AM=>Info:- Call Both
10/25/2022 9:49:44 AM=>Info:- Start Executing SMS Method
10/25/2022 9:49:44 AM=>Info:- End Executing SMS Method
10/25/2022 9:49:44 AM=>Info:- Start Mailing Method
10/25/2022 9:49:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:49:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:49:44 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:49:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:49:44 AM=>Info:- Count = 1
10/25/2022 9:49:44 AM=>Info:- Count 1
10/25/2022 9:49:44 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:49:44 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:49:44 AM=>Info:- Start SenMail Method
10/25/2022 9:49:44 AM=>UseDefaultCredentials
10/25/2022 9:49:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:49:44 AM=>EnableSsl = true
10/25/2022 9:49:44 AM=>DeliveryMethod
10/25/2022 9:49:44 AM=>Before Send
10/25/2022 9:51: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.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/25/2022 9:51:08 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:51:08 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:51:08 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:51:08 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:51:09 AM=>Info:- END Mailing Method
10/25/2022 9:51:09 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:51:09 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:51:09 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:51:09 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:51:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:51:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:51:09 AM=>Info - End of callingService Method
10/25/2022 9:53:09 AM=>Info - Check time Elapsed
10/25/2022 9:53:09 AM=>Info - Call callingService Method
10/25/2022 9:53:09 AM=>Info:- Call Both
10/25/2022 9:53:09 AM=>Info:- Start Executing SMS Method
10/25/2022 9:53:09 AM=>Info:- End Executing SMS Method
10/25/2022 9:53:09 AM=>Info:- Start Mailing Method
10/25/2022 9:53:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:53:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:53:09 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:53:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:53:09 AM=>Info:- Count = 1
10/25/2022 9:53:09 AM=>Info:- Count 1
10/25/2022 9:53:09 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:53:09 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:53:09 AM=>Info:- Start SenMail Method
10/25/2022 9:53:09 AM=>UseDefaultCredentials
10/25/2022 9:53:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:53:09 AM=>EnableSsl = true
10/25/2022 9:53:09 AM=>DeliveryMethod
10/25/2022 9:53:09 AM=>Before Send
10/25/2022 9:53: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/25/2022 9:53:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:53:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:53:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:53:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:53:18 AM=>Info:- END Mailing Method
10/25/2022 9:53:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:53:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:53:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:53:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:53:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:53:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:53:18 AM=>Info - End of callingService Method
10/25/2022 9:55:18 AM=>Info - Check time Elapsed
10/25/2022 9:55:18 AM=>Info - Call callingService Method
10/25/2022 9:55:18 AM=>Info:- Call Both
10/25/2022 9:55:18 AM=>Info:- Start Executing SMS Method
10/25/2022 9:55:18 AM=>Info:- End Executing SMS Method
10/25/2022 9:55:18 AM=>Info:- Start Mailing Method
10/25/2022 9:55:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:55:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:55:18 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:55:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:55:18 AM=>Info:- Count = 1
10/25/2022 9:55:18 AM=>Info:- Count 1
10/25/2022 9:55:18 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:55:18 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:55:18 AM=>Info:- Start SenMail Method
10/25/2022 9:55:18 AM=>UseDefaultCredentials
10/25/2022 9:55:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:55:18 AM=>EnableSsl = true
10/25/2022 9:55:18 AM=>DeliveryMethod
10/25/2022 9:55:18 AM=>Before Send
10/25/2022 9:55: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/25/2022 9:55:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:55:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:55:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:55:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:55:19 AM=>Info:- END Mailing Method
10/25/2022 9:55:19 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:55:19 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:55:19 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:55:19 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:55:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:55:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:55:19 AM=>Info - End of callingService Method
10/25/2022 9:57:19 AM=>Info - Check time Elapsed
10/25/2022 9:57:19 AM=>Info - Call callingService Method
10/25/2022 9:57:19 AM=>Info:- Call Both
10/25/2022 9:57:19 AM=>Info:- Start Executing SMS Method
10/25/2022 9:57:19 AM=>Info:- End Executing SMS Method
10/25/2022 9:57:19 AM=>Info:- Start Mailing Method
10/25/2022 9:57:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:57:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:57:19 AM=>Info:- PendingMail.xml file read to list
10/25/2022 9:57:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:57:19 AM=>Info:- Count = 1
10/25/2022 9:57:19 AM=>Info:- Count 1
10/25/2022 9:57:19 AM=>Info - Fetching Data From MAIL XML
10/25/2022 9:57:19 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:57:19 AM=>Info:- Start SenMail Method
10/25/2022 9:57:19 AM=>UseDefaultCredentials
10/25/2022 9:57:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:57:19 AM=>EnableSsl = true
10/25/2022 9:57:19 AM=>DeliveryMethod
10/25/2022 9:57:19 AM=>Before Send
10/25/2022 9:58: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/25/2022 9:58:22 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:58:22 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:58:22 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:58:22 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:58:22 AM=>Info:- END Mailing Method
10/25/2022 9:58:22 AM=>Info:- Start Executing Telegram Method
10/25/2022 9:58:22 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:58:22 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:58:22 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:58:22 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:58:22 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:58:22 AM=>Info - End of callingService Method
10/25/2022 10:00:22 AM=>Info - Check time Elapsed
10/25/2022 10:00:22 AM=>Info - Call callingService Method
10/25/2022 10:00:22 AM=>Info:- Call Both
10/25/2022 10:00:22 AM=>Info:- Start Executing SMS Method
10/25/2022 10:00:22 AM=>Info:- End Executing SMS Method
10/25/2022 10:00:22 AM=>Info:- Start Mailing Method
10/25/2022 10:00:22 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:00:22 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:00:22 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:00:22 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:00:22 AM=>Info:- Count = 1
10/25/2022 10:00:22 AM=>Info:- Count 1
10/25/2022 10:00:22 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:00:22 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:00:22 AM=>Info:- Start SenMail Method
10/25/2022 10:00:22 AM=>UseDefaultCredentials
10/25/2022 10:00:22 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:00:22 AM=>EnableSsl = true
10/25/2022 10:00:22 AM=>DeliveryMethod
10/25/2022 10:00:22 AM=>Before Send
10/25/2022 10:01:46 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.109.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/25/2022 10:01:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:01:46 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:01:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:01:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:01:47 AM=>Info:- END Mailing Method
10/25/2022 10:01:47 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:01:47 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:01:47 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:01:47 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:01:47 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:01:47 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:01:47 AM=>Info - End of callingService Method
10/25/2022 10:03:47 AM=>Info - Check time Elapsed
10/25/2022 10:03:47 AM=>Info - Call callingService Method
10/25/2022 10:03:47 AM=>Info:- Call Both
10/25/2022 10:03:47 AM=>Info:- Start Executing SMS Method
10/25/2022 10:03:47 AM=>Info:- End Executing SMS Method
10/25/2022 10:03:47 AM=>Info:- Start Mailing Method
10/25/2022 10:03:47 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:03:47 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:03:47 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:03:47 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:03:47 AM=>Info:- Count = 1
10/25/2022 10:03:47 AM=>Info:- Count 1
10/25/2022 10:03:47 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:03:47 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:03:47 AM=>Info:- Start SenMail Method
10/25/2022 10:03:47 AM=>UseDefaultCredentials
10/25/2022 10:03:47 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:03:47 AM=>EnableSsl = true
10/25/2022 10:03:47 AM=>DeliveryMethod
10/25/2022 10:03:47 AM=>Before Send
10/25/2022 10:03: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/25/2022 10:03:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:03:56 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:03:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:03:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:03:56 AM=>Info:- END Mailing Method
10/25/2022 10:03:56 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:03:56 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:03:56 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:03:56 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:03:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:03:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:03:56 AM=>Info - End of callingService Method
10/25/2022 10:05:56 AM=>Info - Check time Elapsed
10/25/2022 10:05:56 AM=>Info - Call callingService Method
10/25/2022 10:05:56 AM=>Info:- Call Both
10/25/2022 10:05:56 AM=>Info:- Start Executing SMS Method
10/25/2022 10:05:56 AM=>Info:- End Executing SMS Method
10/25/2022 10:05:56 AM=>Info:- Start Mailing Method
10/25/2022 10:05:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:05:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:05:56 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:05:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:05:56 AM=>Info:- Count = 1
10/25/2022 10:05:56 AM=>Info:- Count 1
10/25/2022 10:05:56 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:05:56 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:05:56 AM=>Info:- Start SenMail Method
10/25/2022 10:05:56 AM=>UseDefaultCredentials
10/25/2022 10:05:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:05:56 AM=>EnableSsl = true
10/25/2022 10:05:56 AM=>DeliveryMethod
10/25/2022 10:05:56 AM=>Before Send
10/25/2022 10:05: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/25/2022 10:05:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:05:56 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:05:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:05:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:05:57 AM=>Info:- END Mailing Method
10/25/2022 10:05:57 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:05:57 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:05:57 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:05:57 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:05:57 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:05:57 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:05:57 AM=>Info - End of callingService Method
10/25/2022 10:07:57 AM=>Info - Check time Elapsed
10/25/2022 10:07:57 AM=>Info - Call callingService Method
10/25/2022 10:07:57 AM=>Info:- Call Both
10/25/2022 10:07:57 AM=>Info:- Start Executing SMS Method
10/25/2022 10:07:57 AM=>Info:- End Executing SMS Method
10/25/2022 10:07:57 AM=>Info:- Start Mailing Method
10/25/2022 10:07:57 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:07:57 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:07:57 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:07:57 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:07:57 AM=>Info:- Count = 1
10/25/2022 10:07:57 AM=>Info:- Count 1
10/25/2022 10:07:57 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:07:57 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:07:57 AM=>Info:- Start SenMail Method
10/25/2022 10:07:57 AM=>UseDefaultCredentials
10/25/2022 10:07:57 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:07:57 AM=>EnableSsl = true
10/25/2022 10:07:57 AM=>DeliveryMethod
10/25/2022 10:07:57 AM=>Before Send
10/25/2022 10:08: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/25/2022 10:08:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:08:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:08:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:08:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:08:18 AM=>Info:- END Mailing Method
10/25/2022 10:08:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:08:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:08:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:08:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:08:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:08:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:08:18 AM=>Info - End of callingService Method
10/25/2022 10:10:18 AM=>Info - Check time Elapsed
10/25/2022 10:10:18 AM=>Info - Call callingService Method
10/25/2022 10:10:18 AM=>Info:- Call Both
10/25/2022 10:10:18 AM=>Info:- Start Executing SMS Method
10/25/2022 10:10:18 AM=>Info:- End Executing SMS Method
10/25/2022 10:10:18 AM=>Info:- Start Mailing Method
10/25/2022 10:10:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:10:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:10:18 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:10:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:10:18 AM=>Info:- Count = 1
10/25/2022 10:10:18 AM=>Info:- Count 1
10/25/2022 10:10:18 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:10:18 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:10:18 AM=>Info:- Start SenMail Method
10/25/2022 10:10:18 AM=>UseDefaultCredentials
10/25/2022 10:10:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:10:18 AM=>EnableSsl = true
10/25/2022 10:10:18 AM=>DeliveryMethod
10/25/2022 10:10:18 AM=>Before Send
10/25/2022 10:11: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/25/2022 10:11:00 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:11:00 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:11:00 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:11:00 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:11:01 AM=>Info:- END Mailing Method
10/25/2022 10:11:01 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:11:01 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:11:01 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:11:01 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:11:01 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:11:01 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:11:01 AM=>Info - End of callingService Method
10/25/2022 10:13:01 AM=>Info - Check time Elapsed
10/25/2022 10:13:01 AM=>Info - Call callingService Method
10/25/2022 10:13:01 AM=>Info:- Call Both
10/25/2022 10:13:01 AM=>Info:- Start Executing SMS Method
10/25/2022 10:13:01 AM=>Info:- End Executing SMS Method
10/25/2022 10:13:01 AM=>Info:- Start Mailing Method
10/25/2022 10:13:01 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:13:01 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:13:01 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:13:01 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:13:01 AM=>Info:- Count = 1
10/25/2022 10:13:01 AM=>Info:- Count 1
10/25/2022 10:13:01 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:13:01 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:13:01 AM=>Info:- Start SenMail Method
10/25/2022 10:13:01 AM=>UseDefaultCredentials
10/25/2022 10:13:01 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:13:01 AM=>EnableSsl = true
10/25/2022 10:13:01 AM=>DeliveryMethod
10/25/2022 10:13:01 AM=>Before Send
10/25/2022 10:14: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.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/25/2022 10:14:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:14:25 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:14:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:14:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:14:25 AM=>Info:- END Mailing Method
10/25/2022 10:14:25 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:14:25 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:14:25 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:14:25 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:14:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:14:25 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:14:25 AM=>Info - End of callingService Method
10/25/2022 10:16:25 AM=>Info - Check time Elapsed
10/25/2022 10:16:25 AM=>Info - Call callingService Method
10/25/2022 10:16:25 AM=>Info:- Call Both
10/25/2022 10:16:25 AM=>Info:- Start Executing SMS Method
10/25/2022 10:16:25 AM=>Info:- End Executing SMS Method
10/25/2022 10:16:25 AM=>Info:- Start Mailing Method
10/25/2022 10:16:25 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:16:25 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:16:25 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:16:25 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:16:25 AM=>Info:- Count = 1
10/25/2022 10:16:25 AM=>Info:- Count 1
10/25/2022 10:16:25 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:16:25 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:16:25 AM=>Info:- Start SenMail Method
10/25/2022 10:16:25 AM=>UseDefaultCredentials
10/25/2022 10:16:25 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:16:25 AM=>EnableSsl = true
10/25/2022 10:16:25 AM=>DeliveryMethod
10/25/2022 10:16:25 AM=>Before Send
10/25/2022 10:16: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/25/2022 10:16:28 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:16:28 AM=>(SenMail)Failure sending CC mail ID :
10/25/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/25/2022 10:16:28 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:16:29 AM=>Info:- END Mailing Method
10/25/2022 10:16:29 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:16:29 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:16:29 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:16:29 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:16:29 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:16:29 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:16:29 AM=>Info - End of callingService Method
10/25/2022 10:18:29 AM=>Info - Check time Elapsed
10/25/2022 10:18:29 AM=>Info - Call callingService Method
10/25/2022 10:18:29 AM=>Info:- Call Both
10/25/2022 10:18:29 AM=>Info:- Start Executing SMS Method
10/25/2022 10:18:29 AM=>Info:- End Executing SMS Method
10/25/2022 10:18:29 AM=>Info:- Start Mailing Method
10/25/2022 10:18:29 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:18:29 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:18:29 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:18:29 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:18:29 AM=>Info:- Count = 1
10/25/2022 10:18:29 AM=>Info:- Count 1
10/25/2022 10:18:29 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:18:29 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:18:29 AM=>Info:- Start SenMail Method
10/25/2022 10:18:29 AM=>UseDefaultCredentials
10/25/2022 10:18:29 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:18:29 AM=>EnableSsl = true
10/25/2022 10:18:29 AM=>DeliveryMethod
10/25/2022 10:18:29 AM=>Before Send
10/25/2022 10: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/25/2022 10:18:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:18:38 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:18:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:18:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:18:38 AM=>Info:- END Mailing Method
10/25/2022 10:18:38 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:18:38 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:18:38 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:18:38 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:18:38 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:18:38 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:18:38 AM=>Info - End of callingService Method
10/25/2022 10:20:38 AM=>Info - Check time Elapsed
10/25/2022 10:20:38 AM=>Info - Call callingService Method
10/25/2022 10:20:38 AM=>Info:- Call Both
10/25/2022 10:20:38 AM=>Info:- Start Executing SMS Method
10/25/2022 10:20:38 AM=>Info:- End Executing SMS Method
10/25/2022 10:20:38 AM=>Info:- Start Mailing Method
10/25/2022 10:20:38 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:20:38 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:20:38 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:20:38 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:20:38 AM=>Info:- Count = 1
10/25/2022 10:20:38 AM=>Info:- Count 1
10/25/2022 10:20:38 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:20:38 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:20:38 AM=>Info:- Start SenMail Method
10/25/2022 10:20:38 AM=>UseDefaultCredentials
10/25/2022 10:20:38 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:20:38 AM=>EnableSsl = true
10/25/2022 10:20:38 AM=>DeliveryMethod
10/25/2022 10:20:38 AM=>Before Send
10/25/2022 10:21: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/25/2022 10:21:08 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:21:08 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:21:08 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:21:08 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:21:09 AM=>Info:- END Mailing Method
10/25/2022 10:21:09 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:21:09 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:21:09 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:21:09 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:21:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:21:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:21:09 AM=>Info - End of callingService Method
10/25/2022 10:23:09 AM=>Info - Check time Elapsed
10/25/2022 10:23:09 AM=>Info - Call callingService Method
10/25/2022 10:23:09 AM=>Info:- Call Both
10/25/2022 10:23:09 AM=>Info:- Start Executing SMS Method
10/25/2022 10:23:09 AM=>Info:- End Executing SMS Method
10/25/2022 10:23:09 AM=>Info:- Start Mailing Method
10/25/2022 10:23:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:23:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:23:09 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:23:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:23:09 AM=>Info:- Count = 1
10/25/2022 10:23:09 AM=>Info:- Count 1
10/25/2022 10:23:09 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:23:09 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:23:09 AM=>Info:- Start SenMail Method
10/25/2022 10:23:09 AM=>UseDefaultCredentials
10/25/2022 10:23:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:23:09 AM=>EnableSsl = true
10/25/2022 10:23:09 AM=>DeliveryMethod
10/25/2022 10:23:09 AM=>Before Send
10/25/2022 10:24: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/25/2022 10:24:12 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:24:12 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:24:12 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:24:12 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:24:12 AM=>Info:- END Mailing Method
10/25/2022 10:24:12 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:24:12 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:24:12 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:24:12 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:24:12 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:24:12 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:24:12 AM=>Info - End of callingService Method
10/25/2022 10:26:12 AM=>Info - Check time Elapsed
10/25/2022 10:26:12 AM=>Info - Call callingService Method
10/25/2022 10:26:12 AM=>Info:- Call Both
10/25/2022 10:26:12 AM=>Info:- Start Executing SMS Method
10/25/2022 10:26:12 AM=>Info:- End Executing SMS Method
10/25/2022 10:26:12 AM=>Info:- Start Mailing Method
10/25/2022 10:26:12 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:26:12 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:26:12 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:26:12 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:26:12 AM=>Info:- Count = 1
10/25/2022 10:26:12 AM=>Info:- Count 1
10/25/2022 10:26:12 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:26:12 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:26:12 AM=>Info:- Start SenMail Method
10/25/2022 10:26:12 AM=>UseDefaultCredentials
10/25/2022 10:26:12 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:26:12 AM=>EnableSsl = true
10/25/2022 10:26:12 AM=>DeliveryMethod
10/25/2022 10:26:12 AM=>Before Send
10/25/2022 10:26: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/25/2022 10:26:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:26:54 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:26:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:26:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:26:55 AM=>Info:- END Mailing Method
10/25/2022 10:26:55 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:26:55 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:26:55 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:26:55 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:26:55 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:26:55 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:26:55 AM=>Info - End of callingService Method
10/25/2022 10:28:55 AM=>Info - Check time Elapsed
10/25/2022 10:28:55 AM=>Info - Call callingService Method
10/25/2022 10:28:55 AM=>Info:- Call Both
10/25/2022 10:28:55 AM=>Info:- Start Executing SMS Method
10/25/2022 10:28:55 AM=>Info:- End Executing SMS Method
10/25/2022 10:28:55 AM=>Info:- Start Mailing Method
10/25/2022 10:28:55 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:28:55 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:28:55 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:28:55 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:28:55 AM=>Info:- Count = 1
10/25/2022 10:28:55 AM=>Info:- Count 1
10/25/2022 10:28:55 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:28:55 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:28:55 AM=>Info:- Start SenMail Method
10/25/2022 10:28:55 AM=>UseDefaultCredentials
10/25/2022 10:28:55 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:28:55 AM=>EnableSsl = true
10/25/2022 10:28:55 AM=>DeliveryMethod
10/25/2022 10:28:55 AM=>Before Send
10/25/2022 10:30:19 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 10:30:19 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:30:19 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:30:19 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:30:19 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:30:19 AM=>Info:- END Mailing Method
10/25/2022 10:30:19 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:30:19 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:30:19 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:30:19 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:30:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:30:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:30:19 AM=>Info - End of callingService Method
10/25/2022 10:32:19 AM=>Info - Check time Elapsed
10/25/2022 10:32:19 AM=>Info - Call callingService Method
10/25/2022 10:32:20 AM=>Info:- Call Both
10/25/2022 10:32:20 AM=>Info:- Start Executing SMS Method
10/25/2022 10:32:20 AM=>Info:- End Executing SMS Method
10/25/2022 10:32:20 AM=>Info:- Start Mailing Method
10/25/2022 10:32:20 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:32:20 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:32:20 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:32:20 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:32:20 AM=>Info:- Count = 1
10/25/2022 10:32:20 AM=>Info:- Count 1
10/25/2022 10:32:20 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:32:20 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:32:20 AM=>Info:- Start SenMail Method
10/25/2022 10:32:20 AM=>UseDefaultCredentials
10/25/2022 10:32:20 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:32:20 AM=>EnableSsl = true
10/25/2022 10:32:20 AM=>DeliveryMethod
10/25/2022 10:32:20 AM=>Before Send
10/25/2022 10:33: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.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/25/2022 10:33:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:33:44 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:33:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:33:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:33:44 AM=>Info:- END Mailing Method
10/25/2022 10:33:44 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:33:44 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:33:44 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:33:44 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:33:44 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:33:44 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:33:44 AM=>Info - End of callingService Method
10/25/2022 10:35:44 AM=>Info - Check time Elapsed
10/25/2022 10:35:44 AM=>Info - Call callingService Method
10/25/2022 10:35:44 AM=>Info:- Call Both
10/25/2022 10:35:44 AM=>Info:- Start Executing SMS Method
10/25/2022 10:35:44 AM=>Info:- End Executing SMS Method
10/25/2022 10:35:44 AM=>Info:- Start Mailing Method
10/25/2022 10:35:44 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:35:44 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:35:44 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:35:44 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:35:44 AM=>Info:- Count = 1
10/25/2022 10:35:44 AM=>Info:- Count 1
10/25/2022 10:35:44 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:35:44 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:35:44 AM=>Info:- Start SenMail Method
10/25/2022 10:35:44 AM=>UseDefaultCredentials
10/25/2022 10:35:44 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:35:44 AM=>EnableSsl = true
10/25/2022 10:35:44 AM=>DeliveryMethod
10/25/2022 10:35:44 AM=>Before Send
10/25/2022 10:37: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.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/25/2022 10:37:08 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:37:08 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:37:08 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:37:08 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:37:09 AM=>Info:- END Mailing Method
10/25/2022 10:37:09 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:37:09 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:37:09 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:37:09 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:37:09 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:37:09 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:37:09 AM=>Info - End of callingService Method
10/25/2022 10:39:09 AM=>Info - Check time Elapsed
10/25/2022 10:39:09 AM=>Info - Call callingService Method
10/25/2022 10:39:09 AM=>Info:- Call Both
10/25/2022 10:39:09 AM=>Info:- Start Executing SMS Method
10/25/2022 10:39:09 AM=>Info:- End Executing SMS Method
10/25/2022 10:39:09 AM=>Info:- Start Mailing Method
10/25/2022 10:39:09 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:39:09 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:39:09 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:39:09 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:39:09 AM=>Info:- Count = 1
10/25/2022 10:39:09 AM=>Info:- Count 1
10/25/2022 10:39:09 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:39:09 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:39:09 AM=>Info:- Start SenMail Method
10/25/2022 10:39:09 AM=>UseDefaultCredentials
10/25/2022 10:39:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:39:09 AM=>EnableSsl = true
10/25/2022 10:39:09 AM=>DeliveryMethod
10/25/2022 10:39:09 AM=>Before Send
10/25/2022 10:39: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/25/2022 10:39:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:39:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:39:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:39:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:39:18 AM=>Info:- END Mailing Method
10/25/2022 10:39:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:39:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:39:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:39:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:39:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:39:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:39:18 AM=>Info - End of callingService Method
10/25/2022 10:41:18 AM=>Info - Check time Elapsed
10/25/2022 10:41:18 AM=>Info - Call callingService Method
10/25/2022 10:41:18 AM=>Info:- Call Both
10/25/2022 10:41:18 AM=>Info:- Start Executing SMS Method
10/25/2022 10:41:18 AM=>Info:- End Executing SMS Method
10/25/2022 10:41:18 AM=>Info:- Start Mailing Method
10/25/2022 10:41:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:41:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:41:18 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:41:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:41:18 AM=>Info:- Count = 1
10/25/2022 10:41:18 AM=>Info:- Count 1
10/25/2022 10:41:18 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:41:18 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:41:18 AM=>Info:- Start SenMail Method
10/25/2022 10:41:18 AM=>UseDefaultCredentials
10/25/2022 10:41:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:41:18 AM=>EnableSsl = true
10/25/2022 10:41:18 AM=>DeliveryMethod
10/25/2022 10:41:18 AM=>Before Send
10/25/2022 10:42: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.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/25/2022 10:42:42 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:42:42 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:42:42 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:42:42 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:42:42 AM=>Info:- END Mailing Method
10/25/2022 10:42:42 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:42:42 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:42:42 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:42:42 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:42:42 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:42:43 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:42:43 AM=>Info - End of callingService Method
10/25/2022 10:44:43 AM=>Info - Check time Elapsed
10/25/2022 10:44:43 AM=>Info - Call callingService Method
10/25/2022 10:44:43 AM=>Info:- Call Both
10/25/2022 10:44:43 AM=>Info:- Start Executing SMS Method
10/25/2022 10:44:43 AM=>Info:- End Executing SMS Method
10/25/2022 10:44:43 AM=>Info:- Start Mailing Method
10/25/2022 10:44:43 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:44:43 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:44:43 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:44:43 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:44:43 AM=>Info:- Count = 1
10/25/2022 10:44:43 AM=>Info:- Count 1
10/25/2022 10:44:43 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:44:43 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:44:43 AM=>Info:- Start SenMail Method
10/25/2022 10:44:43 AM=>UseDefaultCredentials
10/25/2022 10:44:43 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:44:43 AM=>EnableSsl = true
10/25/2022 10:44:43 AM=>DeliveryMethod
10/25/2022 10:44:43 AM=>Before Send
10/25/2022 10:44: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/25/2022 10:44:53 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:44:53 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:44:53 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:44:53 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:44:54 AM=>Info:- END Mailing Method
10/25/2022 10:44:54 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:44:54 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:44:54 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:44:54 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:44:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:44:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:44:54 AM=>Info - End of callingService Method
10/25/2022 10:46:54 AM=>Info - Check time Elapsed
10/25/2022 10:46:54 AM=>Info - Call callingService Method
10/25/2022 10:46:54 AM=>Info:- Call Both
10/25/2022 10:46:54 AM=>Info:- Start Executing SMS Method
10/25/2022 10:46:54 AM=>Info:- End Executing SMS Method
10/25/2022 10:46:54 AM=>Info:- Start Mailing Method
10/25/2022 10:46:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:46:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:46:54 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:46:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:46:54 AM=>Info:- Count = 1
10/25/2022 10:46:54 AM=>Info:- Count 1
10/25/2022 10:46:54 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:46:54 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:46:54 AM=>Info:- Start SenMail Method
10/25/2022 10:46:54 AM=>UseDefaultCredentials
10/25/2022 10:46:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:46:54 AM=>EnableSsl = true
10/25/2022 10:46:54 AM=>DeliveryMethod
10/25/2022 10:46:54 AM=>Before Send
10/25/2022 10:47: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/25/2022 10:47:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:47:03 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:47:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:47:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:47:03 AM=>Info:- END Mailing Method
10/25/2022 10:47:03 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:47:03 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:47:03 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:47:03 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:47:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:47:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:47:03 AM=>Info - End of callingService Method
10/25/2022 10:49:03 AM=>Info - Check time Elapsed
10/25/2022 10:49:03 AM=>Info - Call callingService Method
10/25/2022 10:49:03 AM=>Info:- Call Both
10/25/2022 10:49:03 AM=>Info:- Start Executing SMS Method
10/25/2022 10:49:03 AM=>Info:- End Executing SMS Method
10/25/2022 10:49:03 AM=>Info:- Start Mailing Method
10/25/2022 10:49:03 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:49:03 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:49:03 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:49:03 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:49:03 AM=>Info:- Count = 1
10/25/2022 10:49:03 AM=>Info:- Count 1
10/25/2022 10:49:03 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:49:03 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:49:03 AM=>Info:- Start SenMail Method
10/25/2022 10:49:03 AM=>UseDefaultCredentials
10/25/2022 10:49:03 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:49:03 AM=>EnableSsl = true
10/25/2022 10:49:03 AM=>DeliveryMethod
10/25/2022 10:49:03 AM=>Before Send
10/25/2022 10:49: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/25/2022 10:49:03 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:49:03 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:49:03 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:49:03 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:49:03 AM=>Info:- END Mailing Method
10/25/2022 10:49:03 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:49:03 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:49:03 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:49:03 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:49:03 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:49:03 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:49:03 AM=>Info - End of callingService Method
10/25/2022 10:51:03 AM=>Info - Check time Elapsed
10/25/2022 10:51:03 AM=>Info - Call callingService Method
10/25/2022 10:51:03 AM=>Info:- Call Both
10/25/2022 10:51:03 AM=>Info:- Start Executing SMS Method
10/25/2022 10:51:04 AM=>Info:- End Executing SMS Method
10/25/2022 10:51:04 AM=>Info:- Start Mailing Method
10/25/2022 10:51:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:51:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:51:04 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:51:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:51:04 AM=>Info:- Count = 1
10/25/2022 10:51:04 AM=>Info:- Count 1
10/25/2022 10:51:04 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:51:04 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:51:04 AM=>Info:- Start SenMail Method
10/25/2022 10:51:04 AM=>UseDefaultCredentials
10/25/2022 10:51:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:51:04 AM=>EnableSsl = true
10/25/2022 10:51:04 AM=>DeliveryMethod
10/25/2022 10:51:04 AM=>Before Send
10/25/2022 10:51: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/25/2022 10:51:04 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:51:04 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:51:04 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:51:04 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:51:04 AM=>Info:- END Mailing Method
10/25/2022 10:51:04 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:51:04 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:51:04 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:51:04 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:51:04 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:51:04 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:51:04 AM=>Info - End of callingService Method
10/25/2022 10:53:04 AM=>Info - Check time Elapsed
10/25/2022 10:53:04 AM=>Info - Call callingService Method
10/25/2022 10:53:04 AM=>Info:- Call Both
10/25/2022 10:53:04 AM=>Info:- Start Executing SMS Method
10/25/2022 10:53:04 AM=>Info:- End Executing SMS Method
10/25/2022 10:53:04 AM=>Info:- Start Mailing Method
10/25/2022 10:53:04 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:53:04 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:53:04 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:53:04 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:53:04 AM=>Info:- Count = 1
10/25/2022 10:53:04 AM=>Info:- Count 1
10/25/2022 10:53:04 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:53:04 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:53:04 AM=>Info:- Start SenMail Method
10/25/2022 10:53:04 AM=>UseDefaultCredentials
10/25/2022 10:53:04 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:53:04 AM=>EnableSsl = true
10/25/2022 10:53:04 AM=>DeliveryMethod
10/25/2022 10:53:04 AM=>Before Send
10/25/2022 10:53: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/25/2022 10:53:13 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:53:13 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:53:13 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:53:13 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:53:13 AM=>Info:- END Mailing Method
10/25/2022 10:53:13 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:53:13 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:53:13 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:53:13 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:53:13 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:53:13 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:53:13 AM=>Info - End of callingService Method
10/25/2022 10:55:13 AM=>Info - Check time Elapsed
10/25/2022 10:55:13 AM=>Info - Call callingService Method
10/25/2022 10:55:13 AM=>Info:- Call Both
10/25/2022 10:55:13 AM=>Info:- Start Executing SMS Method
10/25/2022 10:55:13 AM=>Info:- End Executing SMS Method
10/25/2022 10:55:13 AM=>Info:- Start Mailing Method
10/25/2022 10:55:13 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:55:13 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:55:13 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:55:13 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:55:13 AM=>Info:- Count = 1
10/25/2022 10:55:13 AM=>Info:- Count 1
10/25/2022 10:55:13 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:55:13 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:55:13 AM=>Info:- Start SenMail Method
10/25/2022 10:55:13 AM=>UseDefaultCredentials
10/25/2022 10:55:13 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:55:13 AM=>EnableSsl = true
10/25/2022 10:55:13 AM=>DeliveryMethod
10/25/2022 10:55:13 AM=>Before Send
10/25/2022 10: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/25/2022 10:55:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:55:16 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:55:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:55:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:55:17 AM=>Info:- END Mailing Method
10/25/2022 10:55:17 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:55:17 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:55:17 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:55:17 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:55:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:55:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:55:17 AM=>Info - End of callingService Method
10/25/2022 10:57:17 AM=>Info - Check time Elapsed
10/25/2022 10:57:17 AM=>Info - Call callingService Method
10/25/2022 10:57:17 AM=>Info:- Call Both
10/25/2022 10:57:17 AM=>Info:- Start Executing SMS Method
10/25/2022 10:57:17 AM=>Info:- End Executing SMS Method
10/25/2022 10:57:17 AM=>Info:- Start Mailing Method
10/25/2022 10:57:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:57:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:57:17 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:57:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:57:17 AM=>Info:- Count = 1
10/25/2022 10:57:17 AM=>Info:- Count 1
10/25/2022 10:57:17 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:57:17 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:57:17 AM=>Info:- Start SenMail Method
10/25/2022 10:57:17 AM=>UseDefaultCredentials
10/25/2022 10:57:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:57:17 AM=>EnableSsl = true
10/25/2022 10:57:17 AM=>DeliveryMethod
10/25/2022 10:57:17 AM=>Before Send
10/25/2022 10:57: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/25/2022 10:57:17 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:57:17 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:57:17 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:57:17 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:57:17 AM=>Info:- END Mailing Method
10/25/2022 10:57:17 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:57:17 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:57:17 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:57:17 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:57:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:57:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:57:17 AM=>Info - End of callingService Method
10/25/2022 10:59:17 AM=>Info - Check time Elapsed
10/25/2022 10:59:17 AM=>Info - Call callingService Method
10/25/2022 10:59:17 AM=>Info:- Call Both
10/25/2022 10:59:17 AM=>Info:- Start Executing SMS Method
10/25/2022 10:59:17 AM=>Info:- End Executing SMS Method
10/25/2022 10:59:17 AM=>Info:- Start Mailing Method
10/25/2022 10:59:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:59:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:59:17 AM=>Info:- PendingMail.xml file read to list
10/25/2022 10:59:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:59:17 AM=>Info:- Count = 1
10/25/2022 10:59:17 AM=>Info:- Count 1
10/25/2022 10:59:17 AM=>Info - Fetching Data From MAIL XML
10/25/2022 10:59:17 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:59:17 AM=>Info:- Start SenMail Method
10/25/2022 10:59:17 AM=>UseDefaultCredentials
10/25/2022 10:59:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:59:17 AM=>EnableSsl = true
10/25/2022 10:59:17 AM=>DeliveryMethod
10/25/2022 10:59:17 AM=>Before Send
10/25/2022 10:59: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/25/2022 10:59:26 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:59:26 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:59:26 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:59:26 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:59:27 AM=>Info:- END Mailing Method
10/25/2022 10:59:27 AM=>Info:- Start Executing Telegram Method
10/25/2022 10:59:27 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:59:27 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:59:27 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:59:27 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:59:27 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:59:27 AM=>Info - End of callingService Method
10/25/2022 11:01:27 AM=>Info - Check time Elapsed
10/25/2022 11:01:27 AM=>Info - Call callingService Method
10/25/2022 11:01:27 AM=>Info:- Call Both
10/25/2022 11:01:27 AM=>Info:- Start Executing SMS Method
10/25/2022 11:01:27 AM=>Info:- End Executing SMS Method
10/25/2022 11:01:27 AM=>Info:- Start Mailing Method
10/25/2022 11:01:27 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:01:27 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:01:27 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:01:27 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:01:27 AM=>Info:- Count = 1
10/25/2022 11:01:27 AM=>Info:- Count 1
10/25/2022 11:01:27 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:01:27 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:01:27 AM=>Info:- Start SenMail Method
10/25/2022 11:01:27 AM=>UseDefaultCredentials
10/25/2022 11:01:27 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:01:27 AM=>EnableSsl = true
10/25/2022 11:01:27 AM=>DeliveryMethod
10/25/2022 11:01:27 AM=>Before Send
10/25/2022 11:01: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/25/2022 11:01:36 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:01:36 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:01:36 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:01:36 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:01:36 AM=>Info:- END Mailing Method
10/25/2022 11:01:36 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:01:36 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:01:36 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:01:36 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:01:36 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:01:36 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:01:36 AM=>Info - End of callingService Method
10/25/2022 11:03:36 AM=>Info - Check time Elapsed
10/25/2022 11:03:36 AM=>Info - Call callingService Method
10/25/2022 11:03:36 AM=>Info:- Call Both
10/25/2022 11:03:36 AM=>Info:- Start Executing SMS Method
10/25/2022 11:03:36 AM=>Info:- End Executing SMS Method
10/25/2022 11:03:36 AM=>Info:- Start Mailing Method
10/25/2022 11:03:36 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:03:36 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:03:36 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:03:36 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:03:36 AM=>Info:- Count = 1
10/25/2022 11:03:36 AM=>Info:- Count 1
10/25/2022 11:03:36 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:03:36 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:03:36 AM=>Info:- Start SenMail Method
10/25/2022 11:03:36 AM=>UseDefaultCredentials
10/25/2022 11:03:36 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:03:36 AM=>EnableSsl = true
10/25/2022 11:03:36 AM=>DeliveryMethod
10/25/2022 11:03:36 AM=>Before Send
10/25/2022 11:04: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/25/2022 11:04:48 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:04:48 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:04:48 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:04:48 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:04:49 AM=>Info:- END Mailing Method
10/25/2022 11:04:49 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:04:49 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:04:49 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:04:49 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:04:49 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:04:49 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:04:49 AM=>Info - End of callingService Method
10/25/2022 11:06:49 AM=>Info - Check time Elapsed
10/25/2022 11:06:49 AM=>Info - Call callingService Method
10/25/2022 11:06:49 AM=>Info:- Call Both
10/25/2022 11:06:49 AM=>Info:- Start Executing SMS Method
10/25/2022 11:06:49 AM=>Info:- End Executing SMS Method
10/25/2022 11:06:49 AM=>Info:- Start Mailing Method
10/25/2022 11:06:49 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:06:49 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:06:49 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:06:49 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:06:49 AM=>Info:- Count = 1
10/25/2022 11:06:49 AM=>Info:- Count 1
10/25/2022 11:06:49 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:06:49 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:06:49 AM=>Info:- Start SenMail Method
10/25/2022 11:06:49 AM=>UseDefaultCredentials
10/25/2022 11:06:49 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:06:49 AM=>EnableSsl = true
10/25/2022 11:06:49 AM=>DeliveryMethod
10/25/2022 11:06:49 AM=>Before Send
10/25/2022 11: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/25/2022 11:06:52 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:06:52 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:06:52 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:06:52 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:06:52 AM=>Info:- END Mailing Method
10/25/2022 11:06:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:06:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:06:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:06:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:06:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:06:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:06:52 AM=>Info - End of callingService Method
10/25/2022 11:08:52 AM=>Info - Check time Elapsed
10/25/2022 11:08:52 AM=>Info - Call callingService Method
10/25/2022 11:08:52 AM=>Info:- Call Both
10/25/2022 11:08:52 AM=>Info:- Start Executing SMS Method
10/25/2022 11:08:52 AM=>Info:- End Executing SMS Method
10/25/2022 11:08:52 AM=>Info:- Start Mailing Method
10/25/2022 11:08:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:08:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:08:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:08:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:08:52 AM=>Info:- Count = 1
10/25/2022 11:08:52 AM=>Info:- Count 1
10/25/2022 11:08:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:08:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:08:52 AM=>Info:- Start SenMail Method
10/25/2022 11:08:52 AM=>UseDefaultCredentials
10/25/2022 11:08:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:08:52 AM=>EnableSsl = true
10/25/2022 11:08:52 AM=>DeliveryMethod
10/25/2022 11:08:52 AM=>Before Send
10/25/2022 11:10: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.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/25/2022 11:10:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:10:16 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:10:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:10:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:10:17 AM=>Info:- END Mailing Method
10/25/2022 11:10:17 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:10:17 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:10:17 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:10:17 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:10:17 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:10:17 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:10:17 AM=>Info - End of callingService Method
10/25/2022 11:12:17 AM=>Info - Check time Elapsed
10/25/2022 11:12:17 AM=>Info - Call callingService Method
10/25/2022 11:12:17 AM=>Info:- Call Both
10/25/2022 11:12:17 AM=>Info:- Start Executing SMS Method
10/25/2022 11:12:17 AM=>Info:- End Executing SMS Method
10/25/2022 11:12:17 AM=>Info:- Start Mailing Method
10/25/2022 11:12:17 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:12:17 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:12:17 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:12:17 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:12:17 AM=>Info:- Count = 1
10/25/2022 11:12:17 AM=>Info:- Count 1
10/25/2022 11:12:17 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:12:17 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:12:17 AM=>Info:- Start SenMail Method
10/25/2022 11:12:17 AM=>UseDefaultCredentials
10/25/2022 11:12:17 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:12:17 AM=>EnableSsl = true
10/25/2022 11:12:17 AM=>DeliveryMethod
10/25/2022 11:12:17 AM=>Before Send
10/25/2022 11:13: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.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/25/2022 11:13:41 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:13:41 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:13:41 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:13:41 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:13:41 AM=>Info:- END Mailing Method
10/25/2022 11:13:41 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:13:41 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:13:41 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:13:41 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:13:41 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:13:41 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:13:41 AM=>Info - End of callingService Method
10/25/2022 11:15:41 AM=>Info - Check time Elapsed
10/25/2022 11:15:41 AM=>Info - Call callingService Method
10/25/2022 11:15:41 AM=>Info:- Call Both
10/25/2022 11:15:41 AM=>Info:- Start Executing SMS Method
10/25/2022 11:15:41 AM=>Info:- End Executing SMS Method
10/25/2022 11:15:41 AM=>Info:- Start Mailing Method
10/25/2022 11:15:41 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:15:41 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:15:41 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:15:41 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:15:41 AM=>Info:- Count = 1
10/25/2022 11:15:41 AM=>Info:- Count 1
10/25/2022 11:15:41 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:15:41 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:15:41 AM=>Info:- Start SenMail Method
10/25/2022 11:15:41 AM=>UseDefaultCredentials
10/25/2022 11:15:41 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:15:41 AM=>EnableSsl = true
10/25/2022 11:15:41 AM=>DeliveryMethod
10/25/2022 11:15:41 AM=>Before Send
10/25/2022 11:15: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/25/2022 11:15:44 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:15:44 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:15:44 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:15:44 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:15:45 AM=>Info:- END Mailing Method
10/25/2022 11:15:45 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:15:45 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:15:45 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:15:45 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:15:45 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:15:45 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:15:45 AM=>Info - End of callingService Method
10/25/2022 11:17:45 AM=>Info - Check time Elapsed
10/25/2022 11:17:45 AM=>Info - Call callingService Method
10/25/2022 11:17:45 AM=>Info:- Call Both
10/25/2022 11:17:45 AM=>Info:- Start Executing SMS Method
10/25/2022 11:17:45 AM=>Info:- End Executing SMS Method
10/25/2022 11:17:45 AM=>Info:- Start Mailing Method
10/25/2022 11:17:45 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:17:45 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:17:45 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:17:45 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:17:45 AM=>Info:- Count = 1
10/25/2022 11:17:45 AM=>Info:- Count 1
10/25/2022 11:17:45 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:17:45 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:17:45 AM=>Info:- Start SenMail Method
10/25/2022 11:17:45 AM=>UseDefaultCredentials
10/25/2022 11:17:45 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:17:45 AM=>EnableSsl = true
10/25/2022 11:17:45 AM=>DeliveryMethod
10/25/2022 11:17:45 AM=>Before Send
10/25/2022 11:17: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/25/2022 11:17:54 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:17:54 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:17:54 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:17:54 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:17:54 AM=>Info:- END Mailing Method
10/25/2022 11:17:54 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:17:54 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:17:54 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:17:54 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:17:54 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:17:54 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:17:54 AM=>Info - End of callingService Method
10/25/2022 11:19:54 AM=>Info - Check time Elapsed
10/25/2022 11:19:54 AM=>Info - Call callingService Method
10/25/2022 11:19:54 AM=>Info:- Call Both
10/25/2022 11:19:54 AM=>Info:- Start Executing SMS Method
10/25/2022 11:19:54 AM=>Info:- End Executing SMS Method
10/25/2022 11:19:54 AM=>Info:- Start Mailing Method
10/25/2022 11:19:54 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:19:54 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:19:54 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:19:54 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:19:54 AM=>Info:- Count = 1
10/25/2022 11:19:54 AM=>Info:- Count 1
10/25/2022 11:19:54 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:19:54 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:19:54 AM=>Info:- Start SenMail Method
10/25/2022 11:19:54 AM=>UseDefaultCredentials
10/25/2022 11:19:54 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:19:54 AM=>EnableSsl = true
10/25/2022 11:19:54 AM=>DeliveryMethod
10/25/2022 11:19:54 AM=>Before Send
10/25/2022 11:21: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/25/2022 11:21:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:21:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:21:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:21:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:21:19 AM=>Info:- END Mailing Method
10/25/2022 11:21:19 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:21:19 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:21:19 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:21:19 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:21:19 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:21:19 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:21:19 AM=>Info - End of callingService Method
10/25/2022 11:23:19 AM=>Info - Check time Elapsed
10/25/2022 11:23:19 AM=>Info - Call callingService Method
10/25/2022 11:23:19 AM=>Info:- Call Both
10/25/2022 11:23:19 AM=>Info:- Start Executing SMS Method
10/25/2022 11:23:19 AM=>Info:- End Executing SMS Method
10/25/2022 11:23:19 AM=>Info:- Start Mailing Method
10/25/2022 11:23:19 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:23:19 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:23:19 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:23:19 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:23:19 AM=>Info:- Count = 1
10/25/2022 11:23:19 AM=>Info:- Count 1
10/25/2022 11:23:19 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:23:19 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:23:19 AM=>Info:- Start SenMail Method
10/25/2022 11:23:19 AM=>UseDefaultCredentials
10/25/2022 11:23:19 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:23:19 AM=>EnableSsl = true
10/25/2022 11:23:19 AM=>DeliveryMethod
10/25/2022 11:23:19 AM=>Before Send
10/25/2022 11:24: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/25/2022 11:24:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:24:01 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:24:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:24:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:24:01 AM=>Info:- END Mailing Method
10/25/2022 11:24:01 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:24:01 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:24:01 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:24:01 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:24:01 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:24:01 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:24:01 AM=>Info - End of callingService Method
10/25/2022 11:26:01 AM=>Info - Check time Elapsed
10/25/2022 11:26:01 AM=>Info - Call callingService Method
10/25/2022 11:26:01 AM=>Info:- Call Both
10/25/2022 11:26:01 AM=>Info:- Start Executing SMS Method
10/25/2022 11:26:01 AM=>Info:- End Executing SMS Method
10/25/2022 11:26:01 AM=>Info:- Start Mailing Method
10/25/2022 11:26:01 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:26:01 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:26:01 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:26:01 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:26:01 AM=>Info:- Count = 1
10/25/2022 11:26:01 AM=>Info:- Count 1
10/25/2022 11:26:01 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:26:01 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:26:01 AM=>Info:- Start SenMail Method
10/25/2022 11:26:01 AM=>UseDefaultCredentials
10/25/2022 11:26:01 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:26:01 AM=>EnableSsl = true
10/25/2022 11:26:01 AM=>DeliveryMethod
10/25/2022 11:26:01 AM=>Before Send
10/25/2022 11:26: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/25/2022 11:26:01 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:26:01 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:26:01 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:26:01 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:26:01 AM=>Info:- END Mailing Method
10/25/2022 11:26:01 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:26:01 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:26:01 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:26:01 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:26:01 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:26:01 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:26:01 AM=>Info - End of callingService Method
10/25/2022 11:28:01 AM=>Info - Check time Elapsed
10/25/2022 11:28:01 AM=>Info - Call callingService Method
10/25/2022 11:28:02 AM=>Info:- Call Both
10/25/2022 11:28:02 AM=>Info:- Start Executing SMS Method
10/25/2022 11:28:02 AM=>Info:- End Executing SMS Method
10/25/2022 11:28:02 AM=>Info:- Start Mailing Method
10/25/2022 11:28:02 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:28:02 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:28:02 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:28:02 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:28:02 AM=>Info:- Count = 1
10/25/2022 11:28:02 AM=>Info:- Count 1
10/25/2022 11:28:02 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:28:02 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:28:02 AM=>Info:- Start SenMail Method
10/25/2022 11:28:02 AM=>UseDefaultCredentials
10/25/2022 11:28:02 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:28:02 AM=>EnableSsl = true
10/25/2022 11:28:02 AM=>DeliveryMethod
10/25/2022 11:28:02 AM=>Before Send
10/25/2022 11:28:05 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 11:28:05 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:28:05 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:28:05 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:28:05 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:28:05 AM=>Info:- END Mailing Method
10/25/2022 11:28:05 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:28:05 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:28:05 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:28:05 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:28:05 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:28:05 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:28:05 AM=>Info - End of callingService Method
10/25/2022 11:30:05 AM=>Info - Check time Elapsed
10/25/2022 11:30:05 AM=>Info - Call callingService Method
10/25/2022 11:30:05 AM=>Info:- Call Both
10/25/2022 11:30:05 AM=>Info:- Start Executing SMS Method
10/25/2022 11:30:05 AM=>Info:- End Executing SMS Method
10/25/2022 11:30:05 AM=>Info:- Start Mailing Method
10/25/2022 11:30:05 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:30:05 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:30:05 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:30:05 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:30:05 AM=>Info:- Count = 1
10/25/2022 11:30:05 AM=>Info:- Count 1
10/25/2022 11:30:05 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:30:05 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:30:05 AM=>Info:- Start SenMail Method
10/25/2022 11:30:05 AM=>UseDefaultCredentials
10/25/2022 11:30:05 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:30:05 AM=>EnableSsl = true
10/25/2022 11:30:05 AM=>DeliveryMethod
10/25/2022 11:30:05 AM=>Before Send
10/25/2022 11:30: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/25/2022 11:30:08 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:30:08 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:30:08 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:30:08 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:30:08 AM=>Info:- END Mailing Method
10/25/2022 11:30:08 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:30:08 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:30:08 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:30:08 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:30:08 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:30:08 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:30:08 AM=>Info - End of callingService Method
10/25/2022 11:32:08 AM=>Info - Check time Elapsed
10/25/2022 11:32:08 AM=>Info - Call callingService Method
10/25/2022 11:32:08 AM=>Info:- Call Both
10/25/2022 11:32:08 AM=>Info:- Start Executing SMS Method
10/25/2022 11:32:08 AM=>Info:- End Executing SMS Method
10/25/2022 11:32:08 AM=>Info:- Start Mailing Method
10/25/2022 11:32:08 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:32:08 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:32:08 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:32:08 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:32:08 AM=>Info:- Count = 1
10/25/2022 11:32:08 AM=>Info:- Count 1
10/25/2022 11:32:08 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:32:08 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:32:08 AM=>Info:- Start SenMail Method
10/25/2022 11:32:09 AM=>UseDefaultCredentials
10/25/2022 11:32:09 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:32:09 AM=>EnableSsl = true
10/25/2022 11:32:09 AM=>DeliveryMethod
10/25/2022 11:32:09 AM=>Before Send
10/25/2022 11:32: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/25/2022 11:32:18 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:32:18 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:32:18 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:32:18 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:32:18 AM=>Info:- END Mailing Method
10/25/2022 11:32:18 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:32:18 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:32:18 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:32:18 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:32:18 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:32:18 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:32:18 AM=>Info - End of callingService Method
10/25/2022 11:34:18 AM=>Info - Check time Elapsed
10/25/2022 11:34:18 AM=>Info - Call callingService Method
10/25/2022 11:34:18 AM=>Info:- Call Both
10/25/2022 11:34:18 AM=>Info:- Start Executing SMS Method
10/25/2022 11:34:18 AM=>Info:- End Executing SMS Method
10/25/2022 11:34:18 AM=>Info:- Start Mailing Method
10/25/2022 11:34:18 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:34:18 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:34:18 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:34:18 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:34:18 AM=>Info:- Count = 1
10/25/2022 11:34:18 AM=>Info:- Count 1
10/25/2022 11:34:18 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:34:18 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:34:18 AM=>Info:- Start SenMail Method
10/25/2022 11:34:18 AM=>UseDefaultCredentials
10/25/2022 11:34:18 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:34:18 AM=>EnableSsl = true
10/25/2022 11:34:18 AM=>DeliveryMethod
10/25/2022 11:34:18 AM=>Before Send
10/25/2022 11:35: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.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/25/2022 11:35:42 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:35:42 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:35:42 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:35:42 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:35:42 AM=>Info:- END Mailing Method
10/25/2022 11:35:42 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:35:42 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:35:42 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:35:42 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:35:42 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:35:42 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:35:42 AM=>Info - End of callingService Method
10/25/2022 11:37:42 AM=>Info - Check time Elapsed
10/25/2022 11:37:42 AM=>Info - Call callingService Method
10/25/2022 11:37:42 AM=>Info:- Call Both
10/25/2022 11:37:42 AM=>Info:- Start Executing SMS Method
10/25/2022 11:37:43 AM=>Info:- End Executing SMS Method
10/25/2022 11:37:43 AM=>Info:- Start Mailing Method
10/25/2022 11:37:43 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:37:43 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:37:43 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:37:43 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:37:43 AM=>Info:- Count = 1
10/25/2022 11:37:43 AM=>Info:- Count 1
10/25/2022 11:37:43 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:37:43 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:37:43 AM=>Info:- Start SenMail Method
10/25/2022 11:37:43 AM=>UseDefaultCredentials
10/25/2022 11:37:43 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:37:43 AM=>EnableSsl = true
10/25/2022 11:37:43 AM=>DeliveryMethod
10/25/2022 11:37:43 AM=>Before Send
10/25/2022 11:37: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/25/2022 11:37:46 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:37:46 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:37:46 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:37:46 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:37:46 AM=>Info:- END Mailing Method
10/25/2022 11:37:46 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:37:46 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:37:46 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:37:46 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:37:46 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:37:46 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:37:46 AM=>Info - End of callingService Method
10/25/2022 11:39:46 AM=>Info - Check time Elapsed
10/25/2022 11:39:46 AM=>Info - Call callingService Method
10/25/2022 11:39:46 AM=>Info:- Call Both
10/25/2022 11:39:46 AM=>Info:- Start Executing SMS Method
10/25/2022 11:39:46 AM=>Info:- End Executing SMS Method
10/25/2022 11:39:46 AM=>Info:- Start Mailing Method
10/25/2022 11:39:46 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:39:46 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:39:46 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:39:46 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:39:46 AM=>Info:- Count = 1
10/25/2022 11:39:46 AM=>Info:- Count 1
10/25/2022 11:39:46 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:39:46 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:39:46 AM=>Info:- Start SenMail Method
10/25/2022 11:39:46 AM=>UseDefaultCredentials
10/25/2022 11:39:46 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:39:46 AM=>EnableSsl = true
10/25/2022 11:39:46 AM=>DeliveryMethod
10/25/2022 11:39:46 AM=>Before Send
10/25/2022 11:39: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/25/2022 11:39:55 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:39:55 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:39:55 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:39:55 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:39:55 AM=>Info:- END Mailing Method
10/25/2022 11:39:55 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:39:55 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:39:55 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:39:55 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:39:55 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:39:55 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:39:55 AM=>Info - End of callingService Method
10/25/2022 11:41:55 AM=>Info - Check time Elapsed
10/25/2022 11:41:55 AM=>Info - Call callingService Method
10/25/2022 11:41:55 AM=>Info:- Call Both
10/25/2022 11:41:55 AM=>Info:- Start Executing SMS Method
10/25/2022 11:41:55 AM=>Info:- End Executing SMS Method
10/25/2022 11:41:55 AM=>Info:- Start Mailing Method
10/25/2022 11:41:55 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:41:55 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:41:55 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:41:55 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:41:55 AM=>Info:- Count = 1
10/25/2022 11:41:55 AM=>Info:- Count 1
10/25/2022 11:41:55 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:41:55 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:41:55 AM=>Info:- Start SenMail Method
10/25/2022 11:41:55 AM=>UseDefaultCredentials
10/25/2022 11:41:55 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:41:55 AM=>EnableSsl = true
10/25/2022 11:41:55 AM=>DeliveryMethod
10/25/2022 11:41:55 AM=>Before Send
10/25/2022 11:41: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/25/2022 11:41:55 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:41:55 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:41:55 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:41:55 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:41:56 AM=>Info:- END Mailing Method
10/25/2022 11:41:56 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:41:56 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:41:56 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:41:56 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:41:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:41:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:41:56 AM=>Info - End of callingService Method
10/25/2022 11:43:56 AM=>Info - Check time Elapsed
10/25/2022 11:43:56 AM=>Info - Call callingService Method
10/25/2022 11:43:56 AM=>Info:- Call Both
10/25/2022 11:43:56 AM=>Info:- Start Executing SMS Method
10/25/2022 11:43:56 AM=>Info:- End Executing SMS Method
10/25/2022 11:43:56 AM=>Info:- Start Mailing Method
10/25/2022 11:43:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:43:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:43:56 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:43:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:43:56 AM=>Info:- Count = 1
10/25/2022 11:43:56 AM=>Info:- Count 1
10/25/2022 11:43:56 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:43:56 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:43:56 AM=>Info:- Start SenMail Method
10/25/2022 11:43:56 AM=>UseDefaultCredentials
10/25/2022 11:43:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:43:56 AM=>EnableSsl = true
10/25/2022 11:43:56 AM=>DeliveryMethod
10/25/2022 11:43:56 AM=>Before Send
10/25/2022 11:43: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/25/2022 11:43:56 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:43:56 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:43:56 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:43:56 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:43:56 AM=>Info:- END Mailing Method
10/25/2022 11:43:56 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:43:56 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:43:56 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:43:56 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:43:56 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:43:56 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:43:56 AM=>Info - End of callingService Method
10/25/2022 11:45:56 AM=>Info - Check time Elapsed
10/25/2022 11:45:56 AM=>Info - Call callingService Method
10/25/2022 11:45:56 AM=>Info:- Call Both
10/25/2022 11:45:56 AM=>Info:- Start Executing SMS Method
10/25/2022 11:45:56 AM=>Info:- End Executing SMS Method
10/25/2022 11:45:56 AM=>Info:- Start Mailing Method
10/25/2022 11:45:56 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:45:56 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:45:56 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:45:56 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:45:56 AM=>Info:- Count = 1
10/25/2022 11:45:56 AM=>Info:- Count 1
10/25/2022 11:45:56 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:45:56 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:45:56 AM=>Info:- Start SenMail Method
10/25/2022 11:45:56 AM=>UseDefaultCredentials
10/25/2022 11:45:56 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:45:56 AM=>EnableSsl = true
10/25/2022 11:45:56 AM=>DeliveryMethod
10/25/2022 11:45:56 AM=>Before Send
10/25/2022 11:46: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/25/2022 11:46:38 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:46:38 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:46:38 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:46:38 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:46:39 AM=>Info:- END Mailing Method
10/25/2022 11:46:39 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:46:39 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:46:39 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:46:39 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:46:39 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:46:39 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:46:39 AM=>Info - End of callingService Method
10/25/2022 11:48:39 AM=>Info - Check time Elapsed
10/25/2022 11:48:39 AM=>Info - Call callingService Method
10/25/2022 11:48:39 AM=>Info:- Call Both
10/25/2022 11:48:39 AM=>Info:- Start Executing SMS Method
10/25/2022 11:48:39 AM=>Info:- End Executing SMS Method
10/25/2022 11:48:39 AM=>Info:- Start Mailing Method
10/25/2022 11:48:39 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:48:39 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:48:39 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:48:39 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:48:39 AM=>Info:- Count = 1
10/25/2022 11:48:39 AM=>Info:- Count 1
10/25/2022 11:48:39 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:48:39 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:48:39 AM=>Info:- Start SenMail Method
10/25/2022 11:48:39 AM=>UseDefaultCredentials
10/25/2022 11:48:39 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:48:39 AM=>EnableSsl = true
10/25/2022 11:48:39 AM=>DeliveryMethod
10/25/2022 11:48:39 AM=>Before Send
10/25/2022 11:48:42 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 11:48:42 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:48:42 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:48:42 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:48:42 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:48:42 AM=>Info:- END Mailing Method
10/25/2022 11:48:42 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:48:42 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:48:42 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:48:42 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:48:42 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:48:42 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:48:42 AM=>Info - End of callingService Method
10/25/2022 11:50:42 AM=>Info - Check time Elapsed
10/25/2022 11:50:42 AM=>Info - Call callingService Method
10/25/2022 11:50:42 AM=>Info:- Call Both
10/25/2022 11:50:42 AM=>Info:- Start Executing SMS Method
10/25/2022 11:50:42 AM=>Info:- End Executing SMS Method
10/25/2022 11:50:42 AM=>Info:- Start Mailing Method
10/25/2022 11:50:42 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:50:42 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:50:42 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:50:42 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:50:42 AM=>Info:- Count = 1
10/25/2022 11:50:42 AM=>Info:- Count 1
10/25/2022 11:50:42 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:50:42 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:50:42 AM=>Info:- Start SenMail Method
10/25/2022 11:50:42 AM=>UseDefaultCredentials
10/25/2022 11:50:42 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:50:42 AM=>EnableSsl = true
10/25/2022 11:50:42 AM=>DeliveryMethod
10/25/2022 11:50:42 AM=>Before Send
10/25/2022 11:50: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/25/2022 11:50:51 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:50:51 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:50:51 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:50:51 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:50:51 AM=>Info:- END Mailing Method
10/25/2022 11:50:52 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:50:52 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:50:52 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:50:52 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:50:52 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:50:52 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:50:52 AM=>Info - End of callingService Method
10/25/2022 11:52:52 AM=>Info - Check time Elapsed
10/25/2022 11:52:52 AM=>Info - Call callingService Method
10/25/2022 11:52:52 AM=>Info:- Call Both
10/25/2022 11:52:52 AM=>Info:- Start Executing SMS Method
10/25/2022 11:52:52 AM=>Info:- End Executing SMS Method
10/25/2022 11:52:52 AM=>Info:- Start Mailing Method
10/25/2022 11:52:52 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:52:52 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:52:52 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:52:52 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:52:52 AM=>Info:- Count = 1
10/25/2022 11:52:52 AM=>Info:- Count 1
10/25/2022 11:52:52 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:52:52 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:52:52 AM=>Info:- Start SenMail Method
10/25/2022 11:52:52 AM=>UseDefaultCredentials
10/25/2022 11:52:52 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:52:52 AM=>EnableSsl = true
10/25/2022 11:52:52 AM=>DeliveryMethod
10/25/2022 11:52:52 AM=>Before Send
10/25/2022 11:54: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.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/25/2022 11:54:16 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:54:16 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:54:16 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:54:16 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:54:16 AM=>Info:- END Mailing Method
10/25/2022 11:54:16 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:54:16 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:54:16 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:54:16 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:54:16 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:54:16 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:54:16 AM=>Info - End of callingService Method
10/25/2022 11:56:16 AM=>Info - Check time Elapsed
10/25/2022 11:56:16 AM=>Info - Call callingService Method
10/25/2022 11:56:16 AM=>Info:- Call Both
10/25/2022 11:56:16 AM=>Info:- Start Executing SMS Method
10/25/2022 11:56:16 AM=>Info:- End Executing SMS Method
10/25/2022 11:56:16 AM=>Info:- Start Mailing Method
10/25/2022 11:56:16 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:56:16 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:56:16 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:56:16 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:56:16 AM=>Info:- Count = 1
10/25/2022 11:56:16 AM=>Info:- Count 1
10/25/2022 11:56:16 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:56:16 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:56:16 AM=>Info:- Start SenMail Method
10/25/2022 11:56:16 AM=>UseDefaultCredentials
10/25/2022 11:56:16 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:56:16 AM=>EnableSsl = true
10/25/2022 11:56:16 AM=>DeliveryMethod
10/25/2022 11:56:16 AM=>Before Send
10/25/2022 11:56: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/25/2022 11:56:25 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:56:25 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:56:25 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:56:25 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:56:25 AM=>Info:- END Mailing Method
10/25/2022 11:56:25 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:56:25 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:56:25 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:56:25 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:56:25 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:56:26 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:56:26 AM=>Info - End of callingService Method
10/25/2022 11:58:26 AM=>Info - Check time Elapsed
10/25/2022 11:58:26 AM=>Info - Call callingService Method
10/25/2022 11:58:26 AM=>Info:- Call Both
10/25/2022 11:58:26 AM=>Info:- Start Executing SMS Method
10/25/2022 11:58:26 AM=>Info:- End Executing SMS Method
10/25/2022 11:58:26 AM=>Info:- Start Mailing Method
10/25/2022 11:58:26 AM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:58:26 AM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:58:26 AM=>Info:- PendingMail.xml file read to list
10/25/2022 11:58:26 AM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:58:26 AM=>Info:- Count = 1
10/25/2022 11:58:26 AM=>Info:- Count 1
10/25/2022 11:58:26 AM=>Info - Fetching Data From MAIL XML
10/25/2022 11:58:26 AM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:58:26 AM=>Info:- Start SenMail Method
10/25/2022 11:58:26 AM=>UseDefaultCredentials
10/25/2022 11:58:26 AM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:58:26 AM=>EnableSsl = true
10/25/2022 11:58:26 AM=>DeliveryMethod
10/25/2022 11:58:26 AM=>Before Send
10/25/2022 11:59:50 AM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 11:59:50 AM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:59:50 AM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:59:50 AM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:59:50 AM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:59:50 AM=>Info:- END Mailing Method
10/25/2022 11:59:50 AM=>Info:- Start Executing Telegram Method
10/25/2022 11:59:50 AM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:59:50 AM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:59:50 AM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:59:50 AM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:59:50 AM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:59:50 AM=>Info - End of callingService Method
10/25/2022 12:01:50 PM=>Info - Check time Elapsed
10/25/2022 12:01:50 PM=>Info - Call callingService Method
10/25/2022 12:01:50 PM=>Info:- Call Both
10/25/2022 12:01:50 PM=>Info:- Start Executing SMS Method
10/25/2022 12:01:50 PM=>Info:- End Executing SMS Method
10/25/2022 12:01:50 PM=>Info:- Start Mailing Method
10/25/2022 12:01:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:01:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:01:50 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:01:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:01:50 PM=>Info:- Count = 1
10/25/2022 12:01:50 PM=>Info:- Count 1
10/25/2022 12:01:50 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:01:50 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:01:50 PM=>Info:- Start SenMail Method
10/25/2022 12:01:50 PM=>UseDefaultCredentials
10/25/2022 12:01:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:01:50 PM=>EnableSsl = true
10/25/2022 12:01:50 PM=>DeliveryMethod
10/25/2022 12:01:50 PM=>Before Send
10/25/2022 12:03: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.109.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 12:03:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:03:14 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:03:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:03:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:03:15 PM=>Info:- END Mailing Method
10/25/2022 12:03:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:03:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:03:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:03:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:03:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:03:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:03:15 PM=>Info - End of callingService Method
10/25/2022 12:05:15 PM=>Info - Check time Elapsed
10/25/2022 12:05:15 PM=>Info - Call callingService Method
10/25/2022 12:05:15 PM=>Info:- Call Both
10/25/2022 12:05:15 PM=>Info:- Start Executing SMS Method
10/25/2022 12:05:15 PM=>Info:- End Executing SMS Method
10/25/2022 12:05:15 PM=>Info:- Start Mailing Method
10/25/2022 12:05:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:05:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:05:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:05:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:05:15 PM=>Info:- Count = 1
10/25/2022 12:05:15 PM=>Info:- Count 1
10/25/2022 12:05:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:05:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:05:15 PM=>Info:- Start SenMail Method
10/25/2022 12:05:15 PM=>UseDefaultCredentials
10/25/2022 12:05:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:05:15 PM=>EnableSsl = true
10/25/2022 12:05:15 PM=>DeliveryMethod
10/25/2022 12:05:15 PM=>Before Send
10/25/2022 12:05: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/25/2022 12:05:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:05:15 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:05:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:05:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:05:15 PM=>Info:- END Mailing Method
10/25/2022 12:05:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:05:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:05:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:05:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:05:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:05:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:05:15 PM=>Info - End of callingService Method
10/25/2022 12:07:15 PM=>Info - Check time Elapsed
10/25/2022 12:07:15 PM=>Info - Call callingService Method
10/25/2022 12:07:15 PM=>Info:- Call Both
10/25/2022 12:07:15 PM=>Info:- Start Executing SMS Method
10/25/2022 12:07:15 PM=>Info:- End Executing SMS Method
10/25/2022 12:07:15 PM=>Info:- Start Mailing Method
10/25/2022 12:07:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:07:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:07:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:07:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:07:15 PM=>Info:- Count = 1
10/25/2022 12:07:15 PM=>Info:- Count 1
10/25/2022 12:07:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:07:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:07:15 PM=>Info:- Start SenMail Method
10/25/2022 12:07:15 PM=>UseDefaultCredentials
10/25/2022 12:07:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:07:15 PM=>EnableSsl = true
10/25/2022 12:07:15 PM=>DeliveryMethod
10/25/2022 12:07:15 PM=>Before Send
10/25/2022 12:07: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/25/2022 12:07:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:07:15 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:07:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:07:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:07:15 PM=>Info:- END Mailing Method
10/25/2022 12:07:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:07:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:07:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:07:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:07:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:07:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:07:15 PM=>Info - End of callingService Method
10/25/2022 12:09:15 PM=>Info - Check time Elapsed
10/25/2022 12:09:15 PM=>Info - Call callingService Method
10/25/2022 12:09:15 PM=>Info:- Call Both
10/25/2022 12:09:15 PM=>Info:- Start Executing SMS Method
10/25/2022 12:09:15 PM=>Info:- End Executing SMS Method
10/25/2022 12:09:15 PM=>Info:- Start Mailing Method
10/25/2022 12:09:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:09:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:09:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:09:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:09:15 PM=>Info:- Count = 1
10/25/2022 12:09:15 PM=>Info:- Count 1
10/25/2022 12:09:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:09:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:09:15 PM=>Info:- Start SenMail Method
10/25/2022 12:09:15 PM=>UseDefaultCredentials
10/25/2022 12:09:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:09:15 PM=>EnableSsl = true
10/25/2022 12:09:15 PM=>DeliveryMethod
10/25/2022 12:09:15 PM=>Before Send
10/25/2022 12:09: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/25/2022 12:09:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:09:25 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:09:25 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:09:25 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:09:25 PM=>Info:- END Mailing Method
10/25/2022 12:09:25 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:09:25 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:09:25 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:09:25 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:09:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:09:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:09:25 PM=>Info - End of callingService Method
10/25/2022 12:11:25 PM=>Info - Check time Elapsed
10/25/2022 12:11:25 PM=>Info - Call callingService Method
10/25/2022 12:11:25 PM=>Info:- Call Both
10/25/2022 12:11:25 PM=>Info:- Start Executing SMS Method
10/25/2022 12:11:25 PM=>Info:- End Executing SMS Method
10/25/2022 12:11:25 PM=>Info:- Start Mailing Method
10/25/2022 12:11:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:11:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:11:25 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:11:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:11:25 PM=>Info:- Count = 1
10/25/2022 12:11:25 PM=>Info:- Count 1
10/25/2022 12:11:25 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:11:25 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:11:25 PM=>Info:- Start SenMail Method
10/25/2022 12:11:25 PM=>UseDefaultCredentials
10/25/2022 12:11:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:11:25 PM=>EnableSsl = true
10/25/2022 12:11:25 PM=>DeliveryMethod
10/25/2022 12:11:25 PM=>Before Send
10/25/2022 12:12: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/25/2022 12:12:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:12:28 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:12:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:12:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:12:28 PM=>Info:- END Mailing Method
10/25/2022 12:12:28 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:12:28 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:12:28 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:12:28 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:12:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:12:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:12:28 PM=>Info - End of callingService Method
10/25/2022 12:14:28 PM=>Info - Check time Elapsed
10/25/2022 12:14:28 PM=>Info - Call callingService Method
10/25/2022 12:14:28 PM=>Info:- Call Both
10/25/2022 12:14:28 PM=>Info:- Start Executing SMS Method
10/25/2022 12:14:28 PM=>Info:- End Executing SMS Method
10/25/2022 12:14:28 PM=>Info:- Start Mailing Method
10/25/2022 12:14:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:14:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:14:28 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:14:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:14:28 PM=>Info:- Count = 1
10/25/2022 12:14:28 PM=>Info:- Count 1
10/25/2022 12:14:28 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:14:28 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:14:28 PM=>Info:- Start SenMail Method
10/25/2022 12:14:28 PM=>UseDefaultCredentials
10/25/2022 12:14:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:14:28 PM=>EnableSsl = true
10/25/2022 12:14:28 PM=>DeliveryMethod
10/25/2022 12:14:28 PM=>Before Send
10/25/2022 12:15: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.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/25/2022 12:15:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:15:53 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:15:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:15:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:15:53 PM=>Info:- END Mailing Method
10/25/2022 12:15:53 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:15:53 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:15:53 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:15:53 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:15:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:15:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:15:53 PM=>Info - End of callingService Method
10/25/2022 12:17:53 PM=>Info - Check time Elapsed
10/25/2022 12:17:53 PM=>Info - Call callingService Method
10/25/2022 12:17:53 PM=>Info:- Call Both
10/25/2022 12:17:53 PM=>Info:- Start Executing SMS Method
10/25/2022 12:17:53 PM=>Info:- End Executing SMS Method
10/25/2022 12:17:53 PM=>Info:- Start Mailing Method
10/25/2022 12:17:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:17:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:17:53 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:17:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:17:53 PM=>Info:- Count = 1
10/25/2022 12:17:53 PM=>Info:- Count 1
10/25/2022 12:17:53 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:17:53 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:17:53 PM=>Info:- Start SenMail Method
10/25/2022 12:17:53 PM=>UseDefaultCredentials
10/25/2022 12:17:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:17:53 PM=>EnableSsl = true
10/25/2022 12:17:53 PM=>DeliveryMethod
10/25/2022 12:17:53 PM=>Before Send
10/25/2022 12:19: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.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/25/2022 12:19:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:19:17 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:19:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:19:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:19:17 PM=>Info:- END Mailing Method
10/25/2022 12:19:17 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:19:17 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:19:17 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:19:17 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:19:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:19:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:19:17 PM=>Info - End of callingService Method
10/25/2022 12:21:17 PM=>Info - Check time Elapsed
10/25/2022 12:21:17 PM=>Info - Call callingService Method
10/25/2022 12:21:17 PM=>Info:- Call Both
10/25/2022 12:21:17 PM=>Info:- Start Executing SMS Method
10/25/2022 12:21:17 PM=>Info:- End Executing SMS Method
10/25/2022 12:21:17 PM=>Info:- Start Mailing Method
10/25/2022 12:21:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:21:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:21:17 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:21:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:21:17 PM=>Info:- Count = 1
10/25/2022 12:21:17 PM=>Info:- Count 1
10/25/2022 12:21:17 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:21:17 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:21:17 PM=>Info:- Start SenMail Method
10/25/2022 12:21:18 PM=>UseDefaultCredentials
10/25/2022 12:21:18 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:21:18 PM=>EnableSsl = true
10/25/2022 12:21:18 PM=>DeliveryMethod
10/25/2022 12:21:18 PM=>Before Send
10/25/2022 12:21: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/25/2022 12:21:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:21:27 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:21:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:21:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:21:27 PM=>Info:- END Mailing Method
10/25/2022 12:21:27 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:21:27 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:21:27 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:21:27 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:21:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:21:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:21:27 PM=>Info - End of callingService Method
10/25/2022 12:23:27 PM=>Info - Check time Elapsed
10/25/2022 12:23:27 PM=>Info - Call callingService Method
10/25/2022 12:23:27 PM=>Info:- Call Both
10/25/2022 12:23:27 PM=>Info:- Start Executing SMS Method
10/25/2022 12:23:27 PM=>Info:- End Executing SMS Method
10/25/2022 12:23:27 PM=>Info:- Start Mailing Method
10/25/2022 12:23:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:23:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:23:27 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:23:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:23:27 PM=>Info:- Count = 1
10/25/2022 12:23:27 PM=>Info:- Count 1
10/25/2022 12:23:27 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:23:27 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:23:27 PM=>Info:- Start SenMail Method
10/25/2022 12:23:27 PM=>UseDefaultCredentials
10/25/2022 12:23:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:23:27 PM=>EnableSsl = true
10/25/2022 12:23:27 PM=>DeliveryMethod
10/25/2022 12:23:27 PM=>Before Send
10/25/2022 12:24: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.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/25/2022 12:24:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:24:51 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:24:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:24:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:24:51 PM=>Info:- END Mailing Method
10/25/2022 12:24:51 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:24:51 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:24:51 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:24:51 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:24:51 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:24:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:24:51 PM=>Info - End of callingService Method
10/25/2022 12:26:51 PM=>Info - Check time Elapsed
10/25/2022 12:26:51 PM=>Info - Call callingService Method
10/25/2022 12:26:51 PM=>Info:- Call Both
10/25/2022 12:26:51 PM=>Info:- Start Executing SMS Method
10/25/2022 12:26:51 PM=>Info:- End Executing SMS Method
10/25/2022 12:26:51 PM=>Info:- Start Mailing Method
10/25/2022 12:26:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:26:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:26:51 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:26:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:26:51 PM=>Info:- Count = 1
10/25/2022 12:26:51 PM=>Info:- Count 1
10/25/2022 12:26:51 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:26:51 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:26:51 PM=>Info:- Start SenMail Method
10/25/2022 12:26:51 PM=>UseDefaultCredentials
10/25/2022 12:26:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:26:51 PM=>EnableSsl = true
10/25/2022 12:26:51 PM=>DeliveryMethod
10/25/2022 12:26:51 PM=>Before Send
10/25/2022 12:26: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/25/2022 12:26:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:26:51 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:26:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:26:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:26:52 PM=>Info:- END Mailing Method
10/25/2022 12:26:52 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:26:52 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:26:52 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:26:52 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:26:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:26:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:26:52 PM=>Info - End of callingService Method
10/25/2022 12:28:52 PM=>Info - Check time Elapsed
10/25/2022 12:28:52 PM=>Info - Call callingService Method
10/25/2022 12:28:52 PM=>Info:- Call Both
10/25/2022 12:28:52 PM=>Info:- Start Executing SMS Method
10/25/2022 12:28:52 PM=>Info:- End Executing SMS Method
10/25/2022 12:28:52 PM=>Info:- Start Mailing Method
10/25/2022 12:28:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:28:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:28:52 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:28:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:28:52 PM=>Info:- Count = 1
10/25/2022 12:28:52 PM=>Info:- Count 1
10/25/2022 12:28:52 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:28:52 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:28:52 PM=>Info:- Start SenMail Method
10/25/2022 12:28:52 PM=>UseDefaultCredentials
10/25/2022 12:28:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:28:52 PM=>EnableSsl = true
10/25/2022 12:28:52 PM=>DeliveryMethod
10/25/2022 12:28:52 PM=>Before Send
10/25/2022 12:28: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/25/2022 12:28:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:28:52 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:28:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:28:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:28:52 PM=>Info:- END Mailing Method
10/25/2022 12:28:52 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:28:52 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:28:52 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:28:52 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:28:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:28:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:28:52 PM=>Info - End of callingService Method
10/25/2022 12:30:52 PM=>Info - Check time Elapsed
10/25/2022 12:30:52 PM=>Info - Call callingService Method
10/25/2022 12:30:52 PM=>Info:- Call Both
10/25/2022 12:30:52 PM=>Info:- Start Executing SMS Method
10/25/2022 12:30:52 PM=>Info:- End Executing SMS Method
10/25/2022 12:30:52 PM=>Info:- Start Mailing Method
10/25/2022 12:30:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:30:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:30:52 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:30:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:30:52 PM=>Info:- Count = 1
10/25/2022 12:30:52 PM=>Info:- Count 1
10/25/2022 12:30:52 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:30:52 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:30:52 PM=>Info:- Start SenMail Method
10/25/2022 12:30:52 PM=>UseDefaultCredentials
10/25/2022 12:30:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:30:52 PM=>EnableSsl = true
10/25/2022 12:30:52 PM=>DeliveryMethod
10/25/2022 12:30:52 PM=>Before Send
10/25/2022 12:31: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/25/2022 12:31:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:31:13 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:31:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:31:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:31:14 PM=>Info:- END Mailing Method
10/25/2022 12:31:14 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:31:14 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:31:14 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:31:14 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:31:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:31:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:31:14 PM=>Info - End of callingService Method
10/25/2022 12:33:14 PM=>Info - Check time Elapsed
10/25/2022 12:33:14 PM=>Info - Call callingService Method
10/25/2022 12:33:14 PM=>Info:- Call Both
10/25/2022 12:33:14 PM=>Info:- Start Executing SMS Method
10/25/2022 12:33:14 PM=>Info:- End Executing SMS Method
10/25/2022 12:33:14 PM=>Info:- Start Mailing Method
10/25/2022 12:33:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:33:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:33:14 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:33:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:33:14 PM=>Info:- Count = 1
10/25/2022 12:33:14 PM=>Info:- Count 1
10/25/2022 12:33:14 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:33:14 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:33:14 PM=>Info:- Start SenMail Method
10/25/2022 12:33:14 PM=>UseDefaultCredentials
10/25/2022 12:33:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:33:14 PM=>EnableSsl = true
10/25/2022 12:33:14 PM=>DeliveryMethod
10/25/2022 12:33:14 PM=>Before Send
10/25/2022 12:34:38 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 12:34:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:34:38 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:34:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:34:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:34:38 PM=>Info:- END Mailing Method
10/25/2022 12:34:38 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:34:38 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:34:38 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:34:38 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:34:38 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:34:38 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:34:38 PM=>Info - End of callingService Method
10/25/2022 12:36:38 PM=>Info - Check time Elapsed
10/25/2022 12:36:38 PM=>Info - Call callingService Method
10/25/2022 12:36:38 PM=>Info:- Call Both
10/25/2022 12:36:38 PM=>Info:- Start Executing SMS Method
10/25/2022 12:36:38 PM=>Info:- End Executing SMS Method
10/25/2022 12:36:38 PM=>Info:- Start Mailing Method
10/25/2022 12:36:38 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:36:38 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:36:38 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:36:38 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:36:38 PM=>Info:- Count = 1
10/25/2022 12:36:38 PM=>Info:- Count 1
10/25/2022 12:36:38 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:36:38 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:36:38 PM=>Info:- Start SenMail Method
10/25/2022 12:36:38 PM=>UseDefaultCredentials
10/25/2022 12:36:38 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:36:38 PM=>EnableSsl = true
10/25/2022 12:36:38 PM=>DeliveryMethod
10/25/2022 12:36:38 PM=>Before Send
10/25/2022 12:36: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/25/2022 12:36:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:36:47 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:36:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:36:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:36:48 PM=>Info:- END Mailing Method
10/25/2022 12:36:48 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:36:48 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:36:48 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:36:48 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:36:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:36:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:36:48 PM=>Info - End of callingService Method
10/25/2022 12:38:48 PM=>Info - Check time Elapsed
10/25/2022 12:38:48 PM=>Info - Call callingService Method
10/25/2022 12:38:48 PM=>Info:- Call Both
10/25/2022 12:38:48 PM=>Info:- Start Executing SMS Method
10/25/2022 12:38:48 PM=>Info:- End Executing SMS Method
10/25/2022 12:38:48 PM=>Info:- Start Mailing Method
10/25/2022 12:38:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:38:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:38:48 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:38:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:38:48 PM=>Info:- Count = 1
10/25/2022 12:38:48 PM=>Info:- Count 1
10/25/2022 12:38:48 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:38:48 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:38:48 PM=>Info:- Start SenMail Method
10/25/2022 12:38:48 PM=>UseDefaultCredentials
10/25/2022 12:38:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:38:48 PM=>EnableSsl = true
10/25/2022 12:38:48 PM=>DeliveryMethod
10/25/2022 12:38:48 PM=>Before Send
10/25/2022 12:40:42 PM=>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/25/2022 12:40:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:40:42 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:40:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:40:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:40:42 PM=>Info:- END Mailing Method
10/25/2022 12:40:42 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:40:42 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:40:42 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:40:42 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:40:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:40:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:40:42 PM=>Info - End of callingService Method
10/25/2022 12:42:42 PM=>Info - Check time Elapsed
10/25/2022 12:42:42 PM=>Info - Call callingService Method
10/25/2022 12:42:42 PM=>Info:- Call Both
10/25/2022 12:42:42 PM=>Info:- Start Executing SMS Method
10/25/2022 12:42:42 PM=>Info:- End Executing SMS Method
10/25/2022 12:42:42 PM=>Info:- Start Mailing Method
10/25/2022 12:42:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:42:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:42:42 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:42:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:42:42 PM=>Info:- Count = 1
10/25/2022 12:42:42 PM=>Info:- Count 1
10/25/2022 12:42:42 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:42:42 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:42:42 PM=>Info:- Start SenMail Method
10/25/2022 12:42:42 PM=>UseDefaultCredentials
10/25/2022 12:42:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:42:42 PM=>EnableSsl = true
10/25/2022 12:42:42 PM=>DeliveryMethod
10/25/2022 12:42:42 PM=>Before Send
10/25/2022 12:43: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/25/2022 12:43:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:43:24 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:43:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:43:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:43:25 PM=>Info:- END Mailing Method
10/25/2022 12:43:25 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:43:25 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:43:25 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:43:25 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:43:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:43:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:43:25 PM=>Info - End of callingService Method
10/25/2022 12:45:25 PM=>Info - Check time Elapsed
10/25/2022 12:45:25 PM=>Info - Call callingService Method
10/25/2022 12:45:25 PM=>Info:- Call Both
10/25/2022 12:45:25 PM=>Info:- Start Executing SMS Method
10/25/2022 12:45:25 PM=>Info:- End Executing SMS Method
10/25/2022 12:45:25 PM=>Info:- Start Mailing Method
10/25/2022 12:45:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:45:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:45:25 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:45:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:45:25 PM=>Info:- Count = 1
10/25/2022 12:45:25 PM=>Info:- Count 1
10/25/2022 12:45:25 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:45:25 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:45:25 PM=>Info:- Start SenMail Method
10/25/2022 12:45:25 PM=>UseDefaultCredentials
10/25/2022 12:45:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:45:25 PM=>EnableSsl = true
10/25/2022 12:45:25 PM=>DeliveryMethod
10/25/2022 12:45:25 PM=>Before Send
10/25/2022 12:45: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/25/2022 12:45:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:45:46 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:45:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:45:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:45:46 PM=>Info:- END Mailing Method
10/25/2022 12:45:46 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:45:46 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:45:46 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:45:46 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:45:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:45:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:45:46 PM=>Info - End of callingService Method
10/25/2022 12:47:46 PM=>Info - Check time Elapsed
10/25/2022 12:47:46 PM=>Info - Call callingService Method
10/25/2022 12:47:46 PM=>Info:- Call Both
10/25/2022 12:47:46 PM=>Info:- Start Executing SMS Method
10/25/2022 12:47:46 PM=>Info:- End Executing SMS Method
10/25/2022 12:47:46 PM=>Info:- Start Mailing Method
10/25/2022 12:47:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:47:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:47:46 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:47:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:47:46 PM=>Info:- Count = 1
10/25/2022 12:47:46 PM=>Info:- Count 1
10/25/2022 12:47:46 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:47:46 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:47:46 PM=>Info:- Start SenMail Method
10/25/2022 12:47:46 PM=>UseDefaultCredentials
10/25/2022 12:47:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:47:46 PM=>EnableSsl = true
10/25/2022 12:47:46 PM=>DeliveryMethod
10/25/2022 12:47:46 PM=>Before Send
10/25/2022 12:47:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 12:47:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:47:46 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:47:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:47:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:47:47 PM=>Info:- END Mailing Method
10/25/2022 12:47:47 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:47:47 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:47:47 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:47:47 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:47:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:47:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:47:47 PM=>Info - End of callingService Method
10/25/2022 12:49:47 PM=>Info - Check time Elapsed
10/25/2022 12:49:47 PM=>Info - Call callingService Method
10/25/2022 12:49:47 PM=>Info:- Call Both
10/25/2022 12:49:47 PM=>Info:- Start Executing SMS Method
10/25/2022 12:49:47 PM=>Info:- End Executing SMS Method
10/25/2022 12:49:47 PM=>Info:- Start Mailing Method
10/25/2022 12:49:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:49:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:49:47 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:49:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:49:47 PM=>Info:- Count = 1
10/25/2022 12:49:47 PM=>Info:- Count 1
10/25/2022 12:49:47 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:49:47 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:49:47 PM=>Info:- Start SenMail Method
10/25/2022 12:49:47 PM=>UseDefaultCredentials
10/25/2022 12:49:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:49:47 PM=>EnableSsl = true
10/25/2022 12:49:47 PM=>DeliveryMethod
10/25/2022 12:49:47 PM=>Before Send
10/25/2022 12:49: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/25/2022 12:49:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:49:47 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:49:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:49:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:49:47 PM=>Info:- END Mailing Method
10/25/2022 12:49:47 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:49:47 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:49:47 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:49:47 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:49:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:49:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:49:47 PM=>Info - End of callingService Method
10/25/2022 12:51:47 PM=>Info - Check time Elapsed
10/25/2022 12:51:47 PM=>Info - Call callingService Method
10/25/2022 12:51:47 PM=>Info:- Call Both
10/25/2022 12:51:47 PM=>Info:- Start Executing SMS Method
10/25/2022 12:51:47 PM=>Info:- End Executing SMS Method
10/25/2022 12:51:47 PM=>Info:- Start Mailing Method
10/25/2022 12:51:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:51:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:51:47 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:51:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:51:47 PM=>Info:- Count = 1
10/25/2022 12:51:47 PM=>Info:- Count 1
10/25/2022 12:51:47 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:51:47 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:51:47 PM=>Info:- Start SenMail Method
10/25/2022 12:51:47 PM=>UseDefaultCredentials
10/25/2022 12:51:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:51:47 PM=>EnableSsl = true
10/25/2022 12:51:47 PM=>DeliveryMethod
10/25/2022 12:51:47 PM=>Before Send
10/25/2022 12:51: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/25/2022 12:51:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:51:50 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:51:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:51:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:51:50 PM=>Info:- END Mailing Method
10/25/2022 12:51:50 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:51:50 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:51:50 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:51:50 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:51:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:51:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:51:51 PM=>Info - End of callingService Method
10/25/2022 12:53:51 PM=>Info - Check time Elapsed
10/25/2022 12:53:51 PM=>Info - Call callingService Method
10/25/2022 12:53:51 PM=>Info:- Call Both
10/25/2022 12:53:51 PM=>Info:- Start Executing SMS Method
10/25/2022 12:53:51 PM=>Info:- End Executing SMS Method
10/25/2022 12:53:51 PM=>Info:- Start Mailing Method
10/25/2022 12:53:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:53:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:53:51 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:53:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:53:51 PM=>Info:- Count = 1
10/25/2022 12:53:51 PM=>Info:- Count 1
10/25/2022 12:53:51 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:53:51 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:53:51 PM=>Info:- Start SenMail Method
10/25/2022 12:53:51 PM=>UseDefaultCredentials
10/25/2022 12:53:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:53:51 PM=>EnableSsl = true
10/25/2022 12:53:51 PM=>DeliveryMethod
10/25/2022 12:53:51 PM=>Before Send
10/25/2022 12:53: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/25/2022 12:53:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:53:54 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:53:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:53:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:53:54 PM=>Info:- END Mailing Method
10/25/2022 12:53:54 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:53:54 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:53:54 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:53:54 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:53:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:53:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:53:54 PM=>Info - End of callingService Method
10/25/2022 12:55:54 PM=>Info - Check time Elapsed
10/25/2022 12:55:54 PM=>Info - Call callingService Method
10/25/2022 12:55:54 PM=>Info:- Call Both
10/25/2022 12:55:54 PM=>Info:- Start Executing SMS Method
10/25/2022 12:55:54 PM=>Info:- End Executing SMS Method
10/25/2022 12:55:54 PM=>Info:- Start Mailing Method
10/25/2022 12:55:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:55:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:55:54 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:55:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:55:54 PM=>Info:- Count = 1
10/25/2022 12:55:54 PM=>Info:- Count 1
10/25/2022 12:55:54 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:55:54 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:55:54 PM=>Info:- Start SenMail Method
10/25/2022 12:55:54 PM=>UseDefaultCredentials
10/25/2022 12:55:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:55:54 PM=>EnableSsl = true
10/25/2022 12:55:54 PM=>DeliveryMethod
10/25/2022 12:55:54 PM=>Before Send
10/25/2022 12:56:36 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 12:56:36 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:56:36 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:56:36 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:56:36 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:56:36 PM=>Info:- END Mailing Method
10/25/2022 12:56:36 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:56:36 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:56:36 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:56:36 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:56:36 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:56:36 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:56:36 PM=>Info - End of callingService Method
10/25/2022 12:58:36 PM=>Info - Check time Elapsed
10/25/2022 12:58:36 PM=>Info - Call callingService Method
10/25/2022 12:58:37 PM=>Info:- Call Both
10/25/2022 12:58:37 PM=>Info:- Start Executing SMS Method
10/25/2022 12:58:37 PM=>Info:- End Executing SMS Method
10/25/2022 12:58:37 PM=>Info:- Start Mailing Method
10/25/2022 12:58:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 12:58:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 12:58:37 PM=>Info:- PendingMail.xml file read to list
10/25/2022 12:58:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 12:58:37 PM=>Info:- Count = 1
10/25/2022 12:58:37 PM=>Info:- Count 1
10/25/2022 12:58:37 PM=>Info - Fetching Data From MAIL XML
10/25/2022 12:58:37 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 12:58:37 PM=>Info:- Start SenMail Method
10/25/2022 12:58:37 PM=>UseDefaultCredentials
10/25/2022 12:58:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 12:58:37 PM=>EnableSsl = true
10/25/2022 12:58:37 PM=>DeliveryMethod
10/25/2022 12:58:37 PM=>Before Send
10/25/2022 12:58:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 12:58:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 12:58:46 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 12:58:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 12:58:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 12:58:46 PM=>Info:- END Mailing Method
10/25/2022 12:58:46 PM=>Info:- Start Executing Telegram Method
10/25/2022 12:58:46 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 12:58:46 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 12:58:46 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 12:58:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 12:58:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 12:58:46 PM=>Info - End of callingService Method
10/25/2022 1:00:46 PM=>Info - Check time Elapsed
10/25/2022 1:00:46 PM=>Info - Call callingService Method
10/25/2022 1:00:46 PM=>Info:- Call Both
10/25/2022 1:00:46 PM=>Info:- Start Executing SMS Method
10/25/2022 1:00:46 PM=>Info:- End Executing SMS Method
10/25/2022 1:00:46 PM=>Info:- Start Mailing Method
10/25/2022 1:00:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:00:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:00:46 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:00:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:00:46 PM=>Info:- Count = 1
10/25/2022 1:00:46 PM=>Info:- Count 1
10/25/2022 1:00:46 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:00:46 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:00:46 PM=>Info:- Start SenMail Method
10/25/2022 1:00:46 PM=>UseDefaultCredentials
10/25/2022 1:00:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:00:46 PM=>EnableSsl = true
10/25/2022 1:00:46 PM=>DeliveryMethod
10/25/2022 1:00:46 PM=>Before Send
10/25/2022 1:02: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.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/25/2022 1:02:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:02:10 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:02:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:02:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:02:10 PM=>Info:- END Mailing Method
10/25/2022 1:02:10 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:02:10 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:02:10 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:02:10 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:02:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:02:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:02:10 PM=>Info - End of callingService Method
10/25/2022 1:04:10 PM=>Info - Check time Elapsed
10/25/2022 1:04:10 PM=>Info - Call callingService Method
10/25/2022 1:04:10 PM=>Info:- Call Both
10/25/2022 1:04:11 PM=>Info:- Start Executing SMS Method
10/25/2022 1:04:11 PM=>Info:- End Executing SMS Method
10/25/2022 1:04:11 PM=>Info:- Start Mailing Method
10/25/2022 1:04:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:04:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:04:11 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:04:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:04:11 PM=>Info:- Count = 1
10/25/2022 1:04:11 PM=>Info:- Count 1
10/25/2022 1:04:11 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:04:11 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:04:11 PM=>Info:- Start SenMail Method
10/25/2022 1:04:11 PM=>UseDefaultCredentials
10/25/2022 1:04:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:04:11 PM=>EnableSsl = true
10/25/2022 1:04:11 PM=>DeliveryMethod
10/25/2022 1:04:11 PM=>Before Send
10/25/2022 1:04: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/25/2022 1:04:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:04:20 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:04:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:04:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:04:20 PM=>Info:- END Mailing Method
10/25/2022 1:04:20 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:04:20 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:04:20 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:04:20 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:04:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:04:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:04:20 PM=>Info - End of callingService Method
10/25/2022 1:06:20 PM=>Info - Check time Elapsed
10/25/2022 1:06:20 PM=>Info - Call callingService Method
10/25/2022 1:06:20 PM=>Info:- Call Both
10/25/2022 1:06:20 PM=>Info:- Start Executing SMS Method
10/25/2022 1:06:20 PM=>Info:- End Executing SMS Method
10/25/2022 1:06:20 PM=>Info:- Start Mailing Method
10/25/2022 1:06:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:06:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:06:20 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:06:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:06:20 PM=>Info:- Count = 1
10/25/2022 1:06:20 PM=>Info:- Count 1
10/25/2022 1:06:20 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:06:20 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:06:20 PM=>Info:- Start SenMail Method
10/25/2022 1:06:20 PM=>UseDefaultCredentials
10/25/2022 1:06:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:06:20 PM=>EnableSsl = true
10/25/2022 1:06:20 PM=>DeliveryMethod
10/25/2022 1:06:20 PM=>Before Send
10/25/2022 1:06: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/25/2022 1:06:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:06:41 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:06:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:06:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:06:41 PM=>Info:- END Mailing Method
10/25/2022 1:06:41 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:06:41 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:06:41 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:06:41 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:06:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:06:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:06:41 PM=>Info - End of callingService Method
10/25/2022 1:08:41 PM=>Info - Check time Elapsed
10/25/2022 1:08:41 PM=>Info - Call callingService Method
10/25/2022 1:08:41 PM=>Info:- Call Both
10/25/2022 1:08:41 PM=>Info:- Start Executing SMS Method
10/25/2022 1:08:41 PM=>Info:- End Executing SMS Method
10/25/2022 1:08:41 PM=>Info:- Start Mailing Method
10/25/2022 1:08:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:08:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:08:41 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:08:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:08:41 PM=>Info:- Count = 1
10/25/2022 1:08:41 PM=>Info:- Count 1
10/25/2022 1:08:41 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:08:41 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:08:41 PM=>Info:- Start SenMail Method
10/25/2022 1:08:41 PM=>UseDefaultCredentials
10/25/2022 1:08:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:08:41 PM=>EnableSsl = true
10/25/2022 1:08:41 PM=>DeliveryMethod
10/25/2022 1:08:41 PM=>Before Send
10/25/2022 1:10: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/25/2022 1:10:06 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:10:06 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:10:06 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:10:06 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:10:06 PM=>Info:- END Mailing Method
10/25/2022 1:10:06 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:10:06 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:10:06 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:10:06 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:10:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:10:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:10:06 PM=>Info - End of callingService Method
10/25/2022 1:12:06 PM=>Info - Check time Elapsed
10/25/2022 1:12:06 PM=>Info - Call callingService Method
10/25/2022 1:12:06 PM=>Info:- Call Both
10/25/2022 1:12:06 PM=>Info:- Start Executing SMS Method
10/25/2022 1:12:06 PM=>Info:- End Executing SMS Method
10/25/2022 1:12:06 PM=>Info:- Start Mailing Method
10/25/2022 1:12:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:12:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:12:06 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:12:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:12:06 PM=>Info:- Count = 1
10/25/2022 1:12:06 PM=>Info:- Count 1
10/25/2022 1:12:06 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:12:06 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:12:06 PM=>Info:- Start SenMail Method
10/25/2022 1:12:06 PM=>UseDefaultCredentials
10/25/2022 1:12:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:12:06 PM=>EnableSsl = true
10/25/2022 1:12:06 PM=>DeliveryMethod
10/25/2022 1:12:06 PM=>Before Send
10/25/2022 1:12: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/25/2022 1:12:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:12:30 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:12:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:12:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:12:30 PM=>Info:- END Mailing Method
10/25/2022 1:12:30 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:12:30 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:12:30 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:12:30 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:12:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:12:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:12:30 PM=>Info - End of callingService Method
10/25/2022 1:14:30 PM=>Info - Check time Elapsed
10/25/2022 1:14:30 PM=>Info - Call callingService Method
10/25/2022 1:14:30 PM=>Info:- Call Both
10/25/2022 1:14:30 PM=>Info:- Start Executing SMS Method
10/25/2022 1:14:30 PM=>Info:- End Executing SMS Method
10/25/2022 1:14:30 PM=>Info:- Start Mailing Method
10/25/2022 1:14:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:14:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:14:30 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:14:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:14:30 PM=>Info:- Count = 1
10/25/2022 1:14:30 PM=>Info:- Count 1
10/25/2022 1:14:31 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:14:31 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:14:31 PM=>Info:- Start SenMail Method
10/25/2022 1:14:31 PM=>UseDefaultCredentials
10/25/2022 1:14:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:14:31 PM=>EnableSsl = true
10/25/2022 1:14:31 PM=>DeliveryMethod
10/25/2022 1:14:31 PM=>Before Send
10/25/2022 1:17:19 PM=>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/25/2022 1:17:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:17:19 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:17:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:17:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:17:19 PM=>Info:- END Mailing Method
10/25/2022 1:17:19 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:17:19 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:17:19 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:17:19 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:17:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:17:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:17:19 PM=>Info - End of callingService Method
10/25/2022 1:19:19 PM=>Info - Check time Elapsed
10/25/2022 1:19:19 PM=>Info - Call callingService Method
10/25/2022 1:19:19 PM=>Info:- Call Both
10/25/2022 1:19:19 PM=>Info:- Start Executing SMS Method
10/25/2022 1:19:19 PM=>Info:- End Executing SMS Method
10/25/2022 1:19:19 PM=>Info:- Start Mailing Method
10/25/2022 1:19:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:19:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:19:19 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:19:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:19:19 PM=>Info:- Count = 1
10/25/2022 1:19:19 PM=>Info:- Count 1
10/25/2022 1:19:19 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:19:19 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:19:19 PM=>Info:- Start SenMail Method
10/25/2022 1:19:19 PM=>UseDefaultCredentials
10/25/2022 1:19:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:19:19 PM=>EnableSsl = true
10/25/2022 1:19:19 PM=>DeliveryMethod
10/25/2022 1:19:19 PM=>Before Send
10/25/2022 1:20:43 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.109.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/25/2022 1:20:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:20:43 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:20:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:20:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:20:44 PM=>Info:- END Mailing Method
10/25/2022 1:20:44 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:20:44 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:20:44 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:20:44 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:20:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:20:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:20:44 PM=>Info - End of callingService Method
10/25/2022 1:22:44 PM=>Info - Check time Elapsed
10/25/2022 1:22:44 PM=>Info - Call callingService Method
10/25/2022 1:22:44 PM=>Info:- Call Both
10/25/2022 1:22:44 PM=>Info:- Start Executing SMS Method
10/25/2022 1:22:44 PM=>Info:- End Executing SMS Method
10/25/2022 1:22:44 PM=>Info:- Start Mailing Method
10/25/2022 1:22:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:22:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:22:44 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:22:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:22:44 PM=>Info:- Count = 1
10/25/2022 1:22:44 PM=>Info:- Count 1
10/25/2022 1:22:44 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:22:44 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:22:44 PM=>Info:- Start SenMail Method
10/25/2022 1:22:44 PM=>UseDefaultCredentials
10/25/2022 1:22:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:22:44 PM=>EnableSsl = true
10/25/2022 1:22:44 PM=>DeliveryMethod
10/25/2022 1:22:44 PM=>Before Send
10/25/2022 1:22: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/25/2022 1:22:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:22:47 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:22:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:22:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:22:47 PM=>Info:- END Mailing Method
10/25/2022 1:22:47 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:22:47 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:22:47 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:22:47 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:22:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:22:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:22:47 PM=>Info - End of callingService Method
10/25/2022 1:24:47 PM=>Info - Check time Elapsed
10/25/2022 1:24:47 PM=>Info - Call callingService Method
10/25/2022 1:24:47 PM=>Info:- Call Both
10/25/2022 1:24:47 PM=>Info:- Start Executing SMS Method
10/25/2022 1:24:47 PM=>Info:- End Executing SMS Method
10/25/2022 1:24:47 PM=>Info:- Start Mailing Method
10/25/2022 1:24:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:24:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:24:47 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:24:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:24:47 PM=>Info:- Count = 1
10/25/2022 1:24:47 PM=>Info:- Count 1
10/25/2022 1:24:47 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:24:47 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:24:47 PM=>Info:- Start SenMail Method
10/25/2022 1:24:47 PM=>UseDefaultCredentials
10/25/2022 1:24:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:24:47 PM=>EnableSsl = true
10/25/2022 1:24:47 PM=>DeliveryMethod
10/25/2022 1:24:47 PM=>Before Send
10/25/2022 1:24: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/25/2022 1:24:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:24:50 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:24:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:24:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:24:50 PM=>Info:- END Mailing Method
10/25/2022 1:24:50 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:24:50 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:24:50 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:24:50 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:24:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:24:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:24:50 PM=>Info - End of callingService Method
10/25/2022 1:26:50 PM=>Info - Check time Elapsed
10/25/2022 1:26:50 PM=>Info - Call callingService Method
10/25/2022 1:26:50 PM=>Info:- Call Both
10/25/2022 1:26:51 PM=>Info:- Start Executing SMS Method
10/25/2022 1:26:51 PM=>Info:- End Executing SMS Method
10/25/2022 1:26:51 PM=>Info:- Start Mailing Method
10/25/2022 1:26:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:26:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:26:51 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:26:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:26:51 PM=>Info:- Count = 1
10/25/2022 1:26:51 PM=>Info:- Count 1
10/25/2022 1:26:51 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:26:51 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:26:51 PM=>Info:- Start SenMail Method
10/25/2022 1:26:51 PM=>UseDefaultCredentials
10/25/2022 1:26:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:26:51 PM=>EnableSsl = true
10/25/2022 1:26:51 PM=>DeliveryMethod
10/25/2022 1:26:51 PM=>Before Send
10/25/2022 1:26: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/25/2022 1:26:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:26:54 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:26:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:26:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:26:54 PM=>Info:- END Mailing Method
10/25/2022 1:26:54 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:26:54 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:26:54 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:26:54 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:26:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:26:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:26:54 PM=>Info - End of callingService Method
10/25/2022 1:28:54 PM=>Info - Check time Elapsed
10/25/2022 1:28:54 PM=>Info - Call callingService Method
10/25/2022 1:28:54 PM=>Info:- Call Both
10/25/2022 1:28:54 PM=>Info:- Start Executing SMS Method
10/25/2022 1:28:54 PM=>Info:- End Executing SMS Method
10/25/2022 1:28:54 PM=>Info:- Start Mailing Method
10/25/2022 1:28:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:28:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:28:54 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:28:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:28:54 PM=>Info:- Count = 1
10/25/2022 1:28:54 PM=>Info:- Count 1
10/25/2022 1:28:54 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:28:54 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:28:54 PM=>Info:- Start SenMail Method
10/25/2022 1:28:54 PM=>UseDefaultCredentials
10/25/2022 1:28:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:28:54 PM=>EnableSsl = true
10/25/2022 1:28:54 PM=>DeliveryMethod
10/25/2022 1:28:54 PM=>Before Send
10/25/2022 1:30: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.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/25/2022 1:30:18 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:30:18 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:30:18 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:30:18 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:30:18 PM=>Info:- END Mailing Method
10/25/2022 1:30:18 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:30:19 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:30:19 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:30:19 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:30:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:30:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:30:19 PM=>Info - End of callingService Method
10/25/2022 1:32:19 PM=>Info - Check time Elapsed
10/25/2022 1:32:19 PM=>Info - Call callingService Method
10/25/2022 1:32:19 PM=>Info:- Call Both
10/25/2022 1:32:19 PM=>Info:- Start Executing SMS Method
10/25/2022 1:32:19 PM=>Info:- End Executing SMS Method
10/25/2022 1:32:19 PM=>Info:- Start Mailing Method
10/25/2022 1:32:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:32:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:32:19 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:32:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:32:19 PM=>Info:- Count = 1
10/25/2022 1:32:19 PM=>Info:- Count 1
10/25/2022 1:32:19 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:32:19 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:32:19 PM=>Info:- Start SenMail Method
10/25/2022 1:32:19 PM=>UseDefaultCredentials
10/25/2022 1:32:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:32:19 PM=>EnableSsl = true
10/25/2022 1:32:19 PM=>DeliveryMethod
10/25/2022 1:32:19 PM=>Before Send
10/25/2022 1:33: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/25/2022 1:33:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:33:22 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:33:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:33:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:33:22 PM=>Info:- END Mailing Method
10/25/2022 1:33:22 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:33:22 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:33:22 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:33:22 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:33:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:33:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:33:22 PM=>Info - End of callingService Method
10/25/2022 1:35:22 PM=>Info - Check time Elapsed
10/25/2022 1:35:22 PM=>Info - Call callingService Method
10/25/2022 1:35:22 PM=>Info:- Call Both
10/25/2022 1:35:22 PM=>Info:- Start Executing SMS Method
10/25/2022 1:35:22 PM=>Info:- End Executing SMS Method
10/25/2022 1:35:22 PM=>Info:- Start Mailing Method
10/25/2022 1:35:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:35:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:35:22 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:35:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:35:22 PM=>Info:- Count = 1
10/25/2022 1:35:22 PM=>Info:- Count 1
10/25/2022 1:35:22 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:35:22 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:35:22 PM=>Info:- Start SenMail Method
10/25/2022 1:35:22 PM=>UseDefaultCredentials
10/25/2022 1:35:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:35:22 PM=>EnableSsl = true
10/25/2022 1:35:22 PM=>DeliveryMethod
10/25/2022 1:35:22 PM=>Before Send
10/25/2022 1:35: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/25/2022 1:35:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:35:22 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:35:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:35:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:35:22 PM=>Info:- END Mailing Method
10/25/2022 1:35:22 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:35:22 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:35:22 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:35:22 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:35:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:35:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:35:22 PM=>Info - End of callingService Method
10/25/2022 1:37:22 PM=>Info - Check time Elapsed
10/25/2022 1:37:22 PM=>Info - Call callingService Method
10/25/2022 1:37:22 PM=>Info:- Call Both
10/25/2022 1:37:22 PM=>Info:- Start Executing SMS Method
10/25/2022 1:37:22 PM=>Info:- End Executing SMS Method
10/25/2022 1:37:22 PM=>Info:- Start Mailing Method
10/25/2022 1:37:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:37:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:37:22 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:37:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:37:22 PM=>Info:- Count = 1
10/25/2022 1:37:22 PM=>Info:- Count 1
10/25/2022 1:37:22 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:37:22 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:37:22 PM=>Info:- Start SenMail Method
10/25/2022 1:37:22 PM=>UseDefaultCredentials
10/25/2022 1:37:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:37:22 PM=>EnableSsl = true
10/25/2022 1:37:22 PM=>DeliveryMethod
10/25/2022 1:37:22 PM=>Before Send
10/25/2022 1:38: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 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/25/2022 1:38:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:38:47 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:38:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:38:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:38:47 PM=>Info:- END Mailing Method
10/25/2022 1:38:47 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:38:47 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:38:47 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:38:47 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:38:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:38:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:38:47 PM=>Info - End of callingService Method
10/25/2022 1:40:47 PM=>Info - Check time Elapsed
10/25/2022 1:40:47 PM=>Info - Call callingService Method
10/25/2022 1:40:47 PM=>Info:- Call Both
10/25/2022 1:40:47 PM=>Info:- Start Executing SMS Method
10/25/2022 1:40:47 PM=>Info:- End Executing SMS Method
10/25/2022 1:40:47 PM=>Info:- Start Mailing Method
10/25/2022 1:40:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:40:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:40:47 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:40:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:40:47 PM=>Info:- Count = 1
10/25/2022 1:40:47 PM=>Info:- Count 1
10/25/2022 1:40:47 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:40:47 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:40:47 PM=>Info:- Start SenMail Method
10/25/2022 1:40:47 PM=>UseDefaultCredentials
10/25/2022 1:40:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:40:47 PM=>EnableSsl = true
10/25/2022 1:40:47 PM=>DeliveryMethod
10/25/2022 1:40:47 PM=>Before Send
10/25/2022 1:41: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/25/2022 1:41:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:41:50 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:41:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:41:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:41:50 PM=>Info:- END Mailing Method
10/25/2022 1:41:50 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:41:50 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:41:50 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:41:50 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:41:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:41:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:41:50 PM=>Info - End of callingService Method
10/25/2022 1:43:50 PM=>Info - Check time Elapsed
10/25/2022 1:43:50 PM=>Info - Call callingService Method
10/25/2022 1:43:50 PM=>Info:- Call Both
10/25/2022 1:43:50 PM=>Info:- Start Executing SMS Method
10/25/2022 1:43:50 PM=>Info:- End Executing SMS Method
10/25/2022 1:43:50 PM=>Info:- Start Mailing Method
10/25/2022 1:43:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:43:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:43:50 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:43:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:43:50 PM=>Info:- Count = 1
10/25/2022 1:43:50 PM=>Info:- Count 1
10/25/2022 1:43:50 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:43:50 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:43:50 PM=>Info:- Start SenMail Method
10/25/2022 1:43:50 PM=>UseDefaultCredentials
10/25/2022 1:43:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:43:50 PM=>EnableSsl = true
10/25/2022 1:43:50 PM=>DeliveryMethod
10/25/2022 1:43:50 PM=>Before Send
10/25/2022 1:44: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/25/2022 1:44:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:44:21 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:44:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:44:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:44:21 PM=>Info:- END Mailing Method
10/25/2022 1:44:21 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:44:21 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:44:21 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:44:21 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:44:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:44:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:44:21 PM=>Info - End of callingService Method
10/25/2022 1:46:21 PM=>Info - Check time Elapsed
10/25/2022 1:46:21 PM=>Info - Call callingService Method
10/25/2022 1:46:21 PM=>Info:- Call Both
10/25/2022 1:46:21 PM=>Info:- Start Executing SMS Method
10/25/2022 1:46:21 PM=>Info:- End Executing SMS Method
10/25/2022 1:46:21 PM=>Info:- Start Mailing Method
10/25/2022 1:46:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:46:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:46:21 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:46:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:46:21 PM=>Info:- Count = 1
10/25/2022 1:46:21 PM=>Info:- Count 1
10/25/2022 1:46:21 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:46:21 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:46:21 PM=>Info:- Start SenMail Method
10/25/2022 1:46:21 PM=>UseDefaultCredentials
10/25/2022 1:46:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:46:21 PM=>EnableSsl = true
10/25/2022 1:46:21 PM=>DeliveryMethod
10/25/2022 1:46:21 PM=>Before Send
10/25/2022 1:47: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.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/25/2022 1:47:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:47:45 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:47:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:47:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:47:45 PM=>Info:- END Mailing Method
10/25/2022 1:47:45 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:47:45 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:47:45 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:47:45 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:47:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:47:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:47:45 PM=>Info - End of callingService Method
10/25/2022 1:49:45 PM=>Info - Check time Elapsed
10/25/2022 1:49:45 PM=>Info - Call callingService Method
10/25/2022 1:49:45 PM=>Info:- Call Both
10/25/2022 1:49:45 PM=>Info:- Start Executing SMS Method
10/25/2022 1:49:45 PM=>Info:- End Executing SMS Method
10/25/2022 1:49:46 PM=>Info:- Start Mailing Method
10/25/2022 1:49:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:49:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:49:46 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:49:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:49:46 PM=>Info:- Count = 1
10/25/2022 1:49:46 PM=>Info:- Count 1
10/25/2022 1:49:46 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:49:46 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:49:46 PM=>Info:- Start SenMail Method
10/25/2022 1:49:46 PM=>UseDefaultCredentials
10/25/2022 1:49:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:49:46 PM=>EnableSsl = true
10/25/2022 1:49:46 PM=>DeliveryMethod
10/25/2022 1:49:46 PM=>Before Send
10/25/2022 1:49: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/25/2022 1:49:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:49:49 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:49:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:49:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:49:49 PM=>Info:- END Mailing Method
10/25/2022 1:49:49 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:49:49 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:49:49 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:49:49 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:49:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:49:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:49:49 PM=>Info - End of callingService Method
10/25/2022 1:51:49 PM=>Info - Check time Elapsed
10/25/2022 1:51:49 PM=>Info - Call callingService Method
10/25/2022 1:51:49 PM=>Info:- Call Both
10/25/2022 1:51:49 PM=>Info:- Start Executing SMS Method
10/25/2022 1:51:49 PM=>Info:- End Executing SMS Method
10/25/2022 1:51:49 PM=>Info:- Start Mailing Method
10/25/2022 1:51:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:51:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:51:49 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:51:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:51:49 PM=>Info:- Count = 1
10/25/2022 1:51:49 PM=>Info:- Count 1
10/25/2022 1:51:49 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:51:49 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:51:49 PM=>Info:- Start SenMail Method
10/25/2022 1:51:49 PM=>UseDefaultCredentials
10/25/2022 1:51:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:51:49 PM=>EnableSsl = true
10/25/2022 1:51:49 PM=>DeliveryMethod
10/25/2022 1:51:49 PM=>Before Send
10/25/2022 1:51: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/25/2022 1:51:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:51:52 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:51:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:51:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:51:52 PM=>Info:- END Mailing Method
10/25/2022 1:51:52 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:51:52 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:51:52 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:51:52 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:51:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:51:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:51:52 PM=>Info - End of callingService Method
10/25/2022 1:53:52 PM=>Info - Check time Elapsed
10/25/2022 1:53:52 PM=>Info - Call callingService Method
10/25/2022 1:53:52 PM=>Info:- Call Both
10/25/2022 1:53:52 PM=>Info:- Start Executing SMS Method
10/25/2022 1:53:52 PM=>Info:- End Executing SMS Method
10/25/2022 1:53:52 PM=>Info:- Start Mailing Method
10/25/2022 1:53:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:53:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:53:52 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:53:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:53:52 PM=>Info:- Count = 1
10/25/2022 1:53:52 PM=>Info:- Count 1
10/25/2022 1:53:52 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:53:52 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:53:52 PM=>Info:- Start SenMail Method
10/25/2022 1:53:52 PM=>UseDefaultCredentials
10/25/2022 1:53:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:53:52 PM=>EnableSsl = true
10/25/2022 1:53:52 PM=>DeliveryMethod
10/25/2022 1:53:52 PM=>Before Send
10/25/2022 1:53: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/25/2022 1:53:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:53:52 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:53:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:53:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:53:53 PM=>Info:- END Mailing Method
10/25/2022 1:53:53 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:53:53 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:53:53 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:53:53 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:53:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:53:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:53:53 PM=>Info - End of callingService Method
10/25/2022 1:55:53 PM=>Info - Check time Elapsed
10/25/2022 1:55:53 PM=>Info - Call callingService Method
10/25/2022 1:55:53 PM=>Info:- Call Both
10/25/2022 1:55:53 PM=>Info:- Start Executing SMS Method
10/25/2022 1:55:53 PM=>Info:- End Executing SMS Method
10/25/2022 1:55:53 PM=>Info:- Start Mailing Method
10/25/2022 1:55:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:55:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:55:53 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:55:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:55:53 PM=>Info:- Count = 1
10/25/2022 1:55:53 PM=>Info:- Count 1
10/25/2022 1:55:53 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:55:53 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:55:53 PM=>Info:- Start SenMail Method
10/25/2022 1:55:53 PM=>UseDefaultCredentials
10/25/2022 1:55:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:55:53 PM=>EnableSsl = true
10/25/2022 1:55:53 PM=>DeliveryMethod
10/25/2022 1:55:53 PM=>Before Send
10/25/2022 1: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/25/2022 1:55:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:55:53 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:55:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:55:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:55:53 PM=>Info:- END Mailing Method
10/25/2022 1:55:53 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:55:53 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:55:53 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:55:53 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:55:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:55:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:55:53 PM=>Info - End of callingService Method
10/25/2022 1:57:53 PM=>Info - Check time Elapsed
10/25/2022 1:57:53 PM=>Info - Call callingService Method
10/25/2022 1:57:53 PM=>Info:- Call Both
10/25/2022 1:57:53 PM=>Info:- Start Executing SMS Method
10/25/2022 1:57:53 PM=>Info:- End Executing SMS Method
10/25/2022 1:57:53 PM=>Info:- Start Mailing Method
10/25/2022 1:57:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:57:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:57:53 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:57:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:57:53 PM=>Info:- Count = 1
10/25/2022 1:57:53 PM=>Info:- Count 1
10/25/2022 1:57:53 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:57:53 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:57:53 PM=>Info:- Start SenMail Method
10/25/2022 1:57:53 PM=>UseDefaultCredentials
10/25/2022 1:57:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:57:53 PM=>EnableSsl = true
10/25/2022 1:57:53 PM=>DeliveryMethod
10/25/2022 1:57:53 PM=>Before Send
10/25/2022 1:57: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/25/2022 1:57:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 1:57:56 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 1:57:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 1:57:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 1:57:57 PM=>Info:- END Mailing Method
10/25/2022 1:57:57 PM=>Info:- Start Executing Telegram Method
10/25/2022 1:57:57 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 1:57:57 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 1:57:57 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 1:57:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 1:57:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 1:57:57 PM=>Info - End of callingService Method
10/25/2022 1:59:57 PM=>Info - Check time Elapsed
10/25/2022 1:59:57 PM=>Info - Call callingService Method
10/25/2022 1:59:57 PM=>Info:- Call Both
10/25/2022 1:59:57 PM=>Info:- Start Executing SMS Method
10/25/2022 1:59:57 PM=>Info:- End Executing SMS Method
10/25/2022 1:59:57 PM=>Info:- Start Mailing Method
10/25/2022 1:59:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 1:59:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 1:59:57 PM=>Info:- PendingMail.xml file read to list
10/25/2022 1:59:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 1:59:57 PM=>Info:- Count = 1
10/25/2022 1:59:57 PM=>Info:- Count 1
10/25/2022 1:59:57 PM=>Info - Fetching Data From MAIL XML
10/25/2022 1:59:57 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 1:59:57 PM=>Info:- Start SenMail Method
10/25/2022 1:59:57 PM=>UseDefaultCredentials
10/25/2022 1:59:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 1:59:57 PM=>EnableSsl = true
10/25/2022 1:59:57 PM=>DeliveryMethod
10/25/2022 1:59:57 PM=>Before Send
10/25/2022 2:00: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/25/2022 2:00:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:00:00 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:00:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:00:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:00:00 PM=>Info:- END Mailing Method
10/25/2022 2:00:00 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:00:00 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:00:00 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:00:00 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:00:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:00:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:00:00 PM=>Info - End of callingService Method
10/25/2022 2:02:00 PM=>Info - Check time Elapsed
10/25/2022 2:02:00 PM=>Info - Call callingService Method
10/25/2022 2:02:00 PM=>Info:- Call Both
10/25/2022 2:02:00 PM=>Info:- Start Executing SMS Method
10/25/2022 2:02:00 PM=>Info:- End Executing SMS Method
10/25/2022 2:02:00 PM=>Info:- Start Mailing Method
10/25/2022 2:02:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:02:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:02:00 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:02:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:02:00 PM=>Info:- Count = 1
10/25/2022 2:02:00 PM=>Info:- Count 1
10/25/2022 2:02:00 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:02:00 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:02:00 PM=>Info:- Start SenMail Method
10/25/2022 2:02:00 PM=>UseDefaultCredentials
10/25/2022 2:02:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:02:00 PM=>EnableSsl = true
10/25/2022 2:02:00 PM=>DeliveryMethod
10/25/2022 2:02:00 PM=>Before Send
10/25/2022 2:03: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.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/25/2022 2:03:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:03:24 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:03:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:03:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:03:25 PM=>Info:- END Mailing Method
10/25/2022 2:03:25 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:03:25 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:03:25 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:03:25 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:03:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:03:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:03:25 PM=>Info - End of callingService Method
10/25/2022 2:05:25 PM=>Info - Check time Elapsed
10/25/2022 2:05:25 PM=>Info - Call callingService Method
10/25/2022 2:05:25 PM=>Info:- Call Both
10/25/2022 2:05:25 PM=>Info:- Start Executing SMS Method
10/25/2022 2:05:25 PM=>Info:- End Executing SMS Method
10/25/2022 2:05:25 PM=>Info:- Start Mailing Method
10/25/2022 2:05:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:05:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:05:25 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:05:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:05:25 PM=>Info:- Count = 1
10/25/2022 2:05:25 PM=>Info:- Count 1
10/25/2022 2:05:25 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:05:25 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:05:25 PM=>Info:- Start SenMail Method
10/25/2022 2:05:25 PM=>UseDefaultCredentials
10/25/2022 2:05:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:05:25 PM=>EnableSsl = true
10/25/2022 2:05:25 PM=>DeliveryMethod
10/25/2022 2:05:25 PM=>Before Send
10/25/2022 2:06: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.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/25/2022 2:06:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:06:49 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:06:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:06:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:06:49 PM=>Info:- END Mailing Method
10/25/2022 2:06:49 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:06:49 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:06:49 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:06:49 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:06:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:06:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:06:49 PM=>Info - End of callingService Method
10/25/2022 2:08:49 PM=>Info - Check time Elapsed
10/25/2022 2:08:49 PM=>Info - Call callingService Method
10/25/2022 2:08:49 PM=>Info:- Call Both
10/25/2022 2:08:49 PM=>Info:- Start Executing SMS Method
10/25/2022 2:08:49 PM=>Info:- End Executing SMS Method
10/25/2022 2:08:49 PM=>Info:- Start Mailing Method
10/25/2022 2:08:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:08:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:08:49 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:08:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:08:49 PM=>Info:- Count = 1
10/25/2022 2:08:49 PM=>Info:- Count 1
10/25/2022 2:08:49 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:08:49 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:08:49 PM=>Info:- Start SenMail Method
10/25/2022 2:08:49 PM=>UseDefaultCredentials
10/25/2022 2:08:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:08:49 PM=>EnableSsl = true
10/25/2022 2:08:49 PM=>DeliveryMethod
10/25/2022 2:08:49 PM=>Before Send
10/25/2022 2:09: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/25/2022 2:09:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:09:13 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:09:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:09:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:09:14 PM=>Info:- END Mailing Method
10/25/2022 2:09:14 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:09:14 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:09:14 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:09:14 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:09:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:09:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:09:14 PM=>Info - End of callingService Method
10/25/2022 2:11:14 PM=>Info - Check time Elapsed
10/25/2022 2:11:14 PM=>Info - Call callingService Method
10/25/2022 2:11:14 PM=>Info:- Call Both
10/25/2022 2:11:14 PM=>Info:- Start Executing SMS Method
10/25/2022 2:11:14 PM=>Info:- End Executing SMS Method
10/25/2022 2:11:14 PM=>Info:- Start Mailing Method
10/25/2022 2:11:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:11:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:11:14 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:11:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:11:14 PM=>Info:- Count = 1
10/25/2022 2:11:14 PM=>Info:- Count 1
10/25/2022 2:11:14 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:11:14 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:11:14 PM=>Info:- Start SenMail Method
10/25/2022 2:11:14 PM=>UseDefaultCredentials
10/25/2022 2:11:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:11:14 PM=>EnableSsl = true
10/25/2022 2:11:14 PM=>DeliveryMethod
10/25/2022 2:11:14 PM=>Before Send
10/25/2022 2:11: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/25/2022 2:11:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:11:14 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:11:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:11:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:11:14 PM=>Info:- END Mailing Method
10/25/2022 2:11:14 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:11:14 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:11:14 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:11:14 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:11:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:11:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:11:14 PM=>Info - End of callingService Method
10/25/2022 2:13:14 PM=>Info - Check time Elapsed
10/25/2022 2:13:14 PM=>Info - Call callingService Method
10/25/2022 2:13:14 PM=>Info:- Call Both
10/25/2022 2:13:14 PM=>Info:- Start Executing SMS Method
10/25/2022 2:13:14 PM=>Info:- End Executing SMS Method
10/25/2022 2:13:14 PM=>Info:- Start Mailing Method
10/25/2022 2:13:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:13:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:13:14 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:13:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:13:14 PM=>Info:- Count = 1
10/25/2022 2:13:14 PM=>Info:- Count 1
10/25/2022 2:13:14 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:13:14 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:13:14 PM=>Info:- Start SenMail Method
10/25/2022 2:13:14 PM=>UseDefaultCredentials
10/25/2022 2:13:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:13:14 PM=>EnableSsl = true
10/25/2022 2:13:14 PM=>DeliveryMethod
10/25/2022 2:13:14 PM=>Before Send
10/25/2022 2:13: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/25/2022 2:13:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:13:14 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:13:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:13:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:13:14 PM=>Info:- END Mailing Method
10/25/2022 2:13:14 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:13:14 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:13:14 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:13:14 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:13:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:13:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:13:14 PM=>Info - End of callingService Method
10/25/2022 2:15:14 PM=>Info - Check time Elapsed
10/25/2022 2:15:14 PM=>Info - Call callingService Method
10/25/2022 2:15:14 PM=>Info:- Call Both
10/25/2022 2:15:14 PM=>Info:- Start Executing SMS Method
10/25/2022 2:15:14 PM=>Info:- End Executing SMS Method
10/25/2022 2:15:14 PM=>Info:- Start Mailing Method
10/25/2022 2:15:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:15:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:15:14 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:15:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:15:14 PM=>Info:- Count = 1
10/25/2022 2:15:15 PM=>Info:- Count 1
10/25/2022 2:15:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:15:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:15:15 PM=>Info:- Start SenMail Method
10/25/2022 2:15:15 PM=>UseDefaultCredentials
10/25/2022 2:15:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:15:15 PM=>EnableSsl = true
10/25/2022 2:15:15 PM=>DeliveryMethod
10/25/2022 2:15:15 PM=>Before Send
10/25/2022 2:16:39 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 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/25/2022 2:16:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:16:39 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:16:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:16:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:16:39 PM=>Info:- END Mailing Method
10/25/2022 2:16:39 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:16:39 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:16:39 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:16:39 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:16:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:16:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:16:39 PM=>Info - End of callingService Method
10/25/2022 2:18:39 PM=>Info - Check time Elapsed
10/25/2022 2:18:39 PM=>Info - Call callingService Method
10/25/2022 2:18:39 PM=>Info:- Call Both
10/25/2022 2:18:39 PM=>Info:- Start Executing SMS Method
10/25/2022 2:18:39 PM=>Info:- End Executing SMS Method
10/25/2022 2:18:39 PM=>Info:- Start Mailing Method
10/25/2022 2:18:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:18:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:18:39 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:18:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:18:39 PM=>Info:- Count = 1
10/25/2022 2:18:39 PM=>Info:- Count 1
10/25/2022 2:18:39 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:18:39 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:18:39 PM=>Info:- Start SenMail Method
10/25/2022 2:18:39 PM=>UseDefaultCredentials
10/25/2022 2:18:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:18:39 PM=>EnableSsl = true
10/25/2022 2:18:39 PM=>DeliveryMethod
10/25/2022 2:18:39 PM=>Before Send
10/25/2022 2:18: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/25/2022 2:18:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:18:42 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:18:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:18:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:18:42 PM=>Info:- END Mailing Method
10/25/2022 2:18:42 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:18:42 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:18:42 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:18:42 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:18:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:18:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:18:42 PM=>Info - End of callingService Method
10/25/2022 2:20:42 PM=>Info - Check time Elapsed
10/25/2022 2:20:42 PM=>Info - Call callingService Method
10/25/2022 2:20:42 PM=>Info:- Call Both
10/25/2022 2:20:42 PM=>Info:- Start Executing SMS Method
10/25/2022 2:20:42 PM=>Info:- End Executing SMS Method
10/25/2022 2:20:42 PM=>Info:- Start Mailing Method
10/25/2022 2:20:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:20:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:20:42 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:20:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:20:42 PM=>Info:- Count = 1
10/25/2022 2:20:42 PM=>Info:- Count 1
10/25/2022 2:20:42 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:20:42 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:20:42 PM=>Info:- Start SenMail Method
10/25/2022 2:20:42 PM=>UseDefaultCredentials
10/25/2022 2:20:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:20:42 PM=>EnableSsl = true
10/25/2022 2:20:42 PM=>DeliveryMethod
10/25/2022 2:20:42 PM=>Before Send
10/25/2022 2:22: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.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/25/2022 2:22:07 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:22:07 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:22:07 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:22:07 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:22:07 PM=>Info:- END Mailing Method
10/25/2022 2:22:07 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:22:07 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:22:07 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:22:07 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:22:07 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:22:07 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:22:07 PM=>Info - End of callingService Method
10/25/2022 2:24:07 PM=>Info - Check time Elapsed
10/25/2022 2:24:07 PM=>Info - Call callingService Method
10/25/2022 2:24:07 PM=>Info:- Call Both
10/25/2022 2:24:07 PM=>Info:- Start Executing SMS Method
10/25/2022 2:24:07 PM=>Info:- End Executing SMS Method
10/25/2022 2:24:07 PM=>Info:- Start Mailing Method
10/25/2022 2:24:07 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:24:07 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:24:07 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:24:07 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:24:07 PM=>Info:- Count = 1
10/25/2022 2:24:07 PM=>Info:- Count 1
10/25/2022 2:24:07 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:24:07 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:24:07 PM=>Info:- Start SenMail Method
10/25/2022 2:24:07 PM=>UseDefaultCredentials
10/25/2022 2:24:07 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:24:07 PM=>EnableSsl = true
10/25/2022 2:24:07 PM=>DeliveryMethod
10/25/2022 2:24:07 PM=>Before Send
10/25/2022 2:25:31 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 2:25:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:25:31 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:25:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:25:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:25:32 PM=>Info:- END Mailing Method
10/25/2022 2:25:32 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:25:32 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:25:32 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:25:32 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:25:32 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:25:32 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:25:32 PM=>Info - End of callingService Method
10/25/2022 2:27:32 PM=>Info - Check time Elapsed
10/25/2022 2:27:32 PM=>Info - Call callingService Method
10/25/2022 2:27:32 PM=>Info:- Call Both
10/25/2022 2:27:32 PM=>Info:- Start Executing SMS Method
10/25/2022 2:27:32 PM=>Info:- End Executing SMS Method
10/25/2022 2:27:32 PM=>Info:- Start Mailing Method
10/25/2022 2:27:32 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:27:32 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:27:32 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:27:32 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:27:32 PM=>Info:- Count = 1
10/25/2022 2:27:32 PM=>Info:- Count 1
10/25/2022 2:27:32 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:27:32 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:27:32 PM=>Info:- Start SenMail Method
10/25/2022 2:27:32 PM=>UseDefaultCredentials
10/25/2022 2:27:32 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:27:32 PM=>EnableSsl = true
10/25/2022 2:27:32 PM=>DeliveryMethod
10/25/2022 2:27:32 PM=>Before Send
10/25/2022 2:27: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/25/2022 2:27:35 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:27:35 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:27:35 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:27:35 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:27:35 PM=>Info:- END Mailing Method
10/25/2022 2:27:35 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:27:35 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:27:35 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:27:35 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:27:35 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:27:35 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:27:35 PM=>Info - End of callingService Method
10/25/2022 2:29:35 PM=>Info - Check time Elapsed
10/25/2022 2:29:35 PM=>Info - Call callingService Method
10/25/2022 2:29:35 PM=>Info:- Call Both
10/25/2022 2:29:35 PM=>Info:- Start Executing SMS Method
10/25/2022 2:29:35 PM=>Info:- End Executing SMS Method
10/25/2022 2:29:35 PM=>Info:- Start Mailing Method
10/25/2022 2:29:35 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:29:35 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:29:35 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:29:35 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:29:35 PM=>Info:- Count = 1
10/25/2022 2:29:35 PM=>Info:- Count 1
10/25/2022 2:29:35 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:29:35 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:29:35 PM=>Info:- Start SenMail Method
10/25/2022 2:29:35 PM=>UseDefaultCredentials
10/25/2022 2:29:35 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:29:35 PM=>EnableSsl = true
10/25/2022 2:29:35 PM=>DeliveryMethod
10/25/2022 2:29:35 PM=>Before Send
10/25/2022 2:29: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/25/2022 2:29:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:29:38 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:29:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:29:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:29:39 PM=>Info:- END Mailing Method
10/25/2022 2:29:39 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:29:39 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:29:39 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:29:39 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:29:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:29:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:29:39 PM=>Info - End of callingService Method
10/25/2022 2:31:39 PM=>Info - Check time Elapsed
10/25/2022 2:31:39 PM=>Info - Call callingService Method
10/25/2022 2:31:39 PM=>Info:- Call Both
10/25/2022 2:31:39 PM=>Info:- Start Executing SMS Method
10/25/2022 2:31:39 PM=>Info:- End Executing SMS Method
10/25/2022 2:31:39 PM=>Info:- Start Mailing Method
10/25/2022 2:31:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:31:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:31:39 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:31:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:31:39 PM=>Info:- Count = 1
10/25/2022 2:31:39 PM=>Info:- Count 1
10/25/2022 2:31:39 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:31:39 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:31:39 PM=>Info:- Start SenMail Method
10/25/2022 2:31:39 PM=>UseDefaultCredentials
10/25/2022 2:31:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:31:39 PM=>EnableSsl = true
10/25/2022 2:31:39 PM=>DeliveryMethod
10/25/2022 2:31:39 PM=>Before Send
10/25/2022 2:31:39 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 2:31:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:31:39 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:31:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:31:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:31:39 PM=>Info:- END Mailing Method
10/25/2022 2:31:39 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:31:39 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:31:39 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:31:39 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:31:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:31:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:31:39 PM=>Info - End of callingService Method
10/25/2022 2:33:39 PM=>Info - Check time Elapsed
10/25/2022 2:33:39 PM=>Info - Call callingService Method
10/25/2022 2:33:39 PM=>Info:- Call Both
10/25/2022 2:33:39 PM=>Info:- Start Executing SMS Method
10/25/2022 2:33:39 PM=>Info:- End Executing SMS Method
10/25/2022 2:33:39 PM=>Info:- Start Mailing Method
10/25/2022 2:33:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:33:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:33:39 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:33:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:33:39 PM=>Info:- Count = 1
10/25/2022 2:33:39 PM=>Info:- Count 1
10/25/2022 2:33:39 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:33:39 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:33:39 PM=>Info:- Start SenMail Method
10/25/2022 2:33:39 PM=>UseDefaultCredentials
10/25/2022 2:33:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:33:39 PM=>EnableSsl = true
10/25/2022 2:33:39 PM=>DeliveryMethod
10/25/2022 2:33:39 PM=>Before Send
10/25/2022 2:34: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/25/2022 2:34:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:34:00 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:34:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:34:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:34:01 PM=>Info:- END Mailing Method
10/25/2022 2:34:01 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:34:01 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:34:01 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:34:01 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:34:01 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:34:01 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:34:01 PM=>Info - End of callingService Method
10/25/2022 2:36:01 PM=>Info - Check time Elapsed
10/25/2022 2:36:01 PM=>Info - Call callingService Method
10/25/2022 2:36:01 PM=>Info:- Call Both
10/25/2022 2:36:01 PM=>Info:- Start Executing SMS Method
10/25/2022 2:36:01 PM=>Info:- End Executing SMS Method
10/25/2022 2:36:01 PM=>Info:- Start Mailing Method
10/25/2022 2:36:01 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:36:01 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:36:01 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:36:01 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:36:01 PM=>Info:- Count = 1
10/25/2022 2:36:01 PM=>Info:- Count 1
10/25/2022 2:36:01 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:36:01 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:36:01 PM=>Info:- Start SenMail Method
10/25/2022 2:36:01 PM=>UseDefaultCredentials
10/25/2022 2:36:01 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:36:01 PM=>EnableSsl = true
10/25/2022 2:36:01 PM=>DeliveryMethod
10/25/2022 2:36:01 PM=>Before Send
10/25/2022 2:37:25 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 2:37:25 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:37:25 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:37:25 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:37:25 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:37:25 PM=>Info:- END Mailing Method
10/25/2022 2:37:25 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:37:25 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:37:25 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:37:25 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:37:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:37:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:37:25 PM=>Info - End of callingService Method
10/25/2022 2:39:25 PM=>Info - Check time Elapsed
10/25/2022 2:39:25 PM=>Info - Call callingService Method
10/25/2022 2:39:25 PM=>Info:- Call Both
10/25/2022 2:39:25 PM=>Info:- Start Executing SMS Method
10/25/2022 2:39:25 PM=>Info:- End Executing SMS Method
10/25/2022 2:39:25 PM=>Info:- Start Mailing Method
10/25/2022 2:39:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:39:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:39:25 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:39:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:39:25 PM=>Info:- Count = 1
10/25/2022 2:39:25 PM=>Info:- Count 1
10/25/2022 2:39:25 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:39:25 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:39:25 PM=>Info:- Start SenMail Method
10/25/2022 2:39:25 PM=>UseDefaultCredentials
10/25/2022 2:39:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:39:25 PM=>EnableSsl = true
10/25/2022 2:39:25 PM=>DeliveryMethod
10/25/2022 2:39:25 PM=>Before Send
10/25/2022 2:39: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/25/2022 2:39:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:39:28 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:39:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:39:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:39:29 PM=>Info:- END Mailing Method
10/25/2022 2:39:29 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:39:29 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:39:29 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:39:29 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:39:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:39:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:39:29 PM=>Info - End of callingService Method
10/25/2022 2:41:29 PM=>Info - Check time Elapsed
10/25/2022 2:41:29 PM=>Info - Call callingService Method
10/25/2022 2:41:29 PM=>Info:- Call Both
10/25/2022 2:41:29 PM=>Info:- Start Executing SMS Method
10/25/2022 2:41:29 PM=>Info:- End Executing SMS Method
10/25/2022 2:41:29 PM=>Info:- Start Mailing Method
10/25/2022 2:41:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:41:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:41:29 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:41:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:41:29 PM=>Info:- Count = 1
10/25/2022 2:41:29 PM=>Info:- Count 1
10/25/2022 2:41:29 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:41:29 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:41:29 PM=>Info:- Start SenMail Method
10/25/2022 2:41:29 PM=>UseDefaultCredentials
10/25/2022 2:41:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:41:29 PM=>EnableSsl = true
10/25/2022 2:41:29 PM=>DeliveryMethod
10/25/2022 2:41:29 PM=>Before Send
10/25/2022 2:42: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.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/25/2022 2:42:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:42:53 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:42:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:42:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:42:53 PM=>Info:- END Mailing Method
10/25/2022 2:42:53 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:42:53 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:42:53 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:42:53 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:42:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:42:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:42:53 PM=>Info - End of callingService Method
10/25/2022 2:44:53 PM=>Info - Check time Elapsed
10/25/2022 2:44:53 PM=>Info - Call callingService Method
10/25/2022 2:44:53 PM=>Info:- Call Both
10/25/2022 2:44:53 PM=>Info:- Start Executing SMS Method
10/25/2022 2:44:53 PM=>Info:- End Executing SMS Method
10/25/2022 2:44:53 PM=>Info:- Start Mailing Method
10/25/2022 2:44:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:44:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:44:53 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:44:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:44:53 PM=>Info:- Count = 1
10/25/2022 2:44:53 PM=>Info:- Count 1
10/25/2022 2:44:53 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:44:53 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:44:53 PM=>Info:- Start SenMail Method
10/25/2022 2:44:53 PM=>UseDefaultCredentials
10/25/2022 2:44:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:44:53 PM=>EnableSsl = true
10/25/2022 2:44:53 PM=>DeliveryMethod
10/25/2022 2:44:53 PM=>Before Send
10/25/2022 2:46: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/25/2022 2:46:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:46:05 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:46:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:46:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:46:06 PM=>Info:- END Mailing Method
10/25/2022 2:46:06 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:46:06 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:46:06 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:46:06 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:46:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:46:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:46:06 PM=>Info - End of callingService Method
10/25/2022 2:48:06 PM=>Info - Check time Elapsed
10/25/2022 2:48:06 PM=>Info - Call callingService Method
10/25/2022 2:48:06 PM=>Info:- Call Both
10/25/2022 2:48:06 PM=>Info:- Start Executing SMS Method
10/25/2022 2:48:06 PM=>Info:- End Executing SMS Method
10/25/2022 2:48:06 PM=>Info:- Start Mailing Method
10/25/2022 2:48:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:48:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:48:06 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:48:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:48:06 PM=>Info:- Count = 1
10/25/2022 2:48:06 PM=>Info:- Count 1
10/25/2022 2:48:06 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:48:06 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:48:06 PM=>Info:- Start SenMail Method
10/25/2022 2:48:06 PM=>UseDefaultCredentials
10/25/2022 2:48:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:48:06 PM=>EnableSsl = true
10/25/2022 2:48:06 PM=>DeliveryMethod
10/25/2022 2:48:06 PM=>Before Send
10/25/2022 2:48: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/25/2022 2:48:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:48:15 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:48:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:48:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:48:15 PM=>Info:- END Mailing Method
10/25/2022 2:48:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:48:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:48:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:48:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:48:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:48:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:48:15 PM=>Info - End of callingService Method
10/25/2022 2:50:15 PM=>Info - Check time Elapsed
10/25/2022 2:50:15 PM=>Info - Call callingService Method
10/25/2022 2:50:15 PM=>Info:- Call Both
10/25/2022 2:50:15 PM=>Info:- Start Executing SMS Method
10/25/2022 2:50:15 PM=>Info:- End Executing SMS Method
10/25/2022 2:50:15 PM=>Info:- Start Mailing Method
10/25/2022 2:50:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:50:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:50:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:50:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:50:15 PM=>Info:- Count = 1
10/25/2022 2:50:15 PM=>Info:- Count 1
10/25/2022 2:50:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:50:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:50:15 PM=>Info:- Start SenMail Method
10/25/2022 2:50:15 PM=>UseDefaultCredentials
10/25/2022 2:50:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:50:15 PM=>EnableSsl = true
10/25/2022 2:50:15 PM=>DeliveryMethod
10/25/2022 2:50:15 PM=>Before Send
10/25/2022 2:50: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/25/2022 2:50:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:50:57 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:50:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:50:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:50:58 PM=>Info:- END Mailing Method
10/25/2022 2:50:58 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:50:58 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:50:58 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:50:58 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:50:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:50:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:50:58 PM=>Info - End of callingService Method
10/25/2022 2:52:58 PM=>Info - Check time Elapsed
10/25/2022 2:52:58 PM=>Info - Call callingService Method
10/25/2022 2:52:58 PM=>Info:- Call Both
10/25/2022 2:52:58 PM=>Info:- Start Executing SMS Method
10/25/2022 2:52:58 PM=>Info:- End Executing SMS Method
10/25/2022 2:52:58 PM=>Info:- Start Mailing Method
10/25/2022 2:52:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:52:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:52:58 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:52:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:52:58 PM=>Info:- Count = 1
10/25/2022 2:52:58 PM=>Info:- Count 1
10/25/2022 2:52:58 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:52:58 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:52:58 PM=>Info:- Start SenMail Method
10/25/2022 2:52:58 PM=>UseDefaultCredentials
10/25/2022 2:52:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:52:58 PM=>EnableSsl = true
10/25/2022 2:52:58 PM=>DeliveryMethod
10/25/2022 2:52:58 PM=>Before Send
10/25/2022 2:54: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.109.242:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 2:54:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:54:22 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:54:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:54:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:54:22 PM=>Info:- END Mailing Method
10/25/2022 2:54:22 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:54:22 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:54:22 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:54:22 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:54:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:54:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:54:22 PM=>Info - End of callingService Method
10/25/2022 2:56:22 PM=>Info - Check time Elapsed
10/25/2022 2:56:22 PM=>Info - Call callingService Method
10/25/2022 2:56:22 PM=>Info:- Call Both
10/25/2022 2:56:22 PM=>Info:- Start Executing SMS Method
10/25/2022 2:56:22 PM=>Info:- End Executing SMS Method
10/25/2022 2:56:22 PM=>Info:- Start Mailing Method
10/25/2022 2:56:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:56:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:56:22 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:56:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:56:22 PM=>Info:- Count = 1
10/25/2022 2:56:22 PM=>Info:- Count 1
10/25/2022 2:56:22 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:56:22 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:56:22 PM=>Info:- Start SenMail Method
10/25/2022 2:56:22 PM=>UseDefaultCredentials
10/25/2022 2:56:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:56:22 PM=>EnableSsl = true
10/25/2022 2:56:22 PM=>DeliveryMethod
10/25/2022 2:56:22 PM=>Before Send
10/25/2022 2:57:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 2:57:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 2:57:46 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 2:57:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 2:57:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 2:57:47 PM=>Info:- END Mailing Method
10/25/2022 2:57:47 PM=>Info:- Start Executing Telegram Method
10/25/2022 2:57:47 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 2:57:47 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 2:57:47 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 2:57:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 2:57:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 2:57:47 PM=>Info - End of callingService Method
10/25/2022 2:59:47 PM=>Info - Check time Elapsed
10/25/2022 2:59:47 PM=>Info - Call callingService Method
10/25/2022 2:59:47 PM=>Info:- Call Both
10/25/2022 2:59:47 PM=>Info:- Start Executing SMS Method
10/25/2022 2:59:47 PM=>Info:- End Executing SMS Method
10/25/2022 2:59:47 PM=>Info:- Start Mailing Method
10/25/2022 2:59:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 2:59:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 2:59:47 PM=>Info:- PendingMail.xml file read to list
10/25/2022 2:59:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 2:59:47 PM=>Info:- Count = 1
10/25/2022 2:59:47 PM=>Info:- Count 1
10/25/2022 2:59:47 PM=>Info - Fetching Data From MAIL XML
10/25/2022 2:59:47 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 2:59:47 PM=>Info:- Start SenMail Method
10/25/2022 2:59:47 PM=>UseDefaultCredentials
10/25/2022 2:59:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 2:59:47 PM=>EnableSsl = true
10/25/2022 2:59:47 PM=>DeliveryMethod
10/25/2022 2:59:47 PM=>Before Send
10/25/2022 3:00: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/25/2022 3:00:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:00:50 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:00:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:00:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:00:50 PM=>Info:- END Mailing Method
10/25/2022 3:00:50 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:00:50 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:00:50 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:00:50 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:00:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:00:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:00:50 PM=>Info - End of callingService Method
10/25/2022 3:02:50 PM=>Info - Check time Elapsed
10/25/2022 3:02:50 PM=>Info - Call callingService Method
10/25/2022 3:02:50 PM=>Info:- Call Both
10/25/2022 3:02:50 PM=>Info:- Start Executing SMS Method
10/25/2022 3:02:50 PM=>Info:- End Executing SMS Method
10/25/2022 3:02:50 PM=>Info:- Start Mailing Method
10/25/2022 3:02:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:02:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:02:50 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:02:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:02:50 PM=>Info:- Count = 1
10/25/2022 3:02:50 PM=>Info:- Count 1
10/25/2022 3:02:50 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:02:50 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:02:50 PM=>Info:- Start SenMail Method
10/25/2022 3:02:50 PM=>UseDefaultCredentials
10/25/2022 3:02:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:02:50 PM=>EnableSsl = true
10/25/2022 3:02:50 PM=>DeliveryMethod
10/25/2022 3:02:50 PM=>Before Send
10/25/2022 3:04: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.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/25/2022 3:04:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:04:14 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:04:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:04:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:04:15 PM=>Info:- END Mailing Method
10/25/2022 3:04:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:04:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:04:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:04:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:04:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:04:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:04:15 PM=>Info - End of callingService Method
10/25/2022 3:06:15 PM=>Info - Check time Elapsed
10/25/2022 3:06:15 PM=>Info - Call callingService Method
10/25/2022 3:06:15 PM=>Info:- Call Both
10/25/2022 3:06:15 PM=>Info:- Start Executing SMS Method
10/25/2022 3:06:15 PM=>Info:- End Executing SMS Method
10/25/2022 3:06:15 PM=>Info:- Start Mailing Method
10/25/2022 3:06:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:06:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:06:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:06:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:06:15 PM=>Info:- Count = 1
10/25/2022 3:06:15 PM=>Info:- Count 1
10/25/2022 3:06:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:06:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:06:15 PM=>Info:- Start SenMail Method
10/25/2022 3:06:15 PM=>UseDefaultCredentials
10/25/2022 3:06:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:06:15 PM=>EnableSsl = true
10/25/2022 3:06:15 PM=>DeliveryMethod
10/25/2022 3:06:15 PM=>Before Send
10/25/2022 3:06: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/25/2022 3:06:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:06:24 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:06:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:06:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:06:24 PM=>Info:- END Mailing Method
10/25/2022 3:06:24 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:06:24 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:06:24 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:06:24 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:06:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:06:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:06:24 PM=>Info - End of callingService Method
10/25/2022 3:08:24 PM=>Info - Check time Elapsed
10/25/2022 3:08:24 PM=>Info - Call callingService Method
10/25/2022 3:08:24 PM=>Info:- Call Both
10/25/2022 3:08:24 PM=>Info:- Start Executing SMS Method
10/25/2022 3:08:24 PM=>Info:- End Executing SMS Method
10/25/2022 3:08:24 PM=>Info:- Start Mailing Method
10/25/2022 3:08:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:08:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:08:24 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:08:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:08:24 PM=>Info:- Count = 1
10/25/2022 3:08:24 PM=>Info:- Count 1
10/25/2022 3:08:24 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:08:24 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:08:24 PM=>Info:- Start SenMail Method
10/25/2022 3:08:24 PM=>UseDefaultCredentials
10/25/2022 3:08:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:08:24 PM=>EnableSsl = true
10/25/2022 3:08:24 PM=>DeliveryMethod
10/25/2022 3:08:24 PM=>Before Send
10/25/2022 3:08:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 3:08:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:08:54 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:08:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:08:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:08:55 PM=>Info:- END Mailing Method
10/25/2022 3:08:55 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:08:55 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:08:55 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:08:55 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:08:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:08:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:08:55 PM=>Info - End of callingService Method
10/25/2022 3:10:55 PM=>Info - Check time Elapsed
10/25/2022 3:10:55 PM=>Info - Call callingService Method
10/25/2022 3:10:55 PM=>Info:- Call Both
10/25/2022 3:10:55 PM=>Info:- Start Executing SMS Method
10/25/2022 3:10:55 PM=>Info:- End Executing SMS Method
10/25/2022 3:10:55 PM=>Info:- Start Mailing Method
10/25/2022 3:10:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:10:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:10:55 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:10:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:10:55 PM=>Info:- Count = 1
10/25/2022 3:10:55 PM=>Info:- Count 1
10/25/2022 3:10:55 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:10:55 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:10:55 PM=>Info:- Start SenMail Method
10/25/2022 3:10:55 PM=>UseDefaultCredentials
10/25/2022 3:10:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:10:55 PM=>EnableSsl = true
10/25/2022 3:10:55 PM=>DeliveryMethod
10/25/2022 3:10:55 PM=>Before Send
10/25/2022 3:10: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/25/2022 3:10:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:10:58 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:10:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:10:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:10:58 PM=>Info:- END Mailing Method
10/25/2022 3:10:58 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:10:58 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:10:58 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:10:58 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:10:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:10:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:10:58 PM=>Info - End of callingService Method
10/25/2022 3:12:58 PM=>Info - Check time Elapsed
10/25/2022 3:12:58 PM=>Info - Call callingService Method
10/25/2022 3:12:58 PM=>Info:- Call Both
10/25/2022 3:12:58 PM=>Info:- Start Executing SMS Method
10/25/2022 3:12:58 PM=>Info:- End Executing SMS Method
10/25/2022 3:12:58 PM=>Info:- Start Mailing Method
10/25/2022 3:12:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:12:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:12:58 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:12:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:12:58 PM=>Info:- Count = 1
10/25/2022 3:12:58 PM=>Info:- Count 1
10/25/2022 3:12:58 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:12:58 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:12:58 PM=>Info:- Start SenMail Method
10/25/2022 3:12:58 PM=>UseDefaultCredentials
10/25/2022 3:12:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:12:58 PM=>EnableSsl = true
10/25/2022 3:12:58 PM=>DeliveryMethod
10/25/2022 3:12:58 PM=>Before Send
10/25/2022 3:13:01 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 3:13:01 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:13:01 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:13:01 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:13:01 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:13:02 PM=>Info:- END Mailing Method
10/25/2022 3:13:02 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:13:02 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:13:02 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:13:02 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:13:02 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:13:02 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:13:02 PM=>Info - End of callingService Method
10/25/2022 3:15:02 PM=>Info - Check time Elapsed
10/25/2022 3:15:02 PM=>Info - Call callingService Method
10/25/2022 3:15:02 PM=>Info:- Call Both
10/25/2022 3:15:02 PM=>Info:- Start Executing SMS Method
10/25/2022 3:15:02 PM=>Info:- End Executing SMS Method
10/25/2022 3:15:02 PM=>Info:- Start Mailing Method
10/25/2022 3:15:02 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:15:02 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:15:02 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:15:02 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:15:02 PM=>Info:- Count = 1
10/25/2022 3:15:02 PM=>Info:- Count 1
10/25/2022 3:15:02 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:15:02 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:15:02 PM=>Info:- Start SenMail Method
10/25/2022 3:15:02 PM=>UseDefaultCredentials
10/25/2022 3:15:02 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:15:02 PM=>EnableSsl = true
10/25/2022 3:15:02 PM=>DeliveryMethod
10/25/2022 3:15:02 PM=>Before Send
10/25/2022 3:15: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/25/2022 3:15:11 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:15:11 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:15:11 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:15:11 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:15:11 PM=>Info:- END Mailing Method
10/25/2022 3:15:11 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:15:11 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:15:11 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:15:11 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:15:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:15:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:15:11 PM=>Info - End of callingService Method
10/25/2022 3:17:11 PM=>Info - Check time Elapsed
10/25/2022 3:17:11 PM=>Info - Call callingService Method
10/25/2022 3:17:11 PM=>Info:- Call Both
10/25/2022 3:17:11 PM=>Info:- Start Executing SMS Method
10/25/2022 3:17:11 PM=>Info:- End Executing SMS Method
10/25/2022 3:17:11 PM=>Info:- Start Mailing Method
10/25/2022 3:17:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:17:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:17:11 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:17:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:17:11 PM=>Info:- Count = 1
10/25/2022 3:17:11 PM=>Info:- Count 1
10/25/2022 3:17:11 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:17:11 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:17:11 PM=>Info:- Start SenMail Method
10/25/2022 3:17:11 PM=>UseDefaultCredentials
10/25/2022 3:17:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:17:11 PM=>EnableSsl = true
10/25/2022 3:17:11 PM=>DeliveryMethod
10/25/2022 3:17:11 PM=>Before Send
10/25/2022 3:17: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/25/2022 3:17:11 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:17:11 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:17:11 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:17:11 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:17:11 PM=>Info:- END Mailing Method
10/25/2022 3:17:11 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:17:11 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:17:11 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:17:11 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:17:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:17:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:17:11 PM=>Info - End of callingService Method
10/25/2022 3:19:11 PM=>Info - Check time Elapsed
10/25/2022 3:19:11 PM=>Info - Call callingService Method
10/25/2022 3:19:11 PM=>Info:- Call Both
10/25/2022 3:19:11 PM=>Info:- Start Executing SMS Method
10/25/2022 3:19:11 PM=>Info:- End Executing SMS Method
10/25/2022 3:19:12 PM=>Info:- Start Mailing Method
10/25/2022 3:19:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:19:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:19:12 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:19:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:19:12 PM=>Info:- Count = 1
10/25/2022 3:19:12 PM=>Info:- Count 1
10/25/2022 3:19:12 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:19:12 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:19:12 PM=>Info:- Start SenMail Method
10/25/2022 3:19:12 PM=>UseDefaultCredentials
10/25/2022 3:19:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:19:12 PM=>EnableSsl = true
10/25/2022 3:19:12 PM=>DeliveryMethod
10/25/2022 3:19:12 PM=>Before Send
10/25/2022 3:19: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/25/2022 3:19:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:19:33 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:19:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:19:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:19:33 PM=>Info:- END Mailing Method
10/25/2022 3:19:33 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:19:33 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:19:33 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:19:33 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:19:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:19:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:19:33 PM=>Info - End of callingService Method
10/25/2022 3:21:33 PM=>Info - Check time Elapsed
10/25/2022 3:21:33 PM=>Info - Call callingService Method
10/25/2022 3:21:33 PM=>Info:- Call Both
10/25/2022 3:21:33 PM=>Info:- Start Executing SMS Method
10/25/2022 3:21:33 PM=>Info:- End Executing SMS Method
10/25/2022 3:21:33 PM=>Info:- Start Mailing Method
10/25/2022 3:21:33 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:21:33 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:21:33 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:21:33 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:21:33 PM=>Info:- Count = 1
10/25/2022 3:21:33 PM=>Info:- Count 1
10/25/2022 3:21:33 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:21:33 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:21:33 PM=>Info:- Start SenMail Method
10/25/2022 3:21:33 PM=>UseDefaultCredentials
10/25/2022 3:21:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:21:33 PM=>EnableSsl = true
10/25/2022 3:21:33 PM=>DeliveryMethod
10/25/2022 3:21:33 PM=>Before Send
10/25/2022 3:21: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/25/2022 3:21:36 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:21:36 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:21:36 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:21:36 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:21:36 PM=>Info:- END Mailing Method
10/25/2022 3:21:36 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:21:36 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:21:36 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:21:36 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:21:36 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:21:36 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:21:36 PM=>Info - End of callingService Method
10/25/2022 3:23:36 PM=>Info - Check time Elapsed
10/25/2022 3:23:36 PM=>Info - Call callingService Method
10/25/2022 3:23:36 PM=>Info:- Call Both
10/25/2022 3:23:37 PM=>Info:- Start Executing SMS Method
10/25/2022 3:23:37 PM=>Info:- End Executing SMS Method
10/25/2022 3:23:37 PM=>Info:- Start Mailing Method
10/25/2022 3:23:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:23:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:23:37 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:23:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:23:37 PM=>Info:- Count = 1
10/25/2022 3:23:37 PM=>Info:- Count 1
10/25/2022 3:23:37 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:23:37 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:23:37 PM=>Info:- Start SenMail Method
10/25/2022 3:23:37 PM=>UseDefaultCredentials
10/25/2022 3:23:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:23:37 PM=>EnableSsl = true
10/25/2022 3:23:37 PM=>DeliveryMethod
10/25/2022 3:23:37 PM=>Before Send
10/25/2022 3: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/25/2022 3:23:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:23:37 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:23:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:23:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:23:37 PM=>Info:- END Mailing Method
10/25/2022 3:23:37 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:23:37 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:23:37 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:23:37 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:23:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:23:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:23:37 PM=>Info - End of callingService Method
10/25/2022 3:25:37 PM=>Info - Check time Elapsed
10/25/2022 3:25:37 PM=>Info - Call callingService Method
10/25/2022 3:25:37 PM=>Info:- Call Both
10/25/2022 3:25:37 PM=>Info:- Start Executing SMS Method
10/25/2022 3:25:37 PM=>Info:- End Executing SMS Method
10/25/2022 3:25:37 PM=>Info:- Start Mailing Method
10/25/2022 3:25:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:25:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:25:37 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:25:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:25:37 PM=>Info:- Count = 1
10/25/2022 3:25:37 PM=>Info:- Count 1
10/25/2022 3:25:37 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:25:37 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:25:37 PM=>Info:- Start SenMail Method
10/25/2022 3:25:37 PM=>UseDefaultCredentials
10/25/2022 3:25:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:25:37 PM=>EnableSsl = true
10/25/2022 3:25:37 PM=>DeliveryMethod
10/25/2022 3:25:37 PM=>Before Send
10/25/2022 3:25: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/25/2022 3:25:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:25:46 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:25:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:25:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:25:46 PM=>Info:- END Mailing Method
10/25/2022 3:25:46 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:25:46 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:25:46 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:25:46 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:25:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:25:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:25:46 PM=>Info - End of callingService Method
10/25/2022 3:27:46 PM=>Info - Check time Elapsed
10/25/2022 3:27:46 PM=>Info - Call callingService Method
10/25/2022 3:27:46 PM=>Info:- Call Both
10/25/2022 3:27:46 PM=>Info:- Start Executing SMS Method
10/25/2022 3:27:46 PM=>Info:- End Executing SMS Method
10/25/2022 3:27:46 PM=>Info:- Start Mailing Method
10/25/2022 3:27:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:27:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:27:46 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:27:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:27:46 PM=>Info:- Count = 1
10/25/2022 3:27:46 PM=>Info:- Count 1
10/25/2022 3:27:46 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:27:46 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:27:46 PM=>Info:- Start SenMail Method
10/25/2022 3:27:46 PM=>UseDefaultCredentials
10/25/2022 3:27:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:27:46 PM=>EnableSsl = true
10/25/2022 3:27:46 PM=>DeliveryMethod
10/25/2022 3:27:46 PM=>Before Send
10/25/2022 3:28: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/25/2022 3:28:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:28:28 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:28:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:28:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:28:29 PM=>Info:- END Mailing Method
10/25/2022 3:28:29 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:28:29 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:28:29 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:28:29 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:28:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:28:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:28:29 PM=>Info - End of callingService Method
10/25/2022 3:30:29 PM=>Info - Check time Elapsed
10/25/2022 3:30:29 PM=>Info - Call callingService Method
10/25/2022 3:30:29 PM=>Info:- Call Both
10/25/2022 3:30:29 PM=>Info:- Start Executing SMS Method
10/25/2022 3:30:29 PM=>Info:- End Executing SMS Method
10/25/2022 3:30:29 PM=>Info:- Start Mailing Method
10/25/2022 3:30:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:30:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:30:29 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:30:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:30:29 PM=>Info:- Count = 2
10/25/2022 3:30:29 PM=>Info:- Count 2
10/25/2022 3:30:29 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:30:29 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:30:29 PM=>Info:- Start SenMail Method
10/25/2022 3:30:29 PM=>UseDefaultCredentials
10/25/2022 3:30:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:30:29 PM=>EnableSsl = true
10/25/2022 3:30:29 PM=>DeliveryMethod
10/25/2022 3:30:29 PM=>Before Send
10/25/2022 3:30: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/25/2022 3:30:32 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net,zylemsupport@sapl.net
10/25/2022 3:30:32 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:30:32 PM=>(SenMail)Failure sending mail Body :Bayer Importing Processes STARTED
10/25/2022 3:30:32 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\ImportingEXE_START.xml
10/25/2022 3:30:32 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:30:32 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:30:32 PM=>Info:- Start SenMail Method
10/25/2022 3:30:32 PM=>UseDefaultCredentials
10/25/2022 3:30:32 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:30:32 PM=>EnableSsl = true
10/25/2022 3:30:32 PM=>DeliveryMethod
10/25/2022 3:30:32 PM=>Before Send
10/25/2022 3:30: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/25/2022 3:30:32 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:30:32 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:30:32 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:30:32 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:30:33 PM=>Info:- END Mailing Method
10/25/2022 3:30:33 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:30:33 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:30:33 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:30:33 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:30:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:30:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:30:33 PM=>Info - End of callingService Method
10/25/2022 3:32:33 PM=>Info - Check time Elapsed
10/25/2022 3:32:33 PM=>Info - Call callingService Method
10/25/2022 3:32:33 PM=>Info:- Call Both
10/25/2022 3:32:33 PM=>Info:- Start Executing SMS Method
10/25/2022 3:32:33 PM=>Info:- End Executing SMS Method
10/25/2022 3:32:33 PM=>Info:- Start Mailing Method
10/25/2022 3:32:33 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:32:33 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:32:33 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:32:33 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:32:33 PM=>Info:- Count = 2
10/25/2022 3:32:33 PM=>Info:- Count 2
10/25/2022 3:32:33 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:32:33 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:32:33 PM=>Info:- Start SenMail Method
10/25/2022 3:32:33 PM=>UseDefaultCredentials
10/25/2022 3:32:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:32:33 PM=>EnableSsl = true
10/25/2022 3:32:33 PM=>DeliveryMethod
10/25/2022 3:32:33 PM=>Before Send
10/25/2022 3:33: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/25/2022 3:33:03 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net,zylemsupport@sapl.net
10/25/2022 3:33:03 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:33:03 PM=>(SenMail)Failure sending mail Body :Bayer Importing Processes Completed
10/25/2022 3:33:03 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\ImportingEXE_END.xml
10/25/2022 3:33:03 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:33:03 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:33:03 PM=>Info:- Start SenMail Method
10/25/2022 3:33:03 PM=>UseDefaultCredentials
10/25/2022 3:33:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:33:03 PM=>EnableSsl = true
10/25/2022 3:33:03 PM=>DeliveryMethod
10/25/2022 3:33:03 PM=>Before Send
10/25/2022 3:33: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/25/2022 3:33:03 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:33:03 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:33:03 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:33:03 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:33:04 PM=>Info:- END Mailing Method
10/25/2022 3:33:04 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:33:04 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:33:04 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:33:04 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:33:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:33:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:33:04 PM=>Info - End of callingService Method
10/25/2022 3:35:04 PM=>Info - Check time Elapsed
10/25/2022 3:35:04 PM=>Info - Call callingService Method
10/25/2022 3:35:04 PM=>Info:- Call Both
10/25/2022 3:35:04 PM=>Info:- Start Executing SMS Method
10/25/2022 3:35:04 PM=>Info:- End Executing SMS Method
10/25/2022 3:35:04 PM=>Info:- Start Mailing Method
10/25/2022 3:35:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:35:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:35:04 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:35:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:35:04 PM=>Info:- Count = 1
10/25/2022 3:35:04 PM=>Info:- Count 1
10/25/2022 3:35:04 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:35:04 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:35:04 PM=>Info:- Start SenMail Method
10/25/2022 3:35:04 PM=>UseDefaultCredentials
10/25/2022 3:35:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:35:04 PM=>EnableSsl = true
10/25/2022 3:35:04 PM=>DeliveryMethod
10/25/2022 3:35:04 PM=>Before Send
10/25/2022 3:36:28 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.88.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/25/2022 3:36:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:36:28 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:36:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:36:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:36:28 PM=>Info:- END Mailing Method
10/25/2022 3:36:28 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:36:28 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:36:28 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:36:28 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:36:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:36:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:36:28 PM=>Info - End of callingService Method
10/25/2022 3:38:28 PM=>Info - Check time Elapsed
10/25/2022 3:38:28 PM=>Info - Call callingService Method
10/25/2022 3:38:28 PM=>Info:- Call Both
10/25/2022 3:38:28 PM=>Info:- Start Executing SMS Method
10/25/2022 3:38:28 PM=>Info:- End Executing SMS Method
10/25/2022 3:38:28 PM=>Info:- Start Mailing Method
10/25/2022 3:38:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:38:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:38:28 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:38:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:38:28 PM=>Info:- Count = 1
10/25/2022 3:38:28 PM=>Info:- Count 1
10/25/2022 3:38:28 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:38:28 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:38:28 PM=>Info:- Start SenMail Method
10/25/2022 3:38:28 PM=>UseDefaultCredentials
10/25/2022 3:38:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:38:28 PM=>EnableSsl = true
10/25/2022 3:38:28 PM=>DeliveryMethod
10/25/2022 3:38:28 PM=>Before Send
10/25/2022 3:39: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/25/2022 3:39:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:39:19 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:39:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:39:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:39:20 PM=>Info:- END Mailing Method
10/25/2022 3:39:20 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:39:20 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:39:20 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:39:20 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:39:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:39:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:39:20 PM=>Info - End of callingService Method
10/25/2022 3:41:20 PM=>Info - Check time Elapsed
10/25/2022 3:41:20 PM=>Info - Call callingService Method
10/25/2022 3:41:20 PM=>Info:- Call Both
10/25/2022 3:41:20 PM=>Info:- Start Executing SMS Method
10/25/2022 3:41:20 PM=>Info:- End Executing SMS Method
10/25/2022 3:41:20 PM=>Info:- Start Mailing Method
10/25/2022 3:41:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:41:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:41:20 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:41:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:41:20 PM=>Info:- Count = 1
10/25/2022 3:41:20 PM=>Info:- Count 1
10/25/2022 3:41:20 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:41:20 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:41:20 PM=>Info:- Start SenMail Method
10/25/2022 3:41:20 PM=>UseDefaultCredentials
10/25/2022 3:41:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:41:20 PM=>EnableSsl = true
10/25/2022 3:41:20 PM=>DeliveryMethod
10/25/2022 3:41:20 PM=>Before Send
10/25/2022 3:42: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.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/25/2022 3:42:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:42:44 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:42:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:42:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:42:44 PM=>Info:- END Mailing Method
10/25/2022 3:42:44 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:42:44 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:42:44 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:42:44 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:42:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:42:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:42:44 PM=>Info - End of callingService Method
10/25/2022 3:44:44 PM=>Info - Check time Elapsed
10/25/2022 3:44:44 PM=>Info - Call callingService Method
10/25/2022 3:44:44 PM=>Info:- Call Both
10/25/2022 3:44:44 PM=>Info:- Start Executing SMS Method
10/25/2022 3:44:44 PM=>Info:- End Executing SMS Method
10/25/2022 3:44:44 PM=>Info:- Start Mailing Method
10/25/2022 3:44:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:44:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:44:44 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:44:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:44:44 PM=>Info:- Count = 1
10/25/2022 3:44:44 PM=>Info:- Count 1
10/25/2022 3:44:44 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:44:44 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:44:44 PM=>Info:- Start SenMail Method
10/25/2022 3:44:44 PM=>UseDefaultCredentials
10/25/2022 3:44:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:44:44 PM=>EnableSsl = true
10/25/2022 3:44:44 PM=>DeliveryMethod
10/25/2022 3:44:44 PM=>Before Send
10/25/2022 3:44: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/25/2022 3:44:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:44:44 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:44:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:44:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:44:44 PM=>Info:- END Mailing Method
10/25/2022 3:44:44 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:44:45 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:44:45 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:44:45 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:44:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:44:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:44:45 PM=>Info - End of callingService Method
10/25/2022 3:46:45 PM=>Info - Check time Elapsed
10/25/2022 3:46:45 PM=>Info - Call callingService Method
10/25/2022 3:46:45 PM=>Info:- Call Both
10/25/2022 3:46:45 PM=>Info:- Start Executing SMS Method
10/25/2022 3:46:45 PM=>Info:- End Executing SMS Method
10/25/2022 3:46:45 PM=>Info:- Start Mailing Method
10/25/2022 3:46:45 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:46:45 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:46:45 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:46:45 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:46:45 PM=>Info:- Count = 1
10/25/2022 3:46:45 PM=>Info:- Count 1
10/25/2022 3:46:45 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:46:45 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:46:45 PM=>Info:- Start SenMail Method
10/25/2022 3:46:45 PM=>UseDefaultCredentials
10/25/2022 3:46:45 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:46:45 PM=>EnableSsl = true
10/25/2022 3:46:45 PM=>DeliveryMethod
10/25/2022 3:46:45 PM=>Before Send
10/25/2022 3: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/25/2022 3:46:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:46:45 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:46:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:46:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:46:45 PM=>Info:- END Mailing Method
10/25/2022 3:46:45 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:46:45 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:46:45 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:46:45 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:46:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:46:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:46:45 PM=>Info - End of callingService Method
10/25/2022 3:48:45 PM=>Info - Check time Elapsed
10/25/2022 3:48:45 PM=>Info - Call callingService Method
10/25/2022 3:48:45 PM=>Info:- Call Both
10/25/2022 3:48:45 PM=>Info:- Start Executing SMS Method
10/25/2022 3:48:45 PM=>Info:- End Executing SMS Method
10/25/2022 3:48:45 PM=>Info:- Start Mailing Method
10/25/2022 3:48:45 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:48:45 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:48:45 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:48:45 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:48:45 PM=>Info:- Count = 1
10/25/2022 3:48:45 PM=>Info:- Count 1
10/25/2022 3:48:45 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:48:45 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:48:45 PM=>Info:- Start SenMail Method
10/25/2022 3:48:45 PM=>UseDefaultCredentials
10/25/2022 3:48:45 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:48:45 PM=>EnableSsl = true
10/25/2022 3:48:45 PM=>DeliveryMethod
10/25/2022 3:48:45 PM=>Before Send
10/25/2022 3:48: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/25/2022 3:48:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:48:48 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:48:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:48:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:48:48 PM=>Info:- END Mailing Method
10/25/2022 3:48:48 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:48:48 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:48:48 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:48:48 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:48:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:48:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:48:48 PM=>Info - End of callingService Method
10/25/2022 3:50:48 PM=>Info - Check time Elapsed
10/25/2022 3:50:48 PM=>Info - Call callingService Method
10/25/2022 3:50:48 PM=>Info:- Call Both
10/25/2022 3:50:48 PM=>Info:- Start Executing SMS Method
10/25/2022 3:50:48 PM=>Info:- End Executing SMS Method
10/25/2022 3:50:48 PM=>Info:- Start Mailing Method
10/25/2022 3:50:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:50:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:50:48 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:50:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:50:48 PM=>Info:- Count = 1
10/25/2022 3:50:48 PM=>Info:- Count 1
10/25/2022 3:50:48 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:50:48 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:50:48 PM=>Info:- Start SenMail Method
10/25/2022 3:50:48 PM=>UseDefaultCredentials
10/25/2022 3:50:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:50:48 PM=>EnableSsl = true
10/25/2022 3:50:48 PM=>DeliveryMethod
10/25/2022 3:50:48 PM=>Before Send
10/25/2022 3:52: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.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/25/2022 3:52:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:52:13 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:52:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:52:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:52:13 PM=>Info:- END Mailing Method
10/25/2022 3:52:13 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:52:13 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:52:13 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:52:13 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:52:13 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:52:13 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:52:13 PM=>Info - End of callingService Method
10/25/2022 3:54:13 PM=>Info - Check time Elapsed
10/25/2022 3:54:13 PM=>Info - Call callingService Method
10/25/2022 3:54:13 PM=>Info:- Call Both
10/25/2022 3:54:13 PM=>Info:- Start Executing SMS Method
10/25/2022 3:54:13 PM=>Info:- End Executing SMS Method
10/25/2022 3:54:13 PM=>Info:- Start Mailing Method
10/25/2022 3:54:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:54:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:54:13 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:54:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:54:13 PM=>Info:- Count = 1
10/25/2022 3:54:13 PM=>Info:- Count 1
10/25/2022 3:54:13 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:54:13 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:54:13 PM=>Info:- Start SenMail Method
10/25/2022 3:54:13 PM=>UseDefaultCredentials
10/25/2022 3:54:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:54:13 PM=>EnableSsl = true
10/25/2022 3:54:13 PM=>DeliveryMethod
10/25/2022 3:54:13 PM=>Before Send
10/25/2022 3:54: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/25/2022 3:54:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:54:13 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:54:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:54:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:54:13 PM=>Info:- END Mailing Method
10/25/2022 3:54:13 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:54:13 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:54:13 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:54:13 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:54:13 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:54:13 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:54:13 PM=>Info - End of callingService Method
10/25/2022 3:56:13 PM=>Info - Check time Elapsed
10/25/2022 3:56:13 PM=>Info - Call callingService Method
10/25/2022 3:56:13 PM=>Info:- Call Both
10/25/2022 3:56:13 PM=>Info:- Start Executing SMS Method
10/25/2022 3:56:13 PM=>Info:- End Executing SMS Method
10/25/2022 3:56:13 PM=>Info:- Start Mailing Method
10/25/2022 3:56:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:56:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:56:13 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:56:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:56:13 PM=>Info:- Count = 1
10/25/2022 3:56:13 PM=>Info:- Count 1
10/25/2022 3:56:13 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:56:13 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:56:13 PM=>Info:- Start SenMail Method
10/25/2022 3:56:13 PM=>UseDefaultCredentials
10/25/2022 3:56:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:56:13 PM=>EnableSsl = true
10/25/2022 3:56:13 PM=>DeliveryMethod
10/25/2022 3:56:13 PM=>Before Send
10/25/2022 3:56: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/25/2022 3:56:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:56:13 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:56:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:56:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:56:14 PM=>Info:- END Mailing Method
10/25/2022 3:56:14 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:56:14 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:56:14 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:56:14 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:56:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:56:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:56:14 PM=>Info - End of callingService Method
10/25/2022 3:58:14 PM=>Info - Check time Elapsed
10/25/2022 3:58:14 PM=>Info - Call callingService Method
10/25/2022 3:58:14 PM=>Info:- Call Both
10/25/2022 3:58:14 PM=>Info:- Start Executing SMS Method
10/25/2022 3:58:14 PM=>Info:- End Executing SMS Method
10/25/2022 3:58:14 PM=>Info:- Start Mailing Method
10/25/2022 3:58:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 3:58:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 3:58:14 PM=>Info:- PendingMail.xml file read to list
10/25/2022 3:58:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 3:58:14 PM=>Info:- Count = 1
10/25/2022 3:58:14 PM=>Info:- Count 1
10/25/2022 3:58:14 PM=>Info - Fetching Data From MAIL XML
10/25/2022 3:58:14 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 3:58:14 PM=>Info:- Start SenMail Method
10/25/2022 3:58:14 PM=>UseDefaultCredentials
10/25/2022 3:58:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 3:58:14 PM=>EnableSsl = true
10/25/2022 3:58:14 PM=>DeliveryMethod
10/25/2022 3:58:14 PM=>Before Send
10/25/2022 3: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/25/2022 3:58:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 3:58:14 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 3:58:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 3:58:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 3:58:14 PM=>Info:- END Mailing Method
10/25/2022 3:58:14 PM=>Info:- Start Executing Telegram Method
10/25/2022 3:58:14 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 3:58:14 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 3:58:14 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 3:58:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 3:58:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 3:58:14 PM=>Info - End of callingService Method
10/25/2022 4:00:14 PM=>Info - Check time Elapsed
10/25/2022 4:00:14 PM=>Info - Call callingService Method
10/25/2022 4:00:14 PM=>Info:- Call Both
10/25/2022 4:00:14 PM=>Info:- Start Executing SMS Method
10/25/2022 4:00:14 PM=>Info:- End Executing SMS Method
10/25/2022 4:00:14 PM=>Info:- Start Mailing Method
10/25/2022 4:00:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:00:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:00:14 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:00:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:00:14 PM=>Info:- Count = 1
10/25/2022 4:00:14 PM=>Info:- Count 1
10/25/2022 4:00:14 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:00:14 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:00:14 PM=>Info:- Start SenMail Method
10/25/2022 4:00:14 PM=>UseDefaultCredentials
10/25/2022 4:00:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:00:14 PM=>EnableSsl = true
10/25/2022 4:00:14 PM=>DeliveryMethod
10/25/2022 4:00:14 PM=>Before Send
10/25/2022 4:01:38 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 4:01:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:01:38 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:01:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:01:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:01:39 PM=>Info:- END Mailing Method
10/25/2022 4:01:39 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:01:39 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:01:39 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:01:39 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:01:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:01:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:01:39 PM=>Info - End of callingService Method
10/25/2022 4:03:39 PM=>Info - Check time Elapsed
10/25/2022 4:03:39 PM=>Info - Call callingService Method
10/25/2022 4:03:39 PM=>Info:- Call Both
10/25/2022 4:03:39 PM=>Info:- Start Executing SMS Method
10/25/2022 4:03:39 PM=>Info:- End Executing SMS Method
10/25/2022 4:03:39 PM=>Info:- Start Mailing Method
10/25/2022 4:03:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:03:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:03:39 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:03:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:03:39 PM=>Info:- Count = 1
10/25/2022 4:03:39 PM=>Info:- Count 1
10/25/2022 4:03:39 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:03:39 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:03:39 PM=>Info:- Start SenMail Method
10/25/2022 4:03:39 PM=>UseDefaultCredentials
10/25/2022 4:03:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:03:39 PM=>EnableSsl = true
10/25/2022 4:03:39 PM=>DeliveryMethod
10/25/2022 4:03:39 PM=>Before Send
10/25/2022 4:03: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/25/2022 4:03:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:03:48 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:03:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:03:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:03:48 PM=>Info:- END Mailing Method
10/25/2022 4:03:48 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:03:48 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:03:48 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:03:48 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:03:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:03:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:03:48 PM=>Info - End of callingService Method
10/25/2022 4:05:48 PM=>Info - Check time Elapsed
10/25/2022 4:05:48 PM=>Info - Call callingService Method
10/25/2022 4:05:48 PM=>Info:- Call Both
10/25/2022 4:05:48 PM=>Info:- Start Executing SMS Method
10/25/2022 4:05:48 PM=>Info:- End Executing SMS Method
10/25/2022 4:05:48 PM=>Info:- Start Mailing Method
10/25/2022 4:05:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:05:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:05:48 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:05:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:05:48 PM=>Info:- Count = 1
10/25/2022 4:05:48 PM=>Info:- Count 1
10/25/2022 4:05:48 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:05:48 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:05:48 PM=>Info:- Start SenMail Method
10/25/2022 4:05:48 PM=>UseDefaultCredentials
10/25/2022 4:05:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:05:48 PM=>EnableSsl = true
10/25/2022 4:05:48 PM=>DeliveryMethod
10/25/2022 4:05:48 PM=>Before Send
10/25/2022 4:07: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.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/25/2022 4:07:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:07:12 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:07:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:07:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:07:13 PM=>Info:- END Mailing Method
10/25/2022 4:07:13 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:07:13 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:07:13 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:07:13 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:07:13 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:07:13 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:07:13 PM=>Info - End of callingService Method
10/25/2022 4:09:13 PM=>Info - Check time Elapsed
10/25/2022 4:09:13 PM=>Info - Call callingService Method
10/25/2022 4:09:13 PM=>Info:- Call Both
10/25/2022 4:09:13 PM=>Info:- Start Executing SMS Method
10/25/2022 4:09:13 PM=>Info:- End Executing SMS Method
10/25/2022 4:09:13 PM=>Info:- Start Mailing Method
10/25/2022 4:09:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:09:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:09:13 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:09:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:09:13 PM=>Info:- Count = 1
10/25/2022 4:09:13 PM=>Info:- Count 1
10/25/2022 4:09:13 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:09:13 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:09:13 PM=>Info:- Start SenMail Method
10/25/2022 4:09:13 PM=>UseDefaultCredentials
10/25/2022 4:09:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:09:13 PM=>EnableSsl = true
10/25/2022 4:09:13 PM=>DeliveryMethod
10/25/2022 4:09:13 PM=>Before Send
10/25/2022 4:09:16 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 4:09:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:09:16 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:09:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:09:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:09:16 PM=>Info:- END Mailing Method
10/25/2022 4:09:16 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:09:16 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:09:16 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:09:16 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:09:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:09:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:09:16 PM=>Info - End of callingService Method
10/25/2022 4:11:16 PM=>Info - Check time Elapsed
10/25/2022 4:11:16 PM=>Info - Call callingService Method
10/25/2022 4:11:16 PM=>Info:- Call Both
10/25/2022 4:11:16 PM=>Info:- Start Executing SMS Method
10/25/2022 4:11:16 PM=>Info:- End Executing SMS Method
10/25/2022 4:11:16 PM=>Info:- Start Mailing Method
10/25/2022 4:11:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:11:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:11:16 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:11:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:11:16 PM=>Info:- Count = 1
10/25/2022 4:11:16 PM=>Info:- Count 1
10/25/2022 4:11:16 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:11:16 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:11:16 PM=>Info:- Start SenMail Method
10/25/2022 4:11:16 PM=>UseDefaultCredentials
10/25/2022 4:11:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:11:16 PM=>EnableSsl = true
10/25/2022 4:11:16 PM=>DeliveryMethod
10/25/2022 4:11:16 PM=>Before Send
10/25/2022 4:12:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.109.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/25/2022 4:12:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:12:40 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:12:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:12:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:12:41 PM=>Info:- END Mailing Method
10/25/2022 4:12:41 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:12:41 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:12:41 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:12:41 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:12:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:12:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:12:41 PM=>Info - End of callingService Method
10/25/2022 4:14:41 PM=>Info - Check time Elapsed
10/25/2022 4:14:41 PM=>Info - Call callingService Method
10/25/2022 4:14:41 PM=>Info:- Call Both
10/25/2022 4:14:41 PM=>Info:- Start Executing SMS Method
10/25/2022 4:14:41 PM=>Info:- End Executing SMS Method
10/25/2022 4:14:41 PM=>Info:- Start Mailing Method
10/25/2022 4:14:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:14:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:14:41 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:14:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:14:41 PM=>Info:- Count = 1
10/25/2022 4:14:41 PM=>Info:- Count 1
10/25/2022 4:14:41 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:14:41 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:14:41 PM=>Info:- Start SenMail Method
10/25/2022 4:14:41 PM=>UseDefaultCredentials
10/25/2022 4:14:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:14:41 PM=>EnableSsl = true
10/25/2022 4:14:41 PM=>DeliveryMethod
10/25/2022 4:14:41 PM=>Before Send
10/25/2022 4:14: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/25/2022 4:14:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:14:44 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:14:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:14:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:14:44 PM=>Info:- END Mailing Method
10/25/2022 4:14:44 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:14:44 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:14:44 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:14:44 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:14:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:14:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:14:44 PM=>Info - End of callingService Method
10/25/2022 4:16:44 PM=>Info - Check time Elapsed
10/25/2022 4:16:44 PM=>Info - Call callingService Method
10/25/2022 4:16:44 PM=>Info:- Call Both
10/25/2022 4:16:44 PM=>Info:- Start Executing SMS Method
10/25/2022 4:16:44 PM=>Info:- End Executing SMS Method
10/25/2022 4:16:44 PM=>Info:- Start Mailing Method
10/25/2022 4:16:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:16:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:16:44 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:16:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:16:44 PM=>Info:- Count = 1
10/25/2022 4:16:44 PM=>Info:- Count 1
10/25/2022 4:16:44 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:16:44 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:16:44 PM=>Info:- Start SenMail Method
10/25/2022 4:16:44 PM=>UseDefaultCredentials
10/25/2022 4:16:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:16:44 PM=>EnableSsl = true
10/25/2022 4:16:44 PM=>DeliveryMethod
10/25/2022 4:16:44 PM=>Before Send
10/25/2022 4:16: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/25/2022 4:16:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:16:48 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:16:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:16:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:16:48 PM=>Info:- END Mailing Method
10/25/2022 4:16:48 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:16:48 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:16:48 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:16:48 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:16:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:16:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:16:48 PM=>Info - End of callingService Method
10/25/2022 4:18:48 PM=>Info - Check time Elapsed
10/25/2022 4:18:48 PM=>Info - Call callingService Method
10/25/2022 4:18:48 PM=>Info:- Call Both
10/25/2022 4:18:48 PM=>Info:- Start Executing SMS Method
10/25/2022 4:18:48 PM=>Info:- End Executing SMS Method
10/25/2022 4:18:48 PM=>Info:- Start Mailing Method
10/25/2022 4:18:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:18:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:18:48 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:18:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:18:48 PM=>Info:- Count = 1
10/25/2022 4:18:48 PM=>Info:- Count 1
10/25/2022 4:18:48 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:18:48 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:18:48 PM=>Info:- Start SenMail Method
10/25/2022 4:18:48 PM=>UseDefaultCredentials
10/25/2022 4:18:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:18:48 PM=>EnableSsl = true
10/25/2022 4:18:48 PM=>DeliveryMethod
10/25/2022 4:18:48 PM=>Before Send
10/25/2022 4:18: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/25/2022 4:18:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:18:57 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:18:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:18:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:18:57 PM=>Info:- END Mailing Method
10/25/2022 4:18:57 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:18:57 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:18:57 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:18:57 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:18:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:18:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:18:57 PM=>Info - End of callingService Method
10/25/2022 4:20:57 PM=>Info - Check time Elapsed
10/25/2022 4:20:57 PM=>Info - Call callingService Method
10/25/2022 4:20:57 PM=>Info:- Call Both
10/25/2022 4:20:57 PM=>Info:- Start Executing SMS Method
10/25/2022 4:20:57 PM=>Info:- End Executing SMS Method
10/25/2022 4:20:57 PM=>Info:- Start Mailing Method
10/25/2022 4:20:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:20:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:20:57 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:20:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:20:57 PM=>Info:- Count = 1
10/25/2022 4:20:57 PM=>Info:- Count 1
10/25/2022 4:20:57 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:20:57 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:20:57 PM=>Info:- Start SenMail Method
10/25/2022 4:20:57 PM=>UseDefaultCredentials
10/25/2022 4:20:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:20:57 PM=>EnableSsl = true
10/25/2022 4:20:57 PM=>DeliveryMethod
10/25/2022 4:20:57 PM=>Before Send
10/25/2022 4:22: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.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/25/2022 4:22:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:22:22 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:22:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:22:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:22:22 PM=>Info:- END Mailing Method
10/25/2022 4:22:22 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:22:22 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:22:22 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:22:22 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:22:22 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:22:22 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:22:22 PM=>Info - End of callingService Method
10/25/2022 4:24:22 PM=>Info - Check time Elapsed
10/25/2022 4:24:22 PM=>Info - Call callingService Method
10/25/2022 4:24:22 PM=>Info:- Call Both
10/25/2022 4:24:22 PM=>Info:- Start Executing SMS Method
10/25/2022 4:24:22 PM=>Info:- End Executing SMS Method
10/25/2022 4:24:22 PM=>Info:- Start Mailing Method
10/25/2022 4:24:22 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:24:22 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:24:22 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:24:22 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:24:22 PM=>Info:- Count = 1
10/25/2022 4:24:22 PM=>Info:- Count 1
10/25/2022 4:24:22 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:24:22 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:24:22 PM=>Info:- Start SenMail Method
10/25/2022 4:24:22 PM=>UseDefaultCredentials
10/25/2022 4:24:22 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:24:22 PM=>EnableSsl = true
10/25/2022 4:24:22 PM=>DeliveryMethod
10/25/2022 4:24:22 PM=>Before Send
10/25/2022 4:25:46 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 4:25:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:25:46 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:25:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:25:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:25:46 PM=>Info:- END Mailing Method
10/25/2022 4:25:46 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:25:46 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:25:46 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:25:46 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:25:46 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:25:46 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:25:46 PM=>Info - End of callingService Method
10/25/2022 4:27:46 PM=>Info - Check time Elapsed
10/25/2022 4:27:46 PM=>Info - Call callingService Method
10/25/2022 4:27:46 PM=>Info:- Call Both
10/25/2022 4:27:46 PM=>Info:- Start Executing SMS Method
10/25/2022 4:27:46 PM=>Info:- End Executing SMS Method
10/25/2022 4:27:46 PM=>Info:- Start Mailing Method
10/25/2022 4:27:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:27:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:27:46 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:27:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:27:46 PM=>Info:- Count = 1
10/25/2022 4:27:46 PM=>Info:- Count 1
10/25/2022 4:27:46 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:27:46 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:27:46 PM=>Info:- Start SenMail Method
10/25/2022 4:27:46 PM=>UseDefaultCredentials
10/25/2022 4:27:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:27:46 PM=>EnableSsl = true
10/25/2022 4:27:46 PM=>DeliveryMethod
10/25/2022 4:27:46 PM=>Before Send
10/25/2022 4: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/25/2022 4:27:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:27:46 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:27:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:27:46 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:27:47 PM=>Info:- END Mailing Method
10/25/2022 4:27:47 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:27:47 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:27:47 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:27:47 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:27:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:27:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:27:47 PM=>Info - End of callingService Method
10/25/2022 4:29:47 PM=>Info - Check time Elapsed
10/25/2022 4:29:47 PM=>Info - Call callingService Method
10/25/2022 4:29:47 PM=>Info:- Call Both
10/25/2022 4:29:47 PM=>Info:- Start Executing SMS Method
10/25/2022 4:29:47 PM=>Info:- End Executing SMS Method
10/25/2022 4:29:47 PM=>Info:- Start Mailing Method
10/25/2022 4:29:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:29:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:29:47 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:29:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:29:47 PM=>Info:- Count = 1
10/25/2022 4:29:47 PM=>Info:- Count 1
10/25/2022 4:29:47 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:29:47 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:29:47 PM=>Info:- Start SenMail Method
10/25/2022 4:29:47 PM=>UseDefaultCredentials
10/25/2022 4:29:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:29:47 PM=>EnableSsl = true
10/25/2022 4:29:47 PM=>DeliveryMethod
10/25/2022 4:29:47 PM=>Before Send
10/25/2022 4:29: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/25/2022 4:29:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:29:50 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:29:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:29:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:29:50 PM=>Info:- END Mailing Method
10/25/2022 4:29:50 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:29:50 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:29:50 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:29:50 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:29:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:29:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:29:50 PM=>Info - End of callingService Method
10/25/2022 4:31:50 PM=>Info - Check time Elapsed
10/25/2022 4:31:50 PM=>Info - Call callingService Method
10/25/2022 4:31:50 PM=>Info:- Call Both
10/25/2022 4:31:50 PM=>Info:- Start Executing SMS Method
10/25/2022 4:31:50 PM=>Info:- End Executing SMS Method
10/25/2022 4:31:50 PM=>Info:- Start Mailing Method
10/25/2022 4:31:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:31:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:31:50 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:31:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:31:50 PM=>Info:- Count = 1
10/25/2022 4:31:50 PM=>Info:- Count 1
10/25/2022 4:31:50 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:31:50 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:31:50 PM=>Info:- Start SenMail Method
10/25/2022 4:31:50 PM=>UseDefaultCredentials
10/25/2022 4:31:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:31:50 PM=>EnableSsl = true
10/25/2022 4:31:50 PM=>DeliveryMethod
10/25/2022 4:31:50 PM=>Before Send
10/25/2022 4:31: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/25/2022 4:31:59 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:31:59 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:31:59 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:31:59 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:32:00 PM=>Info:- END Mailing Method
10/25/2022 4:32:00 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:32:00 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:32:00 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:32:00 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:32:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:32:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:32:00 PM=>Info - End of callingService Method
10/25/2022 4:34:00 PM=>Info - Check time Elapsed
10/25/2022 4:34:00 PM=>Info - Call callingService Method
10/25/2022 4:34:00 PM=>Info:- Call Both
10/25/2022 4:34:00 PM=>Info:- Start Executing SMS Method
10/25/2022 4:34:00 PM=>Info:- End Executing SMS Method
10/25/2022 4:34:00 PM=>Info:- Start Mailing Method
10/25/2022 4:34:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:34:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:34:00 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:34:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:34:00 PM=>Info:- Count = 1
10/25/2022 4:34:00 PM=>Info:- Count 1
10/25/2022 4:34:00 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:34:00 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:34:00 PM=>Info:- Start SenMail Method
10/25/2022 4:34:00 PM=>UseDefaultCredentials
10/25/2022 4:34:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:34:00 PM=>EnableSsl = true
10/25/2022 4:34:00 PM=>DeliveryMethod
10/25/2022 4:34:00 PM=>Before Send
10/25/2022 4:35:24 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.109.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/25/2022 4:35:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:35:24 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:35:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:35:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:35:24 PM=>Info:- END Mailing Method
10/25/2022 4:35:24 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:35:24 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:35:24 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:35:24 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:35:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:35:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:35:24 PM=>Info - End of callingService Method
10/25/2022 4:37:24 PM=>Info - Check time Elapsed
10/25/2022 4:37:24 PM=>Info - Call callingService Method
10/25/2022 4:37:24 PM=>Info:- Call Both
10/25/2022 4:37:24 PM=>Info:- Start Executing SMS Method
10/25/2022 4:37:24 PM=>Info:- End Executing SMS Method
10/25/2022 4:37:24 PM=>Info:- Start Mailing Method
10/25/2022 4:37:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:37:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:37:24 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:37:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:37:24 PM=>Info:- Count = 1
10/25/2022 4:37:24 PM=>Info:- Count 1
10/25/2022 4:37:24 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:37:24 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:37:24 PM=>Info:- Start SenMail Method
10/25/2022 4:37:24 PM=>UseDefaultCredentials
10/25/2022 4:37:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:37:24 PM=>EnableSsl = true
10/25/2022 4:37:24 PM=>DeliveryMethod
10/25/2022 4:37:24 PM=>Before Send
10/25/2022 4:37: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/25/2022 4:37:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:37:33 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:37:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:37:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:37:34 PM=>Info:- END Mailing Method
10/25/2022 4:37:34 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:37:34 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:37:34 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:37:34 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:37:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:37:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:37:34 PM=>Info - End of callingService Method
10/25/2022 4:39:34 PM=>Info - Check time Elapsed
10/25/2022 4:39:34 PM=>Info - Call callingService Method
10/25/2022 4:39:34 PM=>Info:- Call Both
10/25/2022 4:39:34 PM=>Info:- Start Executing SMS Method
10/25/2022 4:39:34 PM=>Info:- End Executing SMS Method
10/25/2022 4:39:34 PM=>Info:- Start Mailing Method
10/25/2022 4:39:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:39:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:39:34 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:39:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:39:34 PM=>Info:- Count = 1
10/25/2022 4:39:34 PM=>Info:- Count 1
10/25/2022 4:39:34 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:39:34 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:39:34 PM=>Info:- Start SenMail Method
10/25/2022 4:39:34 PM=>UseDefaultCredentials
10/25/2022 4:39:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:39:34 PM=>EnableSsl = true
10/25/2022 4:39:34 PM=>DeliveryMethod
10/25/2022 4:39:34 PM=>Before Send
10/25/2022 4:39: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/25/2022 4:39:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:39:37 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:39:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:39:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:39:37 PM=>Info:- END Mailing Method
10/25/2022 4:39:37 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:39:37 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:39:37 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:39:37 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:39:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:39:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:39:37 PM=>Info - End of callingService Method
10/25/2022 4:41:37 PM=>Info - Check time Elapsed
10/25/2022 4:41:37 PM=>Info - Call callingService Method
10/25/2022 4:41:37 PM=>Info:- Call Both
10/25/2022 4:41:37 PM=>Info:- Start Executing SMS Method
10/25/2022 4:41:37 PM=>Info:- End Executing SMS Method
10/25/2022 4:41:37 PM=>Info:- Start Mailing Method
10/25/2022 4:41:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:41:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:41:37 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:41:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:41:37 PM=>Info:- Count = 1
10/25/2022 4:41:37 PM=>Info:- Count 1
10/25/2022 4:41:37 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:41:37 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:41:37 PM=>Info:- Start SenMail Method
10/25/2022 4:41:37 PM=>UseDefaultCredentials
10/25/2022 4:41:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:41:37 PM=>EnableSsl = true
10/25/2022 4:41:37 PM=>DeliveryMethod
10/25/2022 4:41:37 PM=>Before Send
10/25/2022 4:41: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/25/2022 4:41:46 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:41:46 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:41:46 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:41:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:41:47 PM=>Info:- END Mailing Method
10/25/2022 4:41:47 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:41:47 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:41:47 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:41:47 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:41:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:41:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:41:47 PM=>Info - End of callingService Method
10/25/2022 4:43:47 PM=>Info - Check time Elapsed
10/25/2022 4:43:47 PM=>Info - Call callingService Method
10/25/2022 4:43:47 PM=>Info:- Call Both
10/25/2022 4:43:47 PM=>Info:- Start Executing SMS Method
10/25/2022 4:43:47 PM=>Info:- End Executing SMS Method
10/25/2022 4:43:47 PM=>Info:- Start Mailing Method
10/25/2022 4:43:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:43:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:43:47 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:43:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:43:47 PM=>Info:- Count = 1
10/25/2022 4:43:47 PM=>Info:- Count 1
10/25/2022 4:43:47 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:43:47 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:43:47 PM=>Info:- Start SenMail Method
10/25/2022 4:43:47 PM=>UseDefaultCredentials
10/25/2022 4:43:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:43:47 PM=>EnableSsl = true
10/25/2022 4:43:47 PM=>DeliveryMethod
10/25/2022 4:43:47 PM=>Before Send
10/25/2022 4:43: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/25/2022 4:43:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:43:50 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:43:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:43:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:43:50 PM=>Info:- END Mailing Method
10/25/2022 4:43:50 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:43:50 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:43:50 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:43:50 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:43:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:43:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:43:50 PM=>Info - End of callingService Method
10/25/2022 4:45:50 PM=>Info - Check time Elapsed
10/25/2022 4:45:50 PM=>Info - Call callingService Method
10/25/2022 4:45:50 PM=>Info:- Call Both
10/25/2022 4:45:50 PM=>Info:- Start Executing SMS Method
10/25/2022 4:45:50 PM=>Info:- End Executing SMS Method
10/25/2022 4:45:50 PM=>Info:- Start Mailing Method
10/25/2022 4:45:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:45:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:45:50 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:45:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:45:50 PM=>Info:- Count = 1
10/25/2022 4:45:50 PM=>Info:- Count 1
10/25/2022 4:45:50 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:45:50 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:45:50 PM=>Info:- Start SenMail Method
10/25/2022 4:45:50 PM=>UseDefaultCredentials
10/25/2022 4:45:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:45:50 PM=>EnableSsl = true
10/25/2022 4:45:50 PM=>DeliveryMethod
10/25/2022 4:45:50 PM=>Before Send
10/25/2022 4:45: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/25/2022 4:45:59 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:45:59 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:46:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:46:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:46:00 PM=>Info:- END Mailing Method
10/25/2022 4:46:00 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:46:00 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:46:00 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:46:00 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:46:00 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:46:00 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:46:00 PM=>Info - End of callingService Method
10/25/2022 4:48:00 PM=>Info - Check time Elapsed
10/25/2022 4:48:00 PM=>Info - Call callingService Method
10/25/2022 4:48:00 PM=>Info:- Call Both
10/25/2022 4:48:00 PM=>Info:- Start Executing SMS Method
10/25/2022 4:48:00 PM=>Info:- End Executing SMS Method
10/25/2022 4:48:00 PM=>Info:- Start Mailing Method
10/25/2022 4:48:00 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:48:00 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:48:00 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:48:00 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:48:00 PM=>Info:- Count = 1
10/25/2022 4:48:00 PM=>Info:- Count 1
10/25/2022 4:48:00 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:48:00 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:48:00 PM=>Info:- Start SenMail Method
10/25/2022 4:48:00 PM=>UseDefaultCredentials
10/25/2022 4:48:00 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:48:00 PM=>EnableSsl = true
10/25/2022 4:48:00 PM=>DeliveryMethod
10/25/2022 4:48:00 PM=>Before Send
10/25/2022 4:48: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/25/2022 4:48:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:48:42 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:48:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:48:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:48:42 PM=>Info:- END Mailing Method
10/25/2022 4:48:42 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:48:42 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:48:42 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:48:42 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:48:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:48:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:48:42 PM=>Info - End of callingService Method
10/25/2022 4:50:42 PM=>Info - Check time Elapsed
10/25/2022 4:50:42 PM=>Info - Call callingService Method
10/25/2022 4:50:42 PM=>Info:- Call Both
10/25/2022 4:50:42 PM=>Info:- Start Executing SMS Method
10/25/2022 4:50:42 PM=>Info:- End Executing SMS Method
10/25/2022 4:50:42 PM=>Info:- Start Mailing Method
10/25/2022 4:50:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:50:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:50:42 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:50:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:50:42 PM=>Info:- Count = 1
10/25/2022 4:50:42 PM=>Info:- Count 1
10/25/2022 4:50:42 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:50:42 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:50:42 PM=>Info:- Start SenMail Method
10/25/2022 4:50:42 PM=>UseDefaultCredentials
10/25/2022 4:50:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:50:42 PM=>EnableSsl = true
10/25/2022 4:50:42 PM=>DeliveryMethod
10/25/2022 4:50:42 PM=>Before Send
10/25/2022 4:50: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/25/2022 4:50:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:50:42 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:50:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:50:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:50:43 PM=>Info:- END Mailing Method
10/25/2022 4:50:43 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:50:43 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:50:43 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:50:43 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:50:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:50:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:50:43 PM=>Info - End of callingService Method
10/25/2022 4:52:43 PM=>Info - Check time Elapsed
10/25/2022 4:52:43 PM=>Info - Call callingService Method
10/25/2022 4:52:43 PM=>Info:- Call Both
10/25/2022 4:52:43 PM=>Info:- Start Executing SMS Method
10/25/2022 4:52:43 PM=>Info:- End Executing SMS Method
10/25/2022 4:52:43 PM=>Info:- Start Mailing Method
10/25/2022 4:52:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:52:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:52:43 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:52:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:52:43 PM=>Info:- Count = 1
10/25/2022 4:52:43 PM=>Info:- Count 1
10/25/2022 4:52:43 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:52:43 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:52:43 PM=>Info:- Start SenMail Method
10/25/2022 4:52:43 PM=>UseDefaultCredentials
10/25/2022 4:52:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:52:43 PM=>EnableSsl = true
10/25/2022 4:52:43 PM=>DeliveryMethod
10/25/2022 4:52:43 PM=>Before Send
10/25/2022 4:52: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/25/2022 4:52:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:52:52 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:52:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:52:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:52:52 PM=>Info:- END Mailing Method
10/25/2022 4:52:52 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:52:52 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:52:52 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:52:52 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:52:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:52:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:52:52 PM=>Info - End of callingService Method
10/25/2022 4:54:52 PM=>Info - Check time Elapsed
10/25/2022 4:54:52 PM=>Info - Call callingService Method
10/25/2022 4:54:52 PM=>Info:- Call Both
10/25/2022 4:54:52 PM=>Info:- Start Executing SMS Method
10/25/2022 4:54:52 PM=>Info:- End Executing SMS Method
10/25/2022 4:54:52 PM=>Info:- Start Mailing Method
10/25/2022 4:54:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:54:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:54:52 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:54:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:54:52 PM=>Info:- Count = 1
10/25/2022 4:54:52 PM=>Info:- Count 1
10/25/2022 4:54:52 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:54:52 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:54:52 PM=>Info:- Start SenMail Method
10/25/2022 4:54:52 PM=>UseDefaultCredentials
10/25/2022 4:54:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:54:52 PM=>EnableSsl = true
10/25/2022 4:54:52 PM=>DeliveryMethod
10/25/2022 4:54:52 PM=>Before Send
10/25/2022 4:54: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/25/2022 4:54:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:54:52 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:54:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:54:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:54:53 PM=>Info:- END Mailing Method
10/25/2022 4:54:53 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:54:53 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:54:53 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:54:53 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:54:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:54:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:54:53 PM=>Info - End of callingService Method
10/25/2022 4:56:53 PM=>Info - Check time Elapsed
10/25/2022 4:56:53 PM=>Info - Call callingService Method
10/25/2022 4:56:53 PM=>Info:- Call Both
10/25/2022 4:56:53 PM=>Info:- Start Executing SMS Method
10/25/2022 4:56:53 PM=>Info:- End Executing SMS Method
10/25/2022 4:56:53 PM=>Info:- Start Mailing Method
10/25/2022 4:56:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 4:56:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 4:56:53 PM=>Info:- PendingMail.xml file read to list
10/25/2022 4:56:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 4:56:53 PM=>Info:- Count = 1
10/25/2022 4:56:53 PM=>Info:- Count 1
10/25/2022 4:56:53 PM=>Info - Fetching Data From MAIL XML
10/25/2022 4:56:53 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 4:56:53 PM=>Info:- Start SenMail Method
10/25/2022 4:56:53 PM=>UseDefaultCredentials
10/25/2022 4:56:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 4:56:53 PM=>EnableSsl = true
10/25/2022 4:56:53 PM=>DeliveryMethod
10/25/2022 4:56:53 PM=>Before Send
10/25/2022 4:58:17 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 4:58:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 4:58:17 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 4:58:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 4:58:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 4:58:17 PM=>Info:- END Mailing Method
10/25/2022 4:58:17 PM=>Info:- Start Executing Telegram Method
10/25/2022 4:58:17 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 4:58:17 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 4:58:17 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 4:58:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 4:58:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 4:58:17 PM=>Info - End of callingService Method
10/25/2022 5:00:17 PM=>Info - Check time Elapsed
10/25/2022 5:00:17 PM=>Info - Call callingService Method
10/25/2022 5:00:17 PM=>Info:- Call Both
10/25/2022 5:00:17 PM=>Info:- Start Executing SMS Method
10/25/2022 5:00:17 PM=>Info:- End Executing SMS Method
10/25/2022 5:00:17 PM=>Info:- Start Mailing Method
10/25/2022 5:00:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:00:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:00:17 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:00:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:00:17 PM=>Info:- Count = 1
10/25/2022 5:00:17 PM=>Info:- Count 1
10/25/2022 5:00:17 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:00:17 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:00:17 PM=>Info:- Start SenMail Method
10/25/2022 5:00:17 PM=>UseDefaultCredentials
10/25/2022 5:00:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:00:17 PM=>EnableSsl = true
10/25/2022 5:00:17 PM=>DeliveryMethod
10/25/2022 5:00:17 PM=>Before Send
10/25/2022 5:00: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/25/2022 5:00:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:00:26 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:00:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:00:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:00:27 PM=>Info:- END Mailing Method
10/25/2022 5:00:27 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:00:27 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:00:27 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:00:27 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:00:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:00:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:00:27 PM=>Info - End of callingService Method
10/25/2022 5:02:27 PM=>Info - Check time Elapsed
10/25/2022 5:02:27 PM=>Info - Call callingService Method
10/25/2022 5:02:27 PM=>Info:- Call Both
10/25/2022 5:02:27 PM=>Info:- Start Executing SMS Method
10/25/2022 5:02:27 PM=>Info:- End Executing SMS Method
10/25/2022 5:02:27 PM=>Info:- Start Mailing Method
10/25/2022 5:02:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:02:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:02:27 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:02:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:02:27 PM=>Info:- Count = 1
10/25/2022 5:02:27 PM=>Info:- Count 1
10/25/2022 5:02:27 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:02:27 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:02:27 PM=>Info:- Start SenMail Method
10/25/2022 5:02:27 PM=>UseDefaultCredentials
10/25/2022 5:02:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:02:27 PM=>EnableSsl = true
10/25/2022 5:02:27 PM=>DeliveryMethod
10/25/2022 5:02:27 PM=>Before Send
10/25/2022 5:03: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.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/25/2022 5:03:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:03:51 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:03:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:03:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:03:51 PM=>Info:- END Mailing Method
10/25/2022 5:03:51 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:03:51 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:03:51 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:03:51 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:03:51 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:03:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:03:51 PM=>Info - End of callingService Method
10/25/2022 5:05:51 PM=>Info - Check time Elapsed
10/25/2022 5:05:51 PM=>Info - Call callingService Method
10/25/2022 5:05:51 PM=>Info:- Call Both
10/25/2022 5:05:51 PM=>Info:- Start Executing SMS Method
10/25/2022 5:05:51 PM=>Info:- End Executing SMS Method
10/25/2022 5:05:51 PM=>Info:- Start Mailing Method
10/25/2022 5:05:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:05:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:05:51 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:05:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:05:51 PM=>Info:- Count = 1
10/25/2022 5:05:51 PM=>Info:- Count 1
10/25/2022 5:05:51 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:05:51 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:05:51 PM=>Info:- Start SenMail Method
10/25/2022 5:05:51 PM=>UseDefaultCredentials
10/25/2022 5:05:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:05:51 PM=>EnableSsl = true
10/25/2022 5:05:51 PM=>DeliveryMethod
10/25/2022 5:05:51 PM=>Before Send
10/25/2022 5:07:15 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.109.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/25/2022 5:07:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:07:15 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:07:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:07:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:07:16 PM=>Info:- END Mailing Method
10/25/2022 5:07:16 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:07:16 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:07:16 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:07:16 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:07:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:07:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:07:16 PM=>Info - End of callingService Method
10/25/2022 5:09:16 PM=>Info - Check time Elapsed
10/25/2022 5:09:16 PM=>Info - Call callingService Method
10/25/2022 5:09:16 PM=>Info:- Call Both
10/25/2022 5:09:16 PM=>Info:- Start Executing SMS Method
10/25/2022 5:09:16 PM=>Info:- End Executing SMS Method
10/25/2022 5:09:16 PM=>Info:- Start Mailing Method
10/25/2022 5:09:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:09:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:09:16 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:09:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:09:16 PM=>Info:- Count = 1
10/25/2022 5:09:16 PM=>Info:- Count 1
10/25/2022 5:09:16 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:09:16 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:09:16 PM=>Info:- Start SenMail Method
10/25/2022 5:09:16 PM=>UseDefaultCredentials
10/25/2022 5:09:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:09:16 PM=>EnableSsl = true
10/25/2022 5:09:16 PM=>DeliveryMethod
10/25/2022 5:09:16 PM=>Before Send
10/25/2022 5:09: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/25/2022 5:09:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:09:19 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:09:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:09:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:09:19 PM=>Info:- END Mailing Method
10/25/2022 5:09:19 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:09:19 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:09:19 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:09:19 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:09:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:09:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:09:19 PM=>Info - End of callingService Method
10/25/2022 5:11:19 PM=>Info - Check time Elapsed
10/25/2022 5:11:19 PM=>Info - Call callingService Method
10/25/2022 5:11:19 PM=>Info:- Call Both
10/25/2022 5:11:19 PM=>Info:- Start Executing SMS Method
10/25/2022 5:11:19 PM=>Info:- End Executing SMS Method
10/25/2022 5:11:19 PM=>Info:- Start Mailing Method
10/25/2022 5:11:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:11:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:11:19 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:11:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:11:19 PM=>Info:- Count = 1
10/25/2022 5:11:19 PM=>Info:- Count 1
10/25/2022 5:11:19 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:11:19 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:11:19 PM=>Info:- Start SenMail Method
10/25/2022 5:11:19 PM=>UseDefaultCredentials
10/25/2022 5:11:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:11:19 PM=>EnableSsl = true
10/25/2022 5:11:19 PM=>DeliveryMethod
10/25/2022 5:11:19 PM=>Before Send
10/25/2022 5:11: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/25/2022 5:11:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:11:22 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:11:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:11:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:11:23 PM=>Info:- END Mailing Method
10/25/2022 5:11:23 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:11:23 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:11:23 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:11:23 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:11:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:11:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:11:23 PM=>Info - End of callingService Method
10/25/2022 5:13:23 PM=>Info - Check time Elapsed
10/25/2022 5:13:23 PM=>Info - Call callingService Method
10/25/2022 5:13:23 PM=>Info:- Call Both
10/25/2022 5:13:23 PM=>Info:- Start Executing SMS Method
10/25/2022 5:13:23 PM=>Info:- End Executing SMS Method
10/25/2022 5:13:23 PM=>Info:- Start Mailing Method
10/25/2022 5:13:23 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:13:23 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:13:23 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:13:23 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:13:23 PM=>Info:- Count = 1
10/25/2022 5:13:23 PM=>Info:- Count 1
10/25/2022 5:13:23 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:13:23 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:13:23 PM=>Info:- Start SenMail Method
10/25/2022 5:13:23 PM=>UseDefaultCredentials
10/25/2022 5:13:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:13:23 PM=>EnableSsl = true
10/25/2022 5:13:23 PM=>DeliveryMethod
10/25/2022 5:13:23 PM=>Before Send
10/25/2022 5:14: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/25/2022 5:14:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:14:08 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:14:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:14:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:14:08 PM=>Info:- END Mailing Method
10/25/2022 5:14:08 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:14:08 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:14:08 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:14:08 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:14:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:14:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:14:08 PM=>Info - End of callingService Method
10/25/2022 5:16:08 PM=>Info - Check time Elapsed
10/25/2022 5:16:08 PM=>Info - Call callingService Method
10/25/2022 5:16:08 PM=>Info:- Call Both
10/25/2022 5:16:08 PM=>Info:- Start Executing SMS Method
10/25/2022 5:16:08 PM=>Info:- End Executing SMS Method
10/25/2022 5:16:08 PM=>Info:- Start Mailing Method
10/25/2022 5:16:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:16:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:16:08 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:16:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:16:08 PM=>Info:- Count = 1
10/25/2022 5:16:08 PM=>Info:- Count 1
10/25/2022 5:16:08 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:16:08 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:16:08 PM=>Info:- Start SenMail Method
10/25/2022 5:16:08 PM=>UseDefaultCredentials
10/25/2022 5:16:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:16:08 PM=>EnableSsl = true
10/25/2022 5:16:08 PM=>DeliveryMethod
10/25/2022 5:16:08 PM=>Before Send
10/25/2022 5:16: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/25/2022 5:16:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:16:08 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:16:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:16:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:16:09 PM=>Info:- END Mailing Method
10/25/2022 5:16:09 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:16:09 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:16:09 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:16:09 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:16:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:16:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:16:09 PM=>Info - End of callingService Method
10/25/2022 5:18:09 PM=>Info - Check time Elapsed
10/25/2022 5:18:09 PM=>Info - Call callingService Method
10/25/2022 5:18:09 PM=>Info:- Call Both
10/25/2022 5:18:09 PM=>Info:- Start Executing SMS Method
10/25/2022 5:18:09 PM=>Info:- End Executing SMS Method
10/25/2022 5:18:09 PM=>Info:- Start Mailing Method
10/25/2022 5:18:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:18:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:18:09 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:18:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:18:09 PM=>Info:- Count = 1
10/25/2022 5:18:09 PM=>Info:- Count 1
10/25/2022 5:18:09 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:18:09 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:18:09 PM=>Info:- Start SenMail Method
10/25/2022 5:18:09 PM=>UseDefaultCredentials
10/25/2022 5:18:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:18:09 PM=>EnableSsl = true
10/25/2022 5:18:09 PM=>DeliveryMethod
10/25/2022 5:18:09 PM=>Before Send
10/25/2022 5:19: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.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/25/2022 5:19:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:19:33 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:19:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:19:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:19:33 PM=>Info:- END Mailing Method
10/25/2022 5:19:33 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:19:33 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:19:33 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:19:33 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:19:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:19:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:19:33 PM=>Info - End of callingService Method
10/25/2022 5:21:33 PM=>Info - Check time Elapsed
10/25/2022 5:21:33 PM=>Info - Call callingService Method
10/25/2022 5:21:33 PM=>Info:- Call Both
10/25/2022 5:21:33 PM=>Info:- Start Executing SMS Method
10/25/2022 5:21:33 PM=>Info:- End Executing SMS Method
10/25/2022 5:21:33 PM=>Info:- Start Mailing Method
10/25/2022 5:21:33 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:21:33 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:21:33 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:21:33 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:21:33 PM=>Info:- Count = 1
10/25/2022 5:21:33 PM=>Info:- Count 1
10/25/2022 5:21:33 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:21:33 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:21:33 PM=>Info:- Start SenMail Method
10/25/2022 5:21:33 PM=>UseDefaultCredentials
10/25/2022 5:21:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:21:33 PM=>EnableSsl = true
10/25/2022 5:21:33 PM=>DeliveryMethod
10/25/2022 5:21:33 PM=>Before Send
10/25/2022 5:22: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 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/25/2022 5:22:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:22:57 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:22:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:22:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:22:58 PM=>Info:- END Mailing Method
10/25/2022 5:22:58 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:22:58 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:22:58 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:22:58 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:22:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:22:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:22:58 PM=>Info - End of callingService Method
10/25/2022 5:24:58 PM=>Info - Check time Elapsed
10/25/2022 5:24:58 PM=>Info - Call callingService Method
10/25/2022 5:24:58 PM=>Info:- Call Both
10/25/2022 5:24:58 PM=>Info:- Start Executing SMS Method
10/25/2022 5:24:58 PM=>Info:- End Executing SMS Method
10/25/2022 5:24:58 PM=>Info:- Start Mailing Method
10/25/2022 5:24:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:24:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:24:58 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:24:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:24:58 PM=>Info:- Count = 1
10/25/2022 5:24:58 PM=>Info:- Count 1
10/25/2022 5:24:58 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:24:58 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:24:58 PM=>Info:- Start SenMail Method
10/25/2022 5:24:58 PM=>UseDefaultCredentials
10/25/2022 5:24:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:24:58 PM=>EnableSsl = true
10/25/2022 5:24:58 PM=>DeliveryMethod
10/25/2022 5:24:58 PM=>Before Send
10/25/2022 5:26: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 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/25/2022 5:26:22 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:26:22 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:26:22 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:26:22 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:26:23 PM=>Info:- END Mailing Method
10/25/2022 5:26:23 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:26:23 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:26:23 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:26:23 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:26:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:26:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:26:23 PM=>Info - End of callingService Method
10/25/2022 5:28:23 PM=>Info - Check time Elapsed
10/25/2022 5:28:23 PM=>Info - Call callingService Method
10/25/2022 5:28:23 PM=>Info:- Call Both
10/25/2022 5:28:23 PM=>Info:- Start Executing SMS Method
10/25/2022 5:28:23 PM=>Info:- End Executing SMS Method
10/25/2022 5:28:23 PM=>Info:- Start Mailing Method
10/25/2022 5:28:23 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:28:23 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:28:23 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:28:23 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:28:23 PM=>Info:- Count = 1
10/25/2022 5:28:23 PM=>Info:- Count 1
10/25/2022 5:28:23 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:28:23 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:28:23 PM=>Info:- Start SenMail Method
10/25/2022 5:28:23 PM=>UseDefaultCredentials
10/25/2022 5:28:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:28:23 PM=>EnableSsl = true
10/25/2022 5:28:23 PM=>DeliveryMethod
10/25/2022 5:28:23 PM=>Before Send
10/25/2022 5:29: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/25/2022 5:29:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:29:05 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:29:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:29:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:29:05 PM=>Info:- END Mailing Method
10/25/2022 5:29:05 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:29:05 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:29:05 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:29:05 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:29:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:29:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:29:05 PM=>Info - End of callingService Method
10/25/2022 5:31:05 PM=>Info - Check time Elapsed
10/25/2022 5:31:05 PM=>Info - Call callingService Method
10/25/2022 5:31:05 PM=>Info:- Call Both
10/25/2022 5:31:05 PM=>Info:- Start Executing SMS Method
10/25/2022 5:31:05 PM=>Info:- End Executing SMS Method
10/25/2022 5:31:05 PM=>Info:- Start Mailing Method
10/25/2022 5:31:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:31:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:31:05 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:31:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:31:05 PM=>Info:- Count = 1
10/25/2022 5:31:05 PM=>Info:- Count 1
10/25/2022 5:31:05 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:31:05 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:31:05 PM=>Info:- Start SenMail Method
10/25/2022 5:31:05 PM=>UseDefaultCredentials
10/25/2022 5:31:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:31:05 PM=>EnableSsl = true
10/25/2022 5:31:05 PM=>DeliveryMethod
10/25/2022 5:31:05 PM=>Before Send
10/25/2022 5:31: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/25/2022 5:31:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:31:05 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:31:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:31:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:31:05 PM=>Info:- END Mailing Method
10/25/2022 5:31:05 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:31:05 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:31:05 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:31:05 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:31:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:31:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:31:05 PM=>Info - End of callingService Method
10/25/2022 5:33:06 PM=>Info - Check time Elapsed
10/25/2022 5:33:06 PM=>Info - Call callingService Method
10/25/2022 5:33:06 PM=>Info:- Call Both
10/25/2022 5:33:06 PM=>Info:- Start Executing SMS Method
10/25/2022 5:33:06 PM=>Info:- End Executing SMS Method
10/25/2022 5:33:06 PM=>Info:- Start Mailing Method
10/25/2022 5:33:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:33:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:33:06 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:33:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:33:06 PM=>Info:- Count = 1
10/25/2022 5:33:06 PM=>Info:- Count 1
10/25/2022 5:33:06 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:33:06 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:33:06 PM=>Info:- Start SenMail Method
10/25/2022 5:33:06 PM=>UseDefaultCredentials
10/25/2022 5:33:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:33:06 PM=>EnableSsl = true
10/25/2022 5:33:06 PM=>DeliveryMethod
10/25/2022 5:33:06 PM=>Before Send
10/25/2022 5:33: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/25/2022 5:33:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:33:15 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:33:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:33:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:33:15 PM=>Info:- END Mailing Method
10/25/2022 5:33:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:33:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:33:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:33:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:33:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:33:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:33:15 PM=>Info - End of callingService Method
10/25/2022 5:35:15 PM=>Info - Check time Elapsed
10/25/2022 5:35:15 PM=>Info - Call callingService Method
10/25/2022 5:35:15 PM=>Info:- Call Both
10/25/2022 5:35:15 PM=>Info:- Start Executing SMS Method
10/25/2022 5:35:15 PM=>Info:- End Executing SMS Method
10/25/2022 5:35:15 PM=>Info:- Start Mailing Method
10/25/2022 5:35:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:35:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:35:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:35:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:35:15 PM=>Info:- Count = 1
10/25/2022 5:35:15 PM=>Info:- Count 1
10/25/2022 5:35:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:35:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:35:15 PM=>Info:- Start SenMail Method
10/25/2022 5:35:15 PM=>UseDefaultCredentials
10/25/2022 5:35:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:35:15 PM=>EnableSsl = true
10/25/2022 5:35:15 PM=>DeliveryMethod
10/25/2022 5:35:15 PM=>Before Send
10/25/2022 5:35: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/25/2022 5:35:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:35:15 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:35:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:35:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:35:15 PM=>Info:- END Mailing Method
10/25/2022 5:35:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:35:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:35:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:35:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:35:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:35:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:35:15 PM=>Info - End of callingService Method
10/25/2022 5:37:15 PM=>Info - Check time Elapsed
10/25/2022 5:37:15 PM=>Info - Call callingService Method
10/25/2022 5:37:15 PM=>Info:- Call Both
10/25/2022 5:37:15 PM=>Info:- Start Executing SMS Method
10/25/2022 5:37:15 PM=>Info:- End Executing SMS Method
10/25/2022 5:37:15 PM=>Info:- Start Mailing Method
10/25/2022 5:37:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:37:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:37:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:37:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:37:15 PM=>Info:- Count = 1
10/25/2022 5:37:15 PM=>Info:- Count 1
10/25/2022 5:37:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:37:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:37:15 PM=>Info:- Start SenMail Method
10/25/2022 5:37:15 PM=>UseDefaultCredentials
10/25/2022 5:37:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:37:15 PM=>EnableSsl = true
10/25/2022 5:37:15 PM=>DeliveryMethod
10/25/2022 5:37:15 PM=>Before Send
10/25/2022 5:37: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/25/2022 5:37:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:37:15 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:37:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:37:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:37:16 PM=>Info:- END Mailing Method
10/25/2022 5:37:16 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:37:16 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:37:16 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:37:16 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:37:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:37:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:37:16 PM=>Info - End of callingService Method
10/25/2022 5:39:16 PM=>Info - Check time Elapsed
10/25/2022 5:39:16 PM=>Info - Call callingService Method
10/25/2022 5:39:16 PM=>Info:- Call Both
10/25/2022 5:39:16 PM=>Info:- Start Executing SMS Method
10/25/2022 5:39:16 PM=>Info:- End Executing SMS Method
10/25/2022 5:39:16 PM=>Info:- Start Mailing Method
10/25/2022 5:39:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:39:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:39:16 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:39:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:39:16 PM=>Info:- Count = 1
10/25/2022 5:39:16 PM=>Info:- Count 1
10/25/2022 5:39:16 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:39:16 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:39:16 PM=>Info:- Start SenMail Method
10/25/2022 5:39:16 PM=>UseDefaultCredentials
10/25/2022 5:39:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:39:16 PM=>EnableSsl = true
10/25/2022 5:39:16 PM=>DeliveryMethod
10/25/2022 5:39:16 PM=>Before Send
10/25/2022 5:39:25 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 5:39:25 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:39:25 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:39:25 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:39:25 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:39:25 PM=>Info:- END Mailing Method
10/25/2022 5:39:25 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:39:25 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:39:25 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:39:25 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:39:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:39:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:39:25 PM=>Info - End of callingService Method
10/25/2022 5:41:25 PM=>Info - Check time Elapsed
10/25/2022 5:41:25 PM=>Info - Call callingService Method
10/25/2022 5:41:25 PM=>Info:- Call Both
10/25/2022 5:41:25 PM=>Info:- Start Executing SMS Method
10/25/2022 5:41:25 PM=>Info:- End Executing SMS Method
10/25/2022 5:41:25 PM=>Info:- Start Mailing Method
10/25/2022 5:41:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:41:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:41:25 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:41:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:41:25 PM=>Info:- Count = 1
10/25/2022 5:41:25 PM=>Info:- Count 1
10/25/2022 5:41:25 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:41:25 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:41:25 PM=>Info:- Start SenMail Method
10/25/2022 5:41:25 PM=>UseDefaultCredentials
10/25/2022 5:41:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:41:25 PM=>EnableSsl = true
10/25/2022 5:41:25 PM=>DeliveryMethod
10/25/2022 5:41:25 PM=>Before Send
10/25/2022 5:42: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.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/25/2022 5:42:50 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:42:50 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:42:50 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:42:50 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:42:50 PM=>Info:- END Mailing Method
10/25/2022 5:42:50 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:42:50 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:42:50 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:42:50 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:42:50 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:42:50 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:42:50 PM=>Info - End of callingService Method
10/25/2022 5:44:50 PM=>Info - Check time Elapsed
10/25/2022 5:44:50 PM=>Info - Call callingService Method
10/25/2022 5:44:50 PM=>Info:- Call Both
10/25/2022 5:44:50 PM=>Info:- Start Executing SMS Method
10/25/2022 5:44:50 PM=>Info:- End Executing SMS Method
10/25/2022 5:44:50 PM=>Info:- Start Mailing Method
10/25/2022 5:44:50 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:44:50 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:44:50 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:44:50 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:44:50 PM=>Info:- Count = 1
10/25/2022 5:44:50 PM=>Info:- Count 1
10/25/2022 5:44:50 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:44:50 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:44:50 PM=>Info:- Start SenMail Method
10/25/2022 5:44:50 PM=>UseDefaultCredentials
10/25/2022 5:44:50 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:44:50 PM=>EnableSsl = true
10/25/2022 5:44:50 PM=>DeliveryMethod
10/25/2022 5:44:50 PM=>Before Send
10/25/2022 5:46: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.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/25/2022 5:46:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:46:14 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:46:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:46:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:46:15 PM=>Info:- END Mailing Method
10/25/2022 5:46:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:46:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:46:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:46:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:46:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:46:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:46:15 PM=>Info - End of callingService Method
10/25/2022 5:48:15 PM=>Info - Check time Elapsed
10/25/2022 5:48:15 PM=>Info - Call callingService Method
10/25/2022 5:48:15 PM=>Info:- Call Both
10/25/2022 5:48:15 PM=>Info:- Start Executing SMS Method
10/25/2022 5:48:15 PM=>Info:- End Executing SMS Method
10/25/2022 5:48:15 PM=>Info:- Start Mailing Method
10/25/2022 5:48:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:48:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:48:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:48:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:48:15 PM=>Info:- Count = 1
10/25/2022 5:48:15 PM=>Info:- Count 1
10/25/2022 5:48:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:48:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:48:15 PM=>Info:- Start SenMail Method
10/25/2022 5:48:15 PM=>UseDefaultCredentials
10/25/2022 5:48:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:48:15 PM=>EnableSsl = true
10/25/2022 5:48:15 PM=>DeliveryMethod
10/25/2022 5:48:15 PM=>Before Send
10/25/2022 5:48: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/25/2022 5:48:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:48:24 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:48:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:48:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:48:24 PM=>Info:- END Mailing Method
10/25/2022 5:48:24 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:48:24 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:48:24 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:48:24 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:48:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:48:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:48:24 PM=>Info - End of callingService Method
10/25/2022 5:50:24 PM=>Info - Check time Elapsed
10/25/2022 5:50:24 PM=>Info - Call callingService Method
10/25/2022 5:50:24 PM=>Info:- Call Both
10/25/2022 5:50:24 PM=>Info:- Start Executing SMS Method
10/25/2022 5:50:24 PM=>Info:- End Executing SMS Method
10/25/2022 5:50:24 PM=>Info:- Start Mailing Method
10/25/2022 5:50:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:50:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:50:24 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:50:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:50:24 PM=>Info:- Count = 1
10/25/2022 5:50:24 PM=>Info:- Count 1
10/25/2022 5:50:24 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:50:24 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:50:24 PM=>Info:- Start SenMail Method
10/25/2022 5:50:24 PM=>UseDefaultCredentials
10/25/2022 5:50:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:50:24 PM=>EnableSsl = true
10/25/2022 5:50:24 PM=>DeliveryMethod
10/25/2022 5:50:24 PM=>Before Send
10/25/2022 5:50: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/25/2022 5:50:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:50:33 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:50:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:50:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:50:34 PM=>Info:- END Mailing Method
10/25/2022 5:50:34 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:50:34 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:50:34 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:50:34 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:50:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:50:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:50:34 PM=>Info - End of callingService Method
10/25/2022 5:52:34 PM=>Info - Check time Elapsed
10/25/2022 5:52:34 PM=>Info - Call callingService Method
10/25/2022 5:52:34 PM=>Info:- Call Both
10/25/2022 5:52:34 PM=>Info:- Start Executing SMS Method
10/25/2022 5:52:34 PM=>Info:- End Executing SMS Method
10/25/2022 5:52:34 PM=>Info:- Start Mailing Method
10/25/2022 5:52:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:52:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:52:34 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:52:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:52:34 PM=>Info:- Count = 1
10/25/2022 5:52:34 PM=>Info:- Count 1
10/25/2022 5:52:34 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:52:34 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:52:34 PM=>Info:- Start SenMail Method
10/25/2022 5:52:34 PM=>UseDefaultCredentials
10/25/2022 5:52:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:52:34 PM=>EnableSsl = true
10/25/2022 5:52:34 PM=>DeliveryMethod
10/25/2022 5:52:34 PM=>Before Send
10/25/2022 5:52: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/25/2022 5:52:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:52:37 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:52:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:52:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:52:37 PM=>Info:- END Mailing Method
10/25/2022 5:52:37 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:52:37 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:52:37 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:52:37 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:52:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:52:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:52:37 PM=>Info - End of callingService Method
10/25/2022 5:54:37 PM=>Info - Check time Elapsed
10/25/2022 5:54:37 PM=>Info - Call callingService Method
10/25/2022 5:54:37 PM=>Info:- Call Both
10/25/2022 5:54:37 PM=>Info:- Start Executing SMS Method
10/25/2022 5:54:37 PM=>Info:- End Executing SMS Method
10/25/2022 5:54:37 PM=>Info:- Start Mailing Method
10/25/2022 5:54:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:54:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:54:37 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:54:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:54:37 PM=>Info:- Count = 1
10/25/2022 5:54:37 PM=>Info:- Count 1
10/25/2022 5:54:37 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:54:37 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:54:37 PM=>Info:- Start SenMail Method
10/25/2022 5:54:37 PM=>UseDefaultCredentials
10/25/2022 5:54:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:54:37 PM=>EnableSsl = true
10/25/2022 5:54:37 PM=>DeliveryMethod
10/25/2022 5:54:37 PM=>Before Send
10/25/2022 5:54: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/25/2022 5:54:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:54:58 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:54:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:54:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:54:59 PM=>Info:- END Mailing Method
10/25/2022 5:54:59 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:54:59 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:54:59 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:54:59 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:54:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:54:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:54:59 PM=>Info - End of callingService Method
10/25/2022 5:56:59 PM=>Info - Check time Elapsed
10/25/2022 5:56:59 PM=>Info - Call callingService Method
10/25/2022 5:56:59 PM=>Info:- Call Both
10/25/2022 5:56:59 PM=>Info:- Start Executing SMS Method
10/25/2022 5:56:59 PM=>Info:- End Executing SMS Method
10/25/2022 5:56:59 PM=>Info:- Start Mailing Method
10/25/2022 5:56:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:56:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:56:59 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:56:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:56:59 PM=>Info:- Count = 1
10/25/2022 5:56:59 PM=>Info:- Count 1
10/25/2022 5:56:59 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:56:59 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:56:59 PM=>Info:- Start SenMail Method
10/25/2022 5:56:59 PM=>UseDefaultCredentials
10/25/2022 5:56:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:56:59 PM=>EnableSsl = true
10/25/2022 5:56:59 PM=>DeliveryMethod
10/25/2022 5:56:59 PM=>Before Send
10/25/2022 5:57: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/25/2022 5:57:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:57:08 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:57:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:57:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:57:08 PM=>Info:- END Mailing Method
10/25/2022 5:57:08 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:57:08 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:57:08 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:57:08 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:57:08 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:57:08 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:57:08 PM=>Info - End of callingService Method
10/25/2022 5:59:08 PM=>Info - Check time Elapsed
10/25/2022 5:59:08 PM=>Info - Call callingService Method
10/25/2022 5:59:08 PM=>Info:- Call Both
10/25/2022 5:59:08 PM=>Info:- Start Executing SMS Method
10/25/2022 5:59:08 PM=>Info:- End Executing SMS Method
10/25/2022 5:59:08 PM=>Info:- Start Mailing Method
10/25/2022 5:59:08 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 5:59:08 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 5:59:08 PM=>Info:- PendingMail.xml file read to list
10/25/2022 5:59:08 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 5:59:08 PM=>Info:- Count = 1
10/25/2022 5:59:08 PM=>Info:- Count 1
10/25/2022 5:59:08 PM=>Info - Fetching Data From MAIL XML
10/25/2022 5:59:08 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 5:59:08 PM=>Info:- Start SenMail Method
10/25/2022 5:59:08 PM=>UseDefaultCredentials
10/25/2022 5:59:08 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 5:59:08 PM=>EnableSsl = true
10/25/2022 5:59:08 PM=>DeliveryMethod
10/25/2022 5:59:08 PM=>Before Send
10/25/2022 5:59: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/25/2022 5:59:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 5:59:08 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 5:59:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 5:59:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 5:59:09 PM=>Info:- END Mailing Method
10/25/2022 5:59:09 PM=>Info:- Start Executing Telegram Method
10/25/2022 5:59:09 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 5:59:09 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 5:59:09 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 5:59:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 5:59:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 5:59:09 PM=>Info - End of callingService Method
10/25/2022 6:01:09 PM=>Info - Check time Elapsed
10/25/2022 6:01:09 PM=>Info - Call callingService Method
10/25/2022 6:01:09 PM=>Info:- Call Both
10/25/2022 6:01:09 PM=>Info:- Start Executing SMS Method
10/25/2022 6:01:09 PM=>Info:- End Executing SMS Method
10/25/2022 6:01:09 PM=>Info:- Start Mailing Method
10/25/2022 6:01:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:01:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:01:09 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:01:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:01:09 PM=>Info:- Count = 1
10/25/2022 6:01:09 PM=>Info:- Count 1
10/25/2022 6:01:09 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:01:09 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:01:09 PM=>Info:- Start SenMail Method
10/25/2022 6:01:09 PM=>UseDefaultCredentials
10/25/2022 6:01:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:01:09 PM=>EnableSsl = true
10/25/2022 6:01:09 PM=>DeliveryMethod
10/25/2022 6:01:09 PM=>Before Send
10/25/2022 6:01: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/25/2022 6:01:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:01:09 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:01:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:01:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:01:09 PM=>Info:- END Mailing Method
10/25/2022 6:01:09 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:01:09 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:01:09 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:01:09 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:01:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:01:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:01:09 PM=>Info - End of callingService Method
10/25/2022 6:03:09 PM=>Info - Check time Elapsed
10/25/2022 6:03:09 PM=>Info - Call callingService Method
10/25/2022 6:03:09 PM=>Info:- Call Both
10/25/2022 6:03:09 PM=>Info:- Start Executing SMS Method
10/25/2022 6:03:09 PM=>Info:- End Executing SMS Method
10/25/2022 6:03:09 PM=>Info:- Start Mailing Method
10/25/2022 6:03:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:03:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:03:09 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:03:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:03:09 PM=>Info:- Count = 1
10/25/2022 6:03:09 PM=>Info:- Count 1
10/25/2022 6:03:09 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:03:09 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:03:09 PM=>Info:- Start SenMail Method
10/25/2022 6:03:09 PM=>UseDefaultCredentials
10/25/2022 6:03:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:03:09 PM=>EnableSsl = true
10/25/2022 6:03:09 PM=>DeliveryMethod
10/25/2022 6:03:09 PM=>Before Send
10/25/2022 6:04:12 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 6:04:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:04:12 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:04:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:04:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:04:12 PM=>Info:- END Mailing Method
10/25/2022 6:04:12 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:04:12 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:04:12 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:04:12 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:04:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:04:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:04:12 PM=>Info - End of callingService Method
10/25/2022 6:06:12 PM=>Info - Check time Elapsed
10/25/2022 6:06:12 PM=>Info - Call callingService Method
10/25/2022 6:06:12 PM=>Info:- Call Both
10/25/2022 6:06:13 PM=>Info:- Start Executing SMS Method
10/25/2022 6:06:13 PM=>Info:- End Executing SMS Method
10/25/2022 6:06:13 PM=>Info:- Start Mailing Method
10/25/2022 6:06:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:06:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:06:13 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:06:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:06:13 PM=>Info:- Count = 1
10/25/2022 6:06:13 PM=>Info:- Count 1
10/25/2022 6:06:13 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:06:13 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:06:13 PM=>Info:- Start SenMail Method
10/25/2022 6:06:13 PM=>UseDefaultCredentials
10/25/2022 6:06:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:06:13 PM=>EnableSsl = true
10/25/2022 6:06:13 PM=>DeliveryMethod
10/25/2022 6:06:13 PM=>Before Send
10/25/2022 6:06: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/25/2022 6:06:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:06:55 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:06:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:06:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:06:55 PM=>Info:- END Mailing Method
10/25/2022 6:06:55 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:06:55 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:06:55 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:06:55 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:06:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:06:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:06:55 PM=>Info - End of callingService Method
10/25/2022 6:08:55 PM=>Info - Check time Elapsed
10/25/2022 6:08:55 PM=>Info - Call callingService Method
10/25/2022 6:08:55 PM=>Info:- Call Both
10/25/2022 6:08:55 PM=>Info:- Start Executing SMS Method
10/25/2022 6:08:55 PM=>Info:- End Executing SMS Method
10/25/2022 6:08:55 PM=>Info:- Start Mailing Method
10/25/2022 6:08:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:08:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:08:55 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:08:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:08:55 PM=>Info:- Count = 1
10/25/2022 6:08:55 PM=>Info:- Count 1
10/25/2022 6:08:55 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:08:55 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:08:55 PM=>Info:- Start SenMail Method
10/25/2022 6:08:55 PM=>UseDefaultCredentials
10/25/2022 6:08:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:08:55 PM=>EnableSsl = true
10/25/2022 6:08:55 PM=>DeliveryMethod
10/25/2022 6:08:55 PM=>Before Send
10/25/2022 6:10:19 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 6:10:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:10:19 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:10:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:10:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:10:20 PM=>Info:- END Mailing Method
10/25/2022 6:10:20 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:10:20 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:10:20 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:10:20 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:10:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:10:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:10:20 PM=>Info - End of callingService Method
10/25/2022 6:12:20 PM=>Info - Check time Elapsed
10/25/2022 6:12:20 PM=>Info - Call callingService Method
10/25/2022 6:12:20 PM=>Info:- Call Both
10/25/2022 6:12:20 PM=>Info:- Start Executing SMS Method
10/25/2022 6:12:20 PM=>Info:- End Executing SMS Method
10/25/2022 6:12:20 PM=>Info:- Start Mailing Method
10/25/2022 6:12:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:12:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:12:20 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:12:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:12:20 PM=>Info:- Count = 1
10/25/2022 6:12:20 PM=>Info:- Count 1
10/25/2022 6:12:20 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:12:20 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:12:20 PM=>Info:- Start SenMail Method
10/25/2022 6:12:20 PM=>UseDefaultCredentials
10/25/2022 6:12:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:12:20 PM=>EnableSsl = true
10/25/2022 6:12:20 PM=>DeliveryMethod
10/25/2022 6:12:20 PM=>Before Send
10/25/2022 6:12: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/25/2022 6:12:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:12:20 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:12:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:12:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:12:20 PM=>Info:- END Mailing Method
10/25/2022 6:12:20 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:12:20 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:12:20 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:12:20 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:12:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:12:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:12:20 PM=>Info - End of callingService Method
10/25/2022 6:14:20 PM=>Info - Check time Elapsed
10/25/2022 6:14:20 PM=>Info - Call callingService Method
10/25/2022 6:14:20 PM=>Info:- Call Both
10/25/2022 6:14:20 PM=>Info:- Start Executing SMS Method
10/25/2022 6:14:20 PM=>Info:- End Executing SMS Method
10/25/2022 6:14:20 PM=>Info:- Start Mailing Method
10/25/2022 6:14:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:14:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:14:20 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:14:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:14:20 PM=>Info:- Count = 1
10/25/2022 6:14:20 PM=>Info:- Count 1
10/25/2022 6:14:20 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:14:20 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:14:20 PM=>Info:- Start SenMail Method
10/25/2022 6:14:20 PM=>UseDefaultCredentials
10/25/2022 6:14:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:14:20 PM=>EnableSsl = true
10/25/2022 6:14:20 PM=>DeliveryMethod
10/25/2022 6:14:20 PM=>Before Send
10/25/2022 6:14: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/25/2022 6:14:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:14:20 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:14:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:14:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:14:20 PM=>Info:- END Mailing Method
10/25/2022 6:14:20 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:14:20 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:14:20 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:14:20 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:14:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:14:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:14:20 PM=>Info - End of callingService Method
10/25/2022 6:16:20 PM=>Info - Check time Elapsed
10/25/2022 6:16:20 PM=>Info - Call callingService Method
10/25/2022 6:16:20 PM=>Info:- Call Both
10/25/2022 6:16:20 PM=>Info:- Start Executing SMS Method
10/25/2022 6:16:20 PM=>Info:- End Executing SMS Method
10/25/2022 6:16:20 PM=>Info:- Start Mailing Method
10/25/2022 6:16:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:16:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:16:21 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:16:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:16:21 PM=>Info:- Count = 1
10/25/2022 6:16:21 PM=>Info:- Count 1
10/25/2022 6:16:21 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:16:21 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:16:21 PM=>Info:- Start SenMail Method
10/25/2022 6:16:21 PM=>UseDefaultCredentials
10/25/2022 6:16:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:16:21 PM=>EnableSsl = true
10/25/2022 6:16:21 PM=>DeliveryMethod
10/25/2022 6:16:21 PM=>Before Send
10/25/2022 6:16: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/25/2022 6:16:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:16:42 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:16:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:16:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:16:42 PM=>Info:- END Mailing Method
10/25/2022 6:16:42 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:16:42 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:16:42 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:16:42 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:16:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:16:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:16:42 PM=>Info - End of callingService Method
10/25/2022 6:18:42 PM=>Info - Check time Elapsed
10/25/2022 6:18:42 PM=>Info - Call callingService Method
10/25/2022 6:18:42 PM=>Info:- Call Both
10/25/2022 6:18:42 PM=>Info:- Start Executing SMS Method
10/25/2022 6:18:42 PM=>Info:- End Executing SMS Method
10/25/2022 6:18:42 PM=>Info:- Start Mailing Method
10/25/2022 6:18:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:18:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:18:42 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:18:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:18:42 PM=>Info:- Count = 1
10/25/2022 6:18:42 PM=>Info:- Count 1
10/25/2022 6:18:42 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:18:42 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:18:42 PM=>Info:- Start SenMail Method
10/25/2022 6:18:42 PM=>UseDefaultCredentials
10/25/2022 6:18:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:18:42 PM=>EnableSsl = true
10/25/2022 6:18:42 PM=>DeliveryMethod
10/25/2022 6:18:42 PM=>Before Send
10/25/2022 6:18: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/25/2022 6:18:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:18:42 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:18:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:18:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:18:42 PM=>Info:- END Mailing Method
10/25/2022 6:18:42 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:18:42 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:18:42 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:18:42 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:18:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:18:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:18:42 PM=>Info - End of callingService Method
10/25/2022 6:20:42 PM=>Info - Check time Elapsed
10/25/2022 6:20:42 PM=>Info - Call callingService Method
10/25/2022 6:20:42 PM=>Info:- Call Both
10/25/2022 6:20:42 PM=>Info:- Start Executing SMS Method
10/25/2022 6:20:42 PM=>Info:- End Executing SMS Method
10/25/2022 6:20:42 PM=>Info:- Start Mailing Method
10/25/2022 6:20:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:20:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:20:42 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:20:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:20:42 PM=>Info:- Count = 1
10/25/2022 6:20:42 PM=>Info:- Count 1
10/25/2022 6:20:42 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:20:42 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:20:42 PM=>Info:- Start SenMail Method
10/25/2022 6:20:42 PM=>UseDefaultCredentials
10/25/2022 6:20:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:20:42 PM=>EnableSsl = true
10/25/2022 6:20:42 PM=>DeliveryMethod
10/25/2022 6:20:42 PM=>Before Send
10/25/2022 6:20: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/25/2022 6:20:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:20:51 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:20:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:20:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:20:52 PM=>Info:- END Mailing Method
10/25/2022 6:20:52 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:20:52 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:20:52 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:20:52 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:20:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:20:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:20:52 PM=>Info - End of callingService Method
10/25/2022 6:22:52 PM=>Info - Check time Elapsed
10/25/2022 6:22:52 PM=>Info - Call callingService Method
10/25/2022 6:22:52 PM=>Info:- Call Both
10/25/2022 6:22:52 PM=>Info:- Start Executing SMS Method
10/25/2022 6:22:52 PM=>Info:- End Executing SMS Method
10/25/2022 6:22:52 PM=>Info:- Start Mailing Method
10/25/2022 6:22:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:22:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:22:52 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:22:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:22:52 PM=>Info:- Count = 1
10/25/2022 6:22:52 PM=>Info:- Count 1
10/25/2022 6:22:52 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:22:52 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:22:52 PM=>Info:- Start SenMail Method
10/25/2022 6:22:52 PM=>UseDefaultCredentials
10/25/2022 6:22:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:22:52 PM=>EnableSsl = true
10/25/2022 6:22:52 PM=>DeliveryMethod
10/25/2022 6:22:52 PM=>Before Send
10/25/2022 6:24: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.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/25/2022 6:24:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:24:16 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:24:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:24:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:24:16 PM=>Info:- END Mailing Method
10/25/2022 6:24:16 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:24:16 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:24:16 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:24:16 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:24:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:24:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:24:16 PM=>Info - End of callingService Method
10/25/2022 6:26:16 PM=>Info - Check time Elapsed
10/25/2022 6:26:16 PM=>Info - Call callingService Method
10/25/2022 6:26:16 PM=>Info:- Call Both
10/25/2022 6:26:17 PM=>Info:- Start Executing SMS Method
10/25/2022 6:26:17 PM=>Info:- End Executing SMS Method
10/25/2022 6:26:17 PM=>Info:- Start Mailing Method
10/25/2022 6:26:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:26:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:26:17 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:26:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:26:17 PM=>Info:- Count = 1
10/25/2022 6:26:17 PM=>Info:- Count 1
10/25/2022 6:26:17 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:26:17 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:26:17 PM=>Info:- Start SenMail Method
10/25/2022 6:26:17 PM=>UseDefaultCredentials
10/25/2022 6:26:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:26:17 PM=>EnableSsl = true
10/25/2022 6:26:17 PM=>DeliveryMethod
10/25/2022 6:26:17 PM=>Before Send
10/25/2022 6:27:41 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 6:27:41 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:27:41 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:27:41 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:27:41 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:27:41 PM=>Info:- END Mailing Method
10/25/2022 6:27:41 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:27:41 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:27:41 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:27:41 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:27:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:27:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:27:41 PM=>Info - End of callingService Method
10/25/2022 6:29:41 PM=>Info - Check time Elapsed
10/25/2022 6:29:41 PM=>Info - Call callingService Method
10/25/2022 6:29:41 PM=>Info:- Call Both
10/25/2022 6:29:41 PM=>Info:- Start Executing SMS Method
10/25/2022 6:29:41 PM=>Info:- End Executing SMS Method
10/25/2022 6:29:41 PM=>Info:- Start Mailing Method
10/25/2022 6:29:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:29:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:29:41 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:29:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:29:41 PM=>Info:- Count = 1
10/25/2022 6:29:41 PM=>Info:- Count 1
10/25/2022 6:29:41 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:29:41 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:29:41 PM=>Info:- Start SenMail Method
10/25/2022 6:29:41 PM=>UseDefaultCredentials
10/25/2022 6:29:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:29:41 PM=>EnableSsl = true
10/25/2022 6:29:41 PM=>DeliveryMethod
10/25/2022 6:29:41 PM=>Before Send
10/25/2022 6:31: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.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/25/2022 6:31:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:31:05 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:31:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:31:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:31:06 PM=>Info:- END Mailing Method
10/25/2022 6:31:06 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:31:06 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:31:06 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:31:06 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:31:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:31:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:31:06 PM=>Info - End of callingService Method
10/25/2022 6:33:06 PM=>Info - Check time Elapsed
10/25/2022 6:33:06 PM=>Info - Call callingService Method
10/25/2022 6:33:06 PM=>Info:- Call Both
10/25/2022 6:33:06 PM=>Info:- Start Executing SMS Method
10/25/2022 6:33:06 PM=>Info:- End Executing SMS Method
10/25/2022 6:33:06 PM=>Info:- Start Mailing Method
10/25/2022 6:33:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:33:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:33:06 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:33:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:33:06 PM=>Info:- Count = 1
10/25/2022 6:33:06 PM=>Info:- Count 1
10/25/2022 6:33:06 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:33:06 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:33:06 PM=>Info:- Start SenMail Method
10/25/2022 6:33:06 PM=>UseDefaultCredentials
10/25/2022 6:33:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:33:06 PM=>EnableSsl = true
10/25/2022 6:33:06 PM=>DeliveryMethod
10/25/2022 6:33:06 PM=>Before Send
10/25/2022 6:33: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/25/2022 6:33:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:33:15 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:33:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:33:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:33:15 PM=>Info:- END Mailing Method
10/25/2022 6:33:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:33:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:33:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:33:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:33:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:33:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:33:15 PM=>Info - End of callingService Method
10/25/2022 6:35:15 PM=>Info - Check time Elapsed
10/25/2022 6:35:15 PM=>Info - Call callingService Method
10/25/2022 6:35:15 PM=>Info:- Call Both
10/25/2022 6:35:15 PM=>Info:- Start Executing SMS Method
10/25/2022 6:35:15 PM=>Info:- End Executing SMS Method
10/25/2022 6:35:15 PM=>Info:- Start Mailing Method
10/25/2022 6:35:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:35:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:35:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:35:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:35:15 PM=>Info:- Count = 1
10/25/2022 6:35:15 PM=>Info:- Count 1
10/25/2022 6:35:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:35:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:35:15 PM=>Info:- Start SenMail Method
10/25/2022 6:35:15 PM=>UseDefaultCredentials
10/25/2022 6:35:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:35:15 PM=>EnableSsl = true
10/25/2022 6:35:15 PM=>DeliveryMethod
10/25/2022 6:35:15 PM=>Before Send
10/25/2022 6:36:39 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 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/25/2022 6:36:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:36:39 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:36:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:36:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:36:40 PM=>Info:- END Mailing Method
10/25/2022 6:36:40 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:36:40 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:36:40 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:36:40 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:36:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:36:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:36:40 PM=>Info - End of callingService Method
10/25/2022 6:38:40 PM=>Info - Check time Elapsed
10/25/2022 6:38:40 PM=>Info - Call callingService Method
10/25/2022 6:38:40 PM=>Info:- Call Both
10/25/2022 6:38:40 PM=>Info:- Start Executing SMS Method
10/25/2022 6:38:40 PM=>Info:- End Executing SMS Method
10/25/2022 6:38:40 PM=>Info:- Start Mailing Method
10/25/2022 6:38:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:38:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:38:40 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:38:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:38:40 PM=>Info:- Count = 1
10/25/2022 6:38:40 PM=>Info:- Count 1
10/25/2022 6:38:40 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:38:40 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:38:40 PM=>Info:- Start SenMail Method
10/25/2022 6:38:40 PM=>UseDefaultCredentials
10/25/2022 6:38:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:38:40 PM=>EnableSsl = true
10/25/2022 6:38:40 PM=>DeliveryMethod
10/25/2022 6:38:40 PM=>Before Send
10/25/2022 6:40: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 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/25/2022 6:40:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:40:04 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:40:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:40:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:40:04 PM=>Info:- END Mailing Method
10/25/2022 6:40:04 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:40:04 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:40:04 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:40:04 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:40:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:40:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:40:04 PM=>Info - End of callingService Method
10/25/2022 6:42:04 PM=>Info - Check time Elapsed
10/25/2022 6:42:04 PM=>Info - Call callingService Method
10/25/2022 6:42:04 PM=>Info:- Call Both
10/25/2022 6:42:04 PM=>Info:- Start Executing SMS Method
10/25/2022 6:42:04 PM=>Info:- End Executing SMS Method
10/25/2022 6:42:04 PM=>Info:- Start Mailing Method
10/25/2022 6:42:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:42:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:42:04 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:42:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:42:04 PM=>Info:- Count = 1
10/25/2022 6:42:04 PM=>Info:- Count 1
10/25/2022 6:42:04 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:42:04 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:42:04 PM=>Info:- Start SenMail Method
10/25/2022 6:42:04 PM=>UseDefaultCredentials
10/25/2022 6:42:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:42:04 PM=>EnableSsl = true
10/25/2022 6:42:04 PM=>DeliveryMethod
10/25/2022 6:42:04 PM=>Before Send
10/25/2022 6:43: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/25/2022 6:43:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:43:10 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:43:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:43:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:43:11 PM=>Info:- END Mailing Method
10/25/2022 6:43:11 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:43:11 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:43:11 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:43:11 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:43:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:43:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:43:11 PM=>Info - End of callingService Method
10/25/2022 6:45:11 PM=>Info - Check time Elapsed
10/25/2022 6:45:11 PM=>Info - Call callingService Method
10/25/2022 6:45:11 PM=>Info:- Call Both
10/25/2022 6:45:11 PM=>Info:- Start Executing SMS Method
10/25/2022 6:45:11 PM=>Info:- End Executing SMS Method
10/25/2022 6:45:11 PM=>Info:- Start Mailing Method
10/25/2022 6:45:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:45:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:45:11 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:45:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:45:11 PM=>Info:- Count = 1
10/25/2022 6:45:11 PM=>Info:- Count 1
10/25/2022 6:45:11 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:45:11 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:45:11 PM=>Info:- Start SenMail Method
10/25/2022 6:45:11 PM=>UseDefaultCredentials
10/25/2022 6:45:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:45:11 PM=>EnableSsl = true
10/25/2022 6:45:11 PM=>DeliveryMethod
10/25/2022 6:45:11 PM=>Before Send
10/25/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/25/2022 6:45:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:45:20 PM=>(SenMail)Failure sending CC mail ID :
10/25/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/25/2022 6:45:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:45:20 PM=>Info:- END Mailing Method
10/25/2022 6:45:20 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:45:20 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:45:20 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:45:20 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:45:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:45:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:45:20 PM=>Info - End of callingService Method
10/25/2022 6:47:20 PM=>Info - Check time Elapsed
10/25/2022 6:47:20 PM=>Info - Call callingService Method
10/25/2022 6:47:20 PM=>Info:- Call Both
10/25/2022 6:47:20 PM=>Info:- Start Executing SMS Method
10/25/2022 6:47:20 PM=>Info:- End Executing SMS Method
10/25/2022 6:47:20 PM=>Info:- Start Mailing Method
10/25/2022 6:47:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:47:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:47:20 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:47:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:47:20 PM=>Info:- Count = 1
10/25/2022 6:47:20 PM=>Info:- Count 1
10/25/2022 6:47:20 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:47:20 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:47:20 PM=>Info:- Start SenMail Method
10/25/2022 6:47:20 PM=>UseDefaultCredentials
10/25/2022 6:47:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:47:20 PM=>EnableSsl = true
10/25/2022 6:47:20 PM=>DeliveryMethod
10/25/2022 6:47:20 PM=>Before Send
10/25/2022 6:48: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.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/25/2022 6:48:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:48:44 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:48:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:48:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:48:45 PM=>Info:- END Mailing Method
10/25/2022 6:48:45 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:48:45 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:48:45 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:48:45 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:48:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:48:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:48:45 PM=>Info - End of callingService Method
10/25/2022 6:50:45 PM=>Info - Check time Elapsed
10/25/2022 6:50:45 PM=>Info - Call callingService Method
10/25/2022 6:50:45 PM=>Info:- Call Both
10/25/2022 6:50:45 PM=>Info:- Start Executing SMS Method
10/25/2022 6:50:45 PM=>Info:- End Executing SMS Method
10/25/2022 6:50:45 PM=>Info:- Start Mailing Method
10/25/2022 6:50:45 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:50:45 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:50:45 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:50:45 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:50:45 PM=>Info:- Count = 1
10/25/2022 6:50:45 PM=>Info:- Count 1
10/25/2022 6:50:45 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:50:45 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:50:45 PM=>Info:- Start SenMail Method
10/25/2022 6:50:45 PM=>UseDefaultCredentials
10/25/2022 6:50:45 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:50:45 PM=>EnableSsl = true
10/25/2022 6:50:45 PM=>DeliveryMethod
10/25/2022 6:50:45 PM=>Before Send
10/25/2022 6:50: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/25/2022 6:50:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:50:45 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:50:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:50:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:50:45 PM=>Info:- END Mailing Method
10/25/2022 6:50:45 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:50:45 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:50:45 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:50:45 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:50:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:50:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:50:45 PM=>Info - End of callingService Method
10/25/2022 6:52:46 PM=>Info - Check time Elapsed
10/25/2022 6:52:46 PM=>Info - Call callingService Method
10/25/2022 6:52:46 PM=>Info:- Call Both
10/25/2022 6:52:46 PM=>Info:- Start Executing SMS Method
10/25/2022 6:52:46 PM=>Info:- End Executing SMS Method
10/25/2022 6:52:46 PM=>Info:- Start Mailing Method
10/25/2022 6:52:46 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:52:46 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:52:46 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:52:46 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:52:46 PM=>Info:- Count = 1
10/25/2022 6:52:46 PM=>Info:- Count 1
10/25/2022 6:52:46 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:52:46 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:52:46 PM=>Info:- Start SenMail Method
10/25/2022 6:52:46 PM=>UseDefaultCredentials
10/25/2022 6:52:46 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:52:46 PM=>EnableSsl = true
10/25/2022 6:52:46 PM=>DeliveryMethod
10/25/2022 6:52:46 PM=>Before Send
10/25/2022 6:54:10 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 40.97.188.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/25/2022 6:54:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:54:10 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:54:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:54:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:54:10 PM=>Info:- END Mailing Method
10/25/2022 6:54:10 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:54:10 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:54:10 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:54:10 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:54:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:54:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:54:10 PM=>Info - End of callingService Method
10/25/2022 6:56:10 PM=>Info - Check time Elapsed
10/25/2022 6:56:10 PM=>Info - Call callingService Method
10/25/2022 6:56:10 PM=>Info:- Call Both
10/25/2022 6:56:10 PM=>Info:- Start Executing SMS Method
10/25/2022 6:56:10 PM=>Info:- End Executing SMS Method
10/25/2022 6:56:10 PM=>Info:- Start Mailing Method
10/25/2022 6:56:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:56:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:56:10 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:56:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:56:10 PM=>Info:- Count = 1
10/25/2022 6:56:10 PM=>Info:- Count 1
10/25/2022 6:56:10 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:56:10 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:56:10 PM=>Info:- Start SenMail Method
10/25/2022 6:56:10 PM=>UseDefaultCredentials
10/25/2022 6:56:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:56:10 PM=>EnableSsl = true
10/25/2022 6:56:10 PM=>DeliveryMethod
10/25/2022 6:56:10 PM=>Before Send
10/25/2022 6:56: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/25/2022 6:56:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:56:19 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:56:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:56:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:56:20 PM=>Info:- END Mailing Method
10/25/2022 6:56:20 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:56:20 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:56:20 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:56:20 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:56:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:56:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:56:20 PM=>Info - End of callingService Method
10/25/2022 6:58:20 PM=>Info - Check time Elapsed
10/25/2022 6:58:20 PM=>Info - Call callingService Method
10/25/2022 6:58:20 PM=>Info:- Call Both
10/25/2022 6:58:20 PM=>Info:- Start Executing SMS Method
10/25/2022 6:58:20 PM=>Info:- End Executing SMS Method
10/25/2022 6:58:20 PM=>Info:- Start Mailing Method
10/25/2022 6:58:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 6:58:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 6:58:20 PM=>Info:- PendingMail.xml file read to list
10/25/2022 6:58:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 6:58:20 PM=>Info:- Count = 1
10/25/2022 6:58:20 PM=>Info:- Count 1
10/25/2022 6:58:20 PM=>Info - Fetching Data From MAIL XML
10/25/2022 6:58:20 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 6:58:20 PM=>Info:- Start SenMail Method
10/25/2022 6:58:20 PM=>UseDefaultCredentials
10/25/2022 6:58:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 6:58:20 PM=>EnableSsl = true
10/25/2022 6:58:20 PM=>DeliveryMethod
10/25/2022 6:58:20 PM=>Before Send
10/25/2022 6:58: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/25/2022 6:58:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 6:58:29 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 6:58:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 6:58:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 6:58:29 PM=>Info:- END Mailing Method
10/25/2022 6:58:29 PM=>Info:- Start Executing Telegram Method
10/25/2022 6:58:29 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 6:58:29 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 6:58:29 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 6:58:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 6:58:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 6:58:29 PM=>Info - End of callingService Method
10/25/2022 7:00:29 PM=>Info - Check time Elapsed
10/25/2022 7:00:29 PM=>Info - Call callingService Method
10/25/2022 7:00:29 PM=>Info:- Call Both
10/25/2022 7:00:29 PM=>Info:- Start Executing SMS Method
10/25/2022 7:00:29 PM=>Info:- End Executing SMS Method
10/25/2022 7:00:29 PM=>Info:- Start Mailing Method
10/25/2022 7:00:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:00:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:00:29 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:00:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:00:29 PM=>Info:- Count = 1
10/25/2022 7:00:29 PM=>Info:- Count 1
10/25/2022 7:00:29 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:00:29 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:00:29 PM=>Info:- Start SenMail Method
10/25/2022 7:00:29 PM=>UseDefaultCredentials
10/25/2022 7:00:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:00:29 PM=>EnableSsl = true
10/25/2022 7:00:29 PM=>DeliveryMethod
10/25/2022 7:00:29 PM=>Before Send
10/25/2022 7:01: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.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/25/2022 7:01:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:01:53 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:01:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:01:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:01:54 PM=>Info:- END Mailing Method
10/25/2022 7:01:54 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:01:54 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:01:54 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:01:54 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:01:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:01:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:01:54 PM=>Info - End of callingService Method
10/25/2022 7:03:54 PM=>Info - Check time Elapsed
10/25/2022 7:03:54 PM=>Info - Call callingService Method
10/25/2022 7:03:54 PM=>Info:- Call Both
10/25/2022 7:03:54 PM=>Info:- Start Executing SMS Method
10/25/2022 7:03:54 PM=>Info:- End Executing SMS Method
10/25/2022 7:03:54 PM=>Info:- Start Mailing Method
10/25/2022 7:03:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:03:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:03:54 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:03:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:03:54 PM=>Info:- Count = 1
10/25/2022 7:03:54 PM=>Info:- Count 1
10/25/2022 7:03:54 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:03:54 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:03:54 PM=>Info:- Start SenMail Method
10/25/2022 7:03:54 PM=>UseDefaultCredentials
10/25/2022 7:03:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:03:54 PM=>EnableSsl = true
10/25/2022 7:03:54 PM=>DeliveryMethod
10/25/2022 7:03:54 PM=>Before Send
10/25/2022 7:03: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/25/2022 7:03:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:03:54 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:03:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:03:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:03:54 PM=>Info:- END Mailing Method
10/25/2022 7:03:54 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:03:54 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:03:54 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:03:54 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:03:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:03:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:03:54 PM=>Info - End of callingService Method
10/25/2022 7:05:54 PM=>Info - Check time Elapsed
10/25/2022 7:05:54 PM=>Info - Call callingService Method
10/25/2022 7:05:54 PM=>Info:- Call Both
10/25/2022 7:05:54 PM=>Info:- Start Executing SMS Method
10/25/2022 7:05:54 PM=>Info:- End Executing SMS Method
10/25/2022 7:05:54 PM=>Info:- Start Mailing Method
10/25/2022 7:05:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:05:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:05:54 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:05:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:05:54 PM=>Info:- Count = 1
10/25/2022 7:05:54 PM=>Info:- Count 1
10/25/2022 7:05:54 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:05:54 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:05:54 PM=>Info:- Start SenMail Method
10/25/2022 7:05:54 PM=>UseDefaultCredentials
10/25/2022 7:05:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:05:54 PM=>EnableSsl = true
10/25/2022 7:05:54 PM=>DeliveryMethod
10/25/2022 7:05:54 PM=>Before Send
10/25/2022 7:05: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/25/2022 7:05:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:05:57 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:05:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:05:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:05:58 PM=>Info:- END Mailing Method
10/25/2022 7:05:58 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:05:58 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:05:58 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:05:58 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:05:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:05:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:05:58 PM=>Info - End of callingService Method
10/25/2022 7:07:58 PM=>Info - Check time Elapsed
10/25/2022 7:07:58 PM=>Info - Call callingService Method
10/25/2022 7:07:58 PM=>Info:- Call Both
10/25/2022 7:07:58 PM=>Info:- Start Executing SMS Method
10/25/2022 7:07:58 PM=>Info:- End Executing SMS Method
10/25/2022 7:07:58 PM=>Info:- Start Mailing Method
10/25/2022 7:07:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:07:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:07:58 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:07:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:07:58 PM=>Info:- Count = 1
10/25/2022 7:07:58 PM=>Info:- Count 1
10/25/2022 7:07:58 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:07:58 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:07:58 PM=>Info:- Start SenMail Method
10/25/2022 7:07:58 PM=>UseDefaultCredentials
10/25/2022 7:07:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:07:58 PM=>EnableSsl = true
10/25/2022 7:07:58 PM=>DeliveryMethod
10/25/2022 7:07:58 PM=>Before Send
10/25/2022 7:07: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/25/2022 7:07:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:07:58 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:07:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:07:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:07:58 PM=>Info:- END Mailing Method
10/25/2022 7:07:58 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:07:58 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:07:58 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:07:58 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:07:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:07:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:07:58 PM=>Info - End of callingService Method
10/25/2022 7:09:58 PM=>Info - Check time Elapsed
10/25/2022 7:09:58 PM=>Info - Call callingService Method
10/25/2022 7:09:58 PM=>Info:- Call Both
10/25/2022 7:09:58 PM=>Info:- Start Executing SMS Method
10/25/2022 7:09:58 PM=>Info:- End Executing SMS Method
10/25/2022 7:09:58 PM=>Info:- Start Mailing Method
10/25/2022 7:09:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:09:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:09:58 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:09:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:09:58 PM=>Info:- Count = 1
10/25/2022 7:09:58 PM=>Info:- Count 1
10/25/2022 7:09:58 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:09:58 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:09:58 PM=>Info:- Start SenMail Method
10/25/2022 7:09:58 PM=>UseDefaultCredentials
10/25/2022 7:09:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:09:58 PM=>EnableSsl = true
10/25/2022 7:09:58 PM=>DeliveryMethod
10/25/2022 7:09:58 PM=>Before Send
10/25/2022 7:10:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 7:10:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:10:40 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:10:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:10:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:10:40 PM=>Info:- END Mailing Method
10/25/2022 7:10:41 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:10:41 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:10:41 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:10:41 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:10:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:10:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:10:41 PM=>Info - End of callingService Method
10/25/2022 7:12:41 PM=>Info - Check time Elapsed
10/25/2022 7:12:41 PM=>Info - Call callingService Method
10/25/2022 7:12:41 PM=>Info:- Call Both
10/25/2022 7:12:41 PM=>Info:- Start Executing SMS Method
10/25/2022 7:12:41 PM=>Info:- End Executing SMS Method
10/25/2022 7:12:41 PM=>Info:- Start Mailing Method
10/25/2022 7:12:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:12:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:12:41 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:12:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:12:41 PM=>Info:- Count = 1
10/25/2022 7:12:41 PM=>Info:- Count 1
10/25/2022 7:12:41 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:12:41 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:12:41 PM=>Info:- Start SenMail Method
10/25/2022 7:12:41 PM=>UseDefaultCredentials
10/25/2022 7:12:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:12:41 PM=>EnableSsl = true
10/25/2022 7:12:41 PM=>DeliveryMethod
10/25/2022 7:12:41 PM=>Before Send
10/25/2022 7:13: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/25/2022 7:13:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:13:02 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:13:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:13:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:13:02 PM=>Info:- END Mailing Method
10/25/2022 7:13:02 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:13:02 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:13:02 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:13:02 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:13:02 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:13:02 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:13:02 PM=>Info - End of callingService Method
10/25/2022 7:15:02 PM=>Info - Check time Elapsed
10/25/2022 7:15:02 PM=>Info - Call callingService Method
10/25/2022 7:15:02 PM=>Info:- Call Both
10/25/2022 7:15:02 PM=>Info:- Start Executing SMS Method
10/25/2022 7:15:02 PM=>Info:- End Executing SMS Method
10/25/2022 7:15:02 PM=>Info:- Start Mailing Method
10/25/2022 7:15:02 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:15:02 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:15:02 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:15:02 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:15:02 PM=>Info:- Count = 1
10/25/2022 7:15:02 PM=>Info:- Count 1
10/25/2022 7:15:02 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:15:02 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:15:02 PM=>Info:- Start SenMail Method
10/25/2022 7:15:02 PM=>UseDefaultCredentials
10/25/2022 7:15:02 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:15:02 PM=>EnableSsl = true
10/25/2022 7:15:02 PM=>DeliveryMethod
10/25/2022 7:15:02 PM=>Before Send
10/25/2022 7:16: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.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/25/2022 7:16:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:16:26 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:16:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:16:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:16:27 PM=>Info:- END Mailing Method
10/25/2022 7:16:27 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:16:27 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:16:27 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:16:27 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:16:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:16:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:16:27 PM=>Info - End of callingService Method
10/25/2022 7:18:27 PM=>Info - Check time Elapsed
10/25/2022 7:18:27 PM=>Info - Call callingService Method
10/25/2022 7:18:27 PM=>Info:- Call Both
10/25/2022 7:18:27 PM=>Info:- Start Executing SMS Method
10/25/2022 7:18:27 PM=>Info:- End Executing SMS Method
10/25/2022 7:18:27 PM=>Info:- Start Mailing Method
10/25/2022 7:18:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:18:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:18:27 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:18:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:18:27 PM=>Info:- Count = 1
10/25/2022 7:18:27 PM=>Info:- Count 1
10/25/2022 7:18:27 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:18:27 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:18:27 PM=>Info:- Start SenMail Method
10/25/2022 7:18:27 PM=>UseDefaultCredentials
10/25/2022 7:18:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:18:27 PM=>EnableSsl = true
10/25/2022 7:18:27 PM=>DeliveryMethod
10/25/2022 7:18:27 PM=>Before Send
10/25/2022 7:19: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.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/25/2022 7:19:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:19:51 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:19:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:19:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:19:51 PM=>Info:- END Mailing Method
10/25/2022 7:19:51 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:19:51 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:19:51 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:19:51 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:19:51 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:19:51 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:19:51 PM=>Info - End of callingService Method
10/25/2022 7:21:51 PM=>Info - Check time Elapsed
10/25/2022 7:21:51 PM=>Info - Call callingService Method
10/25/2022 7:21:51 PM=>Info:- Call Both
10/25/2022 7:21:51 PM=>Info:- Start Executing SMS Method
10/25/2022 7:21:51 PM=>Info:- End Executing SMS Method
10/25/2022 7:21:51 PM=>Info:- Start Mailing Method
10/25/2022 7:21:51 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:21:51 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:21:51 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:21:51 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:21:51 PM=>Info:- Count = 1
10/25/2022 7:21:51 PM=>Info:- Count 1
10/25/2022 7:21:51 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:21:51 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:21:51 PM=>Info:- Start SenMail Method
10/25/2022 7:21:51 PM=>UseDefaultCredentials
10/25/2022 7:21:51 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:21:51 PM=>EnableSsl = true
10/25/2022 7:21:51 PM=>DeliveryMethod
10/25/2022 7:21:51 PM=>Before Send
10/25/2022 7:22: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/25/2022 7:22:00 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:22:00 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:22:00 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:22:00 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:22:01 PM=>Info:- END Mailing Method
10/25/2022 7:22:01 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:22:01 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:22:01 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:22:01 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:22:01 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:22:01 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:22:01 PM=>Info - End of callingService Method
10/25/2022 7:24:01 PM=>Info - Check time Elapsed
10/25/2022 7:24:01 PM=>Info - Call callingService Method
10/25/2022 7:24:01 PM=>Info:- Call Both
10/25/2022 7:24:01 PM=>Info:- Start Executing SMS Method
10/25/2022 7:24:01 PM=>Info:- End Executing SMS Method
10/25/2022 7:24:01 PM=>Info:- Start Mailing Method
10/25/2022 7:24:01 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:24:01 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:24:01 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:24:01 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:24:01 PM=>Info:- Count = 1
10/25/2022 7:24:01 PM=>Info:- Count 1
10/25/2022 7:24:01 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:24:01 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:24:01 PM=>Info:- Start SenMail Method
10/25/2022 7:24:01 PM=>UseDefaultCredentials
10/25/2022 7:24:01 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:24:01 PM=>EnableSsl = true
10/25/2022 7:24:01 PM=>DeliveryMethod
10/25/2022 7:24:01 PM=>Before Send
10/25/2022 7:24: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/25/2022 7:24:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:24:10 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:24:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:24:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:24:10 PM=>Info:- END Mailing Method
10/25/2022 7:24:10 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:24:10 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:24:10 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:24:10 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:24:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:24:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:24:10 PM=>Info - End of callingService Method
10/25/2022 7:26:10 PM=>Info - Check time Elapsed
10/25/2022 7:26:10 PM=>Info - Call callingService Method
10/25/2022 7:26:10 PM=>Info:- Call Both
10/25/2022 7:26:10 PM=>Info:- Start Executing SMS Method
10/25/2022 7:26:10 PM=>Info:- End Executing SMS Method
10/25/2022 7:26:10 PM=>Info:- Start Mailing Method
10/25/2022 7:26:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:26:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:26:10 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:26:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:26:10 PM=>Info:- Count = 1
10/25/2022 7:26:10 PM=>Info:- Count 1
10/25/2022 7:26:10 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:26:10 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:26:10 PM=>Info:- Start SenMail Method
10/25/2022 7:26:10 PM=>UseDefaultCredentials
10/25/2022 7:26:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:26:10 PM=>EnableSsl = true
10/25/2022 7:26:10 PM=>DeliveryMethod
10/25/2022 7:26:10 PM=>Before Send
10/25/2022 7:26: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/25/2022 7:26:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:26:10 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:26:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:26:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:26:11 PM=>Info:- END Mailing Method
10/25/2022 7:26:11 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:26:11 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:26:11 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:26:11 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:26:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:26:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:26:11 PM=>Info - End of callingService Method
10/25/2022 7:28:11 PM=>Info - Check time Elapsed
10/25/2022 7:28:11 PM=>Info - Call callingService Method
10/25/2022 7:28:11 PM=>Info:- Call Both
10/25/2022 7:28:11 PM=>Info:- Start Executing SMS Method
10/25/2022 7:28:11 PM=>Info:- End Executing SMS Method
10/25/2022 7:28:11 PM=>Info:- Start Mailing Method
10/25/2022 7:28:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:28:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:28:11 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:28:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:28:11 PM=>Info:- Count = 1
10/25/2022 7:28:11 PM=>Info:- Count 1
10/25/2022 7:28:11 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:28:11 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:28:11 PM=>Info:- Start SenMail Method
10/25/2022 7:28:11 PM=>UseDefaultCredentials
10/25/2022 7:28:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:28:11 PM=>EnableSsl = true
10/25/2022 7:28:11 PM=>DeliveryMethod
10/25/2022 7:28:11 PM=>Before Send
10/25/2022 7:29: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.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/25/2022 7:29:35 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:29:35 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:29:35 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:29:35 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:29:35 PM=>Info:- END Mailing Method
10/25/2022 7:29:35 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:29:35 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:29:35 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:29:35 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:29:35 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:29:35 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:29:35 PM=>Info - End of callingService Method
10/25/2022 7:31:35 PM=>Info - Check time Elapsed
10/25/2022 7:31:35 PM=>Info - Call callingService Method
10/25/2022 7:31:35 PM=>Info:- Call Both
10/25/2022 7:31:35 PM=>Info:- Start Executing SMS Method
10/25/2022 7:31:35 PM=>Info:- End Executing SMS Method
10/25/2022 7:31:35 PM=>Info:- Start Mailing Method
10/25/2022 7:31:35 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:31:35 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:31:35 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:31:35 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:31:35 PM=>Info:- Count = 1
10/25/2022 7:31:35 PM=>Info:- Count 1
10/25/2022 7:31:35 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:31:35 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:31:35 PM=>Info:- Start SenMail Method
10/25/2022 7:31:35 PM=>UseDefaultCredentials
10/25/2022 7:31:35 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:31:35 PM=>EnableSsl = true
10/25/2022 7:31:35 PM=>DeliveryMethod
10/25/2022 7:31:35 PM=>Before Send
10/25/2022 7:32:05 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 7:32:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:32:05 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:32:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:32:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:32:06 PM=>Info:- END Mailing Method
10/25/2022 7:32:06 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:32:06 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:32:06 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:32:06 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:32:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:32:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:32:06 PM=>Info - End of callingService Method
10/25/2022 7:34:06 PM=>Info - Check time Elapsed
10/25/2022 7:34:06 PM=>Info - Call callingService Method
10/25/2022 7:34:06 PM=>Info:- Call Both
10/25/2022 7:34:06 PM=>Info:- Start Executing SMS Method
10/25/2022 7:34:06 PM=>Info:- End Executing SMS Method
10/25/2022 7:34:06 PM=>Info:- Start Mailing Method
10/25/2022 7:34:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:34:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:34:06 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:34:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:34:06 PM=>Info:- Count = 1
10/25/2022 7:34:06 PM=>Info:- Count 1
10/25/2022 7:34:06 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:34:06 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:34:06 PM=>Info:- Start SenMail Method
10/25/2022 7:34:06 PM=>UseDefaultCredentials
10/25/2022 7:34:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:34:06 PM=>EnableSsl = true
10/25/2022 7:34:06 PM=>DeliveryMethod
10/25/2022 7:34:06 PM=>Before Send
10/25/2022 7:34: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/25/2022 7:34:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:34:09 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:34:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:34:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:34:09 PM=>Info:- END Mailing Method
10/25/2022 7:34:09 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:34:09 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:34:09 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:34:09 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:34:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:34:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:34:09 PM=>Info - End of callingService Method
10/25/2022 7:36:09 PM=>Info - Check time Elapsed
10/25/2022 7:36:09 PM=>Info - Call callingService Method
10/25/2022 7:36:09 PM=>Info:- Call Both
10/25/2022 7:36:09 PM=>Info:- Start Executing SMS Method
10/25/2022 7:36:09 PM=>Info:- End Executing SMS Method
10/25/2022 7:36:09 PM=>Info:- Start Mailing Method
10/25/2022 7:36:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:36:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:36:09 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:36:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:36:09 PM=>Info:- Count = 1
10/25/2022 7:36:09 PM=>Info:- Count 1
10/25/2022 7:36:09 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:36:09 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:36:09 PM=>Info:- Start SenMail Method
10/25/2022 7:36:09 PM=>UseDefaultCredentials
10/25/2022 7:36:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:36:09 PM=>EnableSsl = true
10/25/2022 7:36:09 PM=>DeliveryMethod
10/25/2022 7:36:09 PM=>Before Send
10/25/2022 7:36: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/25/2022 7:36:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:36:09 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:36:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:36:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:36:10 PM=>Info:- END Mailing Method
10/25/2022 7:36:10 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:36:10 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:36:10 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:36:10 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:36:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:36:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:36:10 PM=>Info - End of callingService Method
10/25/2022 7:38:10 PM=>Info - Check time Elapsed
10/25/2022 7:38:10 PM=>Info - Call callingService Method
10/25/2022 7:38:10 PM=>Info:- Call Both
10/25/2022 7:38:10 PM=>Info:- Start Executing SMS Method
10/25/2022 7:38:10 PM=>Info:- End Executing SMS Method
10/25/2022 7:38:10 PM=>Info:- Start Mailing Method
10/25/2022 7:38:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:38:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:38:10 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:38:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:38:10 PM=>Info:- Count = 1
10/25/2022 7:38:10 PM=>Info:- Count 1
10/25/2022 7:38:10 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:38:10 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:38:10 PM=>Info:- Start SenMail Method
10/25/2022 7:38:10 PM=>UseDefaultCredentials
10/25/2022 7:38:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:38:10 PM=>EnableSsl = true
10/25/2022 7:38:10 PM=>DeliveryMethod
10/25/2022 7:38:10 PM=>Before Send
10/25/2022 7:38: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/25/2022 7:38:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:38:31 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:38:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:38:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:38:31 PM=>Info:- END Mailing Method
10/25/2022 7:38:31 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:38:31 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:38:31 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:38:31 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:38:31 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:38:31 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:38:31 PM=>Info - End of callingService Method
10/25/2022 7:40:31 PM=>Info - Check time Elapsed
10/25/2022 7:40:31 PM=>Info - Call callingService Method
10/25/2022 7:40:31 PM=>Info:- Call Both
10/25/2022 7:40:31 PM=>Info:- Start Executing SMS Method
10/25/2022 7:40:31 PM=>Info:- End Executing SMS Method
10/25/2022 7:40:31 PM=>Info:- Start Mailing Method
10/25/2022 7:40:31 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:40:31 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:40:31 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:40:31 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:40:31 PM=>Info:- Count = 1
10/25/2022 7:40:31 PM=>Info:- Count 1
10/25/2022 7:40:31 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:40:31 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:40:31 PM=>Info:- Start SenMail Method
10/25/2022 7:40:31 PM=>UseDefaultCredentials
10/25/2022 7:40:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:40:31 PM=>EnableSsl = true
10/25/2022 7:40:31 PM=>DeliveryMethod
10/25/2022 7:40:31 PM=>Before Send
10/25/2022 7:40: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/25/2022 7:40:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:40:40 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:40:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:40:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:40:41 PM=>Info:- END Mailing Method
10/25/2022 7:40:41 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:40:41 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:40:41 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:40:41 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:40:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:40:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:40:41 PM=>Info - End of callingService Method
10/25/2022 7:42:41 PM=>Info - Check time Elapsed
10/25/2022 7:42:41 PM=>Info - Call callingService Method
10/25/2022 7:42:41 PM=>Info:- Call Both
10/25/2022 7:42:41 PM=>Info:- Start Executing SMS Method
10/25/2022 7:42:41 PM=>Info:- End Executing SMS Method
10/25/2022 7:42:41 PM=>Info:- Start Mailing Method
10/25/2022 7:42:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:42:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:42:41 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:42:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:42:41 PM=>Info:- Count = 1
10/25/2022 7:42:41 PM=>Info:- Count 1
10/25/2022 7:42:41 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:42:41 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:42:41 PM=>Info:- Start SenMail Method
10/25/2022 7:42:41 PM=>UseDefaultCredentials
10/25/2022 7:42:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:42:41 PM=>EnableSsl = true
10/25/2022 7:42:41 PM=>DeliveryMethod
10/25/2022 7:42:41 PM=>Before Send
10/25/2022 7:44: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.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/25/2022 7:44:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:44:05 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:44:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:44:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:44:05 PM=>Info:- END Mailing Method
10/25/2022 7:44:05 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:44:05 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:44:05 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:44:05 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:44:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:44:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:44:05 PM=>Info - End of callingService Method
10/25/2022 7:46:05 PM=>Info - Check time Elapsed
10/25/2022 7:46:05 PM=>Info - Call callingService Method
10/25/2022 7:46:05 PM=>Info:- Call Both
10/25/2022 7:46:05 PM=>Info:- Start Executing SMS Method
10/25/2022 7:46:05 PM=>Info:- End Executing SMS Method
10/25/2022 7:46:05 PM=>Info:- Start Mailing Method
10/25/2022 7:46:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:46:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:46:05 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:46:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:46:05 PM=>Info:- Count = 1
10/25/2022 7:46:05 PM=>Info:- Count 1
10/25/2022 7:46:05 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:46:05 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:46:05 PM=>Info:- Start SenMail Method
10/25/2022 7:46:05 PM=>UseDefaultCredentials
10/25/2022 7:46:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:46:05 PM=>EnableSsl = true
10/25/2022 7:46:05 PM=>DeliveryMethod
10/25/2022 7:46:05 PM=>Before Send
10/25/2022 7:47: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/25/2022 7:47:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:47:09 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:47:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:47:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:47:09 PM=>Info:- END Mailing Method
10/25/2022 7:47:09 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:47:09 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:47:09 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:47:09 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:47:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:47:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:47:09 PM=>Info - End of callingService Method
10/25/2022 7:49:09 PM=>Info - Check time Elapsed
10/25/2022 7:49:09 PM=>Info - Call callingService Method
10/25/2022 7:49:09 PM=>Info:- Call Both
10/25/2022 7:49:09 PM=>Info:- Start Executing SMS Method
10/25/2022 7:49:09 PM=>Info:- End Executing SMS Method
10/25/2022 7:49:09 PM=>Info:- Start Mailing Method
10/25/2022 7:49:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:49:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:49:09 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:49:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:49:09 PM=>Info:- Count = 1
10/25/2022 7:49:09 PM=>Info:- Count 1
10/25/2022 7:49:09 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:49:09 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:49:09 PM=>Info:- Start SenMail Method
10/25/2022 7:49:09 PM=>UseDefaultCredentials
10/25/2022 7:49:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:49:09 PM=>EnableSsl = true
10/25/2022 7:49:09 PM=>DeliveryMethod
10/25/2022 7:49:09 PM=>Before Send
10/25/2022 7:49: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/25/2022 7:49:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:49:30 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:49:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:49:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:49:30 PM=>Info:- END Mailing Method
10/25/2022 7:49:30 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:49:30 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:49:30 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:49:30 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:49:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:49:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:49:30 PM=>Info - End of callingService Method
10/25/2022 7:51:31 PM=>Info - Check time Elapsed
10/25/2022 7:51:31 PM=>Info - Call callingService Method
10/25/2022 7:51:31 PM=>Info:- Call Both
10/25/2022 7:51:31 PM=>Info:- Start Executing SMS Method
10/25/2022 7:51:31 PM=>Info:- End Executing SMS Method
10/25/2022 7:51:31 PM=>Info:- Start Mailing Method
10/25/2022 7:51:31 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:51:31 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:51:31 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:51:31 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:51:31 PM=>Info:- Count = 1
10/25/2022 7:51:31 PM=>Info:- Count 1
10/25/2022 7:51:31 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:51:31 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:51:31 PM=>Info:- Start SenMail Method
10/25/2022 7:51:31 PM=>UseDefaultCredentials
10/25/2022 7:51:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:51:31 PM=>EnableSsl = true
10/25/2022 7:51:31 PM=>DeliveryMethod
10/25/2022 7:51:31 PM=>Before Send
10/25/2022 7:52:55 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/25/2022 7:52:55 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:52:55 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:52:55 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:52:55 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:52:55 PM=>Info:- END Mailing Method
10/25/2022 7:52:55 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:52:55 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:52:55 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:52:55 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:52:55 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:52:55 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:52:55 PM=>Info - End of callingService Method
10/25/2022 7:54:55 PM=>Info - Check time Elapsed
10/25/2022 7:54:55 PM=>Info - Call callingService Method
10/25/2022 7:54:55 PM=>Info:- Call Both
10/25/2022 7:54:55 PM=>Info:- Start Executing SMS Method
10/25/2022 7:54:55 PM=>Info:- End Executing SMS Method
10/25/2022 7:54:55 PM=>Info:- Start Mailing Method
10/25/2022 7:54:55 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:54:55 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:54:55 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:54:55 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:54:55 PM=>Info:- Count = 1
10/25/2022 7:54:55 PM=>Info:- Count 1
10/25/2022 7:54:55 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:54:55 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:54:55 PM=>Info:- Start SenMail Method
10/25/2022 7:54:55 PM=>UseDefaultCredentials
10/25/2022 7:54:55 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:54:55 PM=>EnableSsl = true
10/25/2022 7:54:55 PM=>DeliveryMethod
10/25/2022 7:54:55 PM=>Before Send
10/25/2022 7:55: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/25/2022 7:55:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:55:58 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:55:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:55:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:55:59 PM=>Info:- END Mailing Method
10/25/2022 7:55:59 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:55:59 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:55:59 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:55:59 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:55:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:55:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:55:59 PM=>Info - End of callingService Method
10/25/2022 7:57:59 PM=>Info - Check time Elapsed
10/25/2022 7:57:59 PM=>Info - Call callingService Method
10/25/2022 7:57:59 PM=>Info:- Call Both
10/25/2022 7:57:59 PM=>Info:- Start Executing SMS Method
10/25/2022 7:57:59 PM=>Info:- End Executing SMS Method
10/25/2022 7:57:59 PM=>Info:- Start Mailing Method
10/25/2022 7:57:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 7:57:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 7:57:59 PM=>Info:- PendingMail.xml file read to list
10/25/2022 7:57:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 7:57:59 PM=>Info:- Count = 1
10/25/2022 7:57:59 PM=>Info:- Count 1
10/25/2022 7:57:59 PM=>Info - Fetching Data From MAIL XML
10/25/2022 7:57:59 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 7:57:59 PM=>Info:- Start SenMail Method
10/25/2022 7:57:59 PM=>UseDefaultCredentials
10/25/2022 7:57:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 7:57:59 PM=>EnableSsl = true
10/25/2022 7:57:59 PM=>DeliveryMethod
10/25/2022 7:57:59 PM=>Before Send
10/25/2022 7:59: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.33.82:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 7:59:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 7:59:23 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 7:59:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 7:59:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 7:59:23 PM=>Info:- END Mailing Method
10/25/2022 7:59:23 PM=>Info:- Start Executing Telegram Method
10/25/2022 7:59:23 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 7:59:23 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 7:59:23 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 7:59:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 7:59:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 7:59:23 PM=>Info - End of callingService Method
10/25/2022 8:01:23 PM=>Info - Check time Elapsed
10/25/2022 8:01:23 PM=>Info - Call callingService Method
10/25/2022 8:01:23 PM=>Info:- Call Both
10/25/2022 8:01:23 PM=>Info:- Start Executing SMS Method
10/25/2022 8:01:23 PM=>Info:- End Executing SMS Method
10/25/2022 8:01:23 PM=>Info:- Start Mailing Method
10/25/2022 8:01:23 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:01:23 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:01:23 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:01:23 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:01:23 PM=>Info:- Count = 1
10/25/2022 8:01:23 PM=>Info:- Count 1
10/25/2022 8:01:23 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:01:23 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:01:23 PM=>Info:- Start SenMail Method
10/25/2022 8:01:23 PM=>UseDefaultCredentials
10/25/2022 8:01:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:01:23 PM=>EnableSsl = true
10/25/2022 8:01:23 PM=>DeliveryMethod
10/25/2022 8:01:23 PM=>Before Send
10/25/2022 8:01: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/25/2022 8:01:32 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:01:32 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:01:32 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:01:32 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:01:33 PM=>Info:- END Mailing Method
10/25/2022 8:01:33 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:01:33 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:01:33 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:01:33 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:01:33 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:01:33 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:01:33 PM=>Info - End of callingService Method
10/25/2022 8:03:33 PM=>Info - Check time Elapsed
10/25/2022 8:03:33 PM=>Info - Call callingService Method
10/25/2022 8:03:33 PM=>Info:- Call Both
10/25/2022 8:03:33 PM=>Info:- Start Executing SMS Method
10/25/2022 8:03:33 PM=>Info:- End Executing SMS Method
10/25/2022 8:03:33 PM=>Info:- Start Mailing Method
10/25/2022 8:03:33 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:03:33 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:03:33 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:03:33 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:03:33 PM=>Info:- Count = 1
10/25/2022 8:03:33 PM=>Info:- Count 1
10/25/2022 8:03:33 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:03:33 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:03:33 PM=>Info:- Start SenMail Method
10/25/2022 8:03:33 PM=>UseDefaultCredentials
10/25/2022 8:03:33 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:03:33 PM=>EnableSsl = true
10/25/2022 8:03:33 PM=>DeliveryMethod
10/25/2022 8:03:33 PM=>Before Send
10/25/2022 8:04: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/25/2022 8:04:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:04:15 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:04:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:04:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:04:15 PM=>Info:- END Mailing Method
10/25/2022 8:04:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:04:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:04:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:04:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:04:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:04:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:04:15 PM=>Info - End of callingService Method
10/25/2022 8:06:15 PM=>Info - Check time Elapsed
10/25/2022 8:06:15 PM=>Info - Call callingService Method
10/25/2022 8:06:15 PM=>Info:- Call Both
10/25/2022 8:06:15 PM=>Info:- Start Executing SMS Method
10/25/2022 8:06:15 PM=>Info:- End Executing SMS Method
10/25/2022 8:06:15 PM=>Info:- Start Mailing Method
10/25/2022 8:06:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:06:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:06:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:06:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:06:15 PM=>Info:- Count = 1
10/25/2022 8:06:15 PM=>Info:- Count 1
10/25/2022 8:06:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:06:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:06:15 PM=>Info:- Start SenMail Method
10/25/2022 8:06:15 PM=>UseDefaultCredentials
10/25/2022 8:06:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:06:15 PM=>EnableSsl = true
10/25/2022 8:06:15 PM=>DeliveryMethod
10/25/2022 8:06:15 PM=>Before Send
10/25/2022 8:06: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/25/2022 8:06:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:06:24 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:06:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:06:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:06:25 PM=>Info:- END Mailing Method
10/25/2022 8:06:25 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:06:25 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:06:25 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:06:25 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:06:25 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:06:25 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:06:25 PM=>Info - End of callingService Method
10/25/2022 8:08:25 PM=>Info - Check time Elapsed
10/25/2022 8:08:25 PM=>Info - Call callingService Method
10/25/2022 8:08:25 PM=>Info:- Call Both
10/25/2022 8:08:25 PM=>Info:- Start Executing SMS Method
10/25/2022 8:08:25 PM=>Info:- End Executing SMS Method
10/25/2022 8:08:25 PM=>Info:- Start Mailing Method
10/25/2022 8:08:25 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:08:25 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:08:25 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:08:25 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:08:25 PM=>Info:- Count = 1
10/25/2022 8:08:25 PM=>Info:- Count 1
10/25/2022 8:08:25 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:08:25 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:08:25 PM=>Info:- Start SenMail Method
10/25/2022 8:08:25 PM=>UseDefaultCredentials
10/25/2022 8:08:25 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:08:25 PM=>EnableSsl = true
10/25/2022 8:08:25 PM=>DeliveryMethod
10/25/2022 8:08:25 PM=>Before Send
10/25/2022 8:09: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.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/25/2022 8:09:49 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:09:49 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:09:49 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:09:49 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:09:49 PM=>Info:- END Mailing Method
10/25/2022 8:09:49 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:09:49 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:09:49 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:09:49 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:09:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:09:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:09:49 PM=>Info - End of callingService Method
10/25/2022 8:11:49 PM=>Info - Check time Elapsed
10/25/2022 8:11:49 PM=>Info - Call callingService Method
10/25/2022 8:11:49 PM=>Info:- Call Both
10/25/2022 8:11:49 PM=>Info:- Start Executing SMS Method
10/25/2022 8:11:49 PM=>Info:- End Executing SMS Method
10/25/2022 8:11:49 PM=>Info:- Start Mailing Method
10/25/2022 8:11:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:11:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:11:49 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:11:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:11:49 PM=>Info:- Count = 1
10/25/2022 8:11:49 PM=>Info:- Count 1
10/25/2022 8:11:49 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:11:49 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:11:49 PM=>Info:- Start SenMail Method
10/25/2022 8:11:49 PM=>UseDefaultCredentials
10/25/2022 8:11:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:11:49 PM=>EnableSsl = true
10/25/2022 8:11:49 PM=>DeliveryMethod
10/25/2022 8:11:49 PM=>Before Send
10/25/2022 8:13: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.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/25/2022 8:13:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:13:14 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:13:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:13:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:13:14 PM=>Info:- END Mailing Method
10/25/2022 8:13:14 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:13:14 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:13:14 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:13:14 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:13:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:13:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:13:14 PM=>Info - End of callingService Method
10/25/2022 8:15:14 PM=>Info - Check time Elapsed
10/25/2022 8:15:14 PM=>Info - Call callingService Method
10/25/2022 8:15:14 PM=>Info:- Call Both
10/25/2022 8:15:14 PM=>Info:- Start Executing SMS Method
10/25/2022 8:15:14 PM=>Info:- End Executing SMS Method
10/25/2022 8:15:14 PM=>Info:- Start Mailing Method
10/25/2022 8:15:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:15:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:15:14 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:15:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:15:14 PM=>Info:- Count = 1
10/25/2022 8:15:14 PM=>Info:- Count 1
10/25/2022 8:15:14 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:15:14 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:15:14 PM=>Info:- Start SenMail Method
10/25/2022 8:15:14 PM=>UseDefaultCredentials
10/25/2022 8:15:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:15:14 PM=>EnableSsl = true
10/25/2022 8:15:14 PM=>DeliveryMethod
10/25/2022 8:15:14 PM=>Before Send
10/25/2022 8:15: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/25/2022 8:15:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:15:17 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:15:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:15:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:15:18 PM=>Info:- END Mailing Method
10/25/2022 8:15:18 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:15:18 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:15:18 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:15:18 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:15:18 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:15:18 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:15:18 PM=>Info - End of callingService Method
10/25/2022 8:17:18 PM=>Info - Check time Elapsed
10/25/2022 8:17:18 PM=>Info - Call callingService Method
10/25/2022 8:17:18 PM=>Info:- Call Both
10/25/2022 8:17:18 PM=>Info:- Start Executing SMS Method
10/25/2022 8:17:18 PM=>Info:- End Executing SMS Method
10/25/2022 8:17:18 PM=>Info:- Start Mailing Method
10/25/2022 8:17:18 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:17:18 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:17:18 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:17:18 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:17:18 PM=>Info:- Count = 1
10/25/2022 8:17:18 PM=>Info:- Count 1
10/25/2022 8:17:18 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:17:18 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:17:18 PM=>Info:- Start SenMail Method
10/25/2022 8:17:18 PM=>UseDefaultCredentials
10/25/2022 8:17:18 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:17:18 PM=>EnableSsl = true
10/25/2022 8:17:18 PM=>DeliveryMethod
10/25/2022 8:17:18 PM=>Before Send
10/25/2022 8:18: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.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/25/2022 8:18:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:18:42 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:18:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:18:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:18:42 PM=>Info:- END Mailing Method
10/25/2022 8:18:42 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:18:42 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:18:42 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:18:42 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:18:42 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:18:42 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:18:42 PM=>Info - End of callingService Method
10/25/2022 8:20:42 PM=>Info - Check time Elapsed
10/25/2022 8:20:42 PM=>Info - Call callingService Method
10/25/2022 8:20:42 PM=>Info:- Call Both
10/25/2022 8:20:42 PM=>Info:- Start Executing SMS Method
10/25/2022 8:20:42 PM=>Info:- End Executing SMS Method
10/25/2022 8:20:42 PM=>Info:- Start Mailing Method
10/25/2022 8:20:42 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:20:42 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:20:42 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:20:42 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:20:42 PM=>Info:- Count = 1
10/25/2022 8:20:42 PM=>Info:- Count 1
10/25/2022 8:20:42 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:20:42 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:20:42 PM=>Info:- Start SenMail Method
10/25/2022 8:20:42 PM=>UseDefaultCredentials
10/25/2022 8:20:42 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:20:42 PM=>EnableSsl = true
10/25/2022 8:20:42 PM=>DeliveryMethod
10/25/2022 8:20:42 PM=>Before Send
10/25/2022 8:20: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/25/2022 8:20:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:20:42 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:20:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:20:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:20:43 PM=>Info:- END Mailing Method
10/25/2022 8:20:43 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:20:43 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:20:43 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:20:43 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:20:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:20:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:20:43 PM=>Info - End of callingService Method
10/25/2022 8:22:43 PM=>Info - Check time Elapsed
10/25/2022 8:22:43 PM=>Info - Call callingService Method
10/25/2022 8:22:43 PM=>Info:- Call Both
10/25/2022 8:22:43 PM=>Info:- Start Executing SMS Method
10/25/2022 8:22:43 PM=>Info:- End Executing SMS Method
10/25/2022 8:22:43 PM=>Info:- Start Mailing Method
10/25/2022 8:22:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:22:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:22:43 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:22:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:22:43 PM=>Info:- Count = 1
10/25/2022 8:22:43 PM=>Info:- Count 1
10/25/2022 8:22:43 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:22:43 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:22:43 PM=>Info:- Start SenMail Method
10/25/2022 8:22:43 PM=>UseDefaultCredentials
10/25/2022 8:22:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:22:43 PM=>EnableSsl = true
10/25/2022 8:22:43 PM=>DeliveryMethod
10/25/2022 8:22:43 PM=>Before Send
10/25/2022 8:23: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/25/2022 8:23:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:23:04 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:23:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:23:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:23:04 PM=>Info:- END Mailing Method
10/25/2022 8:23:04 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:23:04 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:23:04 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:23:04 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:23:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:23:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:23:04 PM=>Info - End of callingService Method
10/25/2022 8:25:04 PM=>Info - Check time Elapsed
10/25/2022 8:25:04 PM=>Info - Call callingService Method
10/25/2022 8:25:04 PM=>Info:- Call Both
10/25/2022 8:25:04 PM=>Info:- Start Executing SMS Method
10/25/2022 8:25:04 PM=>Info:- End Executing SMS Method
10/25/2022 8:25:04 PM=>Info:- Start Mailing Method
10/25/2022 8:25:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:25:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:25:04 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:25:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:25:04 PM=>Info:- Count = 1
10/25/2022 8:25:04 PM=>Info:- Count 1
10/25/2022 8:25:04 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:25:04 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:25:04 PM=>Info:- Start SenMail Method
10/25/2022 8:25:04 PM=>UseDefaultCredentials
10/25/2022 8:25:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:25:04 PM=>EnableSsl = true
10/25/2022 8:25:04 PM=>DeliveryMethod
10/25/2022 8:25:04 PM=>Before Send
10/25/2022 8:26: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.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/25/2022 8:26:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:26:28 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:26:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:26:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:26:29 PM=>Info:- END Mailing Method
10/25/2022 8:26:29 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:26:29 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:26:29 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:26:29 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:26:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:26:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:26:29 PM=>Info - End of callingService Method
10/25/2022 8:28:29 PM=>Info - Check time Elapsed
10/25/2022 8:28:29 PM=>Info - Call callingService Method
10/25/2022 8:28:29 PM=>Info:- Call Both
10/25/2022 8:28:29 PM=>Info:- Start Executing SMS Method
10/25/2022 8:28:29 PM=>Info:- End Executing SMS Method
10/25/2022 8:28:29 PM=>Info:- Start Mailing Method
10/25/2022 8:28:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:28:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:28:29 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:28:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:28:29 PM=>Info:- Count = 1
10/25/2022 8:28:29 PM=>Info:- Count 1
10/25/2022 8:28:29 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:28:29 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:28:29 PM=>Info:- Start SenMail Method
10/25/2022 8:28:29 PM=>UseDefaultCredentials
10/25/2022 8:28:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:28:29 PM=>EnableSsl = true
10/25/2022 8:28:29 PM=>DeliveryMethod
10/25/2022 8:28:29 PM=>Before Send
10/25/2022 8:28: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/25/2022 8:28:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:28:38 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:28:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:28:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:28:38 PM=>Info:- END Mailing Method
10/25/2022 8:28:38 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:28:38 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:28:38 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:28:38 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:28:38 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:28:38 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:28:38 PM=>Info - End of callingService Method
10/25/2022 8:30:38 PM=>Info - Check time Elapsed
10/25/2022 8:30:38 PM=>Info - Call callingService Method
10/25/2022 8:30:38 PM=>Info:- Call Both
10/25/2022 8:30:38 PM=>Info:- Start Executing SMS Method
10/25/2022 8:30:38 PM=>Info:- End Executing SMS Method
10/25/2022 8:30:38 PM=>Info:- Start Mailing Method
10/25/2022 8:30:38 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:30:38 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:30:38 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:30:38 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:30:38 PM=>Info:- Count = 1
10/25/2022 8:30:38 PM=>Info:- Count 1
10/25/2022 8:30:38 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:30:38 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:30:38 PM=>Info:- Start SenMail Method
10/25/2022 8:30:38 PM=>UseDefaultCredentials
10/25/2022 8:30:38 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:30:38 PM=>EnableSsl = true
10/25/2022 8:30:38 PM=>DeliveryMethod
10/25/2022 8:30:38 PM=>Before Send
10/25/2022 8:32: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.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/25/2022 8:32:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:32:02 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:32:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:32:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:32:03 PM=>Info:- END Mailing Method
10/25/2022 8:32:03 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:32:03 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:32:03 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:32:03 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:32:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:32:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:32:03 PM=>Info - End of callingService Method
10/25/2022 8:34:03 PM=>Info - Check time Elapsed
10/25/2022 8:34:03 PM=>Info - Call callingService Method
10/25/2022 8:34:03 PM=>Info:- Call Both
10/25/2022 8:34:03 PM=>Info:- Start Executing SMS Method
10/25/2022 8:34:03 PM=>Info:- End Executing SMS Method
10/25/2022 8:34:03 PM=>Info:- Start Mailing Method
10/25/2022 8:34:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:34:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:34:03 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:34:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:34:03 PM=>Info:- Count = 1
10/25/2022 8:34:03 PM=>Info:- Count 1
10/25/2022 8:34:03 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:34:03 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:34:03 PM=>Info:- Start SenMail Method
10/25/2022 8:34:03 PM=>UseDefaultCredentials
10/25/2022 8:34:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:34:03 PM=>EnableSsl = true
10/25/2022 8:34:03 PM=>DeliveryMethod
10/25/2022 8:34:03 PM=>Before Send
10/25/2022 8:34: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/25/2022 8:34:12 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:34:12 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:34:12 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:34:12 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:34:12 PM=>Info:- END Mailing Method
10/25/2022 8:34:12 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:34:12 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:34:12 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:34:12 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:34:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:34:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:34:12 PM=>Info - End of callingService Method
10/25/2022 8:36:12 PM=>Info - Check time Elapsed
10/25/2022 8:36:12 PM=>Info - Call callingService Method
10/25/2022 8:36:12 PM=>Info:- Call Both
10/25/2022 8:36:12 PM=>Info:- Start Executing SMS Method
10/25/2022 8:36:12 PM=>Info:- End Executing SMS Method
10/25/2022 8:36:12 PM=>Info:- Start Mailing Method
10/25/2022 8:36:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:36:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:36:12 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:36:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:36:12 PM=>Info:- Count = 1
10/25/2022 8:36:12 PM=>Info:- Count 1
10/25/2022 8:36:12 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:36:12 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:36:12 PM=>Info:- Start SenMail Method
10/25/2022 8:36:12 PM=>UseDefaultCredentials
10/25/2022 8:36:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:36:12 PM=>EnableSsl = true
10/25/2022 8:36:12 PM=>DeliveryMethod
10/25/2022 8:36:12 PM=>Before Send
10/25/2022 8:37: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.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/25/2022 8:37:36 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:37:36 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:37:36 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:37:36 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:37:37 PM=>Info:- END Mailing Method
10/25/2022 8:37:37 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:37:37 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:37:37 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:37:37 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:37:37 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:37:37 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:37:37 PM=>Info - End of callingService Method
10/25/2022 8:39:37 PM=>Info - Check time Elapsed
10/25/2022 8:39:37 PM=>Info - Call callingService Method
10/25/2022 8:39:37 PM=>Info:- Call Both
10/25/2022 8:39:37 PM=>Info:- Start Executing SMS Method
10/25/2022 8:39:37 PM=>Info:- End Executing SMS Method
10/25/2022 8:39:37 PM=>Info:- Start Mailing Method
10/25/2022 8:39:37 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:39:37 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:39:37 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:39:37 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:39:37 PM=>Info:- Count = 1
10/25/2022 8:39:37 PM=>Info:- Count 1
10/25/2022 8:39:37 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:39:37 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:39:37 PM=>Info:- Start SenMail Method
10/25/2022 8:39:37 PM=>UseDefaultCredentials
10/25/2022 8:39:37 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:39:37 PM=>EnableSsl = true
10/25/2022 8:39:37 PM=>DeliveryMethod
10/25/2022 8:39:37 PM=>Before Send
10/25/2022 8:41: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.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/25/2022 8:41:01 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:41:01 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:41:01 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:41:01 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:41:01 PM=>Info:- END Mailing Method
10/25/2022 8:41:01 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:41:01 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:41:01 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:41:01 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:41:01 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:41:01 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:41:01 PM=>Info - End of callingService Method
10/25/2022 8:43:01 PM=>Info - Check time Elapsed
10/25/2022 8:43:01 PM=>Info - Call callingService Method
10/25/2022 8:43:01 PM=>Info:- Call Both
10/25/2022 8:43:01 PM=>Info:- Start Executing SMS Method
10/25/2022 8:43:01 PM=>Info:- End Executing SMS Method
10/25/2022 8:43:01 PM=>Info:- Start Mailing Method
10/25/2022 8:43:01 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:43:01 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:43:01 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:43:01 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:43:01 PM=>Info:- Count = 1
10/25/2022 8:43:01 PM=>Info:- Count 1
10/25/2022 8:43:01 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:43:01 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:43:01 PM=>Info:- Start SenMail Method
10/25/2022 8:43:01 PM=>UseDefaultCredentials
10/25/2022 8:43:01 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:43:01 PM=>EnableSsl = true
10/25/2022 8:43:01 PM=>DeliveryMethod
10/25/2022 8:43:01 PM=>Before Send
10/25/2022 8:43: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/25/2022 8:43:10 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:43:10 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:43:10 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:43:10 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:43:11 PM=>Info:- END Mailing Method
10/25/2022 8:43:11 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:43:11 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:43:11 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:43:11 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:43:11 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:43:11 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:43:11 PM=>Info - End of callingService Method
10/25/2022 8:45:11 PM=>Info - Check time Elapsed
10/25/2022 8:45:11 PM=>Info - Call callingService Method
10/25/2022 8:45:11 PM=>Info:- Call Both
10/25/2022 8:45:11 PM=>Info:- Start Executing SMS Method
10/25/2022 8:45:11 PM=>Info:- End Executing SMS Method
10/25/2022 8:45:11 PM=>Info:- Start Mailing Method
10/25/2022 8:45:11 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:45:11 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:45:11 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:45:11 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:45:11 PM=>Info:- Count = 1
10/25/2022 8:45:11 PM=>Info:- Count 1
10/25/2022 8:45:11 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:45:11 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:45:11 PM=>Info:- Start SenMail Method
10/25/2022 8:45:11 PM=>UseDefaultCredentials
10/25/2022 8:45:11 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:45:11 PM=>EnableSsl = true
10/25/2022 8:45:11 PM=>DeliveryMethod
10/25/2022 8:45:11 PM=>Before Send
10/25/2022 8:45: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/25/2022 8:45:14 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:45:14 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:45:14 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:45:14 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:45:14 PM=>Info:- END Mailing Method
10/25/2022 8:45:14 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:45:14 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:45:14 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:45:14 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:45:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:45:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:45:14 PM=>Info - End of callingService Method
10/25/2022 8:47:14 PM=>Info - Check time Elapsed
10/25/2022 8:47:14 PM=>Info - Call callingService Method
10/25/2022 8:47:14 PM=>Info:- Call Both
10/25/2022 8:47:14 PM=>Info:- Start Executing SMS Method
10/25/2022 8:47:14 PM=>Info:- End Executing SMS Method
10/25/2022 8:47:14 PM=>Info:- Start Mailing Method
10/25/2022 8:47:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:47:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:47:14 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:47:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:47:14 PM=>Info:- Count = 1
10/25/2022 8:47:14 PM=>Info:- Count 1
10/25/2022 8:47:14 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:47:14 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:47:14 PM=>Info:- Start SenMail Method
10/25/2022 8:47:14 PM=>UseDefaultCredentials
10/25/2022 8:47:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:47:14 PM=>EnableSsl = true
10/25/2022 8:47:14 PM=>DeliveryMethod
10/25/2022 8:47:14 PM=>Before Send
10/25/2022 8: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/25/2022 8:47:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:47:23 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:47:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:47:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:47:24 PM=>Info:- END Mailing Method
10/25/2022 8:47:24 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:47:24 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:47:24 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:47:24 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:47:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:47:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:47:24 PM=>Info - End of callingService Method
10/25/2022 8:49:24 PM=>Info - Check time Elapsed
10/25/2022 8:49:24 PM=>Info - Call callingService Method
10/25/2022 8:49:24 PM=>Info:- Call Both
10/25/2022 8:49:24 PM=>Info:- Start Executing SMS Method
10/25/2022 8:49:24 PM=>Info:- End Executing SMS Method
10/25/2022 8:49:24 PM=>Info:- Start Mailing Method
10/25/2022 8:49:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:49:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:49:24 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:49:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:49:24 PM=>Info:- Count = 1
10/25/2022 8:49:24 PM=>Info:- Count 1
10/25/2022 8:49:24 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:49:24 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:49:24 PM=>Info:- Start SenMail Method
10/25/2022 8:49:24 PM=>UseDefaultCredentials
10/25/2022 8:49:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:49:24 PM=>EnableSsl = true
10/25/2022 8:49:24 PM=>DeliveryMethod
10/25/2022 8:49:24 PM=>Before Send
10/25/2022 8: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/25/2022 8:49:24 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:49:24 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:49:24 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:49:24 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:49:24 PM=>Info:- END Mailing Method
10/25/2022 8:49:24 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:49:24 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:49:24 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:49:24 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:49:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:49:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:49:24 PM=>Info - End of callingService Method
10/25/2022 8:51:24 PM=>Info - Check time Elapsed
10/25/2022 8:51:24 PM=>Info - Call callingService Method
10/25/2022 8:51:24 PM=>Info:- Call Both
10/25/2022 8:51:24 PM=>Info:- Start Executing SMS Method
10/25/2022 8:51:24 PM=>Info:- End Executing SMS Method
10/25/2022 8:51:24 PM=>Info:- Start Mailing Method
10/25/2022 8:51:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:51:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:51:24 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:51:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:51:24 PM=>Info:- Count = 1
10/25/2022 8:51:24 PM=>Info:- Count 1
10/25/2022 8:51:24 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:51:24 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:51:24 PM=>Info:- Start SenMail Method
10/25/2022 8:51:24 PM=>UseDefaultCredentials
10/25/2022 8:51:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:51:24 PM=>EnableSsl = true
10/25/2022 8:51:24 PM=>DeliveryMethod
10/25/2022 8:51:24 PM=>Before Send
10/25/2022 8:51: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/25/2022 8:51:33 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:51:33 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:51:33 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:51:33 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:51:34 PM=>Info:- END Mailing Method
10/25/2022 8:51:34 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:51:34 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:51:34 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:51:34 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:51:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:51:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:51:34 PM=>Info - End of callingService Method
10/25/2022 8:53:34 PM=>Info - Check time Elapsed
10/25/2022 8:53:34 PM=>Info - Call callingService Method
10/25/2022 8:53:34 PM=>Info:- Call Both
10/25/2022 8:53:34 PM=>Info:- Start Executing SMS Method
10/25/2022 8:53:34 PM=>Info:- End Executing SMS Method
10/25/2022 8:53:34 PM=>Info:- Start Mailing Method
10/25/2022 8:53:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:53:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:53:34 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:53:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:53:34 PM=>Info:- Count = 1
10/25/2022 8:53:34 PM=>Info:- Count 1
10/25/2022 8:53:34 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:53:34 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:53:34 PM=>Info:- Start SenMail Method
10/25/2022 8:53:34 PM=>UseDefaultCredentials
10/25/2022 8:53:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:53:34 PM=>EnableSsl = true
10/25/2022 8:53:34 PM=>DeliveryMethod
10/25/2022 8:53:34 PM=>Before Send
10/25/2022 8:53: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/25/2022 8:53:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:53:34 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:53:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:53:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:53:34 PM=>Info:- END Mailing Method
10/25/2022 8:53:34 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:53:34 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:53:34 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:53:34 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:53:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:53:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:53:34 PM=>Info - End of callingService Method
10/25/2022 8:55:34 PM=>Info - Check time Elapsed
10/25/2022 8:55:34 PM=>Info - Call callingService Method
10/25/2022 8:55:34 PM=>Info:- Call Both
10/25/2022 8:55:34 PM=>Info:- Start Executing SMS Method
10/25/2022 8:55:34 PM=>Info:- End Executing SMS Method
10/25/2022 8:55:34 PM=>Info:- Start Mailing Method
10/25/2022 8:55:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:55:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:55:34 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:55:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:55:34 PM=>Info:- Count = 1
10/25/2022 8:55:34 PM=>Info:- Count 1
10/25/2022 8:55:34 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:55:34 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:55:34 PM=>Info:- Start SenMail Method
10/25/2022 8:55:34 PM=>UseDefaultCredentials
10/25/2022 8:55:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:55:34 PM=>EnableSsl = true
10/25/2022 8:55:34 PM=>DeliveryMethod
10/25/2022 8:55:34 PM=>Before Send
10/25/2022 8:55: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/25/2022 8:55:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:55:43 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:55:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:55:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:55:43 PM=>Info:- END Mailing Method
10/25/2022 8:55:43 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:55:43 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:55:43 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:55:43 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:55:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:55:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:55:43 PM=>Info - End of callingService Method
10/25/2022 8:57:43 PM=>Info - Check time Elapsed
10/25/2022 8:57:43 PM=>Info - Call callingService Method
10/25/2022 8:57:43 PM=>Info:- Call Both
10/25/2022 8:57:43 PM=>Info:- Start Executing SMS Method
10/25/2022 8:57:43 PM=>Info:- End Executing SMS Method
10/25/2022 8:57:44 PM=>Info:- Start Mailing Method
10/25/2022 8:57:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:57:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:57:44 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:57:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:57:44 PM=>Info:- Count = 1
10/25/2022 8:57:44 PM=>Info:- Count 1
10/25/2022 8:57:44 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:57:44 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:57:44 PM=>Info:- Start SenMail Method
10/25/2022 8:57:44 PM=>UseDefaultCredentials
10/25/2022 8:57:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:57:44 PM=>EnableSsl = true
10/25/2022 8:57:44 PM=>DeliveryMethod
10/25/2022 8:57:44 PM=>Before Send
10/25/2022 8:57: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/25/2022 8:57:53 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 8:57:53 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 8:57:53 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 8:57:53 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 8:57:53 PM=>Info:- END Mailing Method
10/25/2022 8:57:53 PM=>Info:- Start Executing Telegram Method
10/25/2022 8:57:53 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 8:57:53 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 8:57:53 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 8:57:53 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 8:57:53 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 8:57:53 PM=>Info - End of callingService Method
10/25/2022 8:59:53 PM=>Info - Check time Elapsed
10/25/2022 8:59:53 PM=>Info - Call callingService Method
10/25/2022 8:59:53 PM=>Info:- Call Both
10/25/2022 8:59:53 PM=>Info:- Start Executing SMS Method
10/25/2022 8:59:53 PM=>Info:- End Executing SMS Method
10/25/2022 8:59:53 PM=>Info:- Start Mailing Method
10/25/2022 8:59:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 8:59:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 8:59:53 PM=>Info:- PendingMail.xml file read to list
10/25/2022 8:59:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 8:59:53 PM=>Info:- Count = 1
10/25/2022 8:59:53 PM=>Info:- Count 1
10/25/2022 8:59:53 PM=>Info - Fetching Data From MAIL XML
10/25/2022 8:59:53 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 8:59:53 PM=>Info:- Start SenMail Method
10/25/2022 8:59:53 PM=>UseDefaultCredentials
10/25/2022 8:59:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 8:59:53 PM=>EnableSsl = true
10/25/2022 8:59:53 PM=>DeliveryMethod
10/25/2022 8:59:53 PM=>Before Send
10/25/2022 9:00: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/25/2022 9:00:56 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:00:56 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:00:56 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:00:56 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:00:56 PM=>Info:- END Mailing Method
10/25/2022 9:00:56 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:00:56 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:00:56 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:00:56 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:00:56 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:00:56 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:00:56 PM=>Info - End of callingService Method
10/25/2022 9:02:56 PM=>Info - Check time Elapsed
10/25/2022 9:02:56 PM=>Info - Call callingService Method
10/25/2022 9:02:56 PM=>Info:- Call Both
10/25/2022 9:02:56 PM=>Info:- Start Executing SMS Method
10/25/2022 9:02:56 PM=>Info:- End Executing SMS Method
10/25/2022 9:02:57 PM=>Info:- Start Mailing Method
10/25/2022 9:02:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:02:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:02:57 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:02:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:02:57 PM=>Info:- Count = 1
10/25/2022 9:02:57 PM=>Info:- Count 1
10/25/2022 9:02:57 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:02:57 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:02:57 PM=>Info:- Start SenMail Method
10/25/2022 9:02:57 PM=>UseDefaultCredentials
10/25/2022 9:02:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:02:57 PM=>EnableSsl = true
10/25/2022 9:02:57 PM=>DeliveryMethod
10/25/2022 9:02:57 PM=>Before Send
10/25/2022 9:04: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.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/25/2022 9:04:21 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:04:21 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:04:21 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:04:21 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:04:21 PM=>Info:- END Mailing Method
10/25/2022 9:04:21 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:04:21 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:04:21 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:04:21 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:04:21 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:04:21 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:04:21 PM=>Info - End of callingService Method
10/25/2022 9:06:21 PM=>Info - Check time Elapsed
10/25/2022 9:06:21 PM=>Info - Call callingService Method
10/25/2022 9:06:21 PM=>Info:- Call Both
10/25/2022 9:06:21 PM=>Info:- Start Executing SMS Method
10/25/2022 9:06:21 PM=>Info:- End Executing SMS Method
10/25/2022 9:06:21 PM=>Info:- Start Mailing Method
10/25/2022 9:06:21 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:06:21 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:06:21 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:06:21 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:06:21 PM=>Info:- Count = 1
10/25/2022 9:06:21 PM=>Info:- Count 1
10/25/2022 9:06:21 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:06:21 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:06:21 PM=>Info:- Start SenMail Method
10/25/2022 9:06:21 PM=>UseDefaultCredentials
10/25/2022 9:06:21 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:06:21 PM=>EnableSsl = true
10/25/2022 9:06:21 PM=>DeliveryMethod
10/25/2022 9:06:21 PM=>Before Send
10/25/2022 9:06: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/25/2022 9:06:42 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:06:42 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:06:42 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:06:42 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:06:43 PM=>Info:- END Mailing Method
10/25/2022 9:06:43 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:06:43 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:06:43 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:06:43 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:06:43 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:06:43 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:06:43 PM=>Info - End of callingService Method
10/25/2022 9:08:43 PM=>Info - Check time Elapsed
10/25/2022 9:08:43 PM=>Info - Call callingService Method
10/25/2022 9:08:43 PM=>Info:- Call Both
10/25/2022 9:08:43 PM=>Info:- Start Executing SMS Method
10/25/2022 9:08:43 PM=>Info:- End Executing SMS Method
10/25/2022 9:08:43 PM=>Info:- Start Mailing Method
10/25/2022 9:08:43 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:08:43 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:08:43 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:08:43 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:08:43 PM=>Info:- Count = 1
10/25/2022 9:08:43 PM=>Info:- Count 1
10/25/2022 9:08:43 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:08:43 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:08:43 PM=>Info:- Start SenMail Method
10/25/2022 9:08:43 PM=>UseDefaultCredentials
10/25/2022 9:08:43 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:08:43 PM=>EnableSsl = true
10/25/2022 9:08:43 PM=>DeliveryMethod
10/25/2022 9:08:43 PM=>Before Send
10/25/2022 9:09: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/25/2022 9:09:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:09:04 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:09:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:09:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:09:04 PM=>Info:- END Mailing Method
10/25/2022 9:09:04 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:09:04 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:09:04 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:09:04 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:09:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:09:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:09:04 PM=>Info - End of callingService Method
10/25/2022 9:11:04 PM=>Info - Check time Elapsed
10/25/2022 9:11:04 PM=>Info - Call callingService Method
10/25/2022 9:11:04 PM=>Info:- Call Both
10/25/2022 9:11:04 PM=>Info:- Start Executing SMS Method
10/25/2022 9:11:04 PM=>Info:- End Executing SMS Method
10/25/2022 9:11:04 PM=>Info:- Start Mailing Method
10/25/2022 9:11:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:11:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:11:04 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:11:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:11:04 PM=>Info:- Count = 1
10/25/2022 9:11:04 PM=>Info:- Count 1
10/25/2022 9:11:04 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:11:04 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:11:04 PM=>Info:- Start SenMail Method
10/25/2022 9:11:04 PM=>UseDefaultCredentials
10/25/2022 9:11:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:11:04 PM=>EnableSsl = true
10/25/2022 9:11:04 PM=>DeliveryMethod
10/25/2022 9:11:04 PM=>Before Send
10/25/2022 9:11: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/25/2022 9:11:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:11:04 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:11:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:11:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:11:04 PM=>Info:- END Mailing Method
10/25/2022 9:11:04 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:11:04 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:11:04 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:11:04 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:11:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:11:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:11:04 PM=>Info - End of callingService Method
10/25/2022 9:13:04 PM=>Info - Check time Elapsed
10/25/2022 9:13:04 PM=>Info - Call callingService Method
10/25/2022 9:13:04 PM=>Info:- Call Both
10/25/2022 9:13:04 PM=>Info:- Start Executing SMS Method
10/25/2022 9:13:04 PM=>Info:- End Executing SMS Method
10/25/2022 9:13:04 PM=>Info:- Start Mailing Method
10/25/2022 9:13:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:13:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:13:04 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:13:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:13:04 PM=>Info:- Count = 1
10/25/2022 9:13:04 PM=>Info:- Count 1
10/25/2022 9:13:04 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:13:04 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:13:04 PM=>Info:- Start SenMail Method
10/25/2022 9:13:04 PM=>UseDefaultCredentials
10/25/2022 9:13:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:13:04 PM=>EnableSsl = true
10/25/2022 9:13:04 PM=>DeliveryMethod
10/25/2022 9:13:04 PM=>Before Send
10/25/2022 9:14:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 9:14:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:14:29 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:14:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:14:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:14:29 PM=>Info:- END Mailing Method
10/25/2022 9:14:29 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:14:29 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:14:29 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:14:29 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:14:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:14:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:14:29 PM=>Info - End of callingService Method
10/25/2022 9:16:29 PM=>Info - Check time Elapsed
10/25/2022 9:16:29 PM=>Info - Call callingService Method
10/25/2022 9:16:29 PM=>Info:- Call Both
10/25/2022 9:16:29 PM=>Info:- Start Executing SMS Method
10/25/2022 9:16:29 PM=>Info:- End Executing SMS Method
10/25/2022 9:16:29 PM=>Info:- Start Mailing Method
10/25/2022 9:16:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:16:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:16:29 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:16:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:16:29 PM=>Info:- Count = 1
10/25/2022 9:16:29 PM=>Info:- Count 1
10/25/2022 9:16:29 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:16:29 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:16:29 PM=>Info:- Start SenMail Method
10/25/2022 9:16:29 PM=>UseDefaultCredentials
10/25/2022 9:16:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:16:29 PM=>EnableSsl = true
10/25/2022 9:16:29 PM=>DeliveryMethod
10/25/2022 9:16:29 PM=>Before Send
10/25/2022 9:16: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/25/2022 9:16:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:16:29 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:16:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:16:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:16:29 PM=>Info:- END Mailing Method
10/25/2022 9:16:29 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:16:29 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:16:29 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:16:29 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:16:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:16:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:16:29 PM=>Info - End of callingService Method
10/25/2022 9:18:29 PM=>Info - Check time Elapsed
10/25/2022 9:18:29 PM=>Info - Call callingService Method
10/25/2022 9:18:29 PM=>Info:- Call Both
10/25/2022 9:18:29 PM=>Info:- Start Executing SMS Method
10/25/2022 9:18:29 PM=>Info:- End Executing SMS Method
10/25/2022 9:18:29 PM=>Info:- Start Mailing Method
10/25/2022 9:18:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:18:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:18:29 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:18:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:18:29 PM=>Info:- Count = 1
10/25/2022 9:18:29 PM=>Info:- Count 1
10/25/2022 9:18:29 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:18:29 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:18:29 PM=>Info:- Start SenMail Method
10/25/2022 9:18:29 PM=>UseDefaultCredentials
10/25/2022 9:18:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:18:29 PM=>EnableSsl = true
10/25/2022 9:18:29 PM=>DeliveryMethod
10/25/2022 9:18:29 PM=>Before Send
10/25/2022 9:19:54 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 9:19:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:19:54 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:19:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:19:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:19:54 PM=>Info:- END Mailing Method
10/25/2022 9:19:54 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:19:54 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:19:54 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:19:54 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:19:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:19:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:19:54 PM=>Info - End of callingService Method
10/25/2022 9:21:54 PM=>Info - Check time Elapsed
10/25/2022 9:21:54 PM=>Info - Call callingService Method
10/25/2022 9:21:54 PM=>Info:- Call Both
10/25/2022 9:21:54 PM=>Info:- Start Executing SMS Method
10/25/2022 9:21:54 PM=>Info:- End Executing SMS Method
10/25/2022 9:21:54 PM=>Info:- Start Mailing Method
10/25/2022 9:21:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:21:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:21:54 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:21:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:21:54 PM=>Info:- Count = 1
10/25/2022 9:21:54 PM=>Info:- Count 1
10/25/2022 9:21:54 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:21:54 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:21:54 PM=>Info:- Start SenMail Method
10/25/2022 9:21:54 PM=>UseDefaultCredentials
10/25/2022 9:21:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:21:54 PM=>EnableSsl = true
10/25/2022 9:21:54 PM=>DeliveryMethod
10/25/2022 9:21:54 PM=>Before Send
10/25/2022 9:21: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/25/2022 9:21:54 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:21:54 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:21:54 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:21:54 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:21:54 PM=>Info:- END Mailing Method
10/25/2022 9:21:54 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:21:54 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:21:54 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:21:54 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:21:54 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:21:54 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:21:54 PM=>Info - End of callingService Method
10/25/2022 9:23:54 PM=>Info - Check time Elapsed
10/25/2022 9:23:54 PM=>Info - Call callingService Method
10/25/2022 9:23:54 PM=>Info:- Call Both
10/25/2022 9:23:54 PM=>Info:- Start Executing SMS Method
10/25/2022 9:23:54 PM=>Info:- End Executing SMS Method
10/25/2022 9:23:54 PM=>Info:- Start Mailing Method
10/25/2022 9:23:54 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:23:54 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:23:54 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:23:54 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:23:54 PM=>Info:- Count = 1
10/25/2022 9:23:54 PM=>Info:- Count 1
10/25/2022 9:23:54 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:23:54 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:23:54 PM=>Info:- Start SenMail Method
10/25/2022 9:23:54 PM=>UseDefaultCredentials
10/25/2022 9:23:54 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:23:54 PM=>EnableSsl = true
10/25/2022 9:23:54 PM=>DeliveryMethod
10/25/2022 9:23:54 PM=>Before Send
10/25/2022 9:25:19 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 9:25:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:25:19 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:25:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:25:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:25:19 PM=>Info:- END Mailing Method
10/25/2022 9:25:19 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:25:19 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:25:19 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:25:19 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:25:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:25:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:25:19 PM=>Info - End of callingService Method
10/25/2022 9:27:19 PM=>Info - Check time Elapsed
10/25/2022 9:27:19 PM=>Info - Call callingService Method
10/25/2022 9:27:19 PM=>Info:- Call Both
10/25/2022 9:27:19 PM=>Info:- Start Executing SMS Method
10/25/2022 9:27:19 PM=>Info:- End Executing SMS Method
10/25/2022 9:27:19 PM=>Info:- Start Mailing Method
10/25/2022 9:27:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:27:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:27:19 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:27:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:27:19 PM=>Info:- Count = 1
10/25/2022 9:27:19 PM=>Info:- Count 1
10/25/2022 9:27:19 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:27:19 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:27:19 PM=>Info:- Start SenMail Method
10/25/2022 9:27:19 PM=>UseDefaultCredentials
10/25/2022 9:27:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:27:19 PM=>EnableSsl = true
10/25/2022 9:27:19 PM=>DeliveryMethod
10/25/2022 9:27:19 PM=>Before Send
10/25/2022 9:27: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/25/2022 9:27:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:27:19 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:27:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:27:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:27:19 PM=>Info:- END Mailing Method
10/25/2022 9:27:19 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:27:19 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:27:19 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:27:19 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:27:19 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:27:19 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:27:19 PM=>Info - End of callingService Method
10/25/2022 9:29:19 PM=>Info - Check time Elapsed
10/25/2022 9:29:19 PM=>Info - Call callingService Method
10/25/2022 9:29:19 PM=>Info:- Call Both
10/25/2022 9:29:19 PM=>Info:- Start Executing SMS Method
10/25/2022 9:29:19 PM=>Info:- End Executing SMS Method
10/25/2022 9:29:19 PM=>Info:- Start Mailing Method
10/25/2022 9:29:19 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:29:19 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:29:19 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:29:19 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:29:19 PM=>Info:- Count = 1
10/25/2022 9:29:19 PM=>Info:- Count 1
10/25/2022 9:29:19 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:29:19 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:29:19 PM=>Info:- Start SenMail Method
10/25/2022 9:29:19 PM=>UseDefaultCredentials
10/25/2022 9:29:19 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:29:19 PM=>EnableSsl = true
10/25/2022 9:29:19 PM=>DeliveryMethod
10/25/2022 9:29:19 PM=>Before Send
10/25/2022 9:29: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/25/2022 9:29:19 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:29:19 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:29:19 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:29:19 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:29:20 PM=>Info:- END Mailing Method
10/25/2022 9:29:20 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:29:20 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:29:20 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:29:20 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:29:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:29:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:29:20 PM=>Info - End of callingService Method
10/25/2022 9:31:20 PM=>Info - Check time Elapsed
10/25/2022 9:31:20 PM=>Info - Call callingService Method
10/25/2022 9:31:20 PM=>Info:- Call Both
10/25/2022 9:31:20 PM=>Info:- Start Executing SMS Method
10/25/2022 9:31:20 PM=>Info:- End Executing SMS Method
10/25/2022 9:31:20 PM=>Info:- Start Mailing Method
10/25/2022 9:31:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:31:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:31:20 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:31:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:31:20 PM=>Info:- Count = 1
10/25/2022 9:31:20 PM=>Info:- Count 1
10/25/2022 9:31:20 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:31:20 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:31:20 PM=>Info:- Start SenMail Method
10/25/2022 9:31:20 PM=>UseDefaultCredentials
10/25/2022 9:31:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:31:20 PM=>EnableSsl = true
10/25/2022 9:31:20 PM=>DeliveryMethod
10/25/2022 9:31:20 PM=>Before Send
10/25/2022 9:32: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/25/2022 9:32:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:32:02 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:32:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:32:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:32:02 PM=>Info:- END Mailing Method
10/25/2022 9:32:02 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:32:02 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:32:02 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:32:02 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:32:02 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:32:02 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:32:02 PM=>Info - End of callingService Method
10/25/2022 9:34:02 PM=>Info - Check time Elapsed
10/25/2022 9:34:02 PM=>Info - Call callingService Method
10/25/2022 9:34:02 PM=>Info:- Call Both
10/25/2022 9:34:02 PM=>Info:- Start Executing SMS Method
10/25/2022 9:34:02 PM=>Info:- End Executing SMS Method
10/25/2022 9:34:02 PM=>Info:- Start Mailing Method
10/25/2022 9:34:02 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:34:02 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:34:02 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:34:02 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:34:02 PM=>Info:- Count = 1
10/25/2022 9:34:02 PM=>Info:- Count 1
10/25/2022 9:34:02 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:34:02 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:34:02 PM=>Info:- Start SenMail Method
10/25/2022 9:34:02 PM=>UseDefaultCredentials
10/25/2022 9:34:02 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:34:02 PM=>EnableSsl = true
10/25/2022 9:34:02 PM=>DeliveryMethod
10/25/2022 9:34:02 PM=>Before Send
10/25/2022 9:35: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.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/25/2022 9:35:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:35:27 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:35:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:35:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:35:27 PM=>Info:- END Mailing Method
10/25/2022 9:35:27 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:35:27 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:35:27 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:35:27 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:35:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:35:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:35:27 PM=>Info - End of callingService Method
10/25/2022 9:37:27 PM=>Info - Check time Elapsed
10/25/2022 9:37:27 PM=>Info - Call callingService Method
10/25/2022 9:37:27 PM=>Info:- Call Both
10/25/2022 9:37:27 PM=>Info:- Start Executing SMS Method
10/25/2022 9:37:27 PM=>Info:- End Executing SMS Method
10/25/2022 9:37:27 PM=>Info:- Start Mailing Method
10/25/2022 9:37:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:37:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:37:27 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:37:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:37:27 PM=>Info:- Count = 1
10/25/2022 9:37:27 PM=>Info:- Count 1
10/25/2022 9:37:27 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:37:27 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:37:27 PM=>Info:- Start SenMail Method
10/25/2022 9:37:27 PM=>UseDefaultCredentials
10/25/2022 9:37:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:37:27 PM=>EnableSsl = true
10/25/2022 9:37:27 PM=>DeliveryMethod
10/25/2022 9:37:27 PM=>Before Send
10/25/2022 9:38: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.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/25/2022 9:38:51 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:38:51 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:38:51 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:38:51 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:38:52 PM=>Info:- END Mailing Method
10/25/2022 9:38:52 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:38:52 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:38:52 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:38:52 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:38:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:38:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:38:52 PM=>Info - End of callingService Method
10/25/2022 9:40:52 PM=>Info - Check time Elapsed
10/25/2022 9:40:52 PM=>Info - Call callingService Method
10/25/2022 9:40:52 PM=>Info:- Call Both
10/25/2022 9:40:52 PM=>Info:- Start Executing SMS Method
10/25/2022 9:40:52 PM=>Info:- End Executing SMS Method
10/25/2022 9:40:52 PM=>Info:- Start Mailing Method
10/25/2022 9:40:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:40:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:40:52 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:40:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:40:52 PM=>Info:- Count = 1
10/25/2022 9:40:52 PM=>Info:- Count 1
10/25/2022 9:40:52 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:40:52 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:40:52 PM=>Info:- Start SenMail Method
10/25/2022 9:40:52 PM=>UseDefaultCredentials
10/25/2022 9:40:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:40:52 PM=>EnableSsl = true
10/25/2022 9:40:52 PM=>DeliveryMethod
10/25/2022 9:40:52 PM=>Before Send
10/25/2022 9:42: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/25/2022 9:42:16 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:42:16 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:42:16 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:42:16 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:42:16 PM=>Info:- END Mailing Method
10/25/2022 9:42:16 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:42:16 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:42:16 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:42:16 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:42:16 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:42:16 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:42:16 PM=>Info - End of callingService Method
10/25/2022 9:44:16 PM=>Info - Check time Elapsed
10/25/2022 9:44:16 PM=>Info - Call callingService Method
10/25/2022 9:44:16 PM=>Info:- Call Both
10/25/2022 9:44:16 PM=>Info:- Start Executing SMS Method
10/25/2022 9:44:16 PM=>Info:- End Executing SMS Method
10/25/2022 9:44:16 PM=>Info:- Start Mailing Method
10/25/2022 9:44:16 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:44:16 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:44:16 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:44:16 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:44:16 PM=>Info:- Count = 1
10/25/2022 9:44:16 PM=>Info:- Count 1
10/25/2022 9:44:16 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:44:16 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:44:16 PM=>Info:- Start SenMail Method
10/25/2022 9:44:16 PM=>UseDefaultCredentials
10/25/2022 9:44:16 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:44:16 PM=>EnableSsl = true
10/25/2022 9:44:16 PM=>DeliveryMethod
10/25/2022 9:44:16 PM=>Before Send
10/25/2022 9:45:40 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 9:45:40 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:45:40 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:45:40 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:45:40 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:45:41 PM=>Info:- END Mailing Method
10/25/2022 9:45:41 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:45:41 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:45:41 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:45:41 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:45:41 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:45:41 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:45:41 PM=>Info - End of callingService Method
10/25/2022 9:47:41 PM=>Info - Check time Elapsed
10/25/2022 9:47:41 PM=>Info - Call callingService Method
10/25/2022 9:47:41 PM=>Info:- Call Both
10/25/2022 9:47:41 PM=>Info:- Start Executing SMS Method
10/25/2022 9:47:41 PM=>Info:- End Executing SMS Method
10/25/2022 9:47:41 PM=>Info:- Start Mailing Method
10/25/2022 9:47:41 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:47:41 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:47:41 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:47:41 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:47:41 PM=>Info:- Count = 1
10/25/2022 9:47:41 PM=>Info:- Count 1
10/25/2022 9:47:41 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:47:41 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:47:41 PM=>Info:- Start SenMail Method
10/25/2022 9:47:41 PM=>UseDefaultCredentials
10/25/2022 9:47:41 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:47:41 PM=>EnableSsl = true
10/25/2022 9:47:41 PM=>DeliveryMethod
10/25/2022 9:47:41 PM=>Before Send
10/25/2022 9:48: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/25/2022 9:48:44 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:48:44 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:48:44 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:48:44 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:48:44 PM=>Info:- END Mailing Method
10/25/2022 9:48:44 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:48:44 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:48:44 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:48:44 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:48:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:48:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:48:44 PM=>Info - End of callingService Method
10/25/2022 9:50:44 PM=>Info - Check time Elapsed
10/25/2022 9:50:44 PM=>Info - Call callingService Method
10/25/2022 9:50:44 PM=>Info:- Call Both
10/25/2022 9:50:44 PM=>Info:- Start Executing SMS Method
10/25/2022 9:50:44 PM=>Info:- End Executing SMS Method
10/25/2022 9:50:44 PM=>Info:- Start Mailing Method
10/25/2022 9:50:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:50:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:50:44 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:50:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:50:44 PM=>Info:- Count = 1
10/25/2022 9:50:44 PM=>Info:- Count 1
10/25/2022 9:50:44 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:50:44 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:50:44 PM=>Info:- Start SenMail Method
10/25/2022 9:50:44 PM=>UseDefaultCredentials
10/25/2022 9:50:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:50:44 PM=>EnableSsl = true
10/25/2022 9:50:44 PM=>DeliveryMethod
10/25/2022 9:50:44 PM=>Before Send
10/25/2022 9:52:08 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.35.2:587
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 9:52:08 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:52:08 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:52:08 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:52:08 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:52:09 PM=>Info:- END Mailing Method
10/25/2022 9:52:09 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:52:09 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:52:09 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:52:09 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:52:09 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:52:09 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:52:09 PM=>Info - End of callingService Method
10/25/2022 9:54:09 PM=>Info - Check time Elapsed
10/25/2022 9:54:09 PM=>Info - Call callingService Method
10/25/2022 9:54:09 PM=>Info:- Call Both
10/25/2022 9:54:09 PM=>Info:- Start Executing SMS Method
10/25/2022 9:54:09 PM=>Info:- End Executing SMS Method
10/25/2022 9:54:09 PM=>Info:- Start Mailing Method
10/25/2022 9:54:09 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:54:09 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:54:09 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:54:09 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:54:09 PM=>Info:- Count = 1
10/25/2022 9:54:09 PM=>Info:- Count 1
10/25/2022 9:54:09 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:54:09 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:54:09 PM=>Info:- Start SenMail Method
10/25/2022 9:54:09 PM=>UseDefaultCredentials
10/25/2022 9:54:09 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:54:09 PM=>EnableSsl = true
10/25/2022 9:54:09 PM=>DeliveryMethod
10/25/2022 9:54:09 PM=>Before Send
10/25/2022 9:56:57 PM=>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/25/2022 9:56:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:56:57 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:56:57 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:56:57 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:56:57 PM=>Info:- END Mailing Method
10/25/2022 9:56:57 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:56:57 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:56:57 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:56:57 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:56:57 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:56:57 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:56:57 PM=>Info - End of callingService Method
10/25/2022 9:58:57 PM=>Info - Check time Elapsed
10/25/2022 9:58:57 PM=>Info - Call callingService Method
10/25/2022 9:58:57 PM=>Info:- Call Both
10/25/2022 9:58:57 PM=>Info:- Start Executing SMS Method
10/25/2022 9:58:57 PM=>Info:- End Executing SMS Method
10/25/2022 9:58:57 PM=>Info:- Start Mailing Method
10/25/2022 9:58:57 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 9:58:57 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 9:58:57 PM=>Info:- PendingMail.xml file read to list
10/25/2022 9:58:57 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 9:58:57 PM=>Info:- Count = 1
10/25/2022 9:58:57 PM=>Info:- Count 1
10/25/2022 9:58:57 PM=>Info - Fetching Data From MAIL XML
10/25/2022 9:58:57 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 9:58:57 PM=>Info:- Start SenMail Method
10/25/2022 9:58:57 PM=>UseDefaultCredentials
10/25/2022 9:58:57 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 9:58:57 PM=>EnableSsl = true
10/25/2022 9:58:57 PM=>DeliveryMethod
10/25/2022 9:58:57 PM=>Before Send
10/25/2022 9:59: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/25/2022 9:59:28 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 9:59:28 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 9:59:28 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 9:59:28 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 9:59:28 PM=>Info:- END Mailing Method
10/25/2022 9:59:28 PM=>Info:- Start Executing Telegram Method
10/25/2022 9:59:28 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 9:59:28 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 9:59:28 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 9:59:28 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 9:59:28 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 9:59:28 PM=>Info - End of callingService Method
10/25/2022 10:01:28 PM=>Info - Check time Elapsed
10/25/2022 10:01:28 PM=>Info - Call callingService Method
10/25/2022 10:01:28 PM=>Info:- Call Both
10/25/2022 10:01:28 PM=>Info:- Start Executing SMS Method
10/25/2022 10:01:28 PM=>Info:- End Executing SMS Method
10/25/2022 10:01:28 PM=>Info:- Start Mailing Method
10/25/2022 10:01:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:01:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:01:28 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:01:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:01:28 PM=>Info:- Count = 1
10/25/2022 10:01:28 PM=>Info:- Count 1
10/25/2022 10:01:28 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:01:28 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:01:28 PM=>Info:- Start SenMail Method
10/25/2022 10:01:28 PM=>UseDefaultCredentials
10/25/2022 10:01:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:01:28 PM=>EnableSsl = true
10/25/2022 10:01:28 PM=>DeliveryMethod
10/25/2022 10:01:28 PM=>Before Send
10/25/2022 10:02: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/25/2022 10:02:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:02:52 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:02:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:02:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:02:52 PM=>Info:- END Mailing Method
10/25/2022 10:02:52 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:02:52 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:02:52 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:02:52 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:02:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:02:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:02:52 PM=>Info - End of callingService Method
10/25/2022 10:04:52 PM=>Info - Check time Elapsed
10/25/2022 10:04:52 PM=>Info - Call callingService Method
10/25/2022 10:04:52 PM=>Info:- Call Both
10/25/2022 10:04:52 PM=>Info:- Start Executing SMS Method
10/25/2022 10:04:53 PM=>Info:- End Executing SMS Method
10/25/2022 10:04:53 PM=>Info:- Start Mailing Method
10/25/2022 10:04:53 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:04:53 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:04:53 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:04:53 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:04:53 PM=>Info:- Count = 1
10/25/2022 10:04:53 PM=>Info:- Count 1
10/25/2022 10:04:53 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:04:53 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:04:53 PM=>Info:- Start SenMail Method
10/25/2022 10:04:53 PM=>UseDefaultCredentials
10/25/2022 10:04:53 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:04:53 PM=>EnableSsl = true
10/25/2022 10:04:53 PM=>DeliveryMethod
10/25/2022 10:04:53 PM=>Before Send
10/25/2022 10:06: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.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/25/2022 10:06:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:06:17 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:06:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:06:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:06:17 PM=>Info:- END Mailing Method
10/25/2022 10:06:17 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:06:17 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:06:17 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:06:17 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:06:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:06:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:06:17 PM=>Info - End of callingService Method
10/25/2022 10:08:17 PM=>Info - Check time Elapsed
10/25/2022 10:08:17 PM=>Info - Call callingService Method
10/25/2022 10:08:17 PM=>Info:- Call Both
10/25/2022 10:08:17 PM=>Info:- Start Executing SMS Method
10/25/2022 10:08:17 PM=>Info:- End Executing SMS Method
10/25/2022 10:08:17 PM=>Info:- Start Mailing Method
10/25/2022 10:08:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:08:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:08:17 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:08:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:08:17 PM=>Info:- Count = 1
10/25/2022 10:08:17 PM=>Info:- Count 1
10/25/2022 10:08:17 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:08:17 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:08:17 PM=>Info:- Start SenMail Method
10/25/2022 10:08:17 PM=>UseDefaultCredentials
10/25/2022 10:08:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:08:17 PM=>EnableSsl = true
10/25/2022 10:08:17 PM=>DeliveryMethod
10/25/2022 10:08:17 PM=>Before Send
10/25/2022 10: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/25/2022 10:08:17 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:08:17 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:08:17 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:08:17 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:08:17 PM=>Info:- END Mailing Method
10/25/2022 10:08:17 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:08:17 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:08:17 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:08:17 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:08:17 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:08:17 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:08:17 PM=>Info - End of callingService Method
10/25/2022 10:10:17 PM=>Info - Check time Elapsed
10/25/2022 10:10:17 PM=>Info - Call callingService Method
10/25/2022 10:10:17 PM=>Info:- Call Both
10/25/2022 10:10:17 PM=>Info:- Start Executing SMS Method
10/25/2022 10:10:17 PM=>Info:- End Executing SMS Method
10/25/2022 10:10:17 PM=>Info:- Start Mailing Method
10/25/2022 10:10:17 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:10:17 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:10:17 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:10:17 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:10:17 PM=>Info:- Count = 1
10/25/2022 10:10:17 PM=>Info:- Count 1
10/25/2022 10:10:17 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:10:17 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:10:17 PM=>Info:- Start SenMail Method
10/25/2022 10:10:17 PM=>UseDefaultCredentials
10/25/2022 10:10:17 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:10:17 PM=>EnableSsl = true
10/25/2022 10:10:17 PM=>DeliveryMethod
10/25/2022 10:10:17 PM=>Before Send
10/25/2022 10:10: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/25/2022 10:10:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:10:27 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:10:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:10:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:10:27 PM=>Info:- END Mailing Method
10/25/2022 10:10:27 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:10:27 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:10:27 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:10:27 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:10:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:10:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:10:27 PM=>Info - End of callingService Method
10/25/2022 10:12:27 PM=>Info - Check time Elapsed
10/25/2022 10:12:27 PM=>Info - Call callingService Method
10/25/2022 10:12:27 PM=>Info:- Call Both
10/25/2022 10:12:27 PM=>Info:- Start Executing SMS Method
10/25/2022 10:12:27 PM=>Info:- End Executing SMS Method
10/25/2022 10:12:27 PM=>Info:- Start Mailing Method
10/25/2022 10:12:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:12:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:12:27 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:12:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:12:27 PM=>Info:- Count = 1
10/25/2022 10:12:27 PM=>Info:- Count 1
10/25/2022 10:12:27 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:12:27 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:12:27 PM=>Info:- Start SenMail Method
10/25/2022 10:12:27 PM=>UseDefaultCredentials
10/25/2022 10:12:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:12:27 PM=>EnableSsl = true
10/25/2022 10:12:27 PM=>DeliveryMethod
10/25/2022 10:12:27 PM=>Before Send
10/25/2022 10:12: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/25/2022 10:12:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:12:27 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:12:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:12:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:12:27 PM=>Info:- END Mailing Method
10/25/2022 10:12:27 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:12:27 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:12:27 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:12:27 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:12:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:12:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:12:27 PM=>Info - End of callingService Method
10/25/2022 10:14:28 PM=>Info - Check time Elapsed
10/25/2022 10:14:28 PM=>Info - Call callingService Method
10/25/2022 10:14:28 PM=>Info:- Call Both
10/25/2022 10:14:28 PM=>Info:- Start Executing SMS Method
10/25/2022 10:14:28 PM=>Info:- End Executing SMS Method
10/25/2022 10:14:28 PM=>Info:- Start Mailing Method
10/25/2022 10:14:28 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:14:28 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:14:28 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:14:28 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:14:28 PM=>Info:- Count = 1
10/25/2022 10:14:28 PM=>Info:- Count 1
10/25/2022 10:14:28 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:14:28 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:14:28 PM=>Info:- Start SenMail Method
10/25/2022 10:14:28 PM=>UseDefaultCredentials
10/25/2022 10:14:28 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:14:28 PM=>EnableSsl = true
10/25/2022 10:14:28 PM=>DeliveryMethod
10/25/2022 10:14:28 PM=>Before Send
10/25/2022 10:15: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.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/25/2022 10:15:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:15:52 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:15:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:15:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:15:52 PM=>Info:- END Mailing Method
10/25/2022 10:15:52 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:15:52 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:15:52 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:15:52 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:15:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:15:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:15:52 PM=>Info - End of callingService Method
10/25/2022 10:17:52 PM=>Info - Check time Elapsed
10/25/2022 10:17:52 PM=>Info - Call callingService Method
10/25/2022 10:17:52 PM=>Info:- Call Both
10/25/2022 10:17:52 PM=>Info:- Start Executing SMS Method
10/25/2022 10:17:52 PM=>Info:- End Executing SMS Method
10/25/2022 10:17:52 PM=>Info:- Start Mailing Method
10/25/2022 10:17:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:17:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:17:52 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:17:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:17:52 PM=>Info:- Count = 1
10/25/2022 10:17:52 PM=>Info:- Count 1
10/25/2022 10:17:52 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:17:52 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:17:52 PM=>Info:- Start SenMail Method
10/25/2022 10:17:52 PM=>UseDefaultCredentials
10/25/2022 10:17:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:17:52 PM=>EnableSsl = true
10/25/2022 10:17:52 PM=>DeliveryMethod
10/25/2022 10:17:52 PM=>Before Send
10/25/2022 10: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/25/2022 10:18:43 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:18:43 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:18:43 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:18:43 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:18:44 PM=>Info:- END Mailing Method
10/25/2022 10:18:44 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:18:44 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:18:44 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:18:44 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:18:44 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:18:44 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:18:44 PM=>Info - End of callingService Method
10/25/2022 10:20:44 PM=>Info - Check time Elapsed
10/25/2022 10:20:44 PM=>Info - Call callingService Method
10/25/2022 10:20:44 PM=>Info:- Call Both
10/25/2022 10:20:44 PM=>Info:- Start Executing SMS Method
10/25/2022 10:20:44 PM=>Info:- End Executing SMS Method
10/25/2022 10:20:44 PM=>Info:- Start Mailing Method
10/25/2022 10:20:44 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:20:44 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:20:44 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:20:44 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:20:44 PM=>Info:- Count = 1
10/25/2022 10:20:44 PM=>Info:- Count 1
10/25/2022 10:20:44 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:20:44 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:20:44 PM=>Info:- Start SenMail Method
10/25/2022 10:20:44 PM=>UseDefaultCredentials
10/25/2022 10:20:44 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:20:44 PM=>EnableSsl = true
10/25/2022 10:20:44 PM=>DeliveryMethod
10/25/2022 10:20:44 PM=>Before Send
10/25/2022 10:20: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/25/2022 10:20:47 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:20:47 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:20:47 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:20:47 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:20:47 PM=>Info:- END Mailing Method
10/25/2022 10:20:47 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:20:47 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:20:47 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:20:47 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:20:47 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:20:47 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:20:47 PM=>Info - End of callingService Method
10/25/2022 10:22:47 PM=>Info - Check time Elapsed
10/25/2022 10:22:47 PM=>Info - Call callingService Method
10/25/2022 10:22:47 PM=>Info:- Call Both
10/25/2022 10:22:47 PM=>Info:- Start Executing SMS Method
10/25/2022 10:22:47 PM=>Info:- End Executing SMS Method
10/25/2022 10:22:47 PM=>Info:- Start Mailing Method
10/25/2022 10:22:47 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:22:47 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:22:47 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:22:47 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:22:47 PM=>Info:- Count = 1
10/25/2022 10:22:47 PM=>Info:- Count 1
10/25/2022 10:22:47 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:22:47 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:22:47 PM=>Info:- Start SenMail Method
10/25/2022 10:22:47 PM=>UseDefaultCredentials
10/25/2022 10:22:47 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:22:47 PM=>EnableSsl = true
10/25/2022 10:22:47 PM=>DeliveryMethod
10/25/2022 10:22:47 PM=>Before Send
10/25/2022 10:24: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.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/25/2022 10:24:11 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:24:11 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:24:11 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:24:11 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:24:12 PM=>Info:- END Mailing Method
10/25/2022 10:24:12 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:24:12 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:24:12 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:24:12 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:24:12 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:24:12 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:24:12 PM=>Info - End of callingService Method
10/25/2022 10:26:12 PM=>Info - Check time Elapsed
10/25/2022 10:26:12 PM=>Info - Call callingService Method
10/25/2022 10:26:12 PM=>Info:- Call Both
10/25/2022 10:26:12 PM=>Info:- Start Executing SMS Method
10/25/2022 10:26:12 PM=>Info:- End Executing SMS Method
10/25/2022 10:26:12 PM=>Info:- Start Mailing Method
10/25/2022 10:26:12 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:26:12 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:26:12 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:26:12 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:26:12 PM=>Info:- Count = 1
10/25/2022 10:26:12 PM=>Info:- Count 1
10/25/2022 10:26:12 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:26:12 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:26:12 PM=>Info:- Start SenMail Method
10/25/2022 10:26:12 PM=>UseDefaultCredentials
10/25/2022 10:26:12 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:26:12 PM=>EnableSsl = true
10/25/2022 10:26:12 PM=>DeliveryMethod
10/25/2022 10:26:12 PM=>Before Send
10/25/2022 10:26: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/25/2022 10:26:15 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:26:15 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:26:15 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:26:15 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:26:15 PM=>Info:- END Mailing Method
10/25/2022 10:26:15 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:26:15 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:26:15 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:26:15 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:26:15 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:26:15 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:26:15 PM=>Info - End of callingService Method
10/25/2022 10:28:15 PM=>Info - Check time Elapsed
10/25/2022 10:28:15 PM=>Info - Call callingService Method
10/25/2022 10:28:15 PM=>Info:- Call Both
10/25/2022 10:28:15 PM=>Info:- Start Executing SMS Method
10/25/2022 10:28:15 PM=>Info:- End Executing SMS Method
10/25/2022 10:28:15 PM=>Info:- Start Mailing Method
10/25/2022 10:28:15 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:28:15 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:28:15 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:28:15 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:28:15 PM=>Info:- Count = 1
10/25/2022 10:28:15 PM=>Info:- Count 1
10/25/2022 10:28:15 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:28:15 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:28:15 PM=>Info:- Start SenMail Method
10/25/2022 10:28:15 PM=>UseDefaultCredentials
10/25/2022 10:28:15 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:28:15 PM=>EnableSsl = true
10/25/2022 10:28:15 PM=>DeliveryMethod
10/25/2022 10:28:15 PM=>Before Send
10/25/2022 10:29:39 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 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/25/2022 10:29:39 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:29:39 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:29:39 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:29:39 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:29:40 PM=>Info:- END Mailing Method
10/25/2022 10:29:40 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:29:40 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:29:40 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:29:40 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:29:40 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:29:40 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:29:40 PM=>Info - End of callingService Method
10/25/2022 10:31:40 PM=>Info - Check time Elapsed
10/25/2022 10:31:40 PM=>Info - Call callingService Method
10/25/2022 10:31:40 PM=>Info:- Call Both
10/25/2022 10:31:40 PM=>Info:- Start Executing SMS Method
10/25/2022 10:31:40 PM=>Info:- End Executing SMS Method
10/25/2022 10:31:40 PM=>Info:- Start Mailing Method
10/25/2022 10:31:40 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:31:40 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:31:40 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:31:40 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:31:40 PM=>Info:- Count = 1
10/25/2022 10:31:40 PM=>Info:- Count 1
10/25/2022 10:31:40 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:31:40 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:31:40 PM=>Info:- Start SenMail Method
10/25/2022 10:31:40 PM=>UseDefaultCredentials
10/25/2022 10:31:40 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:31:40 PM=>EnableSsl = true
10/25/2022 10:31:40 PM=>DeliveryMethod
10/25/2022 10:31:40 PM=>Before Send
10/25/2022 10:33: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.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/25/2022 10:33:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:33:04 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:33:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:33:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:33:04 PM=>Info:- END Mailing Method
10/25/2022 10:33:04 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:33:04 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:33:04 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:33:04 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:33:04 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:33:04 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:33:04 PM=>Info - End of callingService Method
10/25/2022 10:35:04 PM=>Info - Check time Elapsed
10/25/2022 10:35:04 PM=>Info - Call callingService Method
10/25/2022 10:35:04 PM=>Info:- Call Both
10/25/2022 10:35:04 PM=>Info:- Start Executing SMS Method
10/25/2022 10:35:04 PM=>Info:- End Executing SMS Method
10/25/2022 10:35:04 PM=>Info:- Start Mailing Method
10/25/2022 10:35:04 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:35:04 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:35:04 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:35:04 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:35:04 PM=>Info:- Count = 1
10/25/2022 10:35:04 PM=>Info:- Count 1
10/25/2022 10:35:04 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:35:04 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:35:04 PM=>Info:- Start SenMail Method
10/25/2022 10:35:04 PM=>UseDefaultCredentials
10/25/2022 10:35:04 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:35:04 PM=>EnableSsl = true
10/25/2022 10:35:04 PM=>DeliveryMethod
10/25/2022 10:35:04 PM=>Before Send
10/25/2022 10:35: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/25/2022 10:35:04 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:35:04 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:35:04 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:35:04 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:35:05 PM=>Info:- END Mailing Method
10/25/2022 10:35:05 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:35:05 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:35:05 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:35:05 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:35:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:35:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:35:05 PM=>Info - End of callingService Method
10/25/2022 10:37:05 PM=>Info - Check time Elapsed
10/25/2022 10:37:05 PM=>Info - Call callingService Method
10/25/2022 10:37:05 PM=>Info:- Call Both
10/25/2022 10:37:05 PM=>Info:- Start Executing SMS Method
10/25/2022 10:37:05 PM=>Info:- End Executing SMS Method
10/25/2022 10:37:05 PM=>Info:- Start Mailing Method
10/25/2022 10:37:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:37:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:37:05 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:37:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:37:05 PM=>Info:- Count = 1
10/25/2022 10:37:05 PM=>Info:- Count 1
10/25/2022 10:37:05 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:37:05 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:37:05 PM=>Info:- Start SenMail Method
10/25/2022 10:37:05 PM=>UseDefaultCredentials
10/25/2022 10:37:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:37:05 PM=>EnableSsl = true
10/25/2022 10:37:05 PM=>DeliveryMethod
10/25/2022 10:37:05 PM=>Before Send
10/25/2022 10:38:29 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 10:38:29 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:38:29 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:38:29 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:38:29 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:38:29 PM=>Info:- END Mailing Method
10/25/2022 10:38:29 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:38:29 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:38:29 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:38:29 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:38:29 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:38:29 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:38:29 PM=>Info - End of callingService Method
10/25/2022 10:40:29 PM=>Info - Check time Elapsed
10/25/2022 10:40:29 PM=>Info - Call callingService Method
10/25/2022 10:40:29 PM=>Info:- Call Both
10/25/2022 10:40:29 PM=>Info:- Start Executing SMS Method
10/25/2022 10:40:29 PM=>Info:- End Executing SMS Method
10/25/2022 10:40:29 PM=>Info:- Start Mailing Method
10/25/2022 10:40:29 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:40:29 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:40:29 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:40:29 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:40:29 PM=>Info:- Count = 1
10/25/2022 10:40:29 PM=>Info:- Count 1
10/25/2022 10:40:29 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:40:29 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:40:29 PM=>Info:- Start SenMail Method
10/25/2022 10:40:29 PM=>UseDefaultCredentials
10/25/2022 10:40:29 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:40:29 PM=>EnableSsl = true
10/25/2022 10:40:29 PM=>DeliveryMethod
10/25/2022 10:40:29 PM=>Before Send
10/25/2022 10:40: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/25/2022 10:40:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:40:38 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:40:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:40:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:40:39 PM=>Info:- END Mailing Method
10/25/2022 10:40:39 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:40:39 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:40:39 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:40:39 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:40:39 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:40:39 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:40:39 PM=>Info - End of callingService Method
10/25/2022 10:42:39 PM=>Info - Check time Elapsed
10/25/2022 10:42:39 PM=>Info - Call callingService Method
10/25/2022 10:42:39 PM=>Info:- Call Both
10/25/2022 10:42:39 PM=>Info:- Start Executing SMS Method
10/25/2022 10:42:39 PM=>Info:- End Executing SMS Method
10/25/2022 10:42:39 PM=>Info:- Start Mailing Method
10/25/2022 10:42:39 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:42:39 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:42:39 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:42:39 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:42:39 PM=>Info:- Count = 1
10/25/2022 10:42:39 PM=>Info:- Count 1
10/25/2022 10:42:39 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:42:39 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:42:39 PM=>Info:- Start SenMail Method
10/25/2022 10:42:39 PM=>UseDefaultCredentials
10/25/2022 10:42:39 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:42:39 PM=>EnableSsl = true
10/25/2022 10:42:39 PM=>DeliveryMethod
10/25/2022 10:42:39 PM=>Before Send
10/25/2022 10:42: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/25/2022 10:42:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:42:48 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:42:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:42:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:42:48 PM=>Info:- END Mailing Method
10/25/2022 10:42:48 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:42:48 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:42:48 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:42:48 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:42:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:42:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:42:48 PM=>Info - End of callingService Method
10/25/2022 10:44:48 PM=>Info - Check time Elapsed
10/25/2022 10:44:48 PM=>Info - Call callingService Method
10/25/2022 10:44:48 PM=>Info:- Call Both
10/25/2022 10:44:48 PM=>Info:- Start Executing SMS Method
10/25/2022 10:44:48 PM=>Info:- End Executing SMS Method
10/25/2022 10:44:48 PM=>Info:- Start Mailing Method
10/25/2022 10:44:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:44:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:44:48 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:44:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:44:48 PM=>Info:- Count = 1
10/25/2022 10:44:48 PM=>Info:- Count 1
10/25/2022 10:44:48 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:44:48 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:44:48 PM=>Info:- Start SenMail Method
10/25/2022 10:44:48 PM=>UseDefaultCredentials
10/25/2022 10:44:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:44:48 PM=>EnableSsl = true
10/25/2022 10:44:48 PM=>DeliveryMethod
10/25/2022 10:44:48 PM=>Before Send
10/25/2022 10:44: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/25/2022 10:44:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:44:48 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:44:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:44:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:44:49 PM=>Info:- END Mailing Method
10/25/2022 10:44:49 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:44:49 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:44:49 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:44:49 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:44:49 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:44:49 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:44:49 PM=>Info - End of callingService Method
10/25/2022 10:46:49 PM=>Info - Check time Elapsed
10/25/2022 10:46:49 PM=>Info - Call callingService Method
10/25/2022 10:46:49 PM=>Info:- Call Both
10/25/2022 10:46:49 PM=>Info:- Start Executing SMS Method
10/25/2022 10:46:49 PM=>Info:- End Executing SMS Method
10/25/2022 10:46:49 PM=>Info:- Start Mailing Method
10/25/2022 10:46:49 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:46:49 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:46:49 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:46:49 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:46:49 PM=>Info:- Count = 1
10/25/2022 10:46:49 PM=>Info:- Count 1
10/25/2022 10:46:49 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:46:49 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:46:49 PM=>Info:- Start SenMail Method
10/25/2022 10:46:49 PM=>UseDefaultCredentials
10/25/2022 10:46:49 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:46:49 PM=>EnableSsl = true
10/25/2022 10:46:49 PM=>DeliveryMethod
10/25/2022 10:46:49 PM=>Before Send
10/25/2022 10:48: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.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/25/2022 10:48:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:48:13 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:48:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:48:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:48:13 PM=>Info:- END Mailing Method
10/25/2022 10:48:13 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:48:13 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:48:13 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:48:13 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:48:13 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:48:13 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:48:13 PM=>Info - End of callingService Method
10/25/2022 10:50:13 PM=>Info - Check time Elapsed
10/25/2022 10:50:13 PM=>Info - Call callingService Method
10/25/2022 10:50:13 PM=>Info:- Call Both
10/25/2022 10:50:13 PM=>Info:- Start Executing SMS Method
10/25/2022 10:50:13 PM=>Info:- End Executing SMS Method
10/25/2022 10:50:13 PM=>Info:- Start Mailing Method
10/25/2022 10:50:13 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:50:13 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:50:13 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:50:13 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:50:13 PM=>Info:- Count = 1
10/25/2022 10:50:13 PM=>Info:- Count 1
10/25/2022 10:50:13 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:50:13 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:50:13 PM=>Info:- Start SenMail Method
10/25/2022 10:50:13 PM=>UseDefaultCredentials
10/25/2022 10:50:13 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:50:13 PM=>EnableSsl = true
10/25/2022 10:50:13 PM=>DeliveryMethod
10/25/2022 10:50:13 PM=>Before Send
10/25/2022 10:51: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.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/25/2022 10:51:37 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:51:37 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:51:37 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:51:37 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:51:38 PM=>Info:- END Mailing Method
10/25/2022 10:51:38 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:51:38 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:51:38 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:51:38 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:51:38 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:51:38 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:51:38 PM=>Info - End of callingService Method
10/25/2022 10:53:38 PM=>Info - Check time Elapsed
10/25/2022 10:53:38 PM=>Info - Call callingService Method
10/25/2022 10:53:38 PM=>Info:- Call Both
10/25/2022 10:53:38 PM=>Info:- Start Executing SMS Method
10/25/2022 10:53:38 PM=>Info:- End Executing SMS Method
10/25/2022 10:53:38 PM=>Info:- Start Mailing Method
10/25/2022 10:53:38 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:53:38 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:53:38 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:53:38 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:53:38 PM=>Info:- Count = 1
10/25/2022 10:53:38 PM=>Info:- Count 1
10/25/2022 10:53:38 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:53:38 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:53:38 PM=>Info:- Start SenMail Method
10/25/2022 10:53:38 PM=>UseDefaultCredentials
10/25/2022 10:53:38 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:53:38 PM=>EnableSsl = true
10/25/2022 10:53:38 PM=>DeliveryMethod
10/25/2022 10:53:38 PM=>Before Send
10/25/2022 10:55: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.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/25/2022 10:55:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:55:02 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:55:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:55:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:55:02 PM=>Info:- END Mailing Method
10/25/2022 10:55:02 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:55:02 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:55:02 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:55:02 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:55:02 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:55:02 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:55:02 PM=>Info - End of callingService Method
10/25/2022 10:57:02 PM=>Info - Check time Elapsed
10/25/2022 10:57:02 PM=>Info - Call callingService Method
10/25/2022 10:57:02 PM=>Info:- Call Both
10/25/2022 10:57:02 PM=>Info:- Start Executing SMS Method
10/25/2022 10:57:02 PM=>Info:- End Executing SMS Method
10/25/2022 10:57:02 PM=>Info:- Start Mailing Method
10/25/2022 10:57:02 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:57:02 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:57:02 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:57:02 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:57:02 PM=>Info:- Count = 1
10/25/2022 10:57:02 PM=>Info:- Count 1
10/25/2022 10:57:02 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:57:02 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:57:02 PM=>Info:- Start SenMail Method
10/25/2022 10:57:02 PM=>UseDefaultCredentials
10/25/2022 10:57:02 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:57:02 PM=>EnableSsl = true
10/25/2022 10:57:02 PM=>DeliveryMethod
10/25/2022 10:57:02 PM=>Before Send
10/25/2022 10:57:45 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 10:57:45 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 10:57:45 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 10:57:45 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 10:57:45 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 10:57:45 PM=>Info:- END Mailing Method
10/25/2022 10:57:45 PM=>Info:- Start Executing Telegram Method
10/25/2022 10:57:45 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 10:57:45 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 10:57:45 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 10:57:45 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 10:57:45 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 10:57:45 PM=>Info - End of callingService Method
10/25/2022 10:59:45 PM=>Info - Check time Elapsed
10/25/2022 10:59:45 PM=>Info - Call callingService Method
10/25/2022 10:59:45 PM=>Info:- Call Both
10/25/2022 10:59:45 PM=>Info:- Start Executing SMS Method
10/25/2022 10:59:45 PM=>Info:- End Executing SMS Method
10/25/2022 10:59:45 PM=>Info:- Start Mailing Method
10/25/2022 10:59:45 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 10:59:45 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 10:59:45 PM=>Info:- PendingMail.xml file read to list
10/25/2022 10:59:45 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 10:59:45 PM=>Info:- Count = 1
10/25/2022 10:59:45 PM=>Info:- Count 1
10/25/2022 10:59:45 PM=>Info - Fetching Data From MAIL XML
10/25/2022 10:59:45 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 10:59:45 PM=>Info:- Start SenMail Method
10/25/2022 10:59:45 PM=>UseDefaultCredentials
10/25/2022 10:59:45 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 10:59:45 PM=>EnableSsl = true
10/25/2022 10:59:45 PM=>DeliveryMethod
10/25/2022 10:59:45 PM=>Before Send
10/25/2022 11:01:09 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 11:01:09 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:01:09 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:01:09 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:01:09 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:01:10 PM=>Info:- END Mailing Method
10/25/2022 11:01:10 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:01:10 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:01:10 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:01:10 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:01:10 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:01:10 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:01:10 PM=>Info - End of callingService Method
10/25/2022 11:03:10 PM=>Info - Check time Elapsed
10/25/2022 11:03:10 PM=>Info - Call callingService Method
10/25/2022 11:03:10 PM=>Info:- Call Both
10/25/2022 11:03:10 PM=>Info:- Start Executing SMS Method
10/25/2022 11:03:10 PM=>Info:- End Executing SMS Method
10/25/2022 11:03:10 PM=>Info:- Start Mailing Method
10/25/2022 11:03:10 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:03:10 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:03:10 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:03:10 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:03:10 PM=>Info:- Count = 1
10/25/2022 11:03:10 PM=>Info:- Count 1
10/25/2022 11:03:10 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:03:10 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:03:10 PM=>Info:- Start SenMail Method
10/25/2022 11:03:10 PM=>UseDefaultCredentials
10/25/2022 11:03:10 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:03:10 PM=>EnableSsl = true
10/25/2022 11:03:10 PM=>DeliveryMethod
10/25/2022 11:03:10 PM=>Before Send
10/25/2022 11:04: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.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/25/2022 11:04:34 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:04:34 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:04:34 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:04:34 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:04:34 PM=>Info:- END Mailing Method
10/25/2022 11:04:34 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:04:34 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:04:34 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:04:34 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:04:34 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:04:34 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:04:34 PM=>Info - End of callingService Method
10/25/2022 11:06:34 PM=>Info - Check time Elapsed
10/25/2022 11:06:34 PM=>Info - Call callingService Method
10/25/2022 11:06:34 PM=>Info:- Call Both
10/25/2022 11:06:34 PM=>Info:- Start Executing SMS Method
10/25/2022 11:06:34 PM=>Info:- End Executing SMS Method
10/25/2022 11:06:34 PM=>Info:- Start Mailing Method
10/25/2022 11:06:34 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:06:34 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:06:34 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:06:34 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:06:34 PM=>Info:- Count = 1
10/25/2022 11:06:34 PM=>Info:- Count 1
10/25/2022 11:06:34 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:06:34 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:06:34 PM=>Info:- Start SenMail Method
10/25/2022 11:06:34 PM=>UseDefaultCredentials
10/25/2022 11:06:34 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:06:34 PM=>EnableSsl = true
10/25/2022 11:06:34 PM=>DeliveryMethod
10/25/2022 11:06:34 PM=>Before Send
10/25/2022 11:07: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.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/25/2022 11:07:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:07:58 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:07:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:07:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:07:59 PM=>Info:- END Mailing Method
10/25/2022 11:07:59 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:07:59 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:07:59 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:07:59 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:07:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:07:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:07:59 PM=>Info - End of callingService Method
10/25/2022 11:09:59 PM=>Info - Check time Elapsed
10/25/2022 11:09:59 PM=>Info - Call callingService Method
10/25/2022 11:09:59 PM=>Info:- Call Both
10/25/2022 11:09:59 PM=>Info:- Start Executing SMS Method
10/25/2022 11:09:59 PM=>Info:- End Executing SMS Method
10/25/2022 11:09:59 PM=>Info:- Start Mailing Method
10/25/2022 11:09:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:09:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:09:59 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:09:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:09:59 PM=>Info:- Count = 1
10/25/2022 11:09:59 PM=>Info:- Count 1
10/25/2022 11:09:59 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:09:59 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:09:59 PM=>Info:- Start SenMail Method
10/25/2022 11:09:59 PM=>UseDefaultCredentials
10/25/2022 11:09:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:09:59 PM=>EnableSsl = true
10/25/2022 11:09:59 PM=>DeliveryMethod
10/25/2022 11:09:59 PM=>Before Send
10/25/2022 11:10: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/25/2022 11:10:20 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:10:20 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:10:20 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:10:20 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:10:20 PM=>Info:- END Mailing Method
10/25/2022 11:10:20 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:10:20 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:10:20 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:10:20 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:10:20 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:10:20 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:10:20 PM=>Info - End of callingService Method
10/25/2022 11:12:20 PM=>Info - Check time Elapsed
10/25/2022 11:12:20 PM=>Info - Call callingService Method
10/25/2022 11:12:20 PM=>Info:- Call Both
10/25/2022 11:12:20 PM=>Info:- Start Executing SMS Method
10/25/2022 11:12:20 PM=>Info:- End Executing SMS Method
10/25/2022 11:12:20 PM=>Info:- Start Mailing Method
10/25/2022 11:12:20 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:12:20 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:12:20 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:12:20 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:12:20 PM=>Info:- Count = 1
10/25/2022 11:12:20 PM=>Info:- Count 1
10/25/2022 11:12:20 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:12:20 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:12:20 PM=>Info:- Start SenMail Method
10/25/2022 11:12:20 PM=>UseDefaultCredentials
10/25/2022 11:12:20 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:12:20 PM=>EnableSsl = true
10/25/2022 11:12:20 PM=>DeliveryMethod
10/25/2022 11:12:20 PM=>Before Send
10/25/2022 11:13: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/25/2022 11:13:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:13:23 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:13:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:13:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:13:24 PM=>Info:- END Mailing Method
10/25/2022 11:13:24 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:13:24 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:13:24 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:13:24 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:13:24 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:13:24 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:13:24 PM=>Info - End of callingService Method
10/25/2022 11:15:24 PM=>Info - Check time Elapsed
10/25/2022 11:15:24 PM=>Info - Call callingService Method
10/25/2022 11:15:24 PM=>Info:- Call Both
10/25/2022 11:15:24 PM=>Info:- Start Executing SMS Method
10/25/2022 11:15:24 PM=>Info:- End Executing SMS Method
10/25/2022 11:15:24 PM=>Info:- Start Mailing Method
10/25/2022 11:15:24 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:15:24 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:15:24 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:15:24 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:15:24 PM=>Info:- Count = 1
10/25/2022 11:15:24 PM=>Info:- Count 1
10/25/2022 11:15:24 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:15:24 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:15:24 PM=>Info:- Start SenMail Method
10/25/2022 11:15:24 PM=>UseDefaultCredentials
10/25/2022 11:15:24 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:15:24 PM=>EnableSsl = true
10/25/2022 11:15:24 PM=>DeliveryMethod
10/25/2022 11:15:24 PM=>Before Send
10/25/2022 11:16: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.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/25/2022 11:16:48 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:16:48 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:16:48 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:16:48 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:16:48 PM=>Info:- END Mailing Method
10/25/2022 11:16:48 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:16:48 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:16:48 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:16:48 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:16:48 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:16:48 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:16:48 PM=>Info - End of callingService Method
10/25/2022 11:18:48 PM=>Info - Check time Elapsed
10/25/2022 11:18:48 PM=>Info - Call callingService Method
10/25/2022 11:18:48 PM=>Info:- Call Both
10/25/2022 11:18:48 PM=>Info:- Start Executing SMS Method
10/25/2022 11:18:48 PM=>Info:- End Executing SMS Method
10/25/2022 11:18:48 PM=>Info:- Start Mailing Method
10/25/2022 11:18:48 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:18:48 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:18:48 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:18:48 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:18:48 PM=>Info:- Count = 1
10/25/2022 11:18:48 PM=>Info:- Count 1
10/25/2022 11:18:48 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:18:48 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:18:48 PM=>Info:- Start SenMail Method
10/25/2022 11:18:48 PM=>UseDefaultCredentials
10/25/2022 11:18:48 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:18:48 PM=>EnableSsl = true
10/25/2022 11:18:48 PM=>DeliveryMethod
10/25/2022 11:18:48 PM=>Before Send
10/25/2022 11:18: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/25/2022 11:18:57 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:18:58 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:18:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:18:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:18:58 PM=>Info:- END Mailing Method
10/25/2022 11:18:58 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:18:58 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:18:58 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:18:58 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:18:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:18:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:18:58 PM=>Info - End of callingService Method
10/25/2022 11:20:58 PM=>Info - Check time Elapsed
10/25/2022 11:20:58 PM=>Info - Call callingService Method
10/25/2022 11:20:58 PM=>Info:- Call Both
10/25/2022 11:20:58 PM=>Info:- Start Executing SMS Method
10/25/2022 11:20:58 PM=>Info:- End Executing SMS Method
10/25/2022 11:20:58 PM=>Info:- Start Mailing Method
10/25/2022 11:20:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:20:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:20:58 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:20:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:20:58 PM=>Info:- Count = 1
10/25/2022 11:20:58 PM=>Info:- Count 1
10/25/2022 11:20:58 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:20:58 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:20:58 PM=>Info:- Start SenMail Method
10/25/2022 11:20:58 PM=>UseDefaultCredentials
10/25/2022 11:20:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:20:58 PM=>EnableSsl = true
10/25/2022 11:20:58 PM=>DeliveryMethod
10/25/2022 11:20:58 PM=>Before Send
10/25/2022 11:20: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/25/2022 11:20:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:20:58 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:20:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:20:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:20:58 PM=>Info:- END Mailing Method
10/25/2022 11:20:58 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:20:58 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:20:58 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:20:58 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:20:58 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:20:58 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:20:58 PM=>Info - End of callingService Method
10/25/2022 11:22:58 PM=>Info - Check time Elapsed
10/25/2022 11:22:58 PM=>Info - Call callingService Method
10/25/2022 11:22:58 PM=>Info:- Call Both
10/25/2022 11:22:58 PM=>Info:- Start Executing SMS Method
10/25/2022 11:22:58 PM=>Info:- End Executing SMS Method
10/25/2022 11:22:58 PM=>Info:- Start Mailing Method
10/25/2022 11:22:58 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:22:58 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:22:58 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:22:58 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:22:58 PM=>Info:- Count = 1
10/25/2022 11:22:58 PM=>Info:- Count 1
10/25/2022 11:22:58 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:22:58 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:22:58 PM=>Info:- Start SenMail Method
10/25/2022 11:22:58 PM=>UseDefaultCredentials
10/25/2022 11:22:58 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:22:58 PM=>EnableSsl = true
10/25/2022 11:22:58 PM=>DeliveryMethod
10/25/2022 11:22:58 PM=>Before Send
10/25/2022 11:22: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/25/2022 11:22:58 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:22:58 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:22:58 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:22:58 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:22:59 PM=>Info:- END Mailing Method
10/25/2022 11:22:59 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:22:59 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:22:59 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:22:59 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:22:59 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:22:59 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:22:59 PM=>Info - End of callingService Method
10/25/2022 11:24:59 PM=>Info - Check time Elapsed
10/25/2022 11:24:59 PM=>Info - Call callingService Method
10/25/2022 11:24:59 PM=>Info:- Call Both
10/25/2022 11:24:59 PM=>Info:- Start Executing SMS Method
10/25/2022 11:24:59 PM=>Info:- End Executing SMS Method
10/25/2022 11:24:59 PM=>Info:- Start Mailing Method
10/25/2022 11:24:59 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:24:59 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:24:59 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:24:59 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:24:59 PM=>Info:- Count = 1
10/25/2022 11:24:59 PM=>Info:- Count 1
10/25/2022 11:24:59 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:24:59 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:24:59 PM=>Info:- Start SenMail Method
10/25/2022 11:24:59 PM=>UseDefaultCredentials
10/25/2022 11:24:59 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:24:59 PM=>EnableSsl = true
10/25/2022 11:24:59 PM=>DeliveryMethod
10/25/2022 11:24:59 PM=>Before Send
10/25/2022 11:26: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.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/25/2022 11:26:23 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:26:23 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:26:23 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:26:23 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:26:23 PM=>Info:- END Mailing Method
10/25/2022 11:26:23 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:26:23 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:26:23 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:26:23 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:26:23 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:26:23 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:26:23 PM=>Info - End of callingService Method
10/25/2022 11:28:23 PM=>Info - Check time Elapsed
10/25/2022 11:28:23 PM=>Info - Call callingService Method
10/25/2022 11:28:23 PM=>Info:- Call Both
10/25/2022 11:28:23 PM=>Info:- Start Executing SMS Method
10/25/2022 11:28:23 PM=>Info:- End Executing SMS Method
10/25/2022 11:28:23 PM=>Info:- Start Mailing Method
10/25/2022 11:28:23 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:28:23 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:28:23 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:28:23 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:28:23 PM=>Info:- Count = 1
10/25/2022 11:28:23 PM=>Info:- Count 1
10/25/2022 11:28:23 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:28:23 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:28:23 PM=>Info:- Start SenMail Method
10/25/2022 11:28:23 PM=>UseDefaultCredentials
10/25/2022 11:28:23 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:28:23 PM=>EnableSsl = true
10/25/2022 11:28:23 PM=>DeliveryMethod
10/25/2022 11:28:23 PM=>Before Send
10/25/2022 11:29: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/25/2022 11:29:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:29:05 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:29:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:29:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:29:06 PM=>Info:- END Mailing Method
10/25/2022 11:29:06 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:29:06 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:29:06 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:29:06 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:29:06 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:29:06 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:29:06 PM=>Info - End of callingService Method
10/25/2022 11:31:06 PM=>Info - Check time Elapsed
10/25/2022 11:31:06 PM=>Info - Call callingService Method
10/25/2022 11:31:06 PM=>Info:- Call Both
10/25/2022 11:31:06 PM=>Info:- Start Executing SMS Method
10/25/2022 11:31:06 PM=>Info:- End Executing SMS Method
10/25/2022 11:31:06 PM=>Info:- Start Mailing Method
10/25/2022 11:31:06 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:31:06 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:31:06 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:31:06 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:31:06 PM=>Info:- Count = 1
10/25/2022 11:31:06 PM=>Info:- Count 1
10/25/2022 11:31:06 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:31:06 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:31:06 PM=>Info:- Start SenMail Method
10/25/2022 11:31:06 PM=>UseDefaultCredentials
10/25/2022 11:31:06 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:31:06 PM=>EnableSsl = true
10/25/2022 11:31:06 PM=>DeliveryMethod
10/25/2022 11:31:06 PM=>Before Send
10/25/2022 11:32: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/25/2022 11:32:30 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:32:30 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:32:30 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:32:30 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:32:30 PM=>Info:- END Mailing Method
10/25/2022 11:32:30 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:32:30 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:32:30 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:32:30 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:32:30 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:32:30 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:32:30 PM=>Info - End of callingService Method
10/25/2022 11:34:30 PM=>Info - Check time Elapsed
10/25/2022 11:34:30 PM=>Info - Call callingService Method
10/25/2022 11:34:30 PM=>Info:- Call Both
10/25/2022 11:34:30 PM=>Info:- Start Executing SMS Method
10/25/2022 11:34:30 PM=>Info:- End Executing SMS Method
10/25/2022 11:34:30 PM=>Info:- Start Mailing Method
10/25/2022 11:34:30 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:34:30 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:34:30 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:34:30 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:34:30 PM=>Info:- Count = 1
10/25/2022 11:34:30 PM=>Info:- Count 1
10/25/2022 11:34:30 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:34:30 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:34:30 PM=>Info:- Start SenMail Method
10/25/2022 11:34:30 PM=>UseDefaultCredentials
10/25/2022 11:34:30 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:34:30 PM=>EnableSsl = true
10/25/2022 11:34:30 PM=>DeliveryMethod
10/25/2022 11:34:30 PM=>Before Send
10/25/2022 11:34: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/25/2022 11:34:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:34:52 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:34:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:34:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:34:52 PM=>Info:- END Mailing Method
10/25/2022 11:34:52 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:34:52 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:34:52 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:34:52 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:34:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:34:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:34:52 PM=>Info - End of callingService Method
10/25/2022 11:36:52 PM=>Info - Check time Elapsed
10/25/2022 11:36:52 PM=>Info - Call callingService Method
10/25/2022 11:36:52 PM=>Info:- Call Both
10/25/2022 11:36:52 PM=>Info:- Start Executing SMS Method
10/25/2022 11:36:52 PM=>Info:- End Executing SMS Method
10/25/2022 11:36:52 PM=>Info:- Start Mailing Method
10/25/2022 11:36:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:36:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:36:52 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:36:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:36:52 PM=>Info:- Count = 1
10/25/2022 11:36:52 PM=>Info:- Count 1
10/25/2022 11:36:52 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:36:52 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:36:52 PM=>Info:- Start SenMail Method
10/25/2022 11:36:52 PM=>UseDefaultCredentials
10/25/2022 11:36:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:36:52 PM=>EnableSsl = true
10/25/2022 11:36:52 PM=>DeliveryMethod
10/25/2022 11:36:52 PM=>Before Send
10/25/2022 11:36: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/25/2022 11:36:52 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:36:52 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:36:52 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:36:52 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:36:52 PM=>Info:- END Mailing Method
10/25/2022 11:36:52 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:36:52 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:36:52 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:36:52 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:36:52 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:36:52 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:36:52 PM=>Info - End of callingService Method
10/25/2022 11:38:52 PM=>Info - Check time Elapsed
10/25/2022 11:38:52 PM=>Info - Call callingService Method
10/25/2022 11:38:52 PM=>Info:- Call Both
10/25/2022 11:38:52 PM=>Info:- Start Executing SMS Method
10/25/2022 11:38:52 PM=>Info:- End Executing SMS Method
10/25/2022 11:38:52 PM=>Info:- Start Mailing Method
10/25/2022 11:38:52 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:38:52 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:38:52 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:38:52 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:38:52 PM=>Info:- Count = 1
10/25/2022 11:38:52 PM=>Info:- Count 1
10/25/2022 11:38:52 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:38:52 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:38:52 PM=>Info:- Start SenMail Method
10/25/2022 11:38:52 PM=>UseDefaultCredentials
10/25/2022 11:38:52 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:38:52 PM=>EnableSsl = true
10/25/2022 11:38:52 PM=>DeliveryMethod
10/25/2022 11:38:52 PM=>Before Send
10/25/2022 11:39:01 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Mail.SmtpConnection.Flush()
   at System.Net.Mail.ReadLinesCommand.Send(SmtpConnection conn)
   at System.Net.Mail.EHelloCommand.Send(SmtpConnection conn, String domain)
   at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at SAPLMailer.SAPLMailerService.SenMail(PendingMail objPendingMail) in E:\PROJECTS_SVN\SAPLMailer\SAPLMailer\SAPLMailer\SAPLMailerService.cs:line 400
10/25/2022 11:39:01 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:39:01 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:39:01 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:39:01 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:39:02 PM=>Info:- END Mailing Method
10/25/2022 11:39:02 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:39:02 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:39:02 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:39:02 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:39:02 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:39:02 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:39:02 PM=>Info - End of callingService Method
10/25/2022 11:41:02 PM=>Info - Check time Elapsed
10/25/2022 11:41:02 PM=>Info - Call callingService Method
10/25/2022 11:41:02 PM=>Info:- Call Both
10/25/2022 11:41:02 PM=>Info:- Start Executing SMS Method
10/25/2022 11:41:02 PM=>Info:- End Executing SMS Method
10/25/2022 11:41:02 PM=>Info:- Start Mailing Method
10/25/2022 11:41:02 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:41:02 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:41:02 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:41:02 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:41:02 PM=>Info:- Count = 1
10/25/2022 11:41:02 PM=>Info:- Count 1
10/25/2022 11:41:02 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:41:02 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:41:02 PM=>Info:- Start SenMail Method
10/25/2022 11:41:02 PM=>UseDefaultCredentials
10/25/2022 11:41:02 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:41:02 PM=>EnableSsl = true
10/25/2022 11:41:02 PM=>DeliveryMethod
10/25/2022 11:41:02 PM=>Before Send
10/25/2022 11:41: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/25/2022 11:41:05 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:41:05 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:41:05 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:41:05 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:41:05 PM=>Info:- END Mailing Method
10/25/2022 11:41:05 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:41:05 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:41:05 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:41:05 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:41:05 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:41:05 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:41:05 PM=>Info - End of callingService Method
10/25/2022 11:43:05 PM=>Info - Check time Elapsed
10/25/2022 11:43:05 PM=>Info - Call callingService Method
10/25/2022 11:43:05 PM=>Info:- Call Both
10/25/2022 11:43:05 PM=>Info:- Start Executing SMS Method
10/25/2022 11:43:05 PM=>Info:- End Executing SMS Method
10/25/2022 11:43:05 PM=>Info:- Start Mailing Method
10/25/2022 11:43:05 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:43:05 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:43:05 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:43:05 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:43:05 PM=>Info:- Count = 1
10/25/2022 11:43:05 PM=>Info:- Count 1
10/25/2022 11:43:05 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:43:05 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:43:05 PM=>Info:- Start SenMail Method
10/25/2022 11:43:05 PM=>UseDefaultCredentials
10/25/2022 11:43:05 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:43:05 PM=>EnableSsl = true
10/25/2022 11:43:05 PM=>DeliveryMethod
10/25/2022 11:43:05 PM=>Before Send
10/25/2022 11:43: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/25/2022 11:43:26 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:43:26 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:43:26 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:43:26 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:43:27 PM=>Info:- END Mailing Method
10/25/2022 11:43:27 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:43:27 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:43:27 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:43:27 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:43:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:43:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:43:27 PM=>Info - End of callingService Method
10/25/2022 11:45:27 PM=>Info - Check time Elapsed
10/25/2022 11:45:27 PM=>Info - Call callingService Method
10/25/2022 11:45:27 PM=>Info:- Call Both
10/25/2022 11:45:27 PM=>Info:- Start Executing SMS Method
10/25/2022 11:45:27 PM=>Info:- End Executing SMS Method
10/25/2022 11:45:27 PM=>Info:- Start Mailing Method
10/25/2022 11:45:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:45:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:45:27 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:45:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:45:27 PM=>Info:- Count = 1
10/25/2022 11:45:27 PM=>Info:- Count 1
10/25/2022 11:45:27 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:45:27 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:45:27 PM=>Info:- Start SenMail Method
10/25/2022 11:45:27 PM=>UseDefaultCredentials
10/25/2022 11:45:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:45:27 PM=>EnableSsl = true
10/25/2022 11:45:27 PM=>DeliveryMethod
10/25/2022 11:45:27 PM=>Before Send
10/25/2022 11:45: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/25/2022 11:45:27 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:45:27 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:45:27 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:45:27 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:45:27 PM=>Info:- END Mailing Method
10/25/2022 11:45:27 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:45:27 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:45:27 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:45:27 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:45:27 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:45:27 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:45:27 PM=>Info - End of callingService Method
10/25/2022 11:47:27 PM=>Info - Check time Elapsed
10/25/2022 11:47:27 PM=>Info - Call callingService Method
10/25/2022 11:47:27 PM=>Info:- Call Both
10/25/2022 11:47:27 PM=>Info:- Start Executing SMS Method
10/25/2022 11:47:27 PM=>Info:- End Executing SMS Method
10/25/2022 11:47:27 PM=>Info:- Start Mailing Method
10/25/2022 11:47:27 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:47:27 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:47:27 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:47:27 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:47:27 PM=>Info:- Count = 1
10/25/2022 11:47:27 PM=>Info:- Count 1
10/25/2022 11:47:27 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:47:27 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:47:27 PM=>Info:- Start SenMail Method
10/25/2022 11:47:27 PM=>UseDefaultCredentials
10/25/2022 11:47:27 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:47:27 PM=>EnableSsl = true
10/25/2022 11:47:27 PM=>DeliveryMethod
10/25/2022 11:47:27 PM=>Before Send
10/25/2022 11:47: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/25/2022 11:47:31 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:47:31 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:47:31 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:47:31 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:47:31 PM=>Info:- END Mailing Method
10/25/2022 11:47:31 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:47:31 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:47:31 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:47:31 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:47:31 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:47:31 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:47:31 PM=>Info - End of callingService Method
10/25/2022 11:49:31 PM=>Info - Check time Elapsed
10/25/2022 11:49:31 PM=>Info - Call callingService Method
10/25/2022 11:49:31 PM=>Info:- Call Both
10/25/2022 11:49:31 PM=>Info:- Start Executing SMS Method
10/25/2022 11:49:31 PM=>Info:- End Executing SMS Method
10/25/2022 11:49:31 PM=>Info:- Start Mailing Method
10/25/2022 11:49:31 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:49:31 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:49:31 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:49:31 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:49:31 PM=>Info:- Count = 1
10/25/2022 11:49:31 PM=>Info:- Count 1
10/25/2022 11:49:31 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:49:31 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:49:31 PM=>Info:- Start SenMail Method
10/25/2022 11:49:31 PM=>UseDefaultCredentials
10/25/2022 11:49:31 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:49:31 PM=>EnableSsl = true
10/25/2022 11:49:31 PM=>DeliveryMethod
10/25/2022 11:49:31 PM=>Before Send
10/25/2022 11:50: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/25/2022 11:50:13 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:50:13 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:50:13 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:50:13 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:50:14 PM=>Info:- END Mailing Method
10/25/2022 11:50:14 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:50:14 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:50:14 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:50:14 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:50:14 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:50:14 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:50:14 PM=>Info - End of callingService Method
10/25/2022 11:52:14 PM=>Info - Check time Elapsed
10/25/2022 11:52:14 PM=>Info - Call callingService Method
10/25/2022 11:52:14 PM=>Info:- Call Both
10/25/2022 11:52:14 PM=>Info:- Start Executing SMS Method
10/25/2022 11:52:14 PM=>Info:- End Executing SMS Method
10/25/2022 11:52:14 PM=>Info:- Start Mailing Method
10/25/2022 11:52:14 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:52:14 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:52:14 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:52:14 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:52:14 PM=>Info:- Count = 1
10/25/2022 11:52:14 PM=>Info:- Count 1
10/25/2022 11:52:14 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:52:14 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:52:14 PM=>Info:- Start SenMail Method
10/25/2022 11:52:14 PM=>UseDefaultCredentials
10/25/2022 11:52:14 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:52:14 PM=>EnableSsl = true
10/25/2022 11:52:14 PM=>DeliveryMethod
10/25/2022 11:52:14 PM=>Before Send
10/25/2022 11:53:38 PM=>Exception(SenMail) :System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.96.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/25/2022 11:53:38 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:53:38 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:53:38 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:53:38 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:53:38 PM=>Info:- END Mailing Method
10/25/2022 11:53:38 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:53:38 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:53:38 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:53:38 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:53:38 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:53:38 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:53:38 PM=>Info - End of callingService Method
10/25/2022 11:55:38 PM=>Info - Check time Elapsed
10/25/2022 11:55:38 PM=>Info - Call callingService Method
10/25/2022 11:55:38 PM=>Info:- Call Both
10/25/2022 11:55:38 PM=>Info:- Start Executing SMS Method
10/25/2022 11:55:38 PM=>Info:- End Executing SMS Method
10/25/2022 11:55:38 PM=>Info:- Start Mailing Method
10/25/2022 11:55:38 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:55:38 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:55:38 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:55:38 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:55:38 PM=>Info:- Count = 1
10/25/2022 11:55:38 PM=>Info:- Count 1
10/25/2022 11:55:38 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:55:38 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:55:38 PM=>Info:- Start SenMail Method
10/25/2022 11:55:38 PM=>UseDefaultCredentials
10/25/2022 11:55:38 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:55:38 PM=>EnableSsl = true
10/25/2022 11:55:38 PM=>DeliveryMethod
10/25/2022 11:55:38 PM=>Before Send
10/25/2022 11:57: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.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/25/2022 11:57:02 PM=>(SenMail)Failure sending To mail ID :bayersupport@sapl.net
10/25/2022 11:57:02 PM=>(SenMail)Failure sending CC mail ID :
10/25/2022 11:57:02 PM=>(SenMail)Failure sending mail Body :Hello, Please check attached file having issues in sending mails, please do the needful. 
10/25/2022 11:57:02 PM=>delfile:-D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents\PendingMail\PendingMail_ErrorAlert.xml
10/25/2022 11:57:03 PM=>Info:- END Mailing Method
10/25/2022 11:57:03 PM=>Info:- Start Executing Telegram Method
10/25/2022 11:57:03 PM=>Info:- PendingTelegram.xml not exists
10/25/2022 11:57:03 PM=>Info:- End Executing TELEGRAM Method
10/25/2022 11:57:03 PM=>WriteToPendingXML ErrorAlert Start
10/25/2022 11:57:03 PM=>WriteToPendingXML ErrorAlert MailAttachmentsPath = D:\BAYER\Zylem\ZylemOtherApplications\SaplMailer\Documents
10/25/2022 11:57:03 PM=>WriteToPendingXML ErrorAlertEntry Added Successfully
10/25/2022 11:57:03 PM=>Info - End of callingService Method
10/25/2022 11:59:03 PM=>Info - Check time Elapsed
10/25/2022 11:59:03 PM=>Info - Call callingService Method
10/25/2022 11:59:03 PM=>Info:- Call Both
10/25/2022 11:59:03 PM=>Info:- Start Executing SMS Method
10/25/2022 11:59:03 PM=>Info:- End Executing SMS Method
10/25/2022 11:59:03 PM=>Info:- Start Mailing Method
10/25/2022 11:59:03 PM=>Info:- ImportingEXE_END.xml file read to list
10/25/2022 11:59:03 PM=>Info:- ImportingEXE_START.xml file read to list
10/25/2022 11:59:03 PM=>Info:- PendingMail.xml file read to list
10/25/2022 11:59:03 PM=>Info:- PendingMail_ErrorAlert.xml file read to list
10/25/2022 11:59:03 PM=>Info:- Count = 1
10/25/2022 11:59:03 PM=>Info:- Count 1
10/25/2022 11:59:03 PM=>Info - Fetching Data From MAIL XML
10/25/2022 11:59:03 PM=>Info - End of Fetching Data From Mail XML
10/25/2022 11:59:03 PM=>Info:- Start SenMail Method
10/25/2022 11:59:03 PM=>UseDefaultCredentials
10/25/2022 11:59:03 PM=>Credentials = bayersupport@sapl.net:Corona@2020
10/25/2022 11:59:03 PM=>EnableSsl = true
10/25/2022 11:59:03 PM=>DeliveryMethod
10/25/2022 11:59:03 PM=>Before Send
