we let the RPA processes send emails about the SMTP activity. In addition, we receive a status message in our organizational mail every 30 minutes so that we can see that the robot is still active.
Now it happens every 2-3 days at different times that the SMTP mail cannot be sent. So far we have started the RPA project again after a computer restart.
To fix the problem, we added a TryCatch to all SMTP activities so that the mail texts are written to a txt file. The txt file has just been written. However, the project hangs when the mail is subsequently sent without displaying an error or stopping the project. Sending mail only works again after restarting the computer.
Why could this be and what can we do about it?
Many thanks in advance.