I added a new project called B4AEmailHandler
We need some functions to improve exception handling.
We use Office365 to handle mails, but creating a connection to office365 takes to long so we have to keep a connection open.
Task A(1H): [login to view URL] line 29. Handle retries if the send fails. Retry 3 times and force a new creation to the smtpserver. The connection to the SmtpClient is handled in MailhostHolder. There exists a function in Mailhost to ReconnectSend. (Task 9E is about this function)
Task B(1H): [login to view URL] line 26. Same as above. Handle connection issues. We might get a indication all is ok from CheckConnection, but then a network issues occured. In case of error, (Exception) Reconnect to the server and retry.
Task C(2H): [login to view URL] line 24 and 54. Check if we are still connected. If not - reconnect. Investigate if we can validate the connection with a simple command (noop or similar). If we do not catch it here, we should catch a problem in Task 9A or 9B.
Task D(1H): [login to view URL] line 37. We have to close the connection nicely if possible, and then try to make a new connection.
Task E(1H): [login to view URL] line 63. We have to close the connection nicely if possible, and then try to make a new connection.
The source code is provided.
We have a very strong team who works on .NET only. We will surely fulfill all your requirements..Our aim is your satisfaction...If you want to move further with us on this project...lets communicate personally...
Regards
Sonia Sappal