sh_cpl/src/cpl/mailing/email_client_abc.py
2021-03-03 10:47:52 +01:00

18 lines
357 B
Python

from abc import abstractmethod
from cpl.dependency_injection.service_abc import ServiceABC
from cpl.mailing.email import EMail
class EMailClientABC(ServiceABC):
@abstractmethod
def __init__(self):
ServiceABC.__init__(self)
@abstractmethod
def connect(self): pass
@abstractmethod
def send_mail(self, email: EMail): pass