restic-compose-backup/restic_compose_backup/alerts/smtp.py

15 lines
293 B
Python
Raw Normal View History

2019-12-04 02:58:27 +00:00
from restic_compose_backup.alerts.base import BaseAlert
class SMTPAlert(BaseAlert):
name = 'smtp'
def __init__(self):
pass
def create_from_config(self, config):
pass
def send(self, self, subject=None, attachment=None, alert_type=ALERT_ERROR):
pass