sh_cpl/src/sh_edraft/mailing/base/email_client_base.py

18 lines
372 B
Python
Raw Normal View History

2020-12-20 14:49:43 +01:00
from abc import abstractmethod
from sh_edraft.mailing.model.email import EMail
from sh_edraft.service.base.service_base import ServiceBase
class EMailClientBase(ServiceBase):
@abstractmethod
def __init__(self):
ServiceBase.__init__(self)
@abstractmethod
def connect(self): pass
@abstractmethod
def send_mail(self, email: EMail): pass