Error reading a response from the SMTP server. UiPath.Mail.Activities MailKit.Net.Smtp.SmtpProtocolException

Getting the below exception when trying to send emails using Send Smtp activity.
But this was working well till now. Not sure why this error is occurring at times.

Can someone help me on this.

Exception occured : Error reading a response from the SMTP server. UiPath.Mail.Activities MailKit.Net.Smtp.SmtpProtocolException: Error reading a response from the SMTP server. —> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. —> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond at System.Net.Sockets.Socket.Receive(Byte buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte buffer, Int32 offset, Int32 size) — End of inner exception stack trace — at System.Net.Sockets.NetworkStream.Read(Byte buffer, Int32 offset, Int32 size) at MailKit.Net.Smtp.SmtpStream.ReadAhead(CancellationToken cancellationToken) at MailKit.Net.Smtp.SmtpStream.ReadResponse(CancellationToken cancellationToken) at MailKit.Net.Smtp.SmtpClient.FlushCommandQueue(MimeMessage message, MailboxAddress sender, IList`1 recipients, CancellationToken cancellationToken) — End of inner exception stack trace — at UiPath.Mail.Activities.SendMailActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Hi @MariaJosephina

Please see this post and the posts below: