Hi I want to handle all the error that are thrown by smtp Do I have to handle each error seperately i.e except SMTPConnectError: except SMTPResponseException: etc Also, howe is this error handled error: (10061, 'Connection refused') I tried to handle it with except SMTPConnectError: But noluck Thanks, James