diff --git a/backend/mail.py b/backend/mail.py index dfc9f8c283a4d40370467dfc36104ae5c4311080..524623da8ddb91ad46910202f035c4e148aa0b5c 100644 --- a/backend/mail.py +++ b/backend/mail.py @@ -13,7 +13,7 @@ class MailHandler(ABC): self.host = host self.port = port self.context = context - + def connect(self, verification: bool) -> int: connection = self.protocol_init(self.host, self.port) if verification: @@ -33,7 +33,7 @@ class MailHandler(ABC): @abstractmethod def protocol_starttls_args(self): raise NotImplementedError() - + @staticmethod def create_handler(protocol: str): if protocol == "smtp":