mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-27 02:11:48 -05:00
* A basic NotificationTemplate model class with early notification type definitions * Initial implementations of the Email, Slack, and Twilio Notification backends using the Django email backend system * Some dependencies thereof
12 lines
281 B
Python
12 lines
281 B
Python
# Copyright (c) 2016 Ansible, Inc.
|
|
# All Rights Reserved.
|
|
|
|
import logging
|
|
|
|
from django.core.mail.backends.smtp import EmailBackend
|
|
|
|
class CustomEmailBackend(EmailBackend):
|
|
|
|
init_parameters = ("host", "port", "username", "password",
|
|
"use_tls", "use_ssl")
|