I want the code to send an automatic email to let the users know that they can not connect to the server. I am not sure if I wrote the right code. Should I create another clas