Implement Send Mail Task with multiple tries in case if its failed to send mail
问题 I have implemented a Send Mail Task in my package which sends a mail notification on Success or Failure. The send mail task fails sometimes due to the below error. Task failed: Send Mail Task with Success Error Code: -1073548540 ErrorMessage: An error occurred with the following error message: "Failure sending mail. System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. System.Net.Sockets.SocketException: An