I've a problem with my mail agents. When a document is created is is sent around an approval workflow. After the final approval a mail is sent back to the originator of the document to let them know things are complete. Due to heavy use of local replication at my company all mails are sent by an agent at the end of the day
The problem happens if a person leaves the company. The agent tries to send a mail to the person but they are no longer there so the mail agent cannot find the sender. This causes the agent to stop running. All further mails are not sent and every time the agent runs thereafter it hits this document and does not run.
how can I either put a check in to make sure the name exists and, ideally, ignore the problem so the agent continues on the other documents?