mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 07:51:13 -05:00
21 lines
424 B
Python
21 lines
424 B
Python
from app.clients import ClientException, Client
|
|
|
|
|
|
class EmailClientException(ClientException):
|
|
'''
|
|
Base Exception for EmailClients
|
|
'''
|
|
pass
|
|
|
|
|
|
class EmailClient(Client):
|
|
'''
|
|
Base Email client for sending emails.
|
|
'''
|
|
|
|
def send_email(self, *args, **kwargs):
|
|
raise NotImplemented('TODO Need to implement.')
|
|
|
|
def get_name(self):
|
|
raise NotImplemented('TODO Need to implement.')
|