diff --git a/04-CustomLibrary/Smtp3Library/__init__.py b/04-CustomLibrary/Smtp3Library/__init__.py index dff36a4..c86362a 100644 --- a/04-CustomLibrary/Smtp3Library/__init__.py +++ b/04-CustomLibrary/Smtp3Library/__init__.py @@ -194,9 +194,9 @@ class Smtp3Library(object): return result''' result = self.smtp.login(self.user, self.password) logger.info(result) - return "success" + return "mail_success" except: - return "fail" + return "mail_fail" def starttls(self, keyfile=None, certfile=None): @@ -269,9 +269,9 @@ class Smtp3Library(object): self.quit() self.close_connection() # return send_result - return "success" + return "mail_success" except: - return "fail" + return "mail_fail" @keyword('Send Message With All Parameters') def send_message_full(self, host, user, password, subj,